Skip to main content

Netsplit: Slice and dice your IP space

PyPi version Build status License

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:

Multicloud Plan

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)

Source distribution for netsplit 0.3.8
File Size Uploaded
netsplit-0.3.8.tar.gz 191.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netsplit 0.3.8
File Interpreter ABI Platform
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}

Release history Release notifications | RSS feed

This release

0.3.8 This release

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page