diff --git a/networkapi/api_rack/provision.py b/networkapi/api_rack/provision.py index bb1a58d8..1090d42f 100644 --- a/networkapi/api_rack/provision.py +++ b/networkapi/api_rack/provision.py @@ -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")