From 93f0a15da48475f47c0314570fe11387050097ae Mon Sep 17 00:00:00 2001 From: Renan Lopes Date: Wed, 24 Jul 2024 16:22:24 -0300 Subject: [PATCH] changed variables --- networkapi/api_rack/provision.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/networkapi/api_rack/provision.py b/networkapi/api_rack/provision.py index 1090d42f..6c4ed67d 100644 --- a/networkapi/api_rack/provision.py +++ b/networkapi/api_rack/provision.py @@ -335,6 +335,19 @@ def spine_provision(self, rack, equips): variablestochangeleaf1["VLANBORDACACHOSLEAFSP2"] = str(vlanBOCA[spn + 1]) variablestochangeleaf1["VLANBORDACACHOSBLEAFSP1"] = str(vlanBOCAB[spn]) variablestochangeleaf1["VLANBORDACACHOSBLEAFSP2"] = str(vlanBOCAB[spn + 1]) + + ### To pop Berrini + variablestochangeleaf1["BERVLANBELEAFSP1"] = str(vlanBE[0]) + variablestochangeleaf1["BERVLANBELEAFSP2"] = str(vlanBE[1]) + variablestochangeleaf1["BERVLANFELEAFSP1"] = str(vlanFE[0]) + variablestochangeleaf1["BERVLANFELEAFSP2"] = str(vlanFE[1]) + variablestochangeleaf1["BERVLANBORDALEAFSP1"] = str(vlanBO[0]) + variablestochangeleaf1["BERVLANBORDALEAFSP2"] = str(vlanBO[1]) + variablestochangeleaf1["BERVLANBORDACACHOSLEAFSP1"] = str(vlanBOCA[0]) + variablestochangeleaf1["BERVLANBORDACACHOSLEAFSP2"] = str(vlanBOCA[1]) + variablestochangeleaf1["BERVLANBORDACACHOSBLEAFSP1"] = str(vlanBOCAB[0]) + variablestochangeleaf1["BERVLANBORDACACHOSBLEAFSP2"] = str(vlanBOCAB[1]) + log.debug("2") variablestochangeleaf1["ASLEAF"] = str(ASLEAF[numero_rack][0])