June 2017
Intermediate to advanced
446 pages
10h 10m
English
We are only adding APIs for the query and flow modification with the rest of the code not changed, so the steps for launching Mininet and Ryu are identical. What has changed is that now we see the WSGI server started on port 8080 and the two switches registered as datapath:
(4568) wsgi starting up on http://0.0.0.0:8080...DPSET: register datapath <ryu.controller.controller.Datapath object at 0x7f83556866d0>DPSET: register datapath <ryu.controller.controller.Datapath object at 0x7f8355686b10>
We can now use the API to query for existing switches:
$ http GET http://localhost:8080/network/switchesHTTP/1.1 200 OKContent-Length: 6Content-Type: application/json; charset=UTF-8Date: <skip>[ 1, 2]
Then we can use the more specific ...
Read now
Unlock full access