I used openvswitch with virt-intall
I defined a network
<network>
<name>private</name>
<bridge name='virbr0'/>
<forward mode='bridge'/>
<virtualport
type='openvswitch'/>
</network>
But get no ip for the ovs port when I launch the instance.
Is this correct?
ci-info: +++++++++++++++++++++++++Net
device info++++++++++++++++++++++++++
ci-info: +--------+------+--------------+-------------+-------------------+
ci-info: | Device | Up
| Address |
Mask | Hw-Address |
ci-info:
+--------+------+--------------+-------------+-------------------+
ci-info: | lo |
True | 127.0.0.1 | 255.0.0.0
|
. |
ci-info: | eth1 | True
| .
| . |
52:54:00:24:16:29 |
ci-info: | eth0 | True |
172.16.5.136 | 255.255.0.0 | 52:54:00:44:01:28 |
In the bridge port vnet1 get assigned to virbr0
Bridge "virbr0"
Port
"virbr0"
Interface "virbr0"
type: internal
Port
"vnet1"
Interface "vnet1"
And i launch the instance the following way
virt-install --name probe9 --ram
4096 --vcpus=4 --check-cpu --os-type=linux --import --disk
/data/KVM/Probe2-cloud3.qcow2,format=qcow2 --network network=ext
--network network=private --graphics vnc,listen=0.0.0.0 --noautoconsole --disk
vol=default/configuration2.iso,bus=virtio
Regards