Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure hybrid driver creates veth pair only once.
Fixes bug 1053312 This commit fixes a bug that an instance can't obtain IP address by DHCP when using LibvirtHybridOVSBridgeDriver. When nova-compute launches an instance on KVM, vif driver plug() may be called twice and this causes a behavior that a port of OVS cannot seen as a bridge port. So this patch make sure create_veth_pair() is not called if a port already exists. Change-Id: I76792df9f0dd28224d7d57989bf1e8ecadb92606
- Loading branch information