fgiuba / ipconflict Goto Github PK
View Code? Open in Web Editor NEWCheck for IP conflicts between subnets
License: GNU General Public License v3.0
Check for IP conflicts between subnets
License: GNU General Public License v3.0
Add a progress bar and some info about the status and the performance of the tool.
Would it be possible to add exit codes to be able to evaluate the outcome using scripts?. Right now, conflict or not, the exit code is always 0
nas02:/tmp/ip-test # ipconflict 10.0.0.0/22 10.0.1.0/24
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 5275.85subnet/s]
conflict found: 10.0.0.0/22 <-> 10.0.1.0/24
nas02:/tmp/ip-test # echo $?
0
nas02:/tmp/ip-test # ipconflict 10.0.0.0/22 11.0.1.0/24
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 5457.78subnet/s]
no conflict found
nas02:/tmp/ip-test # echo $?
0
How to call ipconflict
that takes filepath argument within Python script.
I have enterprise IP subnet entry for about 13k subnets in a text file.
The command takes too long to generate output list. I guess the complexity is n-squared. Is there more efficient way to get output?
I get the below error when the version was updated
ERROR: Could not find a version that satisfies the requirement ipconflict (from versions: none)
ERROR: No matching distribution found for ipconflict
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.