Skip to content

Commit

Permalink
Merge pull request #414 from globocom/develop
Browse files Browse the repository at this point in the history
teste
  • Loading branch information
renan-lopes-rodrigues authored Jul 24, 2024
2 parents 80fee38 + 254f7cf commit f82df6f
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 f82df6f

Please sign in to comment.