Loading src/automation/service/zsm_handler_api/ZSMFilterFields.py +2 −4 Original line number Diff line number Diff line Loading @@ -21,13 +21,11 @@ class ZSMFilterFieldEnum(Enum): TARGET_SERVICE_TYPE_VALUES = { ServiceTypeEnum.SERVICETYPE_L2NM, ServiceTypeEnum.SERVICETYPE_INT ServiceTypeEnum.SERVICETYPE_L2NM } TELEMETRY_SERVICE_TYPE_VALUES = { ServiceTypeEnum.SERVICETYPE_INT, ServiceTypeEnum.SERVICETYPE_L2NM ServiceTypeEnum.SERVICETYPE_INT } # Map allowed filter fields to allowed values per Filter field. If no restriction (free text) None is specified Loading src/automation/service/zsm_handlers/Poc1.py→src/automation/service/zsm_handlers/P4INTZSMPlugin.py +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ from .ZSMHandler import ZSMHandler LOGGER = logging.getLogger(__name__) class Poc1(ZSMHandler): class P4INTZSMPlugin(ZSMHandler): def __init__(self): LOGGER.info('Init Scenario') Loading src/automation/service/zsm_handlers/__init__.py +2 −8 Original line number Diff line number Diff line Loading @@ -14,21 +14,15 @@ from common.proto.context_pb2 import DeviceDriverEnum, ServiceTypeEnum from ..zsm_handler_api.ZSMFilterFields import ZSMFilterFieldEnum from .Poc1 import Poc1 from .P4INTZSMPlugin import P4INTZSMPlugin from .Poc2 import Poc2 ZSM_SERVICE_HANDLERS = [ (Poc1, [ (P4INTZSMPlugin, [ { ZSMFilterFieldEnum.TARGET_SERVICE_TYPE : ServiceTypeEnum.SERVICETYPE_L2NM, ZSMFilterFieldEnum.TELEMETRY_SERVICE_TYPE : ServiceTypeEnum.SERVICETYPE_INT, } ]), (Poc2, [ { ZSMFilterFieldEnum.TARGET_SERVICE_TYPE : ServiceTypeEnum.SERVICETYPE_INT, ZSMFilterFieldEnum.TELEMETRY_SERVICE_TYPE : ServiceTypeEnum.SERVICETYPE_L2NM, } ]) ] Loading
src/automation/service/zsm_handler_api/ZSMFilterFields.py +2 −4 Original line number Diff line number Diff line Loading @@ -21,13 +21,11 @@ class ZSMFilterFieldEnum(Enum): TARGET_SERVICE_TYPE_VALUES = { ServiceTypeEnum.SERVICETYPE_L2NM, ServiceTypeEnum.SERVICETYPE_INT ServiceTypeEnum.SERVICETYPE_L2NM } TELEMETRY_SERVICE_TYPE_VALUES = { ServiceTypeEnum.SERVICETYPE_INT, ServiceTypeEnum.SERVICETYPE_L2NM ServiceTypeEnum.SERVICETYPE_INT } # Map allowed filter fields to allowed values per Filter field. If no restriction (free text) None is specified Loading
src/automation/service/zsm_handlers/Poc1.py→src/automation/service/zsm_handlers/P4INTZSMPlugin.py +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ from .ZSMHandler import ZSMHandler LOGGER = logging.getLogger(__name__) class Poc1(ZSMHandler): class P4INTZSMPlugin(ZSMHandler): def __init__(self): LOGGER.info('Init Scenario') Loading
src/automation/service/zsm_handlers/__init__.py +2 −8 Original line number Diff line number Diff line Loading @@ -14,21 +14,15 @@ from common.proto.context_pb2 import DeviceDriverEnum, ServiceTypeEnum from ..zsm_handler_api.ZSMFilterFields import ZSMFilterFieldEnum from .Poc1 import Poc1 from .P4INTZSMPlugin import P4INTZSMPlugin from .Poc2 import Poc2 ZSM_SERVICE_HANDLERS = [ (Poc1, [ (P4INTZSMPlugin, [ { ZSMFilterFieldEnum.TARGET_SERVICE_TYPE : ServiceTypeEnum.SERVICETYPE_L2NM, ZSMFilterFieldEnum.TELEMETRY_SERVICE_TYPE : ServiceTypeEnum.SERVICETYPE_INT, } ]), (Poc2, [ { ZSMFilterFieldEnum.TARGET_SERVICE_TYPE : ServiceTypeEnum.SERVICETYPE_INT, ZSMFilterFieldEnum.TELEMETRY_SERVICE_TYPE : ServiceTypeEnum.SERVICETYPE_L2NM, } ]) ]