Net_Playbook is python script to config/backup/view Network Device. Features:
- It works for Python 3.7
- Supporting list vendors: Following Netmiko Library:
https://pypi.org/project/netmiko/
- python3.7
- netmiko
- ftplib
USAGE: net_playbook.py [-i] [inventory_file] task_file
-
inventory
with list IPs and information to connect to Devices. By default, Net_playbook getconfig.ini
in path of script. You can change path to config with option-i
. -
task.yml
with list tasks with template filetest.yaml
:backup
with 2 actionsave
andget
(only support Huawei Device with enabled ftpserver)config
with 2 optioncommand
andfrom_file
.view
withcommand
Output of each task will print to screen.