diff --git a/networkapi/api_rack/autoprovision.py b/networkapi/api_rack/autoprovision.py index 56dc63d4..02652ab4 100644 --- a/networkapi/api_rack/autoprovision.py +++ b/networkapi/api_rack/autoprovision.py @@ -509,8 +509,15 @@ def autoprovision_splf(rack, equips): variablestochangespine1["VLANBORDACACHOSLEAF"] = str(VLANBORDACACHOSLEAF[numero_rack][spine_num-1]) variablestochangespine1["VLANBORDACACHOSBLEAF"] = str(VLANBORDACACHOSBLEAF[numero_rack][spine_num-1]) variablestochangespine1["ASLEAF"] = str(ASLEAF[numero_rack][0]) + + ### To pop Berrini + variablestochangespine1["IPNEIGHLEAFIPV4_2"] = str(IPLEAFipv4[numero_rack][spine_num]) + variablestochangespine1["IPNEIGHLEAFIPV6_2"] = str(IPLEAFipv6[numero_rack][spine_num]) + + variablestochangespine1["IPNEIGHLEAFIPV4"] = str(IPLEAFipv4[numero_rack][spine_num-1]) variablestochangespine1["IPNEIGHLEAFIPV6"] = str(IPLEAFipv6[numero_rack][spine_num-1]) + variablestochangespine1["RACK_NUM"] = str(numero_rack) if spine_num in [1, 3]: variablestochangeleaf1["SP1_HOSTNAME"] = i.get("nome")