sdx-ryu(一)

[root@kunpeng82 ryu]# cd sdx-ryu/examples/simple/mininet
[root@kunpeng82 mininet]# ls
configs  sdx_mininext.py
[root@kunpeng82 mininet]#  ./sdx_mininext.py  
bash: ./sdx_mininext.py: Permission denied
[root@kunpeng82 mininet]# chmod + sdx_mininext.py 
[root@kunpeng82 mininet]#  ./sdx_mininext.py  
bash: ./sdx_mininext.py: Permission denied
[root@kunpeng82 mininet]#  python sdx_mininext.py  
** Creating Quagga network topology
Cannot find required service quagga in /etc/init.d/.
Please make sure that Quagga (nongnu.org/quagga/) is installed [root@kunpeng82 mininet]# 
[root@kunpeng82 exabgp]# cat /etc/quagga/zebra.conf
hostname kunpeng82.bogon
[root@kunpeng82 exabgp]# service zebra start
Redirecting to /bin/systemctl start zebra.service
[root@kunpeng82 exabgp]#

 

[root@kunpeng82 mininet]# ln -s /usr/sbin/zebra  /etc/init.d/quagga
[root@kunpeng82 mininet]#  python sdx_mininext.py  
** Creating Quagga network topology
** Using Mininet Extended (MiniNExT) Handler
*** Creating network
*** Adding controller
Unable to contact the remote controller at 127.0.0.1:6653
Unable to contact the remote controller at 127.0.0.1:6633
Setting remote controller to 127.0.0.1:6653
*** Adding hosts:

 

[root@kunpeng82 sdx-ryu]# export PYTHONPATH=/root/ryu/sdx-ryu/ctrl:$PYTHONPATH
[root@kunpeng82 sdx-ryu]# ryu-manager asdx.py

 

 

ModuleNotFoundError: No module named 'httplib'

 

你可能感兴趣的:(sdx-ryu(一))