Ask Your Question
0

How to find the OpenFlow version in OpenDaylight?

asked 2015-08-04 11:07:32 -0700

sankettandulwadkar gravatar image

Hello,

I cant seem to find the command to find the OpenFlow version on my ODL. Can anyone please tell me the command for the same?

Thank you!

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2015-08-04 14:29:23 -0700

jamoluhrsen gravatar image

With Helium or Lithium you don't need to specify which version of openflow when starting the controller. It should be able to handle 1.0 or 1.3 as needed, when the dataplane switches connect. I think back in Hydrogen, it was neccessary to use this -of13 flag.

Once you start karaf, you can just install "odl-openflowplugin-flow-services" feature to get basic openflow functionality to work.

edit flag offensive delete publish link more
0

answered 2015-08-04 13:53:19 -0700

jsmoeller gravatar image

There is the switch to karaf: ./karaf -of13

edit flag offensive delete publish link more

Comments

I tried doing ./karaf -of22 and it works. How is that possible?

sankettandulwadkar ( 2015-08-05 09:55:10 -0700 )edit
0

answered 2015-08-05 09:46:56 -0700

sankettandulwadkar gravatar image

updated 2015-08-05 09:47:52 -0700

@jsmoeller @jamoluhrsen Thank you for the replies. I tried the -of13 method and when I try to set an SSL connection, I get this in ODL log:

2015-08-05 12:37:57,639 | WARN | entLoopGroup-9-4 | OFVersionDetector | 243 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.SNAPSHOT | detected version: 22 - currently not supported
2015-08-05 12:37:57,641 | WARN | entLoopGroup-9-4 | SessionManagerOFImpl | 246 - org.opendaylight.openflowplugin - 0.1.0.SNAPSHOT | context for invalidation not found

2015-08-05 12:38:05,638 | WARN | entLoopGroup-9-5 | OFVersionDetector | 243 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.SNAPSHOT | detected version: 22 - currently not supported

2015-08-05 12:38:05,639 | WARN | entLoopGroup-9-5 | SessionManagerOFImpl | 246 - org.opendaylight.openflowplugin - 0.1.0.SNAPSHOT | context for invalidation not found

2015-08-05 12:38:13,640 | WARN | entLoopGroup-9-6 | OFVersionDetector | 243 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.SNAPSHOT | detected version: 22 - currently not supported

2015-08-05 12:38:13,641 | WARN | entLoopGroup-9-6 | SessionManagerOFImpl | 246 - org.opendaylight.openflowplugin - 0.1.0.SNAPSHOT | context for invalidation not found

I don't understand what version: 22 here is. Does anyone have a better idea on the same?

Any input would be greatly appreciated.

Thank you!

edit flag offensive delete publish link more

Comments

Hmm, can you trace the traffic to the controller and see what is sent in the version field of the OF packet (switch->controller)?

jsmoeller ( 2015-08-05 10:04:32 -0700 )edit

The byte in hex says 22. I moved onto an older version on OvS and got rid of the OFVersionDetection error. But I still have the context for invalidation error.

sankettandulwadkar ( 2015-08-06 12:18:55 -0700 )edit

@jsmoeller I found that the version error was just a warning which is okay. Also, I moved to an older version of OvS(2.1.3) and the error disappeared. However, I dont see port 6633 up on my ODL even after having openflowplugin-all installed in ODL. Why is that?

sankettandulwadkar ( 2015-08-13 08:50:22 -0700 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
2 followers

Stats

Asked: 2015-08-04 11:07:32 -0700

Seen: 3,815 times

Last updated: Aug 05 '15