In create_port_precommit, the VM was only added to the Arista DB if the port was associated to a network in the same tenant. But in the case of a shared network, the port tenant and the network tenant can be different, while the VM should still be added to the DB. The same goes for removing resources in delete_port_postcommit. This commit ensures the VM is added to the DB when connected to a shared network, and that everything is cleaned-up when disconnected. Change-Id: I295e6c87b460be4adb44e2275fa3008d3ce3eda7changes/00/218800/2
parent
926ede02ab
commit
1aa15e8b72
Loading…
Reference in new issue