Skip to content

JSON parsing Linux Network Namespace (netns) topology builder

License

Notifications You must be signed in to change notification settings

cooperlees/json2netns

Repository files navigation

json2netns

JSON parsing Linux Network Namespace (netns) topology builder.

Install

pip install git+git://github.com/cooperlees/json2netns

Usage

The script takes a JSON config gile and drives all from that.

Configuration

It's JSON modeling the topology. TBA.

Development

Install

python3 -m venv [--upgrade-deps] /tmp/tj
/tmp/tj/bin/pip install -r requirements_test.txt wheel
/tmp/tj/bin/pip install -e .

Run Tests

/tmp/tj/bin/ptr [-k] [--print-cov] [--debug]
  • -k: keep venv ptr creates
  • --print-cov: handy to see what coverage is on all files
  • --debug: Handy to see all commands run so you can run a step manually

About

JSON parsing Linux Network Namespace (netns) topology builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages