Merge pull request #442 from LibreQoE/rchac-patch-11

Update integrationPowercode.py
This commit is contained in:
Robert Chacón
2023-12-16 17:14:52 -07:00
committed by GitHub

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':