CLI for netbox using pynetbox module
Project description
NetBox Client
Extensible command-line interface for Netbox using pynetbox module.
$ pip install nbcli
$ nbcli init
Edit pynetbox 'url' and 'token' entries in user_config.py:
~/.nbcli/user_config.py
$ nbcli -h
usage: nbcli [-h] <command> ...
Run main cli app with sys.argv from command line.
optional arguments:
-h, --help show this help message and exit
Commands:
<command>
init Initialize nbcli.
search Search Netbox Objects
show Show detail view of Netbox Object
shell Launch interactive shell
pynb Wrapper for pynetbox
lsmodels List Netbox Models
hello Say hello
General Options:
-h, --help show this help message and exit
-v, --verbose Show more logging messages
-q, --quiet Show fewer logging messages
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nbcli-0.0.1.dev3.tar.gz
(14.6 kB
view hashes)
Built Distribution
nbcli-0.0.1.dev3-py3-none-any.whl
(33.2 kB
view hashes)
Close
Hashes for nbcli-0.0.1.dev3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3994c7aa67a4918492e6240dbef733ea1320906e22d4e9b75aae16409ede64d |
|
MD5 | 4ff082fc1e8537bdbdd4fe2805aaeb00 |
|
BLAKE2b-256 | 24a79bbd498d052e247ece36c534ec5c02ed64e42bda2411d6698057a35e5e4f |