Hi all,

i'm trying to do the Fast Failover tutorial but i'm having problems.

I'm using the following file to create the topology:
https://github.com/jorgecorreia26/Floodlight-Module-Tutorial/blob/master/Example%202%20Python

After I start the module and the topology, I open a xterm for switch 2a and
perform a "tcpdump -i s2a-eth1 -n icmp". Then open a xterm for h1 and do
"ping 10.0.0.2". I see traffic in switch s2a as it should. When trying the
curl to call the the method toggle-path,  REST API in the tutorial does not
work and I get the error:

Caused by: net.floodlightcontroller.core.internal.SwitchStateException:
Switch: [OFSwitchBase DPID[00:00:00:00:00:00:00:2a]], State:
[net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$MasterState@264daf93],
received: [BARRIER_REQUEST], details: Switch should never send this message
in the current state

So I tried to set the link down. In the terminal I use "link s1 s2a down "
 These is the log I get::

21:55:22.231 INFO [n.f.l.i.LinkDiscoveryManager:main] Inter-switch link
removed: Link [src=00:00:00:00:00:00:00:2a outPort=1,
dst=00:00:00:00:00:00:00:01, inPort=1]
21:55:22.231 WARN [n.f.l.i.L.s.notification:main] Inter-switch link
removed: Link [src=00:00:00:00:00:00:00:2a outPort=1,
dst=00:00:00:00:00:00:00:01, inPort=1]
21:55:22.247 WARN [n.f.c.i.C.s.notification:main] Switch
00:00:00:00:00:00:00:01 port s1-eth1 changed: DOWN
21:55:22.257 WARN [n.f.c.i.C.s.notification:main] Switch
00:00:00:00:00:00:00:2a port s2a-eth1 changed: OTHER_UPDATE

But the ping stops, instead of activating switch 2b. Doing another ping
nothing happens, not even Destination not reachable.


Can someone please help me. Why the curl to invocate the toggle-path does
not work? Is there another way to invoke it?

Thanks in advance.

Best regards
Jorge
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to