Network Utilities CLI (nucli) is a collection of commonly used tools for network engineers.
Built and tested on Ubuntu 18.04.3
- Clone the repository and change directory to nucli
$ git clone https://github.com/pfeiffermj/nucli.git
$ cd nucli
- Run the Makefile and activate virtual environment
$ make install
$ . env/bin/activate
- Test your installation and begin using
$ nucli
- When finished deactivate and clean
$ deactivate
$ make clean
- Clone the repository and change directory to nucli
$ git clone git clone https://github.com/pfeiffermj/nucli.git
$ cd nucli
- Create a virtual environment and activate it
$ python3 -m venv env
$ . env/bin/activate
- Install setup and requirements
$ pip3 install -e .
$ pip3 install -r requirements.txt
- Test your installation and begin using
$ nucli
- Deactivate your virtual environment when finished
$ deactivate
-
Navigate to nucli folder if not already in the directory
-
Run make options for lint and test
(env) ~/nucli$ make lint
(env) ~/nucli$ make test
Demonstrates calling nucli directly from shell without requiring the file to be executable or prefaced with python3:
$ nucli
Usage: nucli [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
ping-range
Demonstrates the ping-range tool being executed from nucli CLI.
IPv4 example:
$ nucli ping-range --start 192.0.2.198 --end 192.0.2.200
192.0.2.198 failed to respond
192.0.2.199 failed to respond
192.0.2.200 responded
IPv6 example:
$ nucli ping-range --start fe80::20c:29ff:fe7a:bcf3 --end fe80::20c:29ff:fe7a:bcf5 --iface ens33
fe80::20c:29ff:fe7a:bcf3 responded
fe80::20c:29ff:fe7a:bcf4 failed to respond
fe80::20c:29ff:fe7a:bcf5 failed to respond