Pippin, are you launching these VMs via libvirt? If so, most recent versions of 
libvirt have the ability to set the VLAN tag on the TAP interface that is 
created when you launch a VM.

See here for more information:

<http://blog.scottlowe.org/2012/11/07/using-vlans-with-ovs-and-libvirt/>


> On May 19, 2016, at 5:50 PM, Pippin Wallace <[email protected]> wrote:
> 
> That is an option, but if there is a way we can get these tags to persist it 
> would be the best.
>  
> Regards – Pippin
>  
> From: Joel Wirāmu Pauling [mailto:[email protected]] 
> Sent: Thursday, May 19, 2016 1:28 PM
> To: Pippin Wallace
> Cc: nickcooper-zhangtonghao; [email protected]
> Subject: Re: [ovs-discuss] Issue with vlan tag being changed after reboot of 
> KVM hypervisor.
>  
> Why not set the tag inside the guest? 
> 
> On May 19, 2016 9:15 AM, "Pippin Wallace" <[email protected]> wrote:
> Nǐ hǎo and thank you for the great explanation.
> 
> We are using the very old 1.9.3 version but if it just a matter of how we are 
> setting the tag or if we are missing a save step would you please let us know.
> 
> Xiexie -- Pippin
> 
> -----Original Message-----
> From: nickcooper-zhangtonghao [mailto:[email protected]]
> Sent: Wednesday, May 18, 2016 10:10 PM
> To: [email protected]
> Subject: Re: [ovs-discuss] Issue with vlan tag being changed after reboot of 
> KVM hypervisor.
> 
> Hi Pippin,
>         The VM’s tap devices will been destroyed when the physical host is 
> powered off.
> So, the OVS can’t find the tap device of VMs when the OVS service restarted. 
> When you start the VM, the tap inserted in OVS bridge is a new tap and the 
> tag is reseted as default.
>         The command "virsh reboot/dumpxml <domain>” should not change the tag 
> while “virsh destroy/start <domain>” can change it. I think this is not a bug.
> They have been only tested under 2.3.3 version of the OVS. Can you tell me 
> the version of the OVS which you use? Let me know if there are any errors.
> 
> Thanks,
> nickcooper-zhangtonghao
> 
> 
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to