mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-25 09:40:17 -06:00
Solve PtMP issue bug
This commit is contained in:
parent
ea883aebb8
commit
fc7dd8aeb0
@ -22,6 +22,10 @@ try:
|
||||
from ispConfig import ltu_capacity
|
||||
except:
|
||||
ltu_capacity = 0.90
|
||||
try:
|
||||
from ispConfig import usePtMPasParent
|
||||
except:
|
||||
usePtMPasParent = False
|
||||
|
||||
def uispRequest(target):
|
||||
# Sends an HTTP request to UISP and returns the
|
||||
@ -341,6 +345,7 @@ def findNodesBranchedOffPtMP(siteList, dataLinks, sites, rootSite, foundAirFiber
|
||||
'upload': upload,
|
||||
parent: apID
|
||||
}
|
||||
if usePtMPasParent:
|
||||
site['parent'] = apID
|
||||
print('Site ' + name + ' will use PtMP AP as parent.')
|
||||
return siteList, nodeOffPtMP
|
||||
|
Loading…
Reference in New Issue
Block a user