Tools for python Resel scripts
git clone https://github.com/ResEl-TB/resel.tools.git cd resel.tools python setup.py install
Some Network tools to check IPv4
Check if an IPv4 address is valid
is_valid_ip [-h] ip
check if ip is valid
- positional arguments:
- ip an IPv4 address
- optional arguments:
-h, --help show this help message and exit
Check if an IPv4 address is in a Subnet
ip_in_subnet [-h] ip subnet
check if ip is valid
- positional arguments:
- ip an IPv4 address subnet an IPv4 subnet
- optional arguments:
-h, --help show this help message and exit
Tools to manipulate an isc-dhcpd server