Loading proto/context.proto +1 −0 Viewed Changes for proto/context.proto: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -261,6 +261,7 @@ enum DeviceDriverEnum { DEVICEDRIVER_OPENROADM = 20; DEVICEDRIVER_RESTCONF_OPENCONFIG = 21; DEVICEDRIVER_CUSTOM_IPOWDM = 22; DEVICEDRIVER_MIKROTIK_ROUTEROS = 23; } enum DeviceOperationalStatusEnum { Loading scripts/run_tests_locally-device-mikrotik-routeros.sh 0 → 100755 +24 −0 Viewed Changes for scripts/run_tests_locally-device-mikrotik-routeros.sh: 24 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2026 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. PROJECTDIR=`pwd` cd $PROJECTDIR/src RCFILE=$PROJECTDIR/coverage/.coveragerc # Run unitary tests and analyze coverage of code at same time coverage run --rcfile=$RCFILE --append -m pytest --log-level=INFO -o log_cli=true --verbose \ tests/mikrotik_routeros/test_bgp.py src/context/service/database/models/enums/DeviceDriver.py +1 −0 Viewed Changes for src/context/service/database/models/enums/DeviceDriver.py: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ class ORM_DeviceDriverEnum(enum.Enum): OPENROADM = DeviceDriverEnum.DEVICEDRIVER_OPENROADM RESTCONF_OPENCONFIG = DeviceDriverEnum.DEVICEDRIVER_RESTCONF_OPENCONFIG CUSTOM_IPOWDM = DeviceDriverEnum.DEVICEDRIVER_CUSTOM_IPOWDM MIKROTIK_ROUTEROS = DeviceDriverEnum.DEVICEDRIVER_MIKROTIK_ROUTEROS grpc_to_enum__device_driver = functools.partial( grpc_to_enum, DeviceDriverEnum, ORM_DeviceDriverEnum) src/device/service/drivers/mikrotik/MikrotikRouterOSDriver.py 0 → 100644 +830 −0 Viewed File added.Preview size limit exceeded, changes collapsed. Show changes src/device/service/drivers/mikrotik/__init__.py 0 → 100644 +14 −0 Viewed Changes for src/device/service/drivers/mikrotik/__init__.py: 14 added lines, 0 removed lines. Original line number Diff line number Diff line # Copyright 2022-2026 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. Loading
proto/context.proto +1 −0 Viewed Changes for proto/context.proto: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -261,6 +261,7 @@ enum DeviceDriverEnum { DEVICEDRIVER_OPENROADM = 20; DEVICEDRIVER_RESTCONF_OPENCONFIG = 21; DEVICEDRIVER_CUSTOM_IPOWDM = 22; DEVICEDRIVER_MIKROTIK_ROUTEROS = 23; } enum DeviceOperationalStatusEnum { Loading
scripts/run_tests_locally-device-mikrotik-routeros.sh 0 → 100755 +24 −0 Viewed Changes for scripts/run_tests_locally-device-mikrotik-routeros.sh: 24 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2026 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. PROJECTDIR=`pwd` cd $PROJECTDIR/src RCFILE=$PROJECTDIR/coverage/.coveragerc # Run unitary tests and analyze coverage of code at same time coverage run --rcfile=$RCFILE --append -m pytest --log-level=INFO -o log_cli=true --verbose \ tests/mikrotik_routeros/test_bgp.py
src/context/service/database/models/enums/DeviceDriver.py +1 −0 Viewed Changes for src/context/service/database/models/enums/DeviceDriver.py: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ class ORM_DeviceDriverEnum(enum.Enum): OPENROADM = DeviceDriverEnum.DEVICEDRIVER_OPENROADM RESTCONF_OPENCONFIG = DeviceDriverEnum.DEVICEDRIVER_RESTCONF_OPENCONFIG CUSTOM_IPOWDM = DeviceDriverEnum.DEVICEDRIVER_CUSTOM_IPOWDM MIKROTIK_ROUTEROS = DeviceDriverEnum.DEVICEDRIVER_MIKROTIK_ROUTEROS grpc_to_enum__device_driver = functools.partial( grpc_to_enum, DeviceDriverEnum, ORM_DeviceDriverEnum)
src/device/service/drivers/mikrotik/MikrotikRouterOSDriver.py 0 → 100644 +830 −0 Viewed File added.Preview size limit exceeded, changes collapsed. Show changes
src/device/service/drivers/mikrotik/__init__.py 0 → 100644 +14 −0 Viewed Changes for src/device/service/drivers/mikrotik/__init__.py: 14 added lines, 0 removed lines. Original line number Diff line number Diff line # Copyright 2022-2026 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License.