diff options
author | 2022-03-02 16:32:14 -0500 | |
---|---|---|
committer | 2022-03-02 16:32:14 -0500 | |
commit | c14f920415db0de169e0826e0d746cf80757b1f4 (patch) | |
tree | 345316739b635d32be134f08e99bcbb19addfca0 /platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml | |
parent | b1548aa206521de7feaeacab179a2f0860dafcb1 (diff) |
Sending "subscribe" command to a restconf server to receive event notifications.
Implementing a callback DG to be called by CCSDK upon receiving event notifications.
Also calling VES to send bandwidth information.
Issue-ID: SDNC-1669
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I058c405a14d78e264761367dd4b46d6e9a600182
Former-commit-id: 13b89ec32d7d0074117b3f136800bc93f67bf0f8
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml index 1fee37b1..259691f9 100644 --- a/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml +++ b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml @@ -1782,7 +1782,28 @@ </return> </outcome> <outcome value='success'> - <block atomic="true"></block> + <block atomic="true"> + <execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' > + <parameter name="subscriberId" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url`" /> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`" /> + <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`" /> + <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`" /> + <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`" /> + <parameter name="dirPath" value="/opt/sdnc/restconfapi/yang/notification" /> + <parameter name="format" value="json" /> + <parameter name="httpMethod" value="post" /> + <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/> + <parameter name="trustStorePassword" value="adminadmin"/> + <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/> + <parameter name="keyStorePassword" value="adminadmin"/> + <parameter name='customHttpHeaders' value="X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9" /> + <parameter name="module" value="GENERIC-RESOURCE-API" /> + <parameter name="rpc" value="cll-vnf-topology-operation-cll-callbackdg-notification" /> + <parameter name="version" value="`$project.version`" /> + <parameter name="mode" value="sync" /> + <parameter name="responsePrefix" value="restapi-result"/> + </execute> + </block> </outcome> </execute> </block> @@ -2146,6 +2167,26 @@ </for> <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'></delete> + <execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' > + <parameter name="subscriberId" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url`" /> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`" /> + <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`" /> + <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`" /> + <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`" /> + <parameter name="dirPath" value="/opt/sdnc/restconfapi/yang/notification" /> + <parameter name="format" value="json" /> + <parameter name="httpMethod" value="post" /> + <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/> + <parameter name="trustStorePassword" value="adminadmin"/> + <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/> + <parameter name="keyStorePassword" value="adminadmin"/> + <parameter name='customHttpHeaders' value="X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9" /> + <parameter name="module" value="GENERIC-RESOURCE-API" /> + <parameter name="rpc" value="cll-vnf-topology-operation-cll-callbackdg-notification" /> + <parameter name="version" value="`$project.version`" /> + <parameter name="mode" value="sync" /> + <parameter name="responsePrefix" value="restapi-result"/> + </execute> </block> </outcome> </switch> |