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 @@ -245,6 +245,7 @@ enum DeviceDriverEnum { DEVICEDRIVER_SMARTNIC = 16; DEVICEDRIVER_MORPHEUS = 17; DEVICEDRIVER_RYU = 18; DEVICEDRIVER_GNMI_NOKIA_SRLINUX = 19; } enum DeviceOperationalStatusEnum { Loading scripts/run_tests_locally-device-gnmi-nokia-srlinux-delete.sh 0 → 100644 +26 −0 Viewed Changes for scripts/run_tests_locally-device-gnmi-nokia-srlinux-delete.sh: 26 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2025 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=DEBUG -o log_cli=true --verbose \ device/tests/device/tests/test_gnmi_srlinux-delete.py #\ device/service/drivers/gnmi_nokia_srlinux/handlers/__init__.py #\ device/service/driver_api/_Driver.py scripts/run_tests_locally-device-gnmi-nokia-srlinux-get-ifs.sh 0 → 100755 +24 −0 Viewed Changes for scripts/run_tests_locally-device-gnmi-nokia-srlinux-get-ifs.sh: 24 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2025 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=DEBUG -o log_cli=true --verbose \ device/tests/test_gnmi_nokia_srlinux-get-ifs.py scripts/run_tests_locally-device-gnmi-nokia-srlinux.sh 0 → 100755 +26 −0 Viewed Changes for scripts/run_tests_locally-device-gnmi-nokia-srlinux.sh: 26 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2025 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 \ device/tests/test_gnmi_nokia_srlinux.py #\ device/service/drivers/gnmi_nokia_srlinux/handlers/__init__.py #\ device/service/driver_api/_Driver.py src/common/type_checkers/Assertions.py +6 −0 Viewed Changes for src/common/type_checkers/Assertions.py: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -51,7 +51,13 @@ def validate_device_driver_enum(message): 'DEVICEDRIVER_IETF_ACTN', 'DEVICEDRIVER_OC', 'DEVICEDRIVER_QKD', 'DEVICEDRIVER_IETF_L3VPN', 'DEVICEDRIVER_IETF_SLICE', 'DEVICEDRIVER_NCE', 'DEVICEDRIVER_SMARTNIC', 'DEVICEDRIVER_MORPHEUS', 'DEVICEDRIVER_RYU', 'DEVICEDRIVER_GNMI_NOKIA_SRLINUX', ] def validate_device_operational_status_enum(message): Loading 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 @@ -245,6 +245,7 @@ enum DeviceDriverEnum { DEVICEDRIVER_SMARTNIC = 16; DEVICEDRIVER_MORPHEUS = 17; DEVICEDRIVER_RYU = 18; DEVICEDRIVER_GNMI_NOKIA_SRLINUX = 19; } enum DeviceOperationalStatusEnum { Loading
scripts/run_tests_locally-device-gnmi-nokia-srlinux-delete.sh 0 → 100644 +26 −0 Viewed Changes for scripts/run_tests_locally-device-gnmi-nokia-srlinux-delete.sh: 26 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2025 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=DEBUG -o log_cli=true --verbose \ device/tests/device/tests/test_gnmi_srlinux-delete.py #\ device/service/drivers/gnmi_nokia_srlinux/handlers/__init__.py #\ device/service/driver_api/_Driver.py
scripts/run_tests_locally-device-gnmi-nokia-srlinux-get-ifs.sh 0 → 100755 +24 −0 Viewed Changes for scripts/run_tests_locally-device-gnmi-nokia-srlinux-get-ifs.sh: 24 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2025 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=DEBUG -o log_cli=true --verbose \ device/tests/test_gnmi_nokia_srlinux-get-ifs.py
scripts/run_tests_locally-device-gnmi-nokia-srlinux.sh 0 → 100755 +26 −0 Viewed Changes for scripts/run_tests_locally-device-gnmi-nokia-srlinux.sh: 26 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2025 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 \ device/tests/test_gnmi_nokia_srlinux.py #\ device/service/drivers/gnmi_nokia_srlinux/handlers/__init__.py #\ device/service/driver_api/_Driver.py
src/common/type_checkers/Assertions.py +6 −0 Viewed Changes for src/common/type_checkers/Assertions.py: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -51,7 +51,13 @@ def validate_device_driver_enum(message): 'DEVICEDRIVER_IETF_ACTN', 'DEVICEDRIVER_OC', 'DEVICEDRIVER_QKD', 'DEVICEDRIVER_IETF_L3VPN', 'DEVICEDRIVER_IETF_SLICE', 'DEVICEDRIVER_NCE', 'DEVICEDRIVER_SMARTNIC', 'DEVICEDRIVER_MORPHEUS', 'DEVICEDRIVER_RYU', 'DEVICEDRIVER_GNMI_NOKIA_SRLINUX', ] def validate_device_operational_status_enum(message): Loading