]> git.proxmox.com Git - mirror_frr.git/commit
agentx: add AgentX support to Quagga.
authorVincent Bernat <bernat@luffy.cx>
Thu, 24 May 2012 07:44:43 +0000 (09:44 +0200)
committerVincent Bernat <bernat@luffy.cx>
Mon, 25 Jun 2012 17:03:23 +0000 (19:03 +0200)
commitd6be5fb9bc41ea77547204eeedd12132b26ad662
treedfe0f2a92faf6bd7d5b5b5f7b8006014a03e5469
parent3a4c96885ec878ae4631b0fb7bb7839578725976
agentx: add AgentX support to Quagga.

--enable-snmp will enable AgentX support in Quagga. SMUX is still here
and can be enabled with --enable-snmp=smux. AgentX support can be
enabled with "agentx" in configuration file. As for SMUX, this command
is not understood by vtysh. It can be disabled with "no agentx",
though there is no real use of this since this command cannot be used
with vtysh.

If "agentx" and "no agentx" command were added to vtysh, it would not
be possible to disable agentx support after enabling it because
NetSNMP does not expose the appropriate methods for this.

The internals of AgentX are hidden by NetSNMP. Therefore, we don't
have a file descriptor to add to the threading system. We do not have
the timers to set either. Therefore, the event loop is modified to
make use of snmp_select_info() from NetSNMP.

Traps are not supported yet.
configure.ac
lib/Makefile.am
lib/agentx.c [new file with mode: 0644]
lib/smux.c
lib/thread.c