Python frontend for the Norman dataplane.
Project description
Norman Python Frontend
Install
To install the frontend run in the current directory (frontend
):
pip3 install -e .
To run Norman pktgen you also need to have the capinfos
command installed in the machine you want to use to generate packets.
On Ubuntu (or other Debian-based system) run:
sudo apt install tshark
For other distributions refer to the wireshark docs to find the correct package name (either tshark
or wireshark-cli
).
Running
For usage information run:
norman --help
Enable autocompletion (optional)
For Bash
Run this:
_NORMAN_COMPLETE=bash_source norman > ~/.norman-complete.bash
Then add the following to your .bashrc
:
. ~/.norman-complete.bash
For Zsh
Run this:
_NORMAN_COMPLETE=zsh_source norman > ~/.norman-complete.zsh
Then add the following to your .zshrc
:
. ~/.norman-complete.zsh
For Fish
Save the script to ~/.config/fish/completions/norman.fish
:
_NORMAN_COMPLETE=fish_source norman > ~/.config/fish/completions/norman.fish
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
Built Distribution
File details
Details for the file norman-dp-0.1.1.tar.gz
.
File metadata
- Download URL: norman-dp-0.1.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1bccbc82993b263a254ddeee02f90bf5806c90b36a2dcf25f1ecb66fe366ce8 |
|
MD5 | 084e563e1020f0e1070643aacc110282 |
|
BLAKE2b-256 | 2548001f2f8131a9f4b776ae555c739de97ed65efc8db323fdd8cbe3de6ab517 |
File details
Details for the file norman_dp-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: norman_dp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47afb91eff2996976aae7ff9fa7bba3af5a0c71db994fff789166998bf5e9928 |
|
MD5 | 37ca255f3b43192ce77e809a49203549 |
|
BLAKE2b-256 | 0d5814978ddb9ef78b3d53b9cdce6013aa1d3275e7bea4bca808cae8fe1d263d |