]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Reverse the order of interface update and DNAT rule config
authorKaiwei Fan <fank@vmware.com>
Fri, 27 Sep 2013 06:49:15 +0000 (23:49 -0700)
committerKaiwei Fan <fank@vmware.com>
Fri, 27 Sep 2013 06:57:07 +0000 (23:57 -0700)
commit5dcbddf516750e21359c859f8da0ab829f67d3f9
tree496e0231957e965c9026f25373a0ff6a47f38d50
parent67667256bea7d64ae66e5ae42ce49bb189731f38
Reverse the order of interface update and DNAT rule config

Configure DNAT rule first before adding floating ip address to interface
so advanced service router will not receive packets by accident before
DNAT rule configured.

Verified that traffic goes to the VM the created floating ip associated
with right after config.

Change-Id: I415d1138511f41c209f1f2a9c2f12c2cfd3d16f0
Closes-Bug: #1229548
neutron/plugins/nicira/NeutronServicePlugin.py