From 2d0e9292ec8af07d824e08d05b5b3bdb77e04444 Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Sat, 8 Apr 2023 15:02:52 +0200
Subject: [PATCH] pep8

---
 .../services/provisioning_proxy.py            | 26 ++-----------------
 1 file changed, 2 insertions(+), 24 deletions(-)

diff --git a/geant_service_orchestrator/services/provisioning_proxy.py b/geant_service_orchestrator/services/provisioning_proxy.py
index 5770bab1..96874ed8 100644
--- a/geant_service_orchestrator/services/provisioning_proxy.py
+++ b/geant_service_orchestrator/services/provisioning_proxy.py
@@ -1,4 +1,5 @@
-from geant_service_orchestrator.products.product_types.device import DeviceBlock
+from geant_service_orchestrator.products.product_types.device \
+    import DeviceBlock
 from geant_service_orchestrator import settings
 import requests
 
@@ -11,26 +12,3 @@ def provision_node(
         f'/api/version',
         params=node_subscription_params.dict())
     r.raise_for_status()
-
-
-#
-# Some examples I want to keep around for now
-#
-#
-# def next_lag(router_name, oss_params=settings.OSSParams):
-#     r = requests.post(
-#         f'{oss_params.RESOURCE_MANAGER_API_PREFIX}'
-#         f'/api/interfaces/next-lag/{router_name}')
-#     r.raise_for_status()
-#     response = r.json()
-#     return response['name']
-#
-#
-# def next_physical(router_name, lag_name, oss_params=settings.OSSParams):
-#     # TODO: speed needed (if first interface)
-#     r = requests.post(
-#         f'{oss_params.RESOURCE_MANAGER_API_PREFIX}'
-#         f'/api/interfaces/next-physical/{router_name}/{lag_name}')
-#     r.raise_for_status()
-#     response = r.json()
-#     return response['name']
-- 
GitLab