Awesome
NetTowel
Collection of useful network automation functions
⚠️
nettowel
is under heavy construction and not production ready. Feedback is highly appreciated.
Install
It is recommended to install nettowel
with pipx. Therefore you have the dependencies isolated and you can use the nettowel
or nt
command.
pipx install nettowel[full]
You can also install it directly from pypi
pip install nettowel
To reduce the dependencies the extra dependencies are grouped
The following groups are available (more details in the pyproject.toml):
- full
- jinja
- ttp
- textfsm
- napalm
- netmiko
- scrapli
- nornir
- pandas
- jsonpatch
- tui
pip install nettowel[jinja]
pip install nettowel[full]
Install from source
git clone ....
cd nettowel
poetry install
poetry run nettowel --help
Help and shell auto-completion
Thanks to the library typer, nettowel
comes with a nice help and autocompletion install
Features
Many features are not implemented yet and many features will come.
Jinja2
render
validate
variables
TTP
render
Netmiko
cli
autodetect
device-types
RESTCONF
get
patch, delete
post, put
ipaddress
ip-info
network-info
YAML
load
dump
JSON Patch (RFC 6902)
create
apply
Help
Settings
A dotenv
file can be used as a settings file. The file can also be provided with the option --dotenv
.
Piping
TUI
Using Trogon a TUI (Terminal User Interface) can be generated to edit and run the NetTowel command.