Loading src/tests/mwc26-f5ga/data/slices/network-slice5_background.json 0 → 100644 +118 −0 Original line number Diff line number Diff line { "slice-service": [ { "id": "another_background_slice_5", "description": "network slice, PC1-VM1 - using IP transport network", "sdps": { "sdp": [ { "id": "1", "node-id": "ONT1", "sdp-ip-address": ["172.16.61.10"], "service-match-criteria": {"match-criterion": [{ "index": 1, "match-type": [ {"type": "ietf-network-slice-service:vlan", "value": ["21"]}, {"type": "ietf-network-slice-service:source-ip-prefix", "value": ["172.16.104.221/24"]}, {"type": "ietf-network-slice-service:source-tcp-port", "value": ["10500"]}, {"type": "ietf-network-slice-service:destination-ip-prefix", "value": ["172.1.101.22/24"]}, {"type": "ietf-network-slice-service:destination-tcp-port", "value": ["10200"]} ], "target-connection-group-id": "line1" }]}, "attachment-circuits": {"attachment-circuit": [{ "id": "AC ONT1", "description": "AC ONT1 connected to PC1", "ac-node-id": "ONT1", "ac-tp-id": "200" }]} }, { "id": "2", "node-id": "POP2", "sdp-ip-address": ["172.16.204.221"], "service-match-criteria": {"match-criterion": [{ "index": 1, "match-type": [ {"type": "ietf-network-slice-service:vlan", "value": ["201"]}, {"type": "ietf-network-slice-service:source-ip-prefix", "value": ["172.1.101.22/24"]}, {"type": "ietf-network-slice-service:source-tcp-port", "value": ["10200"]}, {"type": "ietf-network-slice-service:destination-ip-prefix", "value": ["172.16.104.221/24"]}, {"type": "ietf-network-slice-service:destination-tcp-port", "value": ["10500"]} ], "target-connection-group-id": "line1" }]}, "attachment-circuits": {"attachment-circuit": [{ "id": "AC POP2 to VM1", "description": "AC POP2 connected to VM1", "ac-node-id": "POP2", "ac-tp-id": "200" }]} } ] }, "connection-groups": { "connection-group": [ { "id": "line1", "connectivity-type": "point-to-point", "connectivity-construct": [ { "id": 1, "p2p-sender-sdp": "1", "p2p-receiver-sdp": "2", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "20" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "1000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.01" } ] } } }, { "id": 2, "p2p-sender-sdp": "2", "p2p-receiver-sdp": "1", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "10" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "5000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.01" } ] } } } ] } ] } } ] } No newline at end of file src/tests/mwc26-f5ga/provision-slice5_another_background.sh 0 → 100755 +28 −0 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. # Make folder containing the script the root folder for its execution cd $(dirname $0) echo "[E2E] Provisioning slice5..." curl --request POST --location --header 'Content-Type: application/json' \ --data @data/slices/network-slice5_background.json \ http://0.0.0.0:80/restconf/data/ietf-network-slice-service:network-slice-services echo echo "Done!" src/tests/mwc26-f5ga/teardown-slice1_background.sh 0 → 100755 +23 −0 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. echo "[E2E] Tear Down slice2..." curl --request DELETE --location \ http://0.0.0.0:80/restconf/data/ietf-network-slice-service:network-slice-services/slice-service=initial_background_slice echo echo "Done!" src/tests/mwc26-f5ga/teardown-slice5_another_background.sh 0 → 100755 +23 −0 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. echo "[E2E] Tear Down slice3..." curl --request DELETE --location \ http://0.0.0.0:80/restconf/data/ietf-network-slice-service:network-slice-services/slice-service=another_background_slice_5 echo echo "Done!" Loading
src/tests/mwc26-f5ga/data/slices/network-slice5_background.json 0 → 100644 +118 −0 Original line number Diff line number Diff line { "slice-service": [ { "id": "another_background_slice_5", "description": "network slice, PC1-VM1 - using IP transport network", "sdps": { "sdp": [ { "id": "1", "node-id": "ONT1", "sdp-ip-address": ["172.16.61.10"], "service-match-criteria": {"match-criterion": [{ "index": 1, "match-type": [ {"type": "ietf-network-slice-service:vlan", "value": ["21"]}, {"type": "ietf-network-slice-service:source-ip-prefix", "value": ["172.16.104.221/24"]}, {"type": "ietf-network-slice-service:source-tcp-port", "value": ["10500"]}, {"type": "ietf-network-slice-service:destination-ip-prefix", "value": ["172.1.101.22/24"]}, {"type": "ietf-network-slice-service:destination-tcp-port", "value": ["10200"]} ], "target-connection-group-id": "line1" }]}, "attachment-circuits": {"attachment-circuit": [{ "id": "AC ONT1", "description": "AC ONT1 connected to PC1", "ac-node-id": "ONT1", "ac-tp-id": "200" }]} }, { "id": "2", "node-id": "POP2", "sdp-ip-address": ["172.16.204.221"], "service-match-criteria": {"match-criterion": [{ "index": 1, "match-type": [ {"type": "ietf-network-slice-service:vlan", "value": ["201"]}, {"type": "ietf-network-slice-service:source-ip-prefix", "value": ["172.1.101.22/24"]}, {"type": "ietf-network-slice-service:source-tcp-port", "value": ["10200"]}, {"type": "ietf-network-slice-service:destination-ip-prefix", "value": ["172.16.104.221/24"]}, {"type": "ietf-network-slice-service:destination-tcp-port", "value": ["10500"]} ], "target-connection-group-id": "line1" }]}, "attachment-circuits": {"attachment-circuit": [{ "id": "AC POP2 to VM1", "description": "AC POP2 connected to VM1", "ac-node-id": "POP2", "ac-tp-id": "200" }]} } ] }, "connection-groups": { "connection-group": [ { "id": "line1", "connectivity-type": "point-to-point", "connectivity-construct": [ { "id": 1, "p2p-sender-sdp": "1", "p2p-receiver-sdp": "2", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "20" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "1000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.01" } ] } } }, { "id": 2, "p2p-sender-sdp": "2", "p2p-receiver-sdp": "1", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "10" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "5000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.01" } ] } } } ] } ] } } ] } No newline at end of file
src/tests/mwc26-f5ga/provision-slice5_another_background.sh 0 → 100755 +28 −0 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. # Make folder containing the script the root folder for its execution cd $(dirname $0) echo "[E2E] Provisioning slice5..." curl --request POST --location --header 'Content-Type: application/json' \ --data @data/slices/network-slice5_background.json \ http://0.0.0.0:80/restconf/data/ietf-network-slice-service:network-slice-services echo echo "Done!"
src/tests/mwc26-f5ga/teardown-slice1_background.sh 0 → 100755 +23 −0 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. echo "[E2E] Tear Down slice2..." curl --request DELETE --location \ http://0.0.0.0:80/restconf/data/ietf-network-slice-service:network-slice-services/slice-service=initial_background_slice echo echo "Done!"
src/tests/mwc26-f5ga/teardown-slice5_another_background.sh 0 → 100755 +23 −0 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. echo "[E2E] Tear Down slice3..." curl --request DELETE --location \ http://0.0.0.0:80/restconf/data/ietf-network-slice-service:network-slice-services/slice-service=another_background_slice_5 echo echo "Done!"