Skip to content

Commit

Permalink
changed variables
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-lopes-rodrigues committed Jul 24, 2024
1 parent 254f7cf commit 93f0a15
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions networkapi/api_rack/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,19 @@ def spine_provision(self, rack, equips):
variablestochangeleaf1["VLANBORDACACHOSLEAFSP2"] = str(vlanBOCA[spn + 1])
variablestochangeleaf1["VLANBORDACACHOSBLEAFSP1"] = str(vlanBOCAB[spn])
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])

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

Expand Down

0 comments on commit 93f0a15

Please sign in to comment.