Skip to content

Commit bf879b2

Browse files
Merge pull request #416 from globocom/develop
fix variables
2 parents 470372e + 6b61079 commit bf879b2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

networkapi/api_rack/provision.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -337,16 +337,16 @@ def spine_provision(self, rack, equips):
337337
variablestochangeleaf1["VLANBORDACACHOSBLEAFSP2"] = str(vlanBOCAB[spn + 1])
338338

339339
### To pop Berrini
340-
variablestochangeleaf1["BERVLANBELEAFSP1"] = str(vlanBE[0])
341-
variablestochangeleaf1["BERVLANBELEAFSP2"] = str(vlanBE[1])
342-
variablestochangeleaf1["BERVLANFELEAFSP1"] = str(vlanFE[0])
343-
variablestochangeleaf1["BERVLANFELEAFSP2"] = str(vlanFE[1])
344-
variablestochangeleaf1["BERVLANBORDALEAFSP1"] = str(vlanBO[0])
345-
variablestochangeleaf1["BERVLANBORDALEAFSP2"] = str(vlanBO[1])
346-
variablestochangeleaf1["BERVLANBORDACACHOSLEAFSP1"] = str(vlanBOCA[0])
347-
variablestochangeleaf1["BERVLANBORDACACHOSLEAFSP2"] = str(vlanBOCA[1])
348-
variablestochangeleaf1["BERVLANBORDACACHOSBLEAFSP1"] = str(vlanBOCAB[0])
349-
variablestochangeleaf1["BERVLANBORDACACHOSBLEAFSP2"] = str(vlanBOCAB[1])
340+
variablestochangeleaf1["VLANBERBELEAFSP1"] = str(vlanBE[0])
341+
variablestochangeleaf1["VLANBERBELEAFSP2"] = str(vlanBE[1])
342+
variablestochangeleaf1["VLANBERFELEAFSP1"] = str(vlanFE[0])
343+
variablestochangeleaf1["VLANBERFELEAFSP2"] = str(vlanFE[1])
344+
variablestochangeleaf1["VLANBERBORDALEAFSP1"] = str(vlanBO[0])
345+
variablestochangeleaf1["VLANBERBORDALEAFSP2"] = str(vlanBO[1])
346+
variablestochangeleaf1["VLANBERBORDACACHOSLEAFSP1"] = str(vlanBOCA[0])
347+
variablestochangeleaf1["VLANBERBORDACACHOSLEAFSP2"] = str(vlanBOCA[1])
348+
variablestochangeleaf1["VLANBERBORDACACHOSBLEAFSP1"] = str(vlanBOCAB[0])
349+
variablestochangeleaf1["VLANBERBORDACACHOSBLEAFSP2"] = str(vlanBOCAB[1])
350350

351351
log.debug("2")
352352
variablestochangeleaf1["ASLEAF"] = str(ASLEAF[numero_rack][0])

0 commit comments

Comments
 (0)