特定于mininet的拓扑生成器和分析器
mininet-topology-yaml的Python项目详细描述
用于topology-yaml的cli插件。
它使创建表和clos(spine/leaf)拓扑文件更容易。
最重要的是它能够生成一个与主机、交换机、链接和连接到控制器的mininet会话。 在拓扑文件中定义。
要求
- python 2.7版
- mininet 2.2.2
- ovs 2.8.1
安装
>;来源:
$ git clone https://github.com/lumina-networks/mininet-topology-yaml $ cd mininet-topology-yaml $ sudo pip install .
>;来自PYPI
$ pip install mininet-topology-yaml
用法
topology yaml将是安装后的命令。例如:
$ Usage: topology-yaml [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: create Create Topology File delete Delete Topology File mininet Mininet Topology Commands read Read Topology File
故障排除
无法加载插件
Usage: topology-yaml [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
create Create Topology File
delete Delete Topology File
mininet † Warning: could not load plugin. See `topology-yaml mininet
--help`.
read Read Topology File
此警告通常在系统上未安装mininet时出现。确保安装了mininet和python
mininet的api是全局可用的。
文档
生成文档:
$ make documentation
或
$ cd docs $ make html
许可证
麻省理工学院