Python AWS VPC CIDR available range finder with sub networks
Project description
PyVPC - CIDR free ranger resolver
Current version supports only AWS VPCs.
CIDR available range finder with sub networks
Install
pip install pyvpc
Usage
aws:
pyvpc aws [-h] --cidr-range CIDR_RANGE [--region REGION] [--all-regions]
Examples
Assuming there are two AWS VPCs with CIDRs: 10.20.0.0/16
and 10.30.0.0/16
,
executing command:
pyvpc aws --cidr-range 10.0.0.0/8
will return:
| Lowest IP | Upper IP | Num of Addr | Available | ID | Name |
|-------------|----------------|---------------|-------------|-----------------------|--------------|
| 10.0.0.0 | 10.19.255.255 | 1310720 | True | | |
| 10.20.0.0 | 10.20.255.255 | 65536 | False | vpc-Ec9hQfmjk4sPCH65c | lev-test-vpc |
| 10.21.0.0 | 10.29.255.255 | 589824 | True | | |
| 10.30.0.0 | 10.30.255.255 | 65536 | False | vpc-4WNpVY5wCLmdqfJLy | dev-k8s |
| 10.31.0.0 | 10.255.255.255 | 14745600 | True | | |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyvpc-0.0.4.tar.gz
(6.6 kB
view hashes)
Built Distribution
pyvpc-0.0.4-py3-none-any.whl
(12.0 kB
view hashes)