Skip to content
Snippets Groups Projects
Commit ad7f2549 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

PathComp component - FrontEnd:

- Added missing device types in ResourceGroups
parent addb0733
No related branches found
No related tags found
1 merge request!313Resolve "Add missing device types in PathComp ComputeSubServices logic"
...@@ -22,6 +22,8 @@ from common.tools.grpc.Tools import grpc_message_to_json_string ...@@ -22,6 +22,8 @@ from common.tools.grpc.Tools import grpc_message_to_json_string
DEVICE_TYPE_TO_DEEPNESS = { DEVICE_TYPE_TO_DEEPNESS = {
DeviceTypeEnum.EMULATED_DATACENTER.value : 90, DeviceTypeEnum.EMULATED_DATACENTER.value : 90,
DeviceTypeEnum.DATACENTER.value : 90, DeviceTypeEnum.DATACENTER.value : 90,
DeviceTypeEnum.EMULATED_CLIENT.value : 90,
DeviceTypeEnum.CLIENT.value : 90,
DeviceTypeEnum.TERAFLOWSDN_CONTROLLER.value : 80, DeviceTypeEnum.TERAFLOWSDN_CONTROLLER.value : 80,
DeviceTypeEnum.EMULATED_IP_SDN_CONTROLLER.value : 80, DeviceTypeEnum.EMULATED_IP_SDN_CONTROLLER.value : 80,
...@@ -50,6 +52,8 @@ DEVICE_TYPE_TO_DEEPNESS = { ...@@ -50,6 +52,8 @@ DEVICE_TYPE_TO_DEEPNESS = {
DeviceTypeEnum.OPTICAL_TRANSPONDER.value : 10, DeviceTypeEnum.OPTICAL_TRANSPONDER.value : 10,
DeviceTypeEnum.EMULATED_OPTICAL_ROADM.value : 10, DeviceTypeEnum.EMULATED_OPTICAL_ROADM.value : 10,
DeviceTypeEnum.OPTICAL_ROADM.value : 10, DeviceTypeEnum.OPTICAL_ROADM.value : 10,
DeviceTypeEnum.QKD_NODE.value : 10,
DeviceTypeEnum.OPEN_ROADM.value : 10,
DeviceTypeEnum.EMULATED_OPTICAL_SPLITTER.value : 0, DeviceTypeEnum.EMULATED_OPTICAL_SPLITTER.value : 0,
DeviceTypeEnum.NETWORK.value : 0, # network out of our control; always delegate DeviceTypeEnum.NETWORK.value : 0, # network out of our control; always delegate
......
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