Add transaction for setting agent_id in L3HARouterAgentPortBinding
To avoid having extra L3HARouterAgentPortBinding with l3_agent as
None, operation of setting l3_agent should be atomic.
For this purpose, transaction was added in methods
create_ha_port_and_bind and _bind_ha_router_to_agents.
Reviewed: https:/ /review. openstack. org/227821 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=3fef15a40b2 714c1a372216ce6 0cc1384dc48c02
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3fef15a40b2714c 1a372216ce60cc1 384dc48c02
Author: Ann Kamyshnikova <email address hidden>
Date: Fri Sep 25 15:30:30 2015 +0300
Add transaction for setting agent_id in L3HARouterAgent PortBinding
To avoid having extra L3HARouterAgent PortBinding with l3_agent as ha_port_ and_bind and _bind_ha_ router_ to_agents.
None, operation of setting l3_agent should be atomic.
For this purpose, transaction was added in methods
create_
Closes-Bug: #1499647
Change-Id: Iaad82fe522cfd7 0061daecf411c92 4fdc11b7e41