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:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netsplit-0.3.7.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netsplit-0.3.7-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file netsplit-0.3.7.tar.gz.

File metadata

  • Download URL: netsplit-0.3.7.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/7.0.0-29-generic

File hashes

Hashes for netsplit-0.3.7.tar.gz
Algorithm Hash digest
SHA256 623d047ad36ba6dc2d669d37f44186d949f09cac55b8c6c971d9823599025c72
MD5 4f9ce6b5ec06698814c9b387590cb37c
BLAKE2b-256 aa9562ad3f43a45a9f7f4fbdc98599def43e9cabdf8dd27028bd0dddbc0589e1

See more details on using hashes here.

File details

Details for the file netsplit-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: netsplit-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/7.0.0-29-generic

File hashes

Hashes for netsplit-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bb2eca983f324517afb018ed99740270a696fe62b17102ca42f1ef8929dcdd14
MD5 d0d7c5cd4adc045d062a5054e173c25d
BLAKE2b-256 d7fbd63017c8e4a020bf6bea7fa5dfca44b328e35b055392320d465e7a1ad6f2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.7 This release

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.0

2 files

0.2.0

2 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