GloboNetworkAPI icon indicating copy to clipboard operation
GloboNetworkAPI copied to clipboard

IndexError: list index out of range while deploying new rack

Open marcusgc opened this issue 6 years ago • 2 comments

In order to subnet the datacenter v4 networks for each rack environment, NetworkAPI gets environment configuration from ip_config and EnvironmentConfig (populated by datacenter feature for the room). While deploying new rack, it is trying to statically allocate /18 network for the rack (networkapi.api_rack.facede.py:664 - "prefixo_inicial"). As such, when the environment is configured to smaller networks, it is raising an error index out of range error. There is a need to let it dynamically allocate the rack network according to the environment config.

marcusgc avatar Oct 25 '18 00:10 marcusgc

can i work on it?

maryanamorato avatar Oct 05 '22 03:10 maryanamorato

Sure! Feel free to work on it and submit. Let us know if you have any concerns.

marcusgc avatar Oct 06 '22 15:10 marcusgc