我是痘新手,我不知道如何在痘中运行组件。 目前我坚持使用来自https://github.com/CPqD/RouteFlow/blob/master/pox/pox/host_tracker/host_tracker.py的host_tracker.py
我尝试过类似的东西: ./debug-pox.py host_tracker
并得到输出
POX 0.3.0 (dart) / Copyright 2011-2014 James McCauley, et al. DEBUG:core:POX 0.3.0 (dart) going up... DEBUG:core:Running on CPython (2.7.6/Mar 22 2014 22:59:56) DEBUG:core:Platform is Linux-3.13.0-53-generic-x86_64-with-Ubuntu-14.04-trusty DEBUG:core:host_tracker still waiting for: openflow WARNING:core:Still waiting on 1 component(s) INFO:core:POX 0.3.0 (dart) is up.
不确定它是什么意思:(请告诉我如何在痘中运行组件。
谢谢 :)
I am new to pox and I don't know how to run the components in pox. Currently I'm stuck with the host_tracker.py taken from https://github.com/CPqD/RouteFlow/blob/master/pox/pox/host_tracker/host_tracker.py
I've tried something like this: ./debug-pox.py host_tracker
And got the output as
POX 0.3.0 (dart) / Copyright 2011-2014 James McCauley, et al. DEBUG:core:POX 0.3.0 (dart) going up... DEBUG:core:Running on CPython (2.7.6/Mar 22 2014 22:59:56) DEBUG:core:Platform is Linux-3.13.0-53-generic-x86_64-with-Ubuntu-14.04-trusty DEBUG:core:host_tracker still waiting for: openflow WARNING:core:Still waiting on 1 component(s) INFO:core:POX 0.3.0 (dart) is up.
Not sure what it means :( Kindly tell me how to run components in pox.
Thanks :)
最满意答案
假设您已启动并运行mininet,则应使用host_tracker和openflow.discovery模块。 此外,您应该加载pox版本中包含的示例控制器(库存组件)。 首先加载样品mininet
sudo mn --controller remote然后像这样运行pox
python pox.py forwarding.l2_pairs host_tracker openflow.discovery当所有在终端启动并运行时,你启动了mininet问题a
pingall并监视运行pox的终端以观察host_tracker信息
forwarding.l2_pairs是一个样本控制器(库存组件),它将处理网络和流程修改。 host_tracker是主机跟踪器模块,openflow.discovery是pox的发现模块。
要查找更多库存组件,请访问https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-StockComponents
要了解有关host_tracker的更多信息,请访问https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-host_tracker
Assuming that you have mininet up and running you should use the host_tracker along with the openflow.discovery module. In addition you should load an example controller (stock component) included in your pox version. First load a sample mininet
sudo mn --controller remoteThen run pox like this
python pox.py forwarding.l2_pairs host_tracker openflow.discoveryWhen all is up and running in the terminal you launched mininet issue a
pingalland monitor the terminal in which you run pox to observe host_tracker info
forwarding.l2_pairs is a sample controller (stock component) that will handle the network and flows modifications. host_tracker is the host tracker module and the openflow.discovery is the discovery module of pox.
To find more stock components go to https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-StockComponents
To read more about host_tracker https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-host_tracker
更多推荐
发布评论