Automating IP subnets allocation using Python

successfully verified the sanity of subnets
error occured.10.0.16.16/27 is incorrect subnet
error occured.192.168.0.22/30 is incorrect subnet
Example of non-conflicting list
No conflict detected
Example of conflicting list
('192.168.10.0/24', '192.168.10.0/28')
['192.168.12.0/23', '192.168.14.0/24', '192.168.15.0/25', '192.168.15.128/26', '192.168.15.192/27', '192.168.15.224/27']

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store