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


How hosts in ODl from mininet automatically pings,without me adding static flows?

asked 2015-08-25 23:09:42 -0700

Sasivenkat gravatar image

updated 2015-08-25 23:10:34 -0700

From mininet,I used "sudo mn --controller=remote,ip=<ip> --switch ovsk,protocols=OpenFlow13.</ip>

A switch with 2 hosts are created and are visible in ODL. If I try h1 ping h2, they are pinging automatically and their flows are also getting listed automatically in ovs-ofctl dump-flows s1

How this happens in an openflow switch that ahs been created from mininet.??

How to disable this?? thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-26 02:19:18 -0700

The flows are getting pushed by the ODL controller. I think, you have already installed odl-l2-switch-all feature in controller.

You can check installation status of this feature using:

opendaylight-user@root>feature:list -i | grep odl-l2switch

Disable the feature by uninstalling the feature:

opendaylight-user@root>feature:uninstall odl-l2switch-all
edit flag offensive delete publish link more


Thank you Subhash. Ya. I have installed odl-l2switch-switch feature while installing basic features for ODL. I will try uninstalling it and ping hosts. will come back after trying.

Sasivenkat ( 2015-08-26 02:35:58 -0700 )edit

I have removed the feature odl-l2switch-switch, odl-l2switch-packethandler, odl-l2switch-arphandler, and all related to l2switch. Even then the hosts are pinging automatically. Should I remove the OSGi bundle of l2switch??? If I try "bundle:remove l2switch ". It says insufficient credentials. Thanks in advance.

Sasivenkat ( 2015-08-26 06:40:57 -0700 )edit

I have removed the bundle of l2switch even. Now there are no more feature or bundle related to l2. But The hosts are still pinging automatically. Is there any other thing to remove or any other option?

Sasivenkat ( 2015-08-26 07:38:17 -0700 )edit

Make sure you are starting over and just not installing the l2switch feature. ODL doesn't support the removal of features once they are installed. Do you just want basic openflow functionality and will take care of your own flow programming, instead of having an app do it? steps in next comment

jamoluhrsen ( 2015-08-26 08:46:01 -0700 )edit

1. stop your running controller (logout in karaf console, or use "stop" script if you started with "start" script) 2. rm -rf the data, snapshot and journal directories 3. start the controller and just install one feature "odl-openflowpluging-flow-services-ui"

jamoluhrsen ( 2015-08-26 08:47:31 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-08-25 23:09:42 -0700

Seen: 932 times

Last updated: Aug 26 '15