Hi I have a Query regarding Openvswitch implementation vide , creation of a Internal Network in a Hypervisor(Physical Server) , My environment : Centos6.2 Openvswitch 1.7 version I want to implement a solution where in VLAN's are automatically Tagged on Physical server , when their tagging information persist's across reboots/ Question 1 : I saw somewhere that we can create a Network on the Hypervisor (Physical Server) viz the following xml file , <network>
<name>ovs-network</name>
<forward mode='bridge'/>
<bridge name='ovsbr0'/>
<virtualport type='openvswitch'/>
<portgroup name='vlan-01' default='yes'>
</portgroup>
<portgroup name='vlan-02'>
<vlan>
<tag
id='2'/>
</vlan>
</portgroup>
<portgroup name='vlan-03'>
<vlan>
<tag
id='3'/>
</vlan>
</portgroup>
<portgroup name='vlan-all'>
<vlan
trunk='yes'>
<tag
id='2'/>
<tag
id='3'/>
</vlan>
</portgroup>
</network>
If any one has any idea , please let me know how to deploy it , as i want to create VMs in Physical hypervisor with tagging of VLAN's. Question : 2 We can also create the following XML file by editing the machine using the command : virsh edit <machinename> and enter the following setting's for assigning vlan to a target dev , but this functionality is not working on KVM , Please guide me how to set this up in KVM . I also found a patch file at the following link : https://lists.yoctoproject.org/pipermail/meta-virtualization/2012-December/000023.html But no idea how to use it. <interface type='bridge'> <vlan trunk='yes'> <tag id='3'/> </vlan> <mac address='52:54:00:e7:3a:24'/> <source bridge='br0'/> <model type='virtio'/> <virtualport type='openvswitch'> <parameters interfaceid='a78ac510-2442-1326-c60f-d76c1e830bd6'/> </virtualport> <target dev='ubu1'/> <alias name='ubuntu-1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> Please guide me , as it have done an in-depth study of Open Vswitch , but not making any headway. --
Pradeep
Kumar
This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer |
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss