mininet / mininet

Emulator for rapid prototyping of Software Defined Networks
https://mininet.org
BSD 3-Clause "New" or "Revised" License
5.35k stars 1.75k forks source link

How to connect to OpenDaylight using mininet 2.2.2? #949

Open Dhiraj240 opened 4 years ago

Dhiraj240 commented 4 years ago

I used sudo mn --controller=remote,ip=127.0.0.1 --mac --topo=linear,3 --switch ovsk,protocols=OpenFlow13 which opens up a verbose to use a set of commands, is there any change in the newer mininet version command written above which were supported in older versions.

Check this screenshot Screenshot (419)

Dhiraj240 commented 4 years ago

Please configure it with the newer mininet 2.2.2 and ODL magnesium so that I can update details.

Giuseppe1992 commented 4 years ago

The command looks correct sudo mn --controller=remote,ip=127.0.0.1 --mac --topo=linear,3 --switch ovsk,protocols=OpenFlow13

But in the screenshot, it seems that you have a space between --controller=remote, ip... and --topo=linear, 3

Dhiraj240 commented 4 years ago

Yes working now, but I can't see any flows and get output from rest api in postman now using ODL as controller.