aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json
diff options
context:
space:
mode:
authorHesam Rahimi <hesam.rahimi@huawei.com>2020-05-13 05:07:55 +0000
committerHesam Rahimi <hesam.rahimi@huawei.com>2020-05-13 05:07:55 +0000
commitfb18306b26c323d9f0fbe8e0b5f049e9ed85f75e (patch)
tree6d012b378f00997d850001b1b3c10e291ab46d23 /platform-logic/generic-resource-api/src/main/json
parent1861e0d23547acffeb5c44485104f11a40a8fda0 (diff)
Adding local-link-connectivity-list (llcl) information to match ttp and tp locally (to support NNI-based Service creation use-case).
- This is needed for F release Issue-ID: SDNC-1184 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I24f1ef56884b874baed029182a984945080af769 Former-commit-id: 4ff90dd1689d772865399ab5a995119981b127e1
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json46
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json744
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json322
3 files changed, 1026 insertions, 86 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json
index 8b19b0e4..6d2bdbbf 100644
--- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json
+++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json
@@ -105,7 +105,7 @@
"z": "3b47dc40.0a0c44",
"wires": [
[
- "84d1cb1a.eb2fc8"
+ "921b5877.d781b"
]
]
},
@@ -121,7 +121,7 @@
"z": "3b47dc40.0a0c44",
"wires": [
[
- "2182e897.132d8"
+ "5ee72a4.dae15d4"
]
]
},
@@ -129,7 +129,7 @@
"id": "2182e897.132d8",
"type": "execute",
"name": "execute RestconfApiCallNode Create OTN tunnel with token",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<!--<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />-->\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
"x": 1223,
@@ -146,7 +146,7 @@
"id": "84d1cb1a.eb2fc8",
"type": "execute",
"name": "execute RestconfApiCallNode Creat OTN tunnel without token",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<!--<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />-->\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
"comments": "",
"outputs": 1,
"x": 1235,
@@ -681,7 +681,7 @@
"id": "77be498b.1e80d",
"type": "set",
"name": "set attachment_param",
- "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].dst-ttp-id' value='`$otn-domain.ttp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_dst-tpn' value='`$otn-domain.tpn`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />",
+ "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].dst-ttp-id' value='`$otn-domain.ttp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_dst-tpn' value='`$otn-domain.tpn`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />\n\n<!--<set>-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$otn-domain.node-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].dst-ttp-id' value='`$otn-domain.ttp-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_dst-tpn' value='`$otn-domain.tpn`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />-->\n\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$otn-domain.node-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />-->\n\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />-->",
"comments": "",
"x": 1269,
"y": 823,
@@ -692,7 +692,7 @@
"id": "5ad550e4.a3ef2",
"type": "set",
"name": "set attachment_param",
- "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].src-ttp-id' value='`$otn-domain.ttp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_src-tpn' value='`$otn-domain.tpn`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />",
+ "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].src-ttp-id' value='`$otn-domain.ttp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_src-tpn' value='`$otn-domain.tpn`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />\n\n<!--<set>-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$otn-domain.node-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].src-ttp-id' value='`$otn-domain.ttp-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_src-tpn' value='`$otn-domain.tpn`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />-->\n\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$otn-domain.node-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />-->\n\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />-->",
"comments": "",
"x": 1669,
"y": 872,
@@ -714,5 +714,39 @@
"84bd363f.cecab"
]
]
+ },
+ {
+ "id": "921b5877.d781b",
+ "type": "execute",
+ "name": "execute RestApiCallNode Create OTN tunnel without token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-otn-tunnel-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<!--<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />-->\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1231,
+ "y": 1112,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "ab8d3cb8.cfa08",
+ "1b911a1d.a19f46"
+ ]
+ ]
+ },
+ {
+ "id": "5ee72a4.dae15d4",
+ "type": "execute",
+ "name": "execute RestApiCallNode Create OTN tunnel with token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-otn-tunnel-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<!--<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />-->\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223,
+ "y": 1285,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "ab8d3cb8.cfa08",
+ "1b911a1d.a19f46"
+ ]
+ ]
}
] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json
index 58005857..c785b72d 100644
--- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json
+++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json
@@ -203,8 +203,8 @@
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1389.0001220703125,
- "y": 756.2864990234375,
+ "x": 1150.0001220703125,
+ "y": 1085.2864990234375,
"z": "5b68e0d.bd97b2",
"wires": [
[
@@ -219,8 +219,8 @@
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1383.0001220703125,
- "y": 806.2864990234375,
+ "x": 1144.0001220703125,
+ "y": 1135.2864990234375,
"z": "5b68e0d.bd97b2",
"wires": [
[
@@ -234,8 +234,8 @@
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 1550.0001220703125,
- "y": 745.2864990234375,
+ "x": 1311.0001220703125,
+ "y": 1074.2864990234375,
"z": "5b68e0d.bd97b2",
"wires": []
},
@@ -245,8 +245,8 @@
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 1548.0001220703125,
- "y": 801.2864990234375,
+ "x": 1309.0001220703125,
+ "y": 1130.2864990234375,
"z": "5b68e0d.bd97b2",
"wires": []
},
@@ -318,7 +318,7 @@
{
"id": "40299798.13bc",
"type": "switchNode",
- "name": "test cross-domain-link",
+ "name": "test cross-domain-link role",
"xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",
"comments": "",
"outputs": 1,
@@ -353,7 +353,7 @@
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2198.5001220703125,
+ "x": 2232.5,
"y": 999,
"z": "5b68e0d.bd97b2",
"wires": []
@@ -371,9 +371,9 @@
"wires": [
[
"dd179bba.27e578",
- "3a661a62.460126",
"a736e107.ab857",
- "51dd454b.e64094"
+ "51dd454b.e64094",
+ "e9ba305b.3f7b08"
]
]
},
@@ -383,8 +383,8 @@
"name": "setup variables",
"info": "",
"comments": "",
- "x": 2330.5001220703125,
- "y": 379,
+ "x": 2331.5,
+ "y": 182,
"z": "5b68e0d.bd97b2",
"wires": []
},
@@ -614,7 +614,7 @@
"z": "5b68e0d.bd97b2",
"wires": [
[
- "ebf0e7da.b09cb"
+ "a982c4fa.2154f"
]
]
},
@@ -622,10 +622,10 @@
"id": "ebf0e7da.b09cb",
"type": "set",
"name": "set domain A node ttp-id",
- "xml": "<set>\n<parameter name='domain-A.ttp-id' value=\"`$tmp.aai.src-ttp.ttp-id`\" />\n",
+ "xml": "<set>\n<parameter name='domain-A.ttp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n",
"comments": "",
- "x": 4671.5001220703125,
- "y": 373,
+ "x": 6035.5,
+ "y": 431,
"z": "5b68e0d.bd97b2",
"wires": []
},
@@ -1165,22 +1165,11 @@
"z": "5b68e0d.bd97b2",
"wires": [
[
- "5bd66639.66f16"
+ "fe418352.84c6"
]
]
},
{
- "id": "5bd66639.66f16",
- "type": "set",
- "name": "set domain B node ttp-id",
- "xml": "<set>\n<parameter name='domain-B.ttp-id' value=\"`$tmp.aai.dst-ttp.ttp-id`\" />\n",
- "comments": "",
- "x": 4625.5001220703125,
- "y": 739,
- "z": "5b68e0d.bd97b2",
- "wires": []
- },
- {
"id": "d4d32344.490fe8",
"type": "set",
"name": "set domain B network-id",
@@ -1353,7 +1342,700 @@
"wires": [
[
"40299798.13bc",
- "c0faec82.816fb8"
+ "ba0dda0.572ad28"
+ ]
+ ]
+ },
+ {
+ "id": "e9ba305b.3f7b08",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2266,
+ "y": 307,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "5728cf0a.e04c88"
+ ]
+ ]
+ },
+ {
+ "id": "5728cf0a.e04c88",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2465,
+ "y": 304,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "a07b7ba1.16119"
+ ]
+ ]
+ },
+ {
+ "id": "a07b7ba1.16119",
+ "type": "outcome",
+ "name": "p-interface",
+ "xml": "<outcome value='p-interface'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2642.117431640625,
+ "y": 302.34027099609375,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "5430daff.402bcc"
+ ]
+ ]
+ },
+ {
+ "id": "b3de6391.5ab778",
+ "type": "set",
+ "name": "set src-ltpId and dst-ltpId",
+ "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[1].relationship-value`\" />\n\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[0].relationship-value`\" />\n\n\n",
+ "comments": "",
+ "x": 2956,
+ "y": 246,
+ "z": "5b68e0d.bd97b2",
+ "wires": []
+ },
+ {
+ "id": "cf93cd1e.3a945",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 2917,
+ "y": 309,
+ "z": "5b68e0d.bd97b2",
+ "wires": []
+ },
+ {
+ "id": "5430daff.402bcc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2782,
+ "y": 287,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "b3de6391.5ab778",
+ "cf93cd1e.3a945"
+ ]
+ ]
+ },
+ {
+ "id": "f1b6891b.494ac",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1342,
+ "y": 890,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "71c25391.1fc4f4"
+ ]
+ ]
+ },
+ {
+ "id": "71c25391.1fc4f4",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1541,
+ "y": 887,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "fb1d0e47.e5d04"
+ ]
+ ]
+ },
+ {
+ "id": "fb1d0e47.e5d04",
+ "type": "outcome",
+ "name": "p-interface",
+ "xml": "<outcome value='p-interface'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1718.117431640625,
+ "y": 885.3402709960938,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "d166e350.8b25f"
+ ]
+ ]
+ },
+ {
+ "id": "d166e350.8b25f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1858,
+ "y": 870,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "76dcccfc.66809c",
+ "c46fae49.1a78a8"
+ ]
+ ]
+ },
+ {
+ "id": "76dcccfc.66809c",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 1993,
+ "y": 892,
+ "z": "5b68e0d.bd97b2",
+ "wires": []
+ },
+ {
+ "id": "8ebbd23d.9dd4d",
+ "type": "switchNode",
+ "name": "test $vidx",
+ "xml": "<switch test='`$vidx`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1793,
+ "y": 730,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "e155bd88.0bc8b",
+ "74a1badc.9d6fbc"
+ ]
+ ]
+ },
+ {
+ "id": "e155bd88.0bc8b",
+ "type": "outcome",
+ "name": "outcome first",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1958,
+ "y": 708,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "f1b6891b.494ac"
+ ]
+ ]
+ },
+ {
+ "id": "74a1badc.9d6fbc",
+ "type": "outcome",
+ "name": "outcome last",
+ "xml": "<outcome value='`$otn-oof.solutions_length - 1`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1957,
+ "y": 769,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "bf04627d.7c822"
+ ]
+ ]
+ },
+ {
+ "id": "c46fae49.1a78a8",
+ "type": "set",
+ "name": "set oofsolutions-first info",
+ "xml": "<set>\n<parameter name='tmp.oofsolutions-first-src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.oofsolutions-first-src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n\n\n\n",
+ "comments": "",
+ "x": 2041,
+ "y": 847,
+ "z": "5b68e0d.bd97b2",
+ "wires": []
+ },
+ {
+ "id": "bf04627d.7c822",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1320,
+ "y": 993,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "1e746899.4a1de7"
+ ]
+ ]
+ },
+ {
+ "id": "1e746899.4a1de7",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1519,
+ "y": 990,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "1fda2797.1ef958"
+ ]
+ ]
+ },
+ {
+ "id": "1fda2797.1ef958",
+ "type": "outcome",
+ "name": "p-interface",
+ "xml": "<outcome value='p-interface'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1696.117431640625,
+ "y": 988.3402709960938,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "73e8ef8a.6dee8"
+ ]
+ ]
+ },
+ {
+ "id": "73e8ef8a.6dee8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1836,
+ "y": 973,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "9ff282e5.e46b2",
+ "d72292cf.36986"
+ ]
+ ]
+ },
+ {
+ "id": "9ff282e5.e46b2",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 1971,
+ "y": 995,
+ "z": "5b68e0d.bd97b2",
+ "wires": []
+ },
+ {
+ "id": "d72292cf.36986",
+ "type": "set",
+ "name": "set oofsolutions last info",
+ "xml": "<set>\n<parameter name='tmp.oofsolutions-last-dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.oofsolutions-last-dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[1].relationship-value`\" />\n",
+ "comments": "",
+ "x": 2026,
+ "y": 949,
+ "z": "5b68e0d.bd97b2",
+ "wires": []
+ },
+ {
+ "id": "ba0dda0.572ad28",
+ "type": "switchNode",
+ "name": "switch relationship_length",
+ "xml": "<switch test='`length($tmp.aai.cross-link.relationship-list.relationship) == 0`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1440,
+ "y": 731,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "d7ed588c.061ed8",
+ "b66c4a0f.48599"
+ ]
+ ]
+ },
+ {
+ "id": "d7ed588c.061ed8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1631,
+ "y": 698,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b66c4a0f.48599",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1632,
+ "y": 745,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "8ebbd23d.9dd4d"
+ ]
+ ]
+ },
+ {
+ "id": "a982c4fa.2154f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4642,
+ "y": 370,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "203d5e77.1749e2"
+ ]
+ ]
+ },
+ {
+ "id": "7cb92f1c.0d62a8",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-ttp.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5223,
+ "y": 433,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "517c6485.d4072c"
+ ]
+ ]
+ },
+ {
+ "id": "517c6485.d4072c",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.src-ttp.relationship-list.relationship[$vidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5449,
+ "y": 433,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "66fdc763.76b7a8"
+ ]
+ ]
+ },
+ {
+ "id": "66fdc763.76b7a8",
+ "type": "outcome",
+ "name": "p-interface",
+ "xml": "<outcome value='p-interface'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5643.2861328125,
+ "y": 432.82177734375,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "d6464d3a.f940c8"
+ ]
+ ]
+ },
+ {
+ "id": "d6464d3a.f940c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 5818.1171875,
+ "y": 432.34027099609375,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "ebf0e7da.b09cb"
+ ]
+ ]
+ },
+ {
+ "id": "203d5e77.1749e2",
+ "type": "switchNode",
+ "name": "switch ttp relationship",
+ "xml": "<switch test='`$tmp.aai.src-ttp.relationship-list.relationship_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4840,
+ "y": 372,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "6d19c367.9a927c",
+ "ad218f76.da61f",
+ "4692a096.2a98"
+ ]
+ ]
+ },
+ {
+ "id": "6d19c367.9a927c",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5023,
+ "y": 334,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "13f17017.84d56"
+ ]
+ ]
+ },
+ {
+ "id": "4692a096.2a98",
+ "type": "outcome",
+ "name": "length 0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5033,
+ "y": 382,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "13f17017.84d56"
+ ]
+ ]
+ },
+ {
+ "id": "ad218f76.da61f",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5022,
+ "y": 436,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "7cb92f1c.0d62a8"
+ ]
+ ]
+ },
+ {
+ "id": "13f17017.84d56",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5178,
+ "y": 334,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fe418352.84c6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4631,
+ "y": 744,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "a04c015d.4f2be"
+ ]
+ ]
+ },
+ {
+ "id": "491826fa.0106a8",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-ttp.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5212,
+ "y": 807,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "1943c22a.5a60a6"
+ ]
+ ]
+ },
+ {
+ "id": "a04c015d.4f2be",
+ "type": "switchNode",
+ "name": "switch ttp relationship",
+ "xml": "<switch test='`$tmp.aai.dst-ttp.relationship-list.relationship_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4829,
+ "y": 746,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "d6405c54.6f4518",
+ "6576831f.203ff4",
+ "863d1cc0.5d8dc8"
+ ]
+ ]
+ },
+ {
+ "id": "d6405c54.6f4518",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5012,
+ "y": 708,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "3eef1226.8c611e"
+ ]
+ ]
+ },
+ {
+ "id": "863d1cc0.5d8dc8",
+ "type": "outcome",
+ "name": "length 0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5022,
+ "y": 756,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "3eef1226.8c611e"
+ ]
+ ]
+ },
+ {
+ "id": "6576831f.203ff4",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5011,
+ "y": 810,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "491826fa.0106a8"
+ ]
+ ]
+ },
+ {
+ "id": "3eef1226.8c611e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5167,
+ "y": 708,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66a31e69.f659b8",
+ "type": "set",
+ "name": "set domain B node ttp-id",
+ "xml": "<set>\n<parameter name='domain-B.ttp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n",
+ "comments": "",
+ "x": 6024.5,
+ "y": 805,
+ "z": "5b68e0d.bd97b2",
+ "wires": []
+ },
+ {
+ "id": "1943c22a.5a60a6",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.dst-ttp.relationship-list.relationship[$vidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5438,
+ "y": 807,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "d1d6f06f.051f98"
+ ]
+ ]
+ },
+ {
+ "id": "d1d6f06f.051f98",
+ "type": "outcome",
+ "name": "p-interface",
+ "xml": "<outcome value='p-interface'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5632.2861328125,
+ "y": 806.82177734375,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "c6c9b722.1343d8"
+ ]
+ ]
+ },
+ {
+ "id": "c6c9b722.1343d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 5807.1171875,
+ "y": 806.3402709960938,
+ "z": "5b68e0d.bd97b2",
+ "wires": [
+ [
+ "66a31e69.f659b8"
]
]
}
diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
index 658a04cd..6005d810 100644
--- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
+++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
@@ -526,9 +526,7 @@
"z": "9b26c8a0.a64c1",
"wires": [
[
- "2cd069f4.1bd85e",
- "e85654b4.901fd",
- "596112fe.dbc0a4"
+ "8a87ece8.73f728"
]
]
},
@@ -536,10 +534,10 @@
"id": "2cd069f4.1bd85e",
"type": "set",
"name": "set tmp.unis.uni[].tpId",
- "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='tmp.tpId' value=\"`$tmp.aai.uni.tpId`\" />\n",
+ "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='tmp.tp-id' value=\"`$tmp.aai.uni.tp-id`\" />\n",
"comments": "",
- "x": 1843.117431640625,
- "y": 598.3402709960938,
+ "x": 2557.117431640625,
+ "y": 641.3402709960938,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -589,12 +587,12 @@
{
"id": "e85654b4.901fd",
"type": "execute",
- "name": "execute split tpId to get pnf-name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`tmp.unis.uni[$vidx].tpId`'/>\n<parameter name=\"regex\" value=\"nodeId\"/>\n<parameter name=\"tmp.unis.uni[$vidx].pnf-name\" value=\"\"/>\n",
+ "name": "execute split tp-id to get pnf-name",
+ "xml": "<!--<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >-->\n<!--<parameter name=\"original_string\" value='`tmp.unis.uni[$vidx].tp-id`'/>-->\n<!--<parameter name=\"regex\" value=\"nodeId\"/>-->\n<!--<parameter name=\"tmp.unis.uni[$vidx].pnf-name\" value=\"\"/>-->\n\n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`tmp.aai.uni.tp-id`'/>\n<parameter name=\"regex\" value=\"nodeId\"/>\n<parameter name=\"tmp.aai.uni.pnf-name\" value=\"\"/>",
"comments": "",
"outputs": 1,
- "x": 1882,
- "y": 673,
+ "x": 2596,
+ "y": 716,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -610,8 +608,8 @@
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2105,
- "y": 628,
+ "x": 2819,
+ "y": 671,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -626,8 +624,8 @@
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2107,
- "y": 692,
+ "x": 2821,
+ "y": 735,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -641,8 +639,8 @@
"name": "set ipAddress prefixLength",
"xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",
"comments": "",
- "x": 2327,
- "y": 630,
+ "x": 3041,
+ "y": 673,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -652,8 +650,8 @@
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
"comments": "",
- "x": 2266,
- "y": 711,
+ "x": 2980,
+ "y": 754,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -664,8 +662,8 @@
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"'pnf.pnf-name = $tmp.unis.uni[$vidx].pnf-name'\n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\t\tresource=\"generic-vnf\" -->\n<!--\t\tkey=\"'generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' -->\n<!--\t\tAND depth = '0'\"-->\n<!-- pfx='tmp.aai.generic-vnf' local-only='false' >-->",
"comments": "",
"outputs": 1,
- "x": 1812,
- "y": 810,
+ "x": 2526,
+ "y": 853,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -681,8 +679,8 @@
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2171.88232421875,
- "y": 818.6556396484375,
+ "x": 2885.88232421875,
+ "y": 861.6556396484375,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -697,8 +695,8 @@
"name": "set node-id",
"xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].node-id`' value=\"`$tmp.aai.pnf.pnf-id`\" />\n",
"comments": "",
- "x": 2351,
- "y": 772,
+ "x": 3065,
+ "y": 815,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -709,8 +707,8 @@
"xml": "<for silentFailure='true' index='ridx' start='0' end='`$tmp.aai.pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2363.882568359375,
- "y": 858.6597290039062,
+ "x": 3077.882568359375,
+ "y": 901.6597290039062,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -725,8 +723,8 @@
"xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2589.882568359375,
- "y": 858.6597290039062,
+ "x": 3303.882568359375,
+ "y": 901.6597290039062,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -742,7 +740,7 @@
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 2788,
+ "x": 3513,
"y": 971,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -758,7 +756,7 @@
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3001,
+ "x": 3726,
"y": 972,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -774,7 +772,7 @@
"name": "set network-id",
"xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].network-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3236,
+ "x": 3961,
"y": 902,
"z": "9b26c8a0.a64c1",
"wires": []
@@ -786,7 +784,7 @@
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"'network-resource.network-id = $tmp.unis.uni[$vidx].network-id'\n\t\tAND depth = '0'\"\n pfx='tmp.aai.network-resource' local-only='false' >\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3244,
+ "x": 3969,
"y": 983,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -802,7 +800,7 @@
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3476.5,
+ "x": 4201.5,
"y": 979,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -817,7 +815,7 @@
"name": "set network-id, topo-id, client-id, etc",
"xml": "<set>\n<parameter name=\"`$tmp.unis.uni[$vidx].network-id`\" value=\"`$tmp.aai.network-resource.network-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].provider-id`\" value=\"`$tmp.aai.network-resource.provider-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].client-id`\" value=\"`$tmp.aai.network-resource.client-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].te-topo-id`\" value=\"`$tmp.aai.network-resource.te-topo-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].network-type`\" value=\"`$tmp.aai.network-resource.network-type`\" />\n\n\n",
"comments": "",
- "x": 3745,
+ "x": 4470,
"y": 978,
"z": "9b26c8a0.a64c1",
"wires": []
@@ -843,7 +841,7 @@
"xml": "<outcome value='thirdparty-controller'>\n",
"comments": "",
"outputs": 1,
- "x": 2815,
+ "x": 3540,
"y": 836,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -859,7 +857,7 @@
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3028,
+ "x": 3753,
"y": 837,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -874,7 +872,7 @@
"name": "set thirdparty-sdnc-id",
"xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].thirdparty-sdnc-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3255,
+ "x": 3980,
"y": 836,
"z": "9b26c8a0.a64c1",
"wires": []
@@ -912,8 +910,8 @@
"name": "set oof.vpn",
"xml": "<set>\n<parameter name='oof.vpn.' value='`$tmp.unis.uni[$vidx].`' />",
"comments": "",
- "x": 1092.0272216796875,
- "y": 1027.040771484375,
+ "x": 1096.0272216796875,
+ "y": 946.040771484375,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -1067,7 +1065,7 @@
"id": "a9643f3f.4f04b",
"type": "get-resource",
"name": "get-resource esr-thirdparty-sdnc",
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $oof.vpn.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
"x": 1156.0272216796875,
@@ -1136,10 +1134,10 @@
"wires": [
[
"124c6957.e07dc7",
- "3ce3b19a.7c10c6",
- "d661efba.3fa238",
- "ee991e0.ab6b36",
- "f7756434.d014e"
+ "f7756434.d014e",
+ "a9643f3f.4f04b",
+ "ae925256.a68df",
+ "ee991e0.ab6b36"
]
]
},
@@ -1197,7 +1195,7 @@
"id": "678c3911.078e2",
"type": "execute",
"name": "execute RestconfApiCallNode Create ethernet Service with token",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
"x": 1660.52734375,
@@ -1304,7 +1302,7 @@
"id": "42cb8b06.e7daec",
"type": "execute",
"name": "execute RestconfApiCallNode Create ethernet Service without token",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
"comments": "",
"outputs": 1,
"x": 1670.52734375,
@@ -1340,8 +1338,8 @@
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1995,
- "y": 817,
+ "x": 2709,
+ "y": 860,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -1353,11 +1351,237 @@
"id": "672fc75a.1e91b",
"type": "set",
"name": "set tmp.unis.uni[].tpId",
- "xml": "<set>\n<parameter name='tmp.unis.uni[0].id' value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n<parameter name='tmp.unis.uni[0].tp-id' value=\"networkId-providerId-5555-clientId-6666-topologyId-11-nodeId-0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].access-provider-id' value=\"`$domain-A.provider-id`\" />\n<parameter name='tmp.unis.uni[0].access-client-id' value=\"`$domain-A.client-id`\" />\n<parameter name='tmp.unis.uni[0].access-topology-id' value=\"`$domain-A.topology-id`\" />\n<parameter name='tmp.unis.uni[0].access-node-id' value=\"\" />\n<parameter name='tmp.unis.uni[0].src-access-ltp-id' value=\"\" />\n<parameter name='tmp.unis.uni[0].dst-access-ltp-id' value=\"\" />\n\n<parameter name='tmp.unis.uni[1].id' value=\"5642e9dd-496c-4ef6-be97-5caf4e9beec9\" />\n<parameter name='tmp.unis.uni[1].tp-id' value=\"networkId-domain2-providerId-5555-clientId-6666-topologyId-11-nodeId-0.191.0.4\" />\n<parameter name='tmp.unis.uni[1].access-provider-id' value=\"`$domain-B.provider-id`\" />\n<parameter name='tmp.unis.uni[1].access-client-id' value=\"`$domain-B.client-id`\" />\n<parameter name='tmp.unis.uni[1].access-topology-id' value=\"`$domain-B.topology-id`\" />\n<parameter name='tmp.unis.uni[1].access-node-id' value=\"\" />\n<parameter name='tmp.unis.uni[1].src-access-ltp-id' value=\"\" />\n<parameter name='tmp.unis.uni[1].dst-access-ltp-id' value=\"\" />\n\n<parameter name='tmp.unis.uni_length' value=\"2\" />\n\n",
+ "xml": "<set>\n<parameter name='tmp.unis.uni[0].id' value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n<parameter name='tmp.unis.uni[0].tp-id' value=\"networkId-providerId-5555-clientId-6666-topologyId-11-nodeId-0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].access-provider-id' value=\"`$domain-A.provider-id`\" />\n<parameter name='tmp.unis.uni[0].access-client-id' value=\"`$domain-A.client-id`\" />\n<parameter name='tmp.unis.uni[0].access-topology-id' value=\"`$domain-A.topology-id`\" />\n<parameter name='tmp.unis.uni[0].access-node-id' value=\"0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].src-access-ltp-id' value=\"1234\" />\n<parameter name='tmp.unis.uni[0].dst-access-ltp-id' value=\"5678\" />\n<parameter name='tmp.unis.uni[0].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni[1].id' value=\"5642e9dd-496c-4ef6-be97-5caf4e9beec9\" />\n<parameter name='tmp.unis.uni[1].tp-id' value=\"networkId-domain2-providerId-5555-clientId-6666-topologyId-11-nodeId-0.191.0.4\" />\n<parameter name='tmp.unis.uni[1].access-provider-id' value=\"`$domain-B.provider-id`\" />\n<parameter name='tmp.unis.uni[1].access-client-id' value=\"`$domain-B.client-id`\" />\n<parameter name='tmp.unis.uni[1].access-topology-id' value=\"`$domain-B.topology-id`\" />\n<parameter name='tmp.unis.uni[1].access-node-id' value=\"0.190.0.3\" />\n<parameter name='tmp.unis.uni[1].src-access-ltp-id' value=\"9123\" />\n<parameter name='tmp.unis.uni[1].dst-access-ltp-id' value=\"4567\" />\n<parameter name='tmp.unis.uni[1].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni_length' value=\"2\" />\n\n",
"comments": "",
"x": 655,
"y": 1015,
"z": "9b26c8a0.a64c1",
"wires": []
+ },
+ {
+ "id": "ae925256.a68df",
+ "type": "get-resource",
+ "name": "get network-resource",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $oof.vpn.network-id\"\n pfx='tmp.aai.network-resource' local-only='false' >\n\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1128,
+ "y": 1024,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "23c084ce.22a7f4",
+ "d2d56dd3.d8df6",
+ "28e7be58.d60b6a"
+ ]
+ ]
+ },
+ {
+ "id": "23c084ce.22a7f4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1323.5001220703125,
+ "y": 981,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "16ae77fe.3db2f"
+ ]
+ ]
+ },
+ {
+ "id": "d2d56dd3.d8df6",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1315.5001220703125,
+ "y": 1036,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "8f6658aa.e556f8"
+ ]
+ ]
+ },
+ {
+ "id": "28e7be58.d60b6a",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1320.5001220703125,
+ "y": 1093,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "5bc0d431.a1baf4"
+ ]
+ ]
+ },
+ {
+ "id": "5bc0d431.a1baf4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
+ "comments": "",
+ "x": 1472.5001220703125,
+ "y": 1094,
+ "z": "9b26c8a0.a64c1",
+ "wires": []
+ },
+ {
+ "id": "8f6658aa.e556f8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
+ "comments": "",
+ "x": 1483.5001220703125,
+ "y": 1039,
+ "z": "9b26c8a0.a64c1",
+ "wires": []
+ },
+ {
+ "id": "16ae77fe.3db2f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1467.8824462890625,
+ "y": 978.6556701660156,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "1facb6e4.b004d9"
+ ]
+ ]
+ },
+ {
+ "id": "1facb6e4.b004d9",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for index='ridx' start='0' end='`$tmp.aai.network-resource.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1682.8826904296875,
+ "y": 978.6597290039062,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "a5fdb89.17d6dc8"
+ ]
+ ]
+ },
+ {
+ "id": "a5fdb89.17d6dc8",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.network-resource.relationship-list.relationship[$ridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1908.8826904296875,
+ "y": 978.6597290039062,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "d4a46397.2bb99"
+ ]
+ ]
+ },
+ {
+ "id": "d4a46397.2bb99",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2115.0001220703125,
+ "y": 977,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "d4ec153c.0cdc78"
+ ]
+ ]
+ },
+ {
+ "id": "d4ec153c.0cdc78",
+ "type": "set",
+ "name": "set prop.sdncRestApi.thirdpartySdnc.id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value=\"`$tmp.aai.network-resource.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 2133,
+ "y": 1056,
+ "z": "9b26c8a0.a64c1",
+ "wires": []
+ },
+ {
+ "id": "8a87ece8.73f728",
+ "type": "get-resource",
+ "name": "get-resource uni",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"uni\" \n\t\tkey=\"uni.id = $tmp.aai.generic-vnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value\"\n pfx='tmp.aai.uni' local-only='false' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1802,
+ "y": 689,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "af655688.304b78"
+ ]
+ ]
+ },
+ {
+ "id": "af655688.304b78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1974,
+ "y": 689,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "91d7b892.85ea"
+ ]
+ ]
+ },
+ {
+ "id": "bc6860a4.74042",
+ "type": "set",
+ "name": "set tmp.unis.uni[]",
+ "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='`tmp.unis.uni[$vidx].`' value=\"`$tmp.aai.uni.`\" />\n",
+ "comments": "",
+ "x": 2299,
+ "y": 645,
+ "z": "9b26c8a0.a64c1",
+ "wires": []
+ },
+ {
+ "id": "91d7b892.85ea",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2115,
+ "y": 691,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "bc6860a4.74042",
+ "e85654b4.901fd",
+ "596112fe.dbc0a4"
+ ]
+ ]
}
] \ No newline at end of file