From 6f42dc8a036f40af5261efc23677b7cfbacba2a8 Mon Sep 17 00:00:00 2001 From: Renan Lopes Date: Thu, 25 Jul 2024 11:21:06 -0300 Subject: [PATCH] fixed --- networkapi/api_rack/provision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networkapi/api_rack/provision.py b/networkapi/api_rack/provision.py index 3c873aec..e4b46472 100644 --- a/networkapi/api_rack/provision.py +++ b/networkapi/api_rack/provision.py @@ -455,7 +455,7 @@ def spine_provision(self, rack, equips): # variablestochangespine1["IPNEIGHLEAF2IPV6"] = str(IPLEAFipv6[numero_rack][spine_num]) elif spine_num == 2: variablestochangespine1["DESCRIPTION1CONNECT"] = equips_sorted[1].get("nome") - variablestochangespine1["DESCRIPTION2CONNECT"] = equips_sorted[2].get("nome") + variablestochangespine1["DESCRIPTION2CONNECT"] = equips_sorted[0].get("nome") variablestochangespine1["VLANBORDA2LEAF"] = str(vlanBO[spine_num - 2]) variablestochangespine1["VLANBORDA2CACHOSLEAF"] = str(vlanBOCA[spine_num - 2]) variablestochangespine1["VLANBORDA2CACHOSB"] = str(vlanBOCAB[spine_num - 2])