From a8302a168ca188539d52b18fbc23c26b09d4793d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Chac=C3=B3n?= Date: Thu, 13 Jul 2023 18:06:09 -0600 Subject: [PATCH 1/4] Update README.md --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bc22285c..c80feed7 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ Learn more about [Equinix Metal here](https://deploy.equinix.com/metal/). Please support the continued development of LibreQoS by sponsoring us via [GitHub Sponsors](https://github.com/sponsors/LibreQoE) or [Patreon](https://patreon.com/libreqos). -## Documentation +## Documentation / Get Started -[Docs](https://libreqos.readthedocs.io) +[ReadTheDocs](https://libreqos.readthedocs.io) ## Matrix Chat @@ -113,8 +113,5 @@ So for example, an ISP delivering 1Gbps service plans with 10Gbps aggregate thro * Known supported cards: * [NVIDIA Mellanox MCX512A-ACAT](https://www.fs.com/products/119649.html) * NVIDIA Mellanox MCX416A-CCAT - * [Intel X710](https://www.fs.com/products/75600.html) + * [Intel X710](https://www.fs.com/products/75600.html) * Note - possible i40e driver issue with XDP Redirect for high throughput 10G+ * Intel X520 - -## Get Started -- [ReadTheDocs](https://libreqos.readthedocs.io/en/develop/docs/SystemRequirements/Compute.html) -- knotmirror 0.0.1 From 5000eab638f2a8d84fe9de605e291425c7dd245d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Chac=C3=B3n?= Date: Thu, 13 Jul 2023 18:06:47 -0600 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c80feed7..6b251476 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Please support the continued development of LibreQoS by sponsoring us via [GitHu ## Documentation / Get Started -[ReadTheDocs](https://libreqos.readthedocs.io) +[ReadTheDocs](https://libreqos.readthedocs.io/en/latest/) ## Matrix Chat -- knotmirror 0.0.1 From ea883aebb8592d2136383005ad81ffcb2ff1a3db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Chac=C3=B3n?= Date: Fri, 21 Jul 2023 14:06:51 -0600 Subject: [PATCH 3/4] Catch None type in integrationUISP --- src/integrationUISP.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrationUISP.py b/src/integrationUISP.py index 8b4064e3..8041219e 100644 --- a/src/integrationUISP.py +++ b/src/integrationUISP.py @@ -359,7 +359,7 @@ def handleMultipleInternetNodes(sites, dataLinks, uispSite): uispSite = 'Internet' for link in dataLinks: if link['canDelete'] == False: - if link['from']['device']['identification']['id'] == link['to']['device']['identification']['id']: + if link['from']['device'] is not None and link['to']['device'] is not None and link['from']['device']['identification']['id'] == link['to']['device']['identification']['id']: link['from']['site']['identification']['id'] = '001' link['from']['site']['identification']['name'] = 'Internet' # Found internet link -- knotmirror 0.0.1 From fc7dd8aeb0a4cd384198ce3f3906618fac25a51b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Chac=C3=B3n?= Date: Fri, 21 Jul 2023 17:07:58 -0600 Subject: [PATCH 4/4] Solve PtMP issue bug --- src/integrationUISP.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/integrationUISP.py b/src/integrationUISP.py index 8041219e..406338c4 100644 --- a/src/integrationUISP.py +++ b/src/integrationUISP.py @@ -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,8 +345,9 @@ def findNodesBranchedOffPtMP(siteList, dataLinks, sites, rootSite, foundAirFiber 'upload': upload, parent: apID } - site['parent'] = apID - print('Site ' + name + ' will use PtMP AP as parent.') + if usePtMPasParent: + site['parent'] = apID + print('Site ' + name + ' will use PtMP AP as parent.') return siteList, nodeOffPtMP def handleMultipleInternetNodes(sites, dataLinks, uispSite): -- knotmirror 0.0.1