]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Linux Agent improvements for L3
authorDan Wendlandt <dan@nicira.com>
Sun, 12 Aug 2012 02:42:59 +0000 (19:42 -0700)
committerAaron Rosen <arosen@nicira.com>
Sun, 12 Aug 2012 21:14:07 +0000 (14:14 -0700)
commit081e1016debcae388b383e10302f72287fe4f0fe
tree9adb807b58f308732c7604f5a5ca4ef9049adf77
parent77c90dbc960b0736a13d54f80b42f8a24667d627
Linux Agent improvements for L3

prereq for bp quantum-l3-fw-nat

- make init_l3 take cidrs, rather than assuming an augmented port object
- make namespace for agent operations optional and allow the namespace
name to be configured.
- allow plug() operation to take an optional bridge parameter indicating
which bridge to plug into
- add namespace support for iptables manager
- make OVS plug() set the IP address, etc. of a device even if it already
exists.

Change-Id: Id4fec9bf7cda30c45b94eccd25e9e54dc5af97b7
quantum/agent/dhcp_agent.py
quantum/agent/linux/interface.py
quantum/agent/linux/ip_lib.py
quantum/agent/linux/iptables_manager.py
quantum/agent/linux/ovs_lib.py
quantum/tests/unit/test_dhcp_agent.py
quantum/tests/unit/test_linux_interface.py
quantum/tests/unit/test_linux_ip_lib.py