Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
2502
Description
Steps to reproduce:
1. Start ODL, enable l2switch, openflow, restconf, dlux. Stop ODL
2. Start mininet using command: sudo mn --controller=remote,ip=127.0.0.1 --topo linear,2 --switch ovsk,protocols=OpenFlow13
3. Start ODL
4. Look at the log file using log:display
2014-12-10 14:02:53,878 | INFO | config-pusher | HostTrackerModule | 263 - org.opendaylight.l2switch.hosttracker.impl - 0.1.1.Helium-SR1 | HostTracker (instance org.opendaylight.yang.gen.v1.urn.opendaylight.l2switch.host.tracker.impl.rev140528.HostTrackerModule$1CloseResources@305114a4) initialized.
2014-12-10 14:02:54,819 | INFO | config-pusher | L2SwitchMainModule | 264 - org.opendaylight.l2switch.main.impl - 0.1.1.Helium-SR1 | L2Switch will install a dropall flow on each switch
2014-12-10 14:02:54,822 | INFO | config-pusher | L2SwitchMainModule | 264 - org.opendaylight.l2switch.main.impl - 0.1.1.Helium-SR1 | L2Switch will react to network traffic and install flows
2014-12-10 14:02:54,825 | INFO | config-pusher | L2SwitchMainModule | 264 - org.opendaylight.l2switch.main.impl - 0.1.1.Helium-SR1 | L2SwitchMain (instance org.opendaylight.yang.gen.v1.urn.opendaylight.l2switch.main.impl.rev140528.L2SwitchMainModule$1CloseResources@1aef70a5) initialized.
2014-12-10 14:03:47,329 | INFO | qtp520317920-69 | BaseYangSwaggerGenerator | 243 - org.opendaylight.controller.sal-rest-docgen - 1.1.1.Helium-SR1 | Modules found [96]
Note the the log says that the dropall flow on each switch will be installed.
5. Go to mininet and run: sh ovs-ofctl dump-flows s1
There will not be any flows installed. If you start ODL before mininet then the default flows are installed.
Not sure if this is a L2switch bug or if L2switch is trying to install default flow and failing. There are no error messages in the log.