Skip to content
Snippets Groups Projects
Commit 15aec1f5 authored by Simone Spinelli's avatar Simone Spinelli
Browse files

More cleanup of syntax and whitespaces

parent 97b5e2c2
No related branches found
No related tags found
1 merge request!4Device product and initial workflow
......@@ -7,11 +7,13 @@ from geant_service_orchestrator.products.product_blocks.device \
class DeviceType(strEnum):
router = "router"
switch= "switch"
switch = "switch"
class DeviceVendor(strEnum):
Juniper = "juniper"
Newvendor= "newvendor"
Newvendor = "newvendor"
class DeviceInactive(SubscriptionModel, is_base=True):
device_type: DeviceType
......@@ -19,7 +21,8 @@ class DeviceInactive(SubscriptionModel, is_base=True):
device: DeviceBlockInactive
class DeviceProvisioning(DeviceInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]):
class DeviceProvisioning(DeviceInactive,
lifecycle=[SubscriptionLifecycle.PROVISIONING]):
device_type: DeviceType
device_vendor: DeviceVendor
device: DeviceBlockProvisioning
......
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