When VM is dirrectly connected to OVS (current setup) there is no port
in OVS when VM is in powered off state. Since Ironic plug port to
network when VM is in powered-off state. Port should be present in OVS
even when VM is powered-off.
This patch adds additional network bridge called br-$VM_NAME for each
VM. Adds additional interface ovs-$VM_NAME which is added to both OVS
and br-$VM_NAME. And configures VM NIC in br-$VM_NAME instead of direct
connection to OVS switch.
Reviewed: https:/ /review. openstack. org/256366 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=8fe320753c1 0ede6445781cc88 4cadc2bc235ea5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8fe320753c10ede 6445781cc884cad c2bc235ea5
Author: vsaienko <email address hidden>
Date: Fri Dec 11 12:05:59 2015 +0200
Update Ironic VM network connection
When VM is dirrectly connected to OVS (current setup) there is no port
in OVS when VM is in powered off state. Since Ironic plug port to
network when VM is in powered-off state. Port should be present in OVS
even when VM is powered-off.
This patch adds additional network bridge called br-$VM_NAME for each
VM. Adds additional interface ovs-$VM_NAME which is added to both OVS
and br-$VM_NAME. And configures VM NIC in br-$VM_NAME instead of direct
connection to OVS switch.
Now connection looks like:
-------- ----------- ---------
| vm-1 | <--> | br-vm-1 | <---> | br-bm |
-------- ----------- ---------
Change-Id: I317dd9429684a1 4d16ecf2887d45c 2b014e36a84
Partial-bug: #1526403