Mininet Scripts do not work with ONOS controller

12 views
Skip to first unread message

Charalampos Katsis

unread,
Jul 13, 2023, 11:46:41 AM7/13/23
to ONOS Developers
Hello,

I encounter problems running any Mininet scripts with my locally installed ONOS controller. 
For example, I've included a simple script I'm trying to execute. 

It appears that the switch gets disconnected because there is no DPID. See below.

2023-07-13T11:41:49,695 | INFO  | onos-of-worker-0 | OFChannelHandler                 | 211 - org.onosproject.onos-protocols-openflow-ctl - 3.0.0.SNAPSHOT | New switch connection from /127.0.0.1:53014
2023-07-13T11:41:49,727 | INFO  | onos-of-worker-0 | OFChannelHandler                 | 211 - org.onosproject.onos-protocols-openflow-ctl - 3.0.0.SNAPSHOT | Switch disconnected callback for sw:[/127.0.0.1:53014 DPID[?]]. Cleaning up ...
2023-07-13T11:41:49,728 | WARN  | onos-of-worker-0 | OFChannelHandler                 | 211 - org.onosproject.onos-protocols-openflow-ctl - 3.0.0.SNAPSHOT | no dpid in channelHandler registered for disconnected switch [/127.0.0.1:53014 DPID[?]]

My mininet version is 2.2.2. My onos version is 2.3 (Jan 2020)

This is very strange because if run sudo mn with an OVSwitch it works perfectly. Could you please help?

Thank you!

Charis  


Simple_Pkt_Topo.py
Reply all
Reply to author
Forward
0 new messages