Skip to main content

Netsplit can help slice and dice your IP space

Project description

Netsplit

Here is a very simply 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
     ╵                   ╵                                    ╵               ╵

Project details


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.2.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

netsplit-0.2.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netsplit-0.2.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for netsplit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 28d1df7e17f3b4fc2b889eb5737ca33367e19a8e9d372a2043d7e0029d2a7ff4
MD5 6fc2ea93e7da4fd8b86197f53e198992
BLAKE2b-256 4d05d312a72f77e7e0cf65024f51d90efaabb04b1b8cb3922009962c3002126f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netsplit-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for netsplit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 698c764101d23be01b1e13bba0296729fa37bd799f627174233e22dba826c439
MD5 ecd428868a0bff94ee3cc4b2a8d2d44b
BLAKE2b-256 2d487ead8c54674dbdfbc05b89455b35b7c25ff27014c825d5f90436e54a3199

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page