aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json
diff options
context:
space:
mode:
authorHesam Rahimi <hesam.rahimi@huawei.com>2021-09-29 17:20:32 -0400
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2021-10-12 11:47:11 +0000
commit2c4d878572be86786419130d35da41e58593be8c (patch)
tree0cf597e685adceffd4fc758471e31fe57e8718e7 /platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json
parent8e3280a9c2c7cd372cfb268e9df2f7332d405d9e (diff)
Support individual CLL deletion, and UNI removal from Ethernet Service, and
adjusting the bandwidth of OTN tunnels and UNIs accordingly. Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I0d5e30a948cf0a9fe10dc9ce0c4c5f5584797469 Former-commit-id: 68c418849f4636b0e960a80fa3604519723167cf
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json966
1 files changed, 966 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json
new file mode 100644
index 00000000..de9383d3
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json
@@ -0,0 +1,966 @@
+[
+ {
+ "id": "a88af18.67fae9",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2806.316619873047,
+ "y": 668.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "d17bb726.fa65e8"
+ ]
+ ]
+ },
+ {
+ "id": "d17bb726.fa65e8",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2943.316619873047,
+ "y": 756.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "141e9731.53d429"
+ ]
+ ]
+ },
+ {
+ "id": "5a075e5f.de06b8",
+ "type": "execute",
+ "name": "get 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 = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3328.316619873047,
+ "y": 769.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "bfab05fb.6c1fd",
+ "66b97fa3.09fba8",
+ "a61f3fb8.28c2b"
+ ]
+ ]
+ },
+ {
+ "id": "141e9731.53d429",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3122.316619873047,
+ "y": 756.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "6ba56bd3.970cc4",
+ "5a075e5f.de06b8",
+ "f743ac29.02b56"
+ ]
+ ]
+ },
+ {
+ "id": "6ba56bd3.970cc4",
+ "type": "set",
+ "name": "set esr-thirdparty-sdnc domain id",
+ "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 3358.316619873047,
+ "y": 717.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "bfab05fb.6c1fd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3538.316619873047,
+ "y": 760.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "9395b4f9.f11e08"
+ ]
+ ]
+ },
+ {
+ "id": "66b97fa3.09fba8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3530.316619873047,
+ "y": 815.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "6a113c41.2b7f84"
+ ]
+ ]
+ },
+ {
+ "id": "a61f3fb8.28c2b",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3535.316619873047,
+ "y": 872.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "ae24d388.debf2"
+ ]
+ ]
+ },
+ {
+ "id": "ae24d388.debf2",
+ "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": 3687.316619873047,
+ "y": 873.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "6a113c41.2b7f84",
+ "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": 3698.316619873047,
+ "y": 818.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "9395b4f9.f11e08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3682.698944091797,
+ "y": 758.5389709472656,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "e30efe2.36b498"
+ ]
+ ]
+ },
+ {
+ "id": "e30efe2.36b498",
+ "type": "set",
+ "name": "set controller domain data",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\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=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\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": "",
+ "x": 3897.316619873047,
+ "y": 754.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "f743ac29.02b56",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 3278.316619873047,
+ "y": 833.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "98d7bf6.4dfe7c",
+ "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=\"Error executing delete OTN tunnel rest api\" />\n",
+ "comments": "",
+ "x": 2698.816619873047,
+ "y": 955.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "61820fcc.882e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2694.316619873047,
+ "y": 1020.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b3a4445.ce6224",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2604.3164978027344,
+ "y": 741.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "a88af18.67fae9"
+ ]
+ ]
+ },
+ {
+ "id": "132ce225.b79cae",
+ "type": "set",
+ "name": "set pnf-name",
+ "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",
+ "comments": "",
+ "x": 2052.316375732422,
+ "y": 721.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "5cdb5a7a.54733c",
+ "type": "get-resource",
+ "name": "get-resource src pnf",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2080.3164978027344,
+ "y": 791.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "6c0f168f.8aad68",
+ "cd12f0b4.568798",
+ "80b1b093.b4332"
+ ]
+ ]
+ },
+ {
+ "id": "6c0f168f.8aad68",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2275.816619873047,
+ "y": 743.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "99130a65.69efe8"
+ ]
+ ]
+ },
+ {
+ "id": "cd12f0b4.568798",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2267.816619873047,
+ "y": 798.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "80ce6dda.3e5e5"
+ ]
+ ]
+ },
+ {
+ "id": "99130a65.69efe8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2420.198944091797,
+ "y": 743.5389709472656,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "5b3a4445.ce6224"
+ ]
+ ]
+ },
+ {
+ "id": "80b1b093.b4332",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2272.816619873047,
+ "y": 855.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "b4d035fe.9cf0b"
+ ]
+ ]
+ },
+ {
+ "id": "b4d035fe.9cf0b",
+ "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": 2424.816619873047,
+ "y": 856.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "80ce6dda.3e5e5",
+ "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": 2435.816619873047,
+ "y": 799.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "cbce5afd.0d149",
+ "type": "execute",
+ "name": "execute RestApiCallNode Delete OTN tunnel with token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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": 2190.316619873047,
+ "y": 985.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "38dfa115.008496",
+ "f31653a0.9143e8"
+ ]
+ ]
+ },
+ {
+ "id": "38dfa115.008496",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2522.816619873047,
+ "y": 955.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "98d7bf6.4dfe7c"
+ ]
+ ]
+ },
+ {
+ "id": "f31653a0.9143e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2527.816619873047,
+ "y": 1020.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "61820fcc.882e"
+ ]
+ ]
+ },
+ {
+ "id": "30af1423.cd4b6c",
+ "type": "save",
+ "name": "delete vpn-binding resource in AAI",
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2113.316619873047,
+ "y": 1116.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0b44cbe.a16a5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1822.3166198730469,
+ "y": 941.88330078125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "132ce225.b79cae",
+ "5cdb5a7a.54733c",
+ "cbce5afd.0d149",
+ "30af1423.cd4b6c",
+ "b097652b.150d7",
+ "e258ce61.c84d28"
+ ]
+ ]
+ },
+ {
+ "id": "b097652b.150d7",
+ "type": "set",
+ "name": "unset tmp.aai.vpn-binding",
+ "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"\" />\n",
+ "comments": "",
+ "x": 2101.5164489746094,
+ "y": 624.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "e258ce61.c84d28",
+ "type": "set",
+ "name": "set tmp.aai.vpn-binding",
+ "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",
+ "comments": "",
+ "x": 2093.5164489746094,
+ "y": 673.88330078125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "3c24f82.dfab088",
+ "type": "comment",
+ "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",
+ "info": "",
+ "comments": "",
+ "x": 1023.5003967285156,
+ "y": 746.39990234375,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "570ad10f.ad92f8",
+ "type": "save",
+ "name": "get all-vpn-bindings from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 921.5003967285156,
+ "y": 781.39990234375,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "f405b75.e7a9fc8",
+ "4e9de096.f468b",
+ "9757d76.73f10a8"
+ ]
+ ]
+ },
+ {
+ "id": "f405b75.e7a9fc8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1126.5003967285156,
+ "y": 778.39990234375,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "5de56166.922018"
+ ]
+ ]
+ },
+ {
+ "id": "4e9de096.f468b",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1109.9913635253906,
+ "y": 839.9739379882812,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "a1062ebe.b15808"
+ ]
+ ]
+ },
+ {
+ "id": "9757d76.73f10a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1107.5003967285156,
+ "y": 883.39990234375,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "10e74f8b.3fb4a8"
+ ]
+ ]
+ },
+ {
+ "id": "5de56166.922018",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1294.5006408691406,
+ "y": 773.39990234375,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "fdc657b.398c8a8"
+ ]
+ ]
+ },
+ {
+ "id": "a1062ebe.b15808",
+ "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.l3vpn.pe1_id`\" />\n\n",
+ "comments": "",
+ "x": 1272.5627746582031,
+ "y": 840.2596740722656,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "10e74f8b.3fb4a8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1274.5003967285156,
+ "y": 882.39990234375,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "fdc657b.398c8a8",
+ "type": "for",
+ "name": "for vpnidx in all-vpn-bindings",
+ "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 920.5007019042969,
+ "y": 1018.39990234375,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "5a8644f1.6f626c"
+ ]
+ ]
+ },
+ {
+ "id": "5a8644f1.6f626c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1150.5004577636719,
+ "y": 1006.39990234375,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "71241a5.135ba64"
+ ]
+ ]
+ },
+ {
+ "id": "71241a5.135ba64",
+ "type": "switchNode",
+ "name": "switch ops-note is srcTtpOtnLayer",
+ "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1386.3168640136719,
+ "y": 1005.56640625,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "4253fbea.3b4874",
+ "6cef3566.dab14c"
+ ]
+ ]
+ },
+ {
+ "id": "4253fbea.3b4874",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1616.3168640136719,
+ "y": 1000.56591796875,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "d0b44cbe.a16a5"
+ ]
+ ]
+ },
+ {
+ "id": "6cef3566.dab14c",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1627.3168640136719,
+ "y": 1043.56591796875,
+ "z": "347519d8.005516",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3070392b.33f8c6",
+ "type": "set",
+ "name": "set srcTtp OTN layer",
+ "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!-- $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!-- $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",
+ "comments": "",
+ "x": 1170.9999694824219,
+ "y": 593.283203125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "45e829a.7cbd958",
+ "type": "set",
+ "name": "unset tmp.aai.all-vpn-bindings",
+ "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",
+ "comments": "",
+ "x": 900.2001037597656,
+ "y": 707.39990234375,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "304ed1d7.4f9efe",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 663.9999694824219,
+ "y": 737.2333984375,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "45e829a.7cbd958",
+ "570ad10f.ad92f8"
+ ]
+ ]
+ },
+ {
+ "id": "7df4e9d5.2bc648",
+ "type": "switchNode",
+ "name": "switch provider-id domainA",
+ "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1515.9999694824219,
+ "y": 455.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "a43c232c.85575"
+ ]
+ ]
+ },
+ {
+ "id": "561ea33d.a2ffb4",
+ "type": "for",
+ "name": "for netwidx..allNetworksList_length",
+ "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1222.9999694824219,
+ "y": 449.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "7df4e9d5.2bc648"
+ ]
+ ]
+ },
+ {
+ "id": "2e515252.bebdb6",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1477.9999694824219,
+ "y": 406.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36a9a792.12dcb8",
+ "type": "set",
+ "name": "unset parameters",
+ "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
+ "comments": "",
+ "x": 1166.9999694824219,
+ "y": 501.283203125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "2a69687a.5611c",
+ "type": "set",
+ "name": "set tmp.pce-src-node",
+ "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainA-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $otnTopoIdSrc + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />",
+ "comments": "",
+ "x": 1174.9999694824219,
+ "y": 546.283203125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "f3c1922.734777",
+ "type": "set",
+ "name": "unset otnTopoIdSrc",
+ "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",
+ "comments": "",
+ "x": 1171.9999694824219,
+ "y": 399.283203125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "a43c232c.85575",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1424.9999694824219,
+ "y": 523.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "f8e0e906.2dd5c"
+ ]
+ ]
+ },
+ {
+ "id": "f8e0e906.2dd5c",
+ "type": "switchNode",
+ "name": "switch te-topo-id",
+ "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1609.9999694824219,
+ "y": 522.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "8c6726fe.7433a8"
+ ]
+ ]
+ },
+ {
+ "id": "cc1b4364.1c9f18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 866.9999694824219,
+ "y": 421.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "7c0eef33.a4cac8",
+ "ba37203f.b37c18",
+ "36a9a792.12dcb8",
+ "2a69687a.5611c",
+ "3070392b.33f8c6",
+ "561ea33d.a2ffb4",
+ "304ed1d7.4f9efe"
+ ]
+ ]
+ },
+ {
+ "id": "59a1e33e.932044",
+ "type": "comment",
+ "name": "The following section is to find srcTtp OTN layer (its long name)",
+ "info": "The following section is to find srcTtp OTN layer (its long name)",
+ "comments": "",
+ "x": 851.9999694824219,
+ "y": 355.283203125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "ba37203f.b37c18",
+ "type": "get-resource",
+ "name": "get-resource network-resources-list",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1230.9999694824219,
+ "y": 342.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "c06f47ba.39269",
+ "e8314c16.79663",
+ "2e515252.bebdb6"
+ ]
+ ]
+ },
+ {
+ "id": "c06f47ba.39269",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1466.9999694824219,
+ "y": 325.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e8314c16.79663",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1463.9999694824219,
+ "y": 366.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c0eef33.a4cac8",
+ "type": "set",
+ "name": "unset parameters",
+ "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",
+ "comments": "",
+ "x": 1179.9999694824219,
+ "y": 299.283203125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "8c6726fe.7433a8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1801.9999694824219,
+ "y": 525.283203125,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "99c0dc88.ef82e8"
+ ]
+ ]
+ },
+ {
+ "id": "99c0dc88.ef82e8",
+ "type": "set",
+ "name": "set otnTopoIdSrc",
+ "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
+ "comments": "",
+ "x": 1973.9999694824219,
+ "y": 521.283203125,
+ "z": "347519d8.005516",
+ "wires": []
+ },
+ {
+ "id": "d2cbaaf0.8cf72",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 154.88333129882812,
+ "y": 89.88333129882812,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "a811003b.ca91f8"
+ ]
+ ]
+ },
+ {
+ "id": "a811003b.ca91f8",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 439.1690216064453,
+ "y": 151.12143993377686,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "5803201b.e752d"
+ ]
+ ]
+ },
+ {
+ "id": "5803201b.e752d",
+ "type": "method",
+ "name": "method cll-vnf-topology-operation-cll-delete-VPNBs",
+ "xml": "<method rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 445.3119354248047,
+ "y": 235.88336181640625,
+ "z": "347519d8.005516",
+ "wires": [
+ [
+ "cc1b4364.1c9f18"
+ ]
+ ]
+ }
+] \ No newline at end of file