Simulating an Openflow controller

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
  • (Edited)
is there any simulator for using Openflow controller instead of Open-Flow Switches ..if so , Pls guide me
Photo of Arun Samuel

Arun Samuel

  • 70 Points

Posted 2 years ago

  • 0
  • 1
Photo of Stephen Williams

Stephen Williams, Employee

  • 8,582 Points 5k badge 2x thumb
Mininet is what everyone uses for testing with openflow nodes. 


Photo of Andrew Coleman

Andrew Coleman

  • 380 Points 250 badge 2x thumb
You could also use the following:
 HPE-VAN SDN Controller with Flowmaker Deluxe

No idea if they work with any Extreme switches, but they work fine with PicOS and Mininet.
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 11,968 Points 10k badge 2x thumb
floodlight is working, but a bit limited (at least was when I used it). Opendaylight will work too. Never tested the others.
Photo of Erik Auerswald

Erik Auerswald, Embassador

  • 12,606 Points 10k badge 2x thumb
To test OpenFlow support of EXOS switches (with openflow.xmod and appropriate license installed) without installing a controller, one can use the "dpctl" utility from the openflow Git repository git:// .
Photo of Erik Auerswald

Erik Auerswald, Embassador

  • 12,606 Points 10k badge 2x thumb
Hm, dpctl cannot be used with EXOS based switches, because EXOS does not correctly configure a "passive" controller. The "passive" controller seems to listen on localhost only:
Controller       : Secondary
Datapath ID : 00000800273d25b3
VR : VR-Mgmt
Mode : out-of-band Passive
Target : ptcp:
Uptime(secs) : 0
As a result dpctl cannot connect to the switch:
$ ./dpctl show tcp:
dpctl: talking to tcp: Connection refused
$ telnet
telnet: Unable to connect to remote host: Connection refused
$ ping -c1
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=1.13 ms

--- ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.135/1.135/1.135/0.000 ms
$ ssh admin@ "show openflow"
admin@'s password:
OpenFlow: Enabled
Versions: OpenFlow10, OpenFlow13
Mode: Standard
Access-list width: Single

---< further output omitted >---
Just tested with EXOS, which includes OpenFlow in the base image.