Skip to content

Commit

Permalink
fixed variable name and query filter to allocate vlans to a new rack
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-lopes-rodrigues committed Aug 9, 2024
1 parent 96f04d3 commit 5cc8fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions networkapi/api_rack/rackenvironments.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def spines_environment_save(self):
spines = int(self.rack.dcroom.spines)
fabric = self.rack.dcroom.name
rackname = self.rack.nome
grupoL3name = fabric+"_"+racknome
grupoL3name = fabric+"_"+rackname

try:
id_grupo_l3 = models_env.GrupoL3().get_by_name(grupoL3name).id
Expand Down Expand Up @@ -122,7 +122,7 @@ def spines_environment_save(self):
'fabric_id': self.rack.dcroom.id
}
environment = facade_env.create_environment(obj)

return environment_spn_lf_list

def spines_environment_read(self):
Expand Down

0 comments on commit 5cc8fc4

Please sign in to comment.