Skip to content
Snippets Groups Projects

Resolve "Add missing device types in PathComp ComputeSubServices logic"

1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -22,6 +22,8 @@ from common.tools.grpc.Tools import grpc_message_to_json_string
DEVICE_TYPE_TO_DEEPNESS = {
DeviceTypeEnum.EMULATED_DATACENTER.value : 90,
DeviceTypeEnum.DATACENTER.value : 90,
DeviceTypeEnum.EMULATED_CLIENT.value : 90,
DeviceTypeEnum.CLIENT.value : 90,
DeviceTypeEnum.TERAFLOWSDN_CONTROLLER.value : 80,
DeviceTypeEnum.EMULATED_IP_SDN_CONTROLLER.value : 80,
@@ -50,6 +52,8 @@ DEVICE_TYPE_TO_DEEPNESS = {
DeviceTypeEnum.OPTICAL_TRANSPONDER.value : 10,
DeviceTypeEnum.EMULATED_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.NETWORK.value : 0, # network out of our control; always delegate
Loading