Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

Hydrogen (integration) + openflow 1.3 + mininet --> problem

asked 2014-11-11 16:07:31 -0800

skywalker gravatar image

updated 2014-11-11 16:23:15 -0800

I cloned and successfully built the hydrogen stable version from https://github.com/opendaylight/integration.git . I was not able to use OpenFlow 1.3.

System configuration:

ovs-vsctl --version --> ovs-vsctl (Open vSwitch) 2.3.90

mn --version: --> 2.2.0b0

I did the following test using the the base edition:

  1. mininet: mn --controller=remote,ip=none --switch ovsk --topo=linear,3

    odl: ./run.sh with the configuration # ovsdb.of.version=1.3 and then ovsconnect MINI1 192.168.x.x

    The result of h1 ping h3 was fine: correct communication.

  2. mininet(added protocols=OpenFlow13): mn --controller=remote,ip=none --switch ovsk,protocols=OpenFlow13 --topo=linear,3

    odl(added OF 1.3): ./run.sh -of13 with the configuration # ovsdb.of.version=1.3 and then ovsconnect MINI1 192.168.x.x

    The result of h1 ping h3 was fine too, although the exchanged messages were still openflow 1.0.

  3. mininet(this time I also uncommented the ovsdb.of.version=1.3): mn --controller=remote,ip=none --switch ovsk,protocols=OpenFlow13 --topo=linear,3

    odl: ./run.sh -of13 with the configuration ovsdb.of.version=1.3 and then ovsconnect MINI1 192.168.x.x

    This time h1 ping h3 causes Destination Host Unreachable. I am not talking about a few ICMP request without response( when sometimes happens in the beginning) but about no response at all. In this test I also noticed in the web interface, that there is no link between switches.

How is this possible? Did anyone else have the same issue? How can I solve it? It is such a basic test... I don't understand what is wrong in my setup.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-11-13 08:12:41 -0800

As per my understanding, Hydrogen does not support OF1.3. You can use ODL Helium with OF1.3 and Mininet and that has worked fine for me.

edit flag offensive delete publish link more

Comments

Yes. Meanwhile I tried it and it does work. The -of13 option in hydrogen(integration rep) is still strage to me. Maybe it was there only for testing purposes...

skywalker ( 2014-11-13 10:54:17 -0800 )edit
0

answered 2014-11-13 09:24:21 -0800

Moderators

If you are not using the patched Mininet version as mentioned in the below link

https://wiki.opendaylight.org/view/OpenflowProtocolLibrary:OpenVirtualSwitch

and installed it directly from the repository (apt-get), then to enable the openflow 1.3 mode in openvswitch, you will have to use the following command on each openvswitch instance mininet creates

ovs-vsctl set bridge <switch-name> protocols=OpenFlow13
e.g : ovs-vsctl set bridge s0 protocols=OpenFlow13

This command will disconnect the switch from controller ( if it's connected ) and then set the mode to openflow 1.3 and will again attempt to connect to the controller.

edit flag offensive delete publish link more

Comments

I am very curios, have you been able to setup an working environment using the above command? In my case it does not work. I also get a lot of msgs like ` WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 0 - currently not supported`. I mention that THE SAME ovs works fine in helium.

skywalker ( 2014-11-13 10:51:40 -0800 )edit

Hydrogen is older more buggy release, so do not expect things which work correctly in Helium to work in Hydrogen or Hydrogen stable.

Tony Tkacik ( 2014-11-14 06:57:37 -0800 )edit
Login/Signup to Answer

Stats

Asked: 2014-11-11 16:07:31 -0800

Seen: 862 times

Last updated: Nov 13 '14