Skip to content

Commit

Permalink
teste
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-lopes-rodrigues committed Jul 24, 2024
1 parent 95a8b54 commit 254f7cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions networkapi/api_rack/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ def spine_provision(self, rack, equips):
variablestochangeleaf1["LFNEIGH_IP_MGMT"] = i.get("ip_mngt")
elif i.get("nome")[:3] == self.spine_prefix:
spine_num = int(i.get("nome")[-1])
log.debug(spn)
log.debug(spine_num)
variablestochangespine1["ASSPINE"] = str(BASE_AS_SPN + spine_num - 1)
variablestochangespine1["INTERFACE"] = i.get("interface")
variablestochangespine1["LEAFNAME"] = equip.get("nome")
Expand Down

0 comments on commit 254f7cf

Please sign in to comment.