Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
TFS
controller
Compare revisions
d5c59f9de2b2f344e5f5cf85f4d50dd0dbfaa2b0...ee179f5fba0e1ead67513a5787ec8da21928258d
Commits (2)
Scripts - add_license_header_to_files.sh:
· 6c4f8a97
Lluis Gifre Renom
authored
Apr 16, 2024
- Updated copyright line - Updated ignore filters
6c4f8a97
Added missing file headers
· ee179f5f
Lluis Gifre Renom
authored
Apr 16, 2024
ee179f5f
Hide whitespace changes
Inline
Side-by-side
scripts/add_license_header_to_files.sh
View file @
ee179f5f
...
...
@@ -16,7 +16,7 @@
docker pull ghcr.io/google/addlicense:latest
docker run
-it
-v
${
PWD
}
:/src ghcr.io/google/addlicense
\
-l
apache
-c
"
H2020 TeraFlow (https://www.teraflow-h2020.eu
/)"
-y
202
1
-202
3
\
-l
apache
-c
"
ETSI OSG/SDG TeraFlowSDN (TFS) (https://tfs.etsi.org
/)"
-y
202
2
-202
4
\
-ignore
"data/*"
-ignore
"data/**"
-ignore
"tmp/*"
-ignore
"tmp/**"
-ignore
"manifests/cttc-ols/*"
\
-ignore
"coverage/*"
-ignore
"coverage/**"
-ignore
".vscode/*"
-ignore
".vscode/**"
\
-ignore
".git/*"
-ignore
".git/**"
-ignore
"proto/uml/*"
-ignore
"proto/uml/**"
\
...
...
@@ -25,6 +25,21 @@ docker run -it -v ${PWD}:/src ghcr.io/google/addlicense \
-ignore
"src/.pytest_cache/*"
-ignore
"src/.pytest_cache/**"
-ignore
".pytest_cache/*"
-ignore
".pytest_cache/**"
\
-ignore
"src/**/target/generated-sources/grpc/*"
-ignore
"src/**/target/generated-sources/grpc/**"
\
-ignore
"src/**/*_pb2.py"
-ignore
"src/**/*_pb2_grpc.py"
\
-ignore
"src/device/service/drivers/gnmi_openconfig/gnmi/*.proto"
\
-ignore
"src/device/service/drivers/openconfig/templates/**/*.xml"
\
-ignore
"src/device/service/drivers/openconfig/templates/ACL/openconfig_acl.py"
\
-ignore
"src/device/service/drivers/openconfig/templates/VPN/openconfig_interfaces.py"
\
-ignore
"src/device/service/drivers/openconfig/templates/VPN/openconfig_network_instance.py"
\
-ignore
"src/device/service/drivers/openconfig/templates/VPN/openconfig_routing_policy.py"
\
-ignore
"src/nbi/service/rest_server/nbi_plugins/ietf_network/bindings/**/*.py"
\
-ignore
"src/policy/target/kubernetes/kubernetes.yml"
\
-ignore
"src/ztp/target/kubernetes/kubernetes.yml"
\
-ignore
"src/**/.mvn/*"
-ignore
"src/**/.mvn/**"
\
-ignore
"hackfest/**/*_pb2.py"
-ignore
"hackfest/**/*_pb2_grpc.py"
\
-ignore
"hackfest/netconf/**/binding_*.py"
-ignore
"hackfest/netconf/**/binding_*.py"
\
-ignore
"hackfest/yang/**/binding_*.py"
-ignore
"hackfest/yang/**/binding_*.py"
\
-ignore
"hackfest/netconf-oc/openconfig/*"
-ignore
"hackfest/netconf-oc/openconfig/**"
\
-ignore
"hackfest/restconf/connectionserver/*"
-ignore
"hackfest/restconf/connectionserver/**"
\
-ignore
"hackfest/restconf/topologyserver/*"
-ignore
"hackfest/restconf/topologyserver/**"
\
-ignore
"hackfest/tapi/server/*"
-ignore
"hackfest/tapi/server/**"
\
*
src/context/data/sql_hash_join_full_scan_tests.sql
View file @
ee179f5f
-- Copyright 2022-2024 ETSI OSG/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.
-- When inserting config rules, for instance related to device
-- If we insert few rules (3~4 rows), does a lookup join with more rows does hash join which is less performant...
-- To be investigated...
...
...
src/tests/ofc24/node-agents-config/platform_r1.xml
View file @
ee179f5f
<!--
Copyright 2022-2024 ETSI OSG/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.
-->
<config
xmlns=
"http://tail-f.com/ns/config/1.0"
>
<components
xmlns=
"http://openconfig.net/yang/platform"
>
<component
xmlns:ns0=
"urn:ietf:params:xml:ns:netconf:base:1.0"
ns0:operation=
"create"
>
...
...
src/tests/ofc24/node-agents-config/platform_r2.xml
View file @
ee179f5f
<!--
Copyright 2022-2024 ETSI OSG/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.
-->
<config
xmlns=
"http://tail-f.com/ns/config/1.0"
>
<components
xmlns=
"http://openconfig.net/yang/platform"
>
<component
xmlns:ns0=
"urn:ietf:params:xml:ns:netconf:base:1.0"
ns0:operation=
"create"
>
...
...
src/tests/ofc24/node-agents-config/platform_t1.xml
View file @
ee179f5f
<!--
Copyright 2022-2024 ETSI OSG/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.
-->
<config
xmlns:xc=
"urn:ietf:params:xml:ns:netconf:base:1.0"
>
<components
xmlns=
"http://openconfig.net/yang/platform"
>
<component>
...
...
src/tests/ofc24/node-agents-config/platform_t2.xml
View file @
ee179f5f
<!--
Copyright 2022-2024 ETSI OSG/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.
-->
<config
xmlns:xc=
"urn:ietf:params:xml:ns:netconf:base:1.0"
>
<components
xmlns=
"http://openconfig.net/yang/platform"
>
<component>
...
...
src/tests/tools/mock_mw_sdn_ctrl/ssl_not_working/mock-mw-sdn-ctrl.yaml
View file @
ee179f5f
# Copyright 2022-2024 ETSI OSG/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.
kind
:
Namespace
apiVersion
:
v1
metadata
:
...
...
src/tests/tools/mock_mw_sdn_ctrl/test_mw.py
View file @
ee179f5f
# Copyright 2022-2024 ETSI OSG/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
json
,
logging
,
requests
from
requests.auth
import
HTTPBasicAuth
from
typing
import
Optional
...
...