diff --git a/scripts/run_tests_locally-device-morpheus.sh b/scripts/run_tests_locally-device-morpheus.sh index 1af88264eb26a511646be46c98b91f517cbac5e1..b96fb6f05037954f83708dcbcdd54088a037a4d0 100755 --- a/scripts/run_tests_locally-device-morpheus.sh +++ b/scripts/run_tests_locally-device-morpheus.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright 2022-2024 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` diff --git a/src/device/service/drivers/morpheus/MorpheusApiDriver.py b/src/device/service/drivers/morpheus/MorpheusApiDriver.py index fd4d2a72f45bfb3759da678f9118f157d5e89185..3bef23a50e21d0804109572c7146f556f7e84aac 100644 --- a/src/device/service/drivers/morpheus/MorpheusApiDriver.py +++ b/src/device/service/drivers/morpheus/MorpheusApiDriver.py @@ -1,3 +1,17 @@ +# Copyright 2022-2024 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. + import logging, requests, threading, json, time from typing import Any, Iterator, List, Optional, Tuple, Union, Dict from queue import Queue diff --git a/src/device/tests/test_unitary_morpheus.py b/src/device/tests/test_unitary_morpheus.py index 3fa1f8688ad9d34416d71e87679dfbae15f0ca2f..b909dddb91e46751e8f0324c08474e9beea938fb 100644 --- a/src/device/tests/test_unitary_morpheus.py +++ b/src/device/tests/test_unitary_morpheus.py @@ -1,3 +1,17 @@ +# Copyright 2022-2024 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. + import os os.environ['DEVICE_EMULATED_ONLY'] = 'YES'