<div dir="ltr"><div><div><div><div><div><div><div><div>HI,<br><br></div>I want to write a script to add/delete a port from openvswitch.<br><br>sudo ovs-ofctl show br-int -- lists all ports on openvswitch.<br>sudo ovs-vsctl del-port br-int qbraeedg : deletes the linux bridge interface from openvswitch<br>
<br></div>How can I automate this process.?<br></div><div><div><br></div><div>Each VM connects to Openvswitch using linux bridge <br><br></div><div> VM<===>Bridge<==>Openvswitch<br><br></div><div><br></div>
<div>I want to statically map each openvswitch port to particular mac address. I want to automate this process.<br><br></div><div>Could anyone please help how to write scripts to add/delete ports on Openvswitch and linux bridge.?<br>
<br></div><div>Thanks<br>Shiva<br></div></div></div></div></div></div></div></div>