一个简单的实用程序,它将使用nso为现有网络创建ansible playbooks
pang的Python项目详细描述
ansible+nso生成器的行动手册
一个简单的实用程序,它将使用NSO
为现有的网络创建可操作的剧本。- 自由软件:麻省理工学院许可证
- 文档:https://pang.readthedocs.io。
安装
要从源安装pang,请运行以下命令:
git clone https://github.com/kecorbin/pang cd pang python setup.py install
使用量
跑步:
Usage: pang [OPTIONS] PANG - Playbook for Ansible + NSO Generator Options: --nso <host_or_ip> FQDN/IP of NSO Server (default: localhost) --username <username> NSO Username (default: admin) --password <password> NSO Password (default: admin) --help Show this message and exit.
样本输出:
Generating Ansible Playbook... Syncing Configuration from Devices Generating host_vars for core1 Generating host_vars for core2 Generating host_vars for dist1 Generating host_vars for dist2
学分
这个包是用Cookiecutter和audreyr/cookiecutter-pypackage项目模板创建的。
历史记录
0.1.0(2018-09-18)
- pypi上的第一个版本。