Skip to content
Snippets Groups Projects
Commit 2d0e9292 authored by Erik Reid's avatar Erik Reid
Browse files

pep8

parent 25c7df16
No related branches found
No related tags found
No related merge requests found
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']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment