Update integrationPowercode.py

This commit is contained in:
Robert Chacón
2023-12-16 17:14:09 -07:00
committed by GitHub
parent 80b60bef2f
commit ad0e3b7c46

View File

@@ -57,11 +57,15 @@ def createShaper():
customerIDs.append(customerIDint)
allServices = {}
counter = 1
for customerID in customerIDs:
print("Importing " + str(counter) + "/" + str(len(customerIDs)) + " customers")
allServices.update(getServiceInfo(customerID))
counter += 1
acceptableEquipment = ['Customer Owned Equipment', 'Router', 'Customer Owned Equipment', 'Managed Routers'] #'CPE'
print("Consolidating imported customers")
devicesByCustomerID = {}
for customer in customerInfo:
if customer['status'] == 'Active':