]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Deletes floating ip related connection states
authorYong Sheng Gong <gongysh@unitedstack.com>
Mon, 30 Jun 2014 07:01:17 +0000 (15:01 +0800)
committerCarl Baldwin <carl.baldwin@hp.com>
Tue, 23 Sep 2014 21:48:06 +0000 (21:48 +0000)
commit966645538395079b5337b5ed30d597112279283c
tree0f3d8052d12b207b0dc741d3d78877781968386d
parent9d5bd529cd21a73a6697992e708d712801c78e39
Deletes floating ip related connection states

When a floating ip is dissociated with a port, the current
connection with the floating ip is still working. This patch
will clear the connection state and cut off the connection
immediately.

Since conntrack -D will return 1, which is not an error code,
so add extra_ok_codes argument to execute methods.

Change-Id: Ia9bd7ae243a0859dcb97e2fa939f7d16f9c2456c
Closes-Bug: 1334926
etc/neutron/rootwrap.d/l3.filters
neutron/agent/l3_agent.py
neutron/agent/linux/interface.py
neutron/agent/linux/ip_lib.py
neutron/agent/linux/utils.py
neutron/tests/unit/test_l3_agent.py
neutron/tests/unit/test_linux_dhcp.py
neutron/tests/unit/test_linux_external_process.py
neutron/tests/unit/test_linux_ip_lib.py