mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-16 14:34:45 -06:00
Merge pull request #442 from LibreQoE/rchac-patch-11
Update integrationPowercode.py
This commit is contained in:
commit
dd17fc2d92
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user