Public | Automated Build

Last pushed: 9 months ago
Short Description
SDN Framework ryu
Full Description

Runs simple_switch.py application in detached mode

docker run -d -p 6633:6633 hsrnetwork/ryu

Runs container in interactive mode without starting ryu

docker run -ti -p 6633:6633 hsrnetwork/ryu bash

Runs container and map the host folder /home/<username>/my to ./ryu/app/my in the container. Now you can develop your application on the host.
Save the file in /home/<username>/my/

docker run -ti -p 6633:6633 -v /home/<username>/my:/opt/ryu/ryu/app/my hsrnetwork/ryu bash

Start your script mai-tai.py in interactive bash mode

ryu-manager ./ryu/app/my/mai-tai.py

Create a new container and run your script in detached mode

docker run -d -p 6633:6633 -v /home/<username>/my:/opt/ryu/ryu/app/my hsrnetwork/ryu ryu-manager ./ryu/app/my/mai-tai.py

Runs mininet on host system. Tells the generated openvswitch to talk OpenFlow 1.3

mn --mac --controller remote,ip=127.0.0.1
mininet> sh ovs-vsctl set bridge s1 protocols=OpenFlow13

show installed flows:

mininet> sh ovs-ofctl -O OpenFlow13 dump-flows s1
Docker Pull Command
Owner
hsrnetwork
Source Repository

Comments (0)