Netsplit: Slice and dice your IP space
Installation
Install and update using:
pip3 install --user --upgrade netsplit
Usage
Here is a very simple network plan:
[netsplit]
description = "Global / Subnet"
network = "192.168.0.0/24"
[plan]
options = { slots = 4 }
members = ["NetA", "NetB"]
We can render it with:
❯ netsplit plan -p examples/netsplit-simple.toml -r 2
╷ ╷ ╷ ╷
# │ Global / Subnet │ Subnet │ idx+ext/slots │ IPs
╶────┼───────────────────┼────────────────────────────────────┼───────────────┼─────╴
0 │ Global │ ................192.168.0.0/24 │ │ 256
1 │ Global / NetA │ ..................192.168.0.0/26 │ 1 / 4 │ 64
1 │ Global / NetB │ ..................192.168.0.64/26 │ 2 / 4 │ 64
1 │ Global / RESERVED │ ..................192.168.0.128/26 │ 3 / 4 │ 64
1 │ Global / RESERVED │ ..................192.168.0.192/26 │ 4 / 4 │ 64
╵ ╵ ╵ ╵
Make sure to check examples for complex network plans:
Similar projects:
Metadata
Release files for netsplit 0.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netsplit-0.3.8.tar.gz | 191.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netsplit-0.3.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 199.9 kB
Release files / netsplit-0.3.8.tar.gz
| Download URL | netsplit-0.3.8.tar.gz |
|---|---|
| Size | 191.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7389104b0a0906247d65274681f612c2ab173b99f3c47f2631e062d1d116708a
|
|
BLAKE2b-256 checksum How to use checksums |
b1a09b5a6e348703bd8dd1da1fb844906916a7e007ce431827804571a73f2fc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / netsplit-0.3.8-py3-none-any.whl
| Download URL | netsplit-0.3.8-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce25b38070ab4d8085a631d40960506b7688a047b11d93315a62f059db34b6d1
|
|
BLAKE2b-256 checksum How to use checksums |
b7d347030cfe3478e1e3d3ddd04c4660211eb0c3793e7d8a5bd2cdae1967d75a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|