Ask Your Question
0

Lithium ODL is pushing flows to OVS with priority 2

asked 2015-07-10 07:45:33 -0700

deepak660d gravatar image

updated 2015-07-10 07:46:37 -0700

Hi, I am using openvswitch-2.0.0 ovs code with of-1.3 and ODl(Lithium latest version) . I am pinging from port 1 to port 2. After adding ARP and ICMP flows they can start pinging. By using "ovs-ofctl -O OpenFlow13 del-flows br0" i remove the flows but after some time i can see some flows with priority 2 has been installed and both host can ping.

ovs-ofctl -O OpenFlow13 dump-flows br0

cookie=0x2b000000000000fc, duration=324.441s, table=0, npackets=67975, nbytes=9804691, priority=2,in_port=1 actions=output:2,CONTROLLER:65535

cookie=0x2b000000000000fb, duration=324.441s, table=0, npackets=8833, nbytes=897549, priority=2,in_port=2 actions=output:1,CONTROLLER:65535

Could anyone tell me what is happening? what can be done to stop so that ODL can't push such flows .

Thanks in advance :)

edit retag flag offensive close merge delete

Comments

What features did you install when you brought up ODL?

Vishal Thapar ( 2015-07-10 08:43:19 -0700 )edit

feature:install odl-dlux-core odl-openflowplugin-all odl-l2switch-all odl-restconf-all odl-mdsal-all odl-dlux-all

deepak660d ( 2015-07-10 10:15:55 -0700 )edit

I believe it is odl-l2switch pushing those flows.

Vishal Thapar ( 2015-07-10 22:40:18 -0700 )edit

From where i can learn about these features ? and could you tell me how can i add the flows in Lithium ODL. Whats features should install to add flows?

deepak660d ( 2015-07-10 23:33:23 -0700 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-07-12 11:48:06 -0700

updated 2015-07-12 11:49:05 -0700

I think as suggested by @Vishal Thapar, flows are getting added by the l2-application. As arp-handler uses the flow priority 2 for the flood flow installation https://github.com/opendaylight/l2switch/blob/master/arphandler/config/src/main/resources/initial/54-arphandler.xml#L24

If you don't want these flow you could try it by removing this feature l2-switch.

opendaylight-user@root>feature:uninstall odl-l2switch-all

If you would like to install the flow using the restconf, you will need the feature openflowplugin. install it using:

opendaylight-user@root>feature:install odl-openflowplugin-all

details of installing flow using the restconf can be found in following link: https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:EndtoEnd_Flows

edit flag offensive delete publish link more
0

answered 2015-07-12 21:43:19 -0700

Vishal Thapar gravatar image

updated 2015-07-12 21:43:52 -0700

  1. Don't install odl-l2switch-all It installs flows for topolog discovery, arp handling etc.
  2. odl-openflowplugin-all is the older Helium feature. If you're using Lithium odl-openflowplugin-flow-services-ui is enough to let you install flows through restconf.
  3. https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin::EndtoEndInventory and https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:EndtoEndFlows are good links to get starte with openflow. Rest API is the same so wiki link should still be valid.
edit flag offensive delete publish link more

Comments

Could you tell me how topology has been draw by the Lithium odl 1.3 ? i am facing one problem , with odl hydrogen version 1.0 i am able the get topology for connected node but not with odl 1.3 ? Is topology discovery has been change from 1.0 to 1.3 ?

deepak660d ( 2015-07-12 22:56:43 -0700 )edit

What features did you install? I believe l2witch is needed for topology.

Vishal Thapar ( 2015-07-13 01:08:22 -0700 )edit

feature:install odl-dlux-core odl-l2switch-all odl-restconf-all odl-mdsal-all odl-dlux-all odl-openflowplugin-flow-services-ui

deepak660d ( 2015-07-13 01:40:45 -0700 )edit

packets from port 2 as packet-in(1.3) is having one problem . Topology is not coming for port 2 node . i checked the the packet-in msg i am getting some error saying "unknown OXM body" Please see the link https://www.dropbox.com/s/x42sjov079n94df/topology.png?dl=0

deepak660d ( 2015-07-13 01:42:55 -0700 )edit

Hi Vishal , i am getting the topology proper but from port number 2 , client are not coming in topology

deepak660d ( 2015-07-13 01:48:44 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-07-10 07:45:33 -0700

Seen: 846 times

Last updated: Jul 12 '15