Loading src/context/service/database/models/enums/ConfigAction.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.context_pb2 import ConfigActionEnum from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_ConfigActionEnum should be named # as in the proto files removing the prefixes. For example, # proto item ConfigActionEnum.CONFIGACTION_SET should be # included as SET. If item name does not match, automatic # mapping of proto enums to database enums will fail. class ORM_ConfigActionEnum(enum.Enum): UNDEFINED = ConfigActionEnum.CONFIGACTION_UNDEFINED SET = ConfigActionEnum.CONFIGACTION_SET Loading src/context/service/database/models/enums/ConstraintAction.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.context_pb2 import ConstraintActionEnum from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_ConstraintActionEnum should be named # as in the proto files removing the prefixes. For example, proto # item ConstraintActionEnum.CONFIGACTION_SET should be included # as SET. If item name does not match, automatic mapping of proto # enums to database enums will fail. class ORM_ConstraintActionEnum(enum.Enum): UNDEFINED = ConstraintActionEnum.CONSTRAINTACTION_UNDEFINED SET = ConstraintActionEnum.CONSTRAINTACTION_SET Loading src/context/service/database/models/enums/DeviceDriver.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.context_pb2 import DeviceDriverEnum from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_DeviceDriverEnum should be named as in # the proto files removing the prefixes. For example, proto item # DeviceDriverEnum.DEVICEDRIVER_OPENCONFIG should be included as # OPENCONFIG. If item name does not match, automatic mapping of # proto enums to database enums will fail. class ORM_DeviceDriverEnum(enum.Enum): UNDEFINED = DeviceDriverEnum.DEVICEDRIVER_UNDEFINED OPENCONFIG = DeviceDriverEnum.DEVICEDRIVER_OPENCONFIG Loading src/context/service/database/models/enums/DeviceOperationalStatus.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.context_pb2 import DeviceOperationalStatusEnum from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_DeviceOperationalStatusEnum should be # named as in the proto files removing the prefixes. For example, # proto item DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_ENABLED # should be declared as ENABLED. If item name does not match, automatic # mapping of proto enums to database enums will fail. class ORM_DeviceOperationalStatusEnum(enum.Enum): UNDEFINED = DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_UNDEFINED DISABLED = DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_DISABLED Loading src/context/service/database/models/enums/KpiSampleType.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.kpi_sample_types_pb2 import KpiSampleType from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_KpiSampleTypeEnum should be named as in # the proto files removing the prefixes. For example, proto item # KpiSampleType.KPISAMPLETYPE_BYTES_RECEIVED should be declared as # BYTES_RECEIVED. If item name does not match, automatic mapping of # proto enums to database enums will fail. class ORM_KpiSampleTypeEnum(enum.Enum): UNKNOWN = KpiSampleType.KPISAMPLETYPE_UNKNOWN PACKETS_TRANSMITTED = KpiSampleType.KPISAMPLETYPE_PACKETS_TRANSMITTED Loading Loading
src/context/service/database/models/enums/ConfigAction.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.context_pb2 import ConfigActionEnum from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_ConfigActionEnum should be named # as in the proto files removing the prefixes. For example, # proto item ConfigActionEnum.CONFIGACTION_SET should be # included as SET. If item name does not match, automatic # mapping of proto enums to database enums will fail. class ORM_ConfigActionEnum(enum.Enum): UNDEFINED = ConfigActionEnum.CONFIGACTION_UNDEFINED SET = ConfigActionEnum.CONFIGACTION_SET Loading
src/context/service/database/models/enums/ConstraintAction.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.context_pb2 import ConstraintActionEnum from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_ConstraintActionEnum should be named # as in the proto files removing the prefixes. For example, proto # item ConstraintActionEnum.CONFIGACTION_SET should be included # as SET. If item name does not match, automatic mapping of proto # enums to database enums will fail. class ORM_ConstraintActionEnum(enum.Enum): UNDEFINED = ConstraintActionEnum.CONSTRAINTACTION_UNDEFINED SET = ConstraintActionEnum.CONSTRAINTACTION_SET Loading
src/context/service/database/models/enums/DeviceDriver.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.context_pb2 import DeviceDriverEnum from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_DeviceDriverEnum should be named as in # the proto files removing the prefixes. For example, proto item # DeviceDriverEnum.DEVICEDRIVER_OPENCONFIG should be included as # OPENCONFIG. If item name does not match, automatic mapping of # proto enums to database enums will fail. class ORM_DeviceDriverEnum(enum.Enum): UNDEFINED = DeviceDriverEnum.DEVICEDRIVER_UNDEFINED OPENCONFIG = DeviceDriverEnum.DEVICEDRIVER_OPENCONFIG Loading
src/context/service/database/models/enums/DeviceOperationalStatus.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.context_pb2 import DeviceOperationalStatusEnum from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_DeviceOperationalStatusEnum should be # named as in the proto files removing the prefixes. For example, # proto item DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_ENABLED # should be declared as ENABLED. If item name does not match, automatic # mapping of proto enums to database enums will fail. class ORM_DeviceOperationalStatusEnum(enum.Enum): UNDEFINED = DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_UNDEFINED DISABLED = DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_DISABLED Loading
src/context/service/database/models/enums/KpiSampleType.py +5 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,11 @@ import enum, functools from common.proto.kpi_sample_types_pb2 import KpiSampleType from ._GrpcToEnum import grpc_to_enum # IMPORTANT: Entries of enum class ORM_KpiSampleTypeEnum should be named as in # the proto files removing the prefixes. For example, proto item # KpiSampleType.KPISAMPLETYPE_BYTES_RECEIVED should be declared as # BYTES_RECEIVED. If item name does not match, automatic mapping of # proto enums to database enums will fail. class ORM_KpiSampleTypeEnum(enum.Enum): UNKNOWN = KpiSampleType.KPISAMPLETYPE_UNKNOWN PACKETS_TRANSMITTED = KpiSampleType.KPISAMPLETYPE_PACKETS_TRANSMITTED Loading