globocom / globocom/GloboNetworkAPI

Error generating environment and network for OOB in racks

Open
#212 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
88
Forks
71
Avg merge
1d 10h
Merged PRs (30d)
4

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.