On the road again

The article contains helpful OVS CLI commands.

Create bridge:
ovs-vsctl add-br br-baremetal
 
Add port to the bridge:
ovs-vsctl add-port br-baremetal phy-baremetal (where port name is phy-baremetal)
 
Show bridges and ports:
ovs-vsctl show
 
View ports on particular bridge:
ovs-ofctl show br-int
 
View flow rules on bridge:
ovs-ofctl dump-flows br-int
 
Add physical interface to the bridge:
ip addr flush dev ens7
ip addr add 10.14.0.11/16 dev br-baremetal
ip link set br-baremetal up

Flush OVS ARP cache:
ovs-appctl fdb/flush
 
Add comment