Commit 4b1b0e60 authored by Pablo Armingol's avatar Pablo Armingol
Browse files

code clean up

parent f2950733
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -226,7 +226,6 @@ enum DeviceDriverEnum {
  DEVICEDRIVER_IETF_L3VPN = 13;
  DEVICEDRIVER_IETF_SLICE = 14;
  DEVICEDRIVER_NCE = 15;
  DEVICEDRIVER_PON = 16;
}

enum DeviceOperationalStatusEnum {
+0 −1
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@ class DeviceTypeEnum(Enum):
    XR_CONSTELLATION                = 'xr-constellation'
    QKD_NODE                        = 'qkd-node'
    OPEN_ROADM                      = 'openroadm'
    PON_CONTROLLER                  = 'pon-controller'

    # ETSI TeraFlowSDN controller
    TERAFLOWSDN_CONTROLLER          = 'teraflowsdn'
+0 −1
Original line number Diff line number Diff line
@@ -38,7 +38,6 @@ class ORM_DeviceDriverEnum(enum.Enum):
    IETF_SLICE            = DeviceDriverEnum.DEVICEDRIVER_IETF_SLICE
    OC                    = DeviceDriverEnum.DEVICEDRIVER_OC
    QKD                   = DeviceDriverEnum.DEVICEDRIVER_QKD
    PON                   = DeviceDriverEnum.DEVICEDRIVER_PON

grpc_to_enum__device_driver = functools.partial(
    grpc_to_enum, DeviceDriverEnum, ORM_DeviceDriverEnum)