]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix tenant-id in Arista ML2 driver to support HA router
authorSukhdev Kapur <sukhdev@aristanetworks.com>
Thu, 25 Jun 2015 22:11:28 +0000 (15:11 -0700)
committerSukhdev Kapur <sukhdev@aristanetworks.com>
Thu, 25 Jun 2015 23:18:24 +0000 (16:18 -0700)
commit0a2238e34e72c17ca8a75e36b1f56e41a3ece74e
tree19fafb2965039bc0f5c3b869dda7928eec4d2134
parent6985e77ed5b067574245dc31f2bd0cd5d2fd0567
Fix tenant-id in Arista ML2 driver to support HA router

When HA router is created, the framework creates a network and does
not specify the tenant-id. This casuse Arista ML2 driver to fail.
This patch sets the tenant-id when it is not passed explicitly by
by the network_create() call from the HA router framework.

Even though original issue was discovered for network_create()
it turns out the same issue applies for port_create() as well
so all the methods are fixed in this patch

Change-Id: Id03e26dac003fa589477ed78a4ed3c44cc2f708d
Closes-Bug: 1468828
neutron/plugins/ml2/drivers/arista/mechanism_arista.py