I am trying to implement fast failover with OVS:
my configuration :
> sh ovs-ofctl -O OpenFlow13 add-group s1
group_id=4,type=ff,bucket=watch_port:1,output:1,bucket=watch_port:2,output:2,bucket=watch_port:3,output:3
>sh ovs-ofctl -O OpenFlow13 add-flow s1 in_port=4,actions=group:4
Then i tried to bring the link down ( using :sudo ip link set dev s1-eth1
down)
while pinging to see if there is a switch over , but OVS still using the
same link .
I tried to enable BFD *using :*
>sh ovs-vsctl set interface s1-eth1 bfd=enable=true bfd:min_rx=100
bfd:min_tx=100
but still have the same problem
Any help will be very appreciated . over a week trying to solve this
proplem without succuss.
from mininet.topo import Topo
class MininetTopo(Topo):
def __init__(self,**opts):
Topo.__init__(self, **opts)
host1 = self.addHost('h1')
host2 = self.addHost('h2')
self.switch = {}
for s in range(1,6):
self.switch[s-1] = self.addSwitch('s%s' %(s))
self.addLink(self.switch[0], self.switch[1])
self.addLink(self.switch[0], self.switch[2])
self.addLink(self.switch[0], self.switch[3])
self.addLink(self.switch[4], self.switch[1])
self.addLink(self.switch[4], self.switch[2])
self.addLink(self.switch[4], self.switch[3])
#Adding host
self.addLink(self.switch[0], host1)
self.addLink(self.switch[4], host2)
topos = {'group':(lambda:MininetTopo())}
___________________________________
sudo mn --custom group.py --topo group
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss