mininet@mininet-vm:~/ryu$ ./bin/ryu run –observe-links \
ryu/app/gui_topology/gui_topology.py
[root@controller /]#
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
onosproject/onos latest 2e4e7cbce211 10 days ago 875MB
osrg/ryu latest ab10e91ba3b6 5 months ago 294MB
maojianwei2020/onos_docker_cluster latest 2e66841945f7 10 months ago 425MB
[root@controller /]#
docker search ryu
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
osrg/ryu 15 [OK]
ryutah/gcloud-gaego Google Cloud SDK installed GAE/Go Standard E… 2 [OK]
hsrnetwork/ryu SDN Framework ryu 2 [OK]
osrg/ryu-book To run the example code 2 [OK]
ryublacknd/php LAMP+ for PHP Developers. 2 [OK]
muzixing/ryu SDN Framework RYU V3.15 1
ryutah/swagger-document Generate API document from swagger file. 1 [OK]
ryumei/python3-redis-mongo Python 3.5, Redis, and MongoDB 3.4. 1 [OK]
ryuzee/slidehub SlideHub is an Open Source Slide Sharing App… 1
ryurkov/nginx 0
ryuhon/docker-jenkins To build docker with jenkins. 0
unibaktr/ryu SDN Controller Ryu in a Python 3 Container 0 [OK]
iwaseyusuke/ryu-mininet The Docker image for Ryu(… 0 [OK]
ryuheechul/k8s-pack Useful tools together in one image for k8s 0 [OK]
hdb3/ryu base ryu build built on current ubuntu 0
ryu39/ruby-postgresql95 0
ryupowderhorn/kata-4-from-node 0
hsnlab/ryu-base Ryu in Docker 0 [OK]
ryudoawaru/ruby23a 0
ryu2492/rails docker run -itd --name rails --link mysql:db… 0
ryuichit/anews-ml 0
ryu2492/mysql docker run -itd --name mysql ryu2492/mysql 0
haidarns/ryu RYU SDN Framework on Alpine Linux 0
knightbaron/ryu Centos 8 with Ryu (installed from pip) 0
ryudice/simple-proxy Docker container to proxy a single URL. All … 0
[root@controller /]#
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4a848a2f8e8a osrg/ryu "/bin/bash" About an hour ago Exited (0) 20 seconds ago ryu3.15
[root@controller /]#
docker stop 4a848a2f8e8a
4a848a2f8e8a
[root@controller /]#
docker rm 4a848a2f8e8a
4a848a2f8e8a
[root@controller /]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@controller /]#
docker run -i -t -p 0.0.0.0:6635:6633 -p 0.0.0.0:8080:8080 --name ryu3.15 osrg/ryu /bin/bash
root@f2fc195237c7:~#
cd ryu/
root@f2fc195237c7:~/ryu# ls
CONTRIBUTING.rst LICENSE MANIFEST.in README.rst bin build debian doc etc run_tests.sh ryu ryu.egg-info setup.cfg setup.py tools tox.ini
root@f2fc195237c7:~/ryu# ls
CONTRIBUTING.rst LICENSE MANIFEST.in README.rst bin build debian doc etc run_tests.sh ryu ryu.egg-info setup.cfg setup.py tools tox.ini
root@f2fc195237c7:~/ryu#
cd ryu
root@f2fc195237c7:~/ryu/ryu# ls
__init__.py __init__.pyc app base cfg.py cmd contrib controller exception.py flags.py hooks.py hooks.pyc lib log.py ofproto services tests topology utils.py
root@f2fc195237c7:~/ryu/ryu#
cd app/
root@f2fc195237c7:~/ryu/ryu/app#
ryu-manager --verbose simple_switch_13.py ofctl_rest.py rest_topology.py rest_firewall.py rest_qos.py rest_router.py
192.168.27.31的ovs设置该控制器
[root@localhost log]#
[root@localhost log]# ovs-vsctl show
2a98df97-81e6-4d07-8ef7-7df2f58bd5dd
Bridge "vswitch0"
Controller "tcp:192.168.27.92:6635"
is_connected: true
fail_mode: standalone
Port "eno1"
Interface "eno1"
Port "Ge0-2"
Interface "Ge0-2"
Port "vswitch0"
Interface "vswitch0"
type: internal
Port "Ge0-3"
Interface "Ge0-3"
[root@localhost log]#
ryu-manager --verbose --observe-links
ryu-manager --verbose gui_topology/gui_topology.py --observe-links
阅读(3219) | 评论(0) | 转发(0) |