aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2012-06-01 19:32:06 -0400
committerStefan Berger <stefanb@us.ibm.com>2012-06-01 19:32:06 -0400
commitcec281fcaace7e23c51a2da4659623afe7fd9ebb (patch)
treeb495689a89620b61b40fe63e771dc33c027dbd13 /po
parentqemu: move -name arg to be 1st in "ps x" output (diff)
downloadlibvirt-cec281fcaace7e23c51a2da4659623afe7fd9ebb.tar.gz
libvirt-cec281fcaace7e23c51a2da4659623afe7fd9ebb.tar.bz2
libvirt-cec281fcaace7e23c51a2da4659623afe7fd9ebb.zip
nwfilter: add DHCP snooping
This patch adds DHCP snooping support to libvirt. The learning method for IP addresses is specified by setting the "CTRL_IP_LEARNING" variable to one of "any" [default] (existing IP learning code), "none" (static only addresses) or "dhcp" (DHCP snooping). Active leases are saved in a lease file and reloaded on restart or HUP. The following interface XML activates and uses the DHCP snooping: <interface type='bridge'> <source bridge='virbr0'/> <filterref filter='clean-traffic'> <parameter name='CTRL_IP_LEARNING' value='dhcp'/> </filterref> </interface> All filters containing the variable 'IP' are automatically adjusted when the VM receives an IP address via DHCP. However, multiple IP addresses per interface are silently ignored in this patch, thus only supporting one IP address per interface. Multiple IP address support is added in a later patch in this series. Signed-off-by: David L Stevens <dlstevens@us.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'po')
-rw-r--r--po/POTFILES.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e5d629367..f3a4bac23 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -54,6 +54,7 @@ src/node_device/node_device_hal.c
src/node_device/node_device_linux_sysfs.c
src/node_device/node_device_udev.c
src/nodeinfo.c
+src/nwfilter/nwfilter_dhcpsnoop.c
src/nwfilter/nwfilter_driver.c
src/nwfilter/nwfilter_ebiptables_driver.c
src/nwfilter/nwfilter_gentech_driver.c