diff --git a/networkapi/api_rack/provision.py b/networkapi/api_rack/provision.py index d92399fe..8d5e8c40 100644 --- a/networkapi/api_rack/provision.py +++ b/networkapi/api_rack/provision.py @@ -409,6 +409,11 @@ def spine_provision(self, rack, equips): variablestochangespine1["VLANBORDACACHOSLEAF"] = str(vlanBOCA[spine_num - 1]) variablestochangespine1["VLANBORDACACHOSB"] = str(vlanBOCAB[spine_num - 1]) variablestochangespine1["ASLEAF"] = str(ASLEAF[numero_rack][0]) + + ### TO BERRINI + variablestochangespine1["IPNEIGHLEAF2IPV4"] = str(IPLEAFipv4[numero_rack][spine_num]) + variablestochangespine1["IPNEIGHLEAF2IPV6"] = str(IPLEAFipv6[numero_rack][spine_num]) + variablestochangespine1["IPNEIGHLEAFIPV4"] = str(IPLEAFipv4[numero_rack][spine_num - 1]) variablestochangespine1["IPNEIGHLEAFIPV6"] = str(IPLEAFipv6[numero_rack][spine_num - 1])