Hi,

I am using ovs with virsh for VM under KVM, but I would like to automatically start some commands when my VM is started (to start mirroring for example) is there a way to do it or should I use a workaround like a sh script ?

I am looking for a more beautiful solution or if there is anything I can add to my XML VM definition as an extra parameters ?
My current definition :

   <interface type='bridge'>
     <mac address='22:22:22:18:00:66'/>
     <source bridge='v_dmz'/>
     <vlan>
       <tag id='140'/>
     </vlan>
     <virtualport type='openvswitch'>
       <parameters interfaceid='85570136-4a17-4827-9e8f-812744805721'/>
     </virtualport>
     <target dev='vnic_140'/>
     <model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
   </interface>


Many thanks
--
Benoit
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to