adarak Posted July 22, 2007 Share Posted July 22, 2007 Any help would be appreciated: I've written a fairly complex network auditor for large corporate WANs. I've done most of the work however, I'm stuck coming up with some logic. The idea is, a "speed" setting will be read from an INI file, along with a group of subnets in each section. I can't figure out how to split what is read based on the speed setting. For example, the INI would contain the following: [group1] speed=1 network=192.168.55.1/24 network=192.168.58.1/24 [group2] speed=4 network=192.168.12.128/25 network=192.168.15.1/26 [group3] speed=2 network=192.168.75.1/24 network=192.168.76.128/25 Assuming the maximum number of hosts to be launched at any time would be a total of 5 (there are hundreds of hosts based on the subnets) - what logic would go through and limit a launch based on the speed factor and within the maximum? Assuming speed means a literal amount (ie - speed=4 would allow a maximum of 4 at any one time). If speed is set to 2, that means there are still 3 slots available for launching until one opens up. Hope I was clear on the explanation! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now