Skip to content

Commit

Permalink
Merge pull request #416 from globocom/develop
Browse files Browse the repository at this point in the history
fix variables
  • Loading branch information
renan-lopes-rodrigues authored Jul 24, 2024
2 parents 470372e + 6b61079 commit bf879b2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions networkapi/api_rack/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,16 +337,16 @@ def spine_provision(self, rack, equips):
variablestochangeleaf1["VLANBORDACACHOSBLEAFSP2"] = str(vlanBOCAB[spn + 1])

### To pop Berrini
variablestochangeleaf1["BERVLANBELEAFSP1"] = str(vlanBE[0])
variablestochangeleaf1["BERVLANBELEAFSP2"] = str(vlanBE[1])
variablestochangeleaf1["BERVLANFELEAFSP1"] = str(vlanFE[0])
variablestochangeleaf1["BERVLANFELEAFSP2"] = str(vlanFE[1])
variablestochangeleaf1["BERVLANBORDALEAFSP1"] = str(vlanBO[0])
variablestochangeleaf1["BERVLANBORDALEAFSP2"] = str(vlanBO[1])
variablestochangeleaf1["BERVLANBORDACACHOSLEAFSP1"] = str(vlanBOCA[0])
variablestochangeleaf1["BERVLANBORDACACHOSLEAFSP2"] = str(vlanBOCA[1])
variablestochangeleaf1["BERVLANBORDACACHOSBLEAFSP1"] = str(vlanBOCAB[0])
variablestochangeleaf1["BERVLANBORDACACHOSBLEAFSP2"] = str(vlanBOCAB[1])
variablestochangeleaf1["VLANBERBELEAFSP1"] = str(vlanBE[0])
variablestochangeleaf1["VLANBERBELEAFSP2"] = str(vlanBE[1])
variablestochangeleaf1["VLANBERFELEAFSP1"] = str(vlanFE[0])
variablestochangeleaf1["VLANBERFELEAFSP2"] = str(vlanFE[1])
variablestochangeleaf1["VLANBERBORDALEAFSP1"] = str(vlanBO[0])
variablestochangeleaf1["VLANBERBORDALEAFSP2"] = str(vlanBO[1])
variablestochangeleaf1["VLANBERBORDACACHOSLEAFSP1"] = str(vlanBOCA[0])
variablestochangeleaf1["VLANBERBORDACACHOSLEAFSP2"] = str(vlanBOCA[1])
variablestochangeleaf1["VLANBERBORDACACHOSBLEAFSP1"] = str(vlanBOCAB[0])
variablestochangeleaf1["VLANBERBORDACACHOSBLEAFSP2"] = str(vlanBOCAB[1])

log.debug("2")
variablestochangeleaf1["ASLEAF"] = str(ASLEAF[numero_rack][0])
Expand Down

0 comments on commit bf879b2

Please sign in to comment.