GloboNetworkAPI icon indicating copy to clipboard operation
GloboNetworkAPI copied to clipboard

Error generating environment and network for OOB in racks

Open marcusgc opened this issue 5 years ago • 0 comments

When OOB environment have more than one network prefix configured, networkapi is raising error when trying to allocate networks and vlans for rack. Instead of looking for an available network in network prefixes, it is trying to get "nth" network in all network prefix configured for environment. If prefix is shorter than rack number, it will raise "list index out of range". If all prefixes have nth network available, it will allocate more than one necessary networks.

If should just look for an available network in all available prefixes.

marcusgc avatar Nov 12 '19 15:11 marcusgc