Commit b3ca7cbb authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

ECOC F5GA Telemetry Demo:

- Added subscription scripts
- Added SIMAP to dump-logs
parent 1a8948f4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
    "ietf-subscribed-notifications:input": {
        "datastore": "operational",
        "ietf-yang-push:datastore-xpath-filter": "/ietf-network:networks/network=${simapName}/ietf-network-topology:link=link-1/simap-telemetry",
        "ietf-yang-push:periodic": {
            "ietf-yang-push:period": 10
        }
    }
}
+9 −0
Original line number Diff line number Diff line
{
    "ietf-subscribed-notifications:input": {
        "datastore": "operational",
        "ietf-yang-push:datastore-xpath-filter": "/ietf-network:networks/network=${simapName}/ietf-network-topology:link=link-1/simap-telemetry",
        "ietf-yang-push:periodic": {
            "ietf-yang-push:period": 10
        }
    }
}
+1 −0
Original line number Diff line number Diff line
@@ -18,4 +18,5 @@
./scripts/show_logs_service.sh > service.log
./scripts/show_logs_slice.sh > slice.log
./scripts/show_logs_pathcomp_frontend.sh > pathcomp.log
./scripts/show_logs_simap_connector.sh > simap.log
./scripts/show_logs_nbi.sh > nbi.log
+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] Subscribe Telemetry slice1..."
curl --request POST --location --header 'Content-Type: application/json' \
    --data @data/telemetry/subscription-slice1.json \
    http://0.0.0.0:80/restconf/operations/subscriptions:establish-subscription
echo


echo "Done!"
+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] Subscribe Telemetry slice2..."
curl --request POST --location --header 'Content-Type: application/json' \
    --data @data/telemetry/subscription-slice2.json \
    http://0.0.0.0:80/restconf/operations/subscriptions:establish-subscription
echo


echo "Done!"