After reboot(restart of l3 and l2 agents) of the node routers
can be processed by l3 agent before openvswitch agent sets up
appropriate ha ports. This change add notification for l3 agent
that ha port becomes ACTIVE and keepalived can be enabled.
note: Release notes added to specify l3 agent dependency on neutron
server.
Change-Id: Iedad1ccae45005efaaa74d5571df04197757d07a
(cherry picked from commit 4ad841c4cf1b23695a792ea6facf1dbf66cb48e9)
split out l3-ha specific test from TestMl2PortsV2
split out test_update_port_status_notify_port_event_after_update
from ml2.test_plugin.TestMl2PortsV2 into TestMl2PortsV2WithL3
The change set of 25f5912cf8f69f18d111bd60a6cc6ee488755ff3
change id of Iedad1ccae45005efaaa74d5571df04197757d07a
introduced a test,
test_update_port_status_notify_port_event_after_update, that is valid
only when l3 plugin support l3-ha. Such assumption isn't always true
depending on actual ml2 driver.
Since test cases in ml2.test_plugin is used as a common base for
multiple drivers,
test_update_port_status_notify_port_event_after_update, may or may not
pass. So split out tests with very specific assumption into a new
dedicated testcase so that each driver can safely reuse tests in
tests/unit/plugin/ml2 based on their characteristics.
Reviewed: https:/ /review. openstack. org/364407 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5860fb21e96 6ab8f1e011654dd 477d7af35f7a27
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 5860fb21e966ab8 f1e011654dd477d 7af35f7a27
Author: venkata anil <email address hidden>
Date: Wed Oct 12 10:57:46 2016 +0000
Check for ha port to become ACTIVE
After reboot(restart of l3 and l2 agents) of the node routers
can be processed by l3 agent before openvswitch agent sets up
appropriate ha ports. This change add notification for l3 agent
that ha port becomes ACTIVE and keepalived can be enabled.
note: Release notes added to specify l3 agent dependency on neutron
server.
Closes-bug: #1597461
Co-Authored-By: venkata anil <email address hidden>
(cherry picked from commit 25f5912cf8f69f1 8d111bd60a6cc6e e488755ff3)
Conflicts:
neutron/ db/l3_haschedul er_db.py
neutron/ services/ l3_router/ l3_router_ plugin. py
neutron/ tests/unit/ plugins/ ml2/test_ plugin. py
neutron/ tests/functiona l/agent/ l3/test_ ha_router. py
releasenot es/notes/ l3ha-agent- server- dependency- 1fcb775328ac450 2.yaml
Change-Id: Iedad1ccae45005 efaaa74d5571df0 4197757d07a 95a792ea6facf1d bf66cb48e9)
(cherry picked from commit 4ad841c4cf1b236
split out l3-ha specific test from TestMl2PortsV2
split out test_update_ port_status_ notify_ port_event_ after_update plugin. TestMl2PortsV2 into TestMl2PortsV2W ithL3
from ml2.test_
The change set of 25f5912cf8f69f1 8d111bd60a6cc6e e488755ff3 efaaa74d5571df0 4197757d07a update_ port_status_ notify_ port_event_ after_update, that is valid update_ port_status_ notify_ port_event_ after_update, may or may not unit/plugin/ ml2 based on their characteristics.
change id of Iedad1ccae45005
introduced a test,
test_
only when l3 plugin support l3-ha. Such assumption isn't always true
depending on actual ml2 driver.
Since test cases in ml2.test_plugin is used as a common base for
multiple drivers,
test_
pass. So split out tests with very specific assumption into a new
dedicated testcase so that each driver can safely reuse tests in
tests/
Conflicts:
neutron/ tests/unit/ plugins/ ml2/test_ plugin. py
Closes-Bug: #1618601 1d029a7d107c999 60aded64915 e86afbada24db67 5028861728)
Change-Id: Ie81dde97664911
(cherry picked from commit 03c412ff011a8d4
Change-Id: Iedad1ccae45005 efaaa74d5571df0 4197757d07a 95a792ea6facf1d bf66cb48e9)
(cherry picked from commit 4ad841c4cf1b236