Skip to content

Commit

Permalink
Merge pull request #402 from globocom/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
renan-lopes-rodrigues authored Jul 23, 2024
2 parents eeb112d + 890226a commit 4f8669e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions networkapi/rack/resource/GeraConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,7 @@ def autoprovision_splf(rack,FILEINLF1, FILEINLF2,FILEINSP1, FILEINSP2, FILEINSP3
variablestochangespine1['INTERFACE'] = INTERFACE_SP1
variablestochangespine1['LEAFNAME'] = HOSTNAME_LF1
variablestochangespine1['INT_LF_UPLINK'] = int_lf1_sp1
variablestochangespine1['RACK_NUM'] = str(rack)
#
#
variablestochangespine2['IPSPINEIPV4'] = str(IPSPINEipv4[rack][1])
Expand All @@ -973,6 +974,8 @@ def autoprovision_splf(rack,FILEINLF1, FILEINLF2,FILEINSP1, FILEINSP2, FILEINSP3
variablestochangespine2['INTERFACE'] = INTERFACE_SP2
variablestochangespine2['LEAFNAME'] = HOSTNAME_LF1
variablestochangespine2['INT_LF_UPLINK'] = int_lf1_sp2
variablestochangespine2['RACK_NUM'] = str(rack)

#
#
variablestochangespine3['IPSPINEIPV4'] = str(IPSPINEipv4[rack][2])
Expand All @@ -988,6 +991,8 @@ def autoprovision_splf(rack,FILEINLF1, FILEINLF2,FILEINSP1, FILEINSP2, FILEINSP3
variablestochangespine3['INTERFACE'] = INTERFACE_SP3
variablestochangespine3['LEAFNAME'] = HOSTNAME_LF2
variablestochangespine3['INT_LF_UPLINK'] = int_lf2_sp3
variablestochangespine3['RACK_NUM'] = str(rack)

#
#
variablestochangespine4['IPSPINEIPV4'] = str(IPSPINEipv4[rack][3])
Expand All @@ -1003,6 +1008,8 @@ def autoprovision_splf(rack,FILEINLF1, FILEINLF2,FILEINSP1, FILEINSP2, FILEINSP3
variablestochangespine4['INTERFACE'] = INTERFACE_SP4
variablestochangespine4['LEAFNAME'] = HOSTNAME_LF2
variablestochangespine4['INT_LF_UPLINK'] = int_lf2_sp4
variablestochangespine4['RACK_NUM'] = str(rack)

#
#
variablestochangeleaf1['IPLEAFSP1IPV4'] = str(IPLEAFipv4[rack][0])
Expand Down

0 comments on commit 4f8669e

Please sign in to comment.