...
The testing for PNF use case was successfully completed using the details mentioned above. The new subscription was created in the device based on the ONSET event.
Code Block |
---|
BEFORE root@sb01root@policy-nfs:~# curl --location --request GET 'http://10.2.0.142:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/pnf300/yang-ext:mount/pnf-subscriptions:subscriptions' --header 'Authorization: Basic YWRtaW46YWRtaW4=' --header 'Cookie: JSESSIONID=node01t62zn06d3cessj6iezwak66h219.node0' { "subscriptions": { "configuration": [ { "subscriptionName": "sub0", "administrativeState": "UNLOCKED", "fileLocation": "c://PM", "fileBasedGP": 15 } ] } } root@policy-nfs:~# AFTER root@policy-nfs:~# curl --location --request GET 'http://10.2.0.142:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/pnf300/yang-ext:mount/pnf-subscriptions:subscriptions' --header 'Authorization: Basic YWRtaW46YWRtaW4=' --header 'Cookie: JSESSIONID=node01t62zn06d3cessj6iezwak66h219.node0' { "subscriptions": { "configuration": [ { "subscriptionName": "sub0", "administrativeState": "UNLOCKED", "fileLocation": "c://PM", "fileBasedGP": 15 }, { "subscriptionName": "demo-subscription", "administrativeState": "UNLOCKED", "fileLocation": "test/pmx.xml", "fileBasedGP": 15 } ] } } root@policy-nfs:~# |
...