Skip to content

Commit

Permalink
Merge pull request #403 from globocom/develop
Browse files Browse the repository at this point in the history
added variables to create 2 sessions per spine
  • Loading branch information
renan-lopes-rodrigues authored Jul 23, 2024
2 parents 4f8669e + 73fa176 commit 9d9812b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions networkapi/rack/resource/GeraConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,13 @@ def autoprovision_splf(rack,FILEINLF1, FILEINLF2,FILEINSP1, FILEINSP2, FILEINSP3
variablestochangespine1['VLANBORDALEAF'] = str(VLANBORDALEAF[rack][0])
variablestochangespine1['VLANBORDACACHOSLEAF'] = str(
VLANBORDACACHOSLEAF[rack][0])

### TO POP Berrini
variablestochangespine1['IPNEIGHLEAFIPV4_2'] = str(IPLEAFipv4[rack][1])
variablestochangespine1['IPNEIGHLEAFIPV6_2'] = str(IPLEAFipv6[rack][1])
variablestochangespine1['LEAFNAME_2'] = HOSTNAME_LF2


variablestochangespine1['ASLEAF'] = str(ASLEAF[rack][0])
variablestochangespine1['IPNEIGHLEAFIPV4'] = str(IPLEAFipv4[rack][0])
variablestochangespine1['IPNEIGHLEAFIPV6'] = str(IPLEAFipv6[rack][0])
Expand All @@ -968,6 +975,14 @@ def autoprovision_splf(rack,FILEINLF1, FILEINLF2,FILEINSP1, FILEINSP2, FILEINSP3
variablestochangespine2['VLANBORDALEAF'] = str(VLANBORDALEAF[rack][1])
variablestochangespine2['VLANBORDACACHOSLEAF'] = str(
VLANBORDACACHOSLEAF[rack][1])


### TO POP Berrini
variablestochangespine1['IPNEIGHLEAFIPV4_2'] = str(IPLEAFipv4[rack][0])
variablestochangespine1['IPNEIGHLEAFIPV6_2'] = str(IPLEAFipv6[rack][0])
variablestochangespine1['LEAFNAME_2'] = HOSTNAME_LF2


variablestochangespine2['ASLEAF'] = str(ASLEAF[rack][0])
variablestochangespine2['IPNEIGHLEAFIPV4'] = str(IPLEAFipv4[rack][1])
variablestochangespine2['IPNEIGHLEAFIPV6'] = str(IPLEAFipv6[rack][1])
Expand Down

0 comments on commit 9d9812b

Please sign in to comment.