Nova VM rebuild to get an IP on boot if host changes (vlan fix)
When nova VM rebuild command is issued with ovsVapp, and if the VM
lands on a different host, then the VM does not get a DHCP reply back.
It is blocked by the physical bridge since the physical bridge learns
the VM MAC on the incoming physical port and not on the inner patch ports.
So the reason behind this is because the incoming packets on the
physical port are forwarded to the NORMAL flow on the bridge instead of
forwarding it to the inner patch port.
This patch addresses this issue for VLAN underlay deployment, by
forwarding all packets coming in on the physical port to the
internal patch port instead of the NORMAL flow.
This patch only addresses the VLAN underlay scenario.
Change-Id: Id40ace5bd2036e29fe9ed0381eeb700d2c8055bb
Partial-Bug: #1691550
(cherry picked from commit 0c66056dfbbfb4e1e309d9c791a149ebcd8d8fb3)
Reviewed: https:/ /review. openstack. org/482652 /git.openstack. org/cgit/ openstack/ networking- vsphere/ commit/ ?id=34d295c9bf4 200c2dc6077bb29 90bb752d874e92
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 34d295c9bf4200c 2dc6077bb2990bb 752d874e92
Author: Swaminathan Vasudevan <email address hidden>
Date: Wed May 17 13:09:00 2017 -0700
Nova VM rebuild to get an IP on boot if host changes (vlan fix)
When nova VM rebuild command is issued with ovsVapp, and if the VM
lands on a different host, then the VM does not get a DHCP reply back.
It is blocked by the physical bridge since the physical bridge learns
the VM MAC on the incoming physical port and not on the inner patch ports.
So the reason behind this is because the incoming packets on the
physical port are forwarded to the NORMAL flow on the bridge instead of
forwarding it to the inner patch port.
This patch addresses this issue for VLAN underlay deployment, by
forwarding all packets coming in on the physical port to the
internal patch port instead of the NORMAL flow.
This patch only addresses the VLAN underlay scenario.
Change-Id: Id40ace5bd2036e 29fe9ed0381eeb7 00d2c8055bb 1e309d9c791a149 ebcd8d8fb3)
Partial-Bug: #1691550
(cherry picked from commit 0c66056dfbbfb4e