aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json2082
1 files changed, 1041 insertions, 1041 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
index 459577cb..cd4962c2 100644
--- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
@@ -1,20 +1,20 @@
[
{
- "id": "2b7da8b.17ed9d8",
+ "id": "94ab5931.1ae6d",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 248,
- "y": 45,
- "z": "ab59e982.86c81",
+ "x": 292.566650390625,
+ "y": 59.56666564941406,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "970691bb.ddc15"
+ "1c26c9e8.6ceaee"
]
]
},
{
- "id": "970691bb.ddc15",
+ "id": "1c26c9e8.6ceaee",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,3073 +22,3073 @@
"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": 532.2856903076172,
- "y": 106.23810863494873,
- "z": "ab59e982.86c81",
+ "x": 576.8523406982422,
+ "y": 120.8047742843628,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "60aef583.9235ac"
+ "23f5599a.c9cd86"
]
]
},
{
- "id": "60aef583.9235ac",
+ "id": "23f5599a.c9cd86",
"type": "method",
"name": "method cll-vnf-topology-operation-cll-F1",
"xml": "<method rpc='cll-vnf-topology-operation-cll-F1' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 448.4285888671875,
- "y": 184.00003051757812,
- "z": "ab59e982.86c81",
+ "x": 492.9952392578125,
+ "y": 198.5666961669922,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "aea204d6.6a791"
+ "dc959d18.681ba8"
]
]
},
{
- "id": "aea204d6.6a791",
+ "id": "dc959d18.681ba8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 182.238037109375,
- "y": 687.6666870117188,
- "z": "ab59e982.86c81",
+ "x": 226.8046875,
+ "y": 702.2333526611328,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "8d663f65.8f74e8",
- "8c3bad0a.2ae1e",
- "7334fea3.c843f",
- "322c901e.38e458",
- "363053e.3c7802c",
- "6a3e2f90.eef6e",
- "65e8fb60.0959f4",
- "af2be5de.84caa8"
+ "3133ba0.df70946",
+ "a232054c.f7cde",
+ "cf7049ac.59d6b8",
+ "da9884fe.c1ab2",
+ "d00a834c.9393c8",
+ "e4a1c30c.a1f11",
+ "ed8a3e8e.eba718",
+ "5d4c8b88.6ea084"
]
]
},
{
- "id": "8d663f65.8f74e8",
+ "id": "3133ba0.df70946",
"type": "set",
"name": "set query_param",
"xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
"comments": "",
- "x": 455,
- "y": 642,
- "z": "ab59e982.86c81",
+ "x": 499.566650390625,
+ "y": 656.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "8c3bad0a.2ae1e",
+ "id": "a232054c.f7cde",
"type": "call",
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 676,
- "y": 710,
- "z": "ab59e982.86c81",
+ "x": 720.566650390625,
+ "y": 724.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "7334fea3.c843f",
+ "id": "cf7049ac.59d6b8",
"type": "execute",
"name": "execute printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
"comments": "",
"outputs": 1,
- "x": 466,
- "y": 756,
- "z": "ab59e982.86c81",
+ "x": 510.566650390625,
+ "y": 770.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "6a3e2f90.eef6e",
+ "id": "e4a1c30c.a1f11",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 659,
- "y": 820,
- "z": "ab59e982.86c81",
+ "x": 703.566650390625,
+ "y": 834.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "65e8fb60.0959f4",
+ "id": "ed8a3e8e.eba718",
"type": "for",
"name": "for vidx..tmp.otninfo_length[]",
"xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
"comments": "",
"outputs": 1,
- "x": 751,
- "y": 1199,
- "z": "ab59e982.86c81",
+ "x": 795.566650390625,
+ "y": 1213.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "c2ebc420.8ee88"
+ "a0634476.d7e6f8"
]
]
},
{
- "id": "c2ebc420.8ee88",
+ "id": "a0634476.d7e6f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 972.9999694824219,
- "y": 1211,
- "z": "ab59e982.86c81",
+ "x": 1017.5666198730469,
+ "y": 1225.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "2cc97555.3fad02",
- "78caef7b.ab95f8",
- "9c05f571.1eb168",
- "eda8e4ad.92ee8",
- "a27c8181.cf517",
- "e500131.d3db37",
- "b4245913.ae7bb",
- "ac5e1496.5bc93",
- "6299b58a.3a41b4",
- "6cd61101.45105"
+ "aaab02fa.9f4d88",
+ "c83caaf9.d6f6",
+ "a09d3d16.a9628",
+ "38b6179d.185d98",
+ "6e9dd85.efe07a8",
+ "ef30d7fa.1abd9",
+ "ba078fb1.cbb95",
+ "95800647.4aa41",
+ "84e1fc7d.aa5158",
+ "4be74bfa.e8a9a4"
]
]
},
{
- "id": "2cc97555.3fad02",
+ "id": "aaab02fa.9f4d88",
"type": "execute",
"name": "execute UUID generator for vpn-binding $otnidx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1648,
- "y": 790,
- "z": "ab59e982.86c81",
+ "x": 1692.566650390625,
+ "y": 804.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "78caef7b.ab95f8",
+ "id": "c83caaf9.d6f6",
"type": "switchNode",
"name": "switch dstPort == NULL",
"xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1362,
- "y": 880,
- "z": "ab59e982.86c81",
+ "x": 1406.566650390625,
+ "y": 894.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "b4cf3f6b.7b5288",
- "f7c5eac6.57b338"
+ "a21a8c5c.c26b18",
+ "5ad886dd.89cfc"
]
]
},
{
- "id": "b4cf3f6b.7b5288",
+ "id": "a21a8c5c.c26b18",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1728,
- "y": 841,
- "z": "ab59e982.86c81",
+ "x": 1772.566650390625,
+ "y": 855.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "7ef1427a.0fd4ac"
+ "492daa68.bf54bc"
]
]
},
{
- "id": "f7c5eac6.57b338",
+ "id": "5ad886dd.89cfc",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1729,
- "y": 887,
- "z": "ab59e982.86c81",
+ "x": 1773.566650390625,
+ "y": 901.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "26ca350f.1d9a8a"
+ "5f6a6611.d2602"
]
]
},
{
- "id": "7ef1427a.0fd4ac",
+ "id": "492daa68.bf54bc",
"type": "set",
"name": "set access-provider-id and client-id",
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",
"comments": "",
- "x": 1942,
- "y": 840,
- "z": "ab59e982.86c81",
+ "x": 1986.566650390625,
+ "y": 854.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "26ca350f.1d9a8a",
+ "id": "5f6a6611.d2602",
"type": "set",
"name": "set access-provider-id and client-id",
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",
"comments": "",
- "x": 1940,
- "y": 885,
- "z": "ab59e982.86c81",
+ "x": 1984.566650390625,
+ "y": 899.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "9c05f571.1eb168",
+ "id": "a09d3d16.a9628",
"type": "set",
"name": "set srcdstpnf-name",
"xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",
"comments": "",
- "x": 1538,
- "y": 954,
- "z": "ab59e982.86c81",
+ "x": 1582.566650390625,
+ "y": 968.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "eda8e4ad.92ee8",
+ "id": "38b6179d.185d98",
"type": "get-resource",
"name": "get-resource tmp.srcdstpnf-name",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 1582,
- "y": 1002,
- "z": "ab59e982.86c81",
+ "x": 1626.566650390625,
+ "y": 1016.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "79ecfb4e.255ea4",
- "441f51df.f58208",
- "204f27c3.a07c18"
+ "1e4fefc4.84dea",
+ "140ba84b.114188",
+ "5ac6d6d0.fa8f3"
]
]
},
{
- "id": "79ecfb4e.255ea4",
+ "id": "1e4fefc4.84dea",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1794.5,
- "y": 949,
- "z": "ab59e982.86c81",
+ "x": 1839.066650390625,
+ "y": 963.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "eac32b1e.ec64f"
+ "c513ad5c.67a2a8"
]
]
},
{
- "id": "441f51df.f58208",
+ "id": "140ba84b.114188",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1806.5,
- "y": 999,
- "z": "ab59e982.86c81",
+ "x": 1851.066650390625,
+ "y": 1013.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "4a1b3b6f.aa547c"
+ "56e61af8.fb0edc"
]
]
},
{
- "id": "204f27c3.a07c18",
+ "id": "5ac6d6d0.fa8f3",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1797.5,
- "y": 1054,
- "z": "ab59e982.86c81",
+ "x": 1842.066650390625,
+ "y": 1068.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "afa61155.e3e4f"
+ "5b77e98c.bb3518"
]
]
},
{
- "id": "afa61155.e3e4f",
+ "id": "5b77e98c.bb3518",
"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": 1942.5,
- "y": 1053,
- "z": "ab59e982.86c81",
+ "x": 1987.066650390625,
+ "y": 1067.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "4a1b3b6f.aa547c",
+ "id": "56e61af8.fb0edc",
"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": 1953.5,
- "y": 996,
- "z": "ab59e982.86c81",
+ "x": 1998.066650390625,
+ "y": 1010.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "eac32b1e.ec64f",
+ "id": "c513ad5c.67a2a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1919.8824462890625,
- "y": 942.6556701660156,
- "z": "ab59e982.86c81",
+ "x": 1964.4490966796875,
+ "y": 957.2223358154297,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "3c0a3138.bdd26e"
+ "e866a3e1.053498"
]
]
},
{
- "id": "3c0a3138.bdd26e",
+ "id": "e866a3e1.053498",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2081,
- "y": 957,
- "z": "ab59e982.86c81",
+ "x": 2125.566650390625,
+ "y": 971.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "e187685d.0e36b8"
+ "5690d718.48c698"
]
]
},
{
- "id": "e187685d.0e36b8",
+ "id": "5690d718.48c698",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2276,
- "y": 957,
- "z": "ab59e982.86c81",
+ "x": 2320.566650390625,
+ "y": 971.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "124aeba.98fab14"
+ "f99896f3.a9973"
]
]
},
{
- "id": "48b536ea.5f9248",
+ "id": "804d49e5.886028",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2656,
- "y": 953,
- "z": "ab59e982.86c81",
+ "x": 2700.566650390625,
+ "y": 967.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "c8495fb1.c63f38",
- "9a0b489a.f82b3"
+ "ebd7bd5b.40a158",
+ "9cbfb486.1d485"
]
]
},
{
- "id": "9a0b489a.f82b3",
+ "id": "9cbfb486.1d485",
"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.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 2864,
- "y": 960,
- "z": "ab59e982.86c81",
+ "x": 2908.566650390625,
+ "y": 974.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "ff325fba.81a3f",
- "5e11cb23.ea8384",
- "435ef02b.e0a51"
+ "eb53f24.9c8df9",
+ "b699925f.52e788",
+ "177a0a75.4ffe3e"
]
]
},
{
- "id": "c8495fb1.c63f38",
+ "id": "ebd7bd5b.40a158",
"type": "set",
"name": "set esr-thirdparty-sdnc domainG id",
"xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 2894,
- "y": 908,
- "z": "ab59e982.86c81",
+ "x": 2938.566650390625,
+ "y": 922.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "ff325fba.81a3f",
+ "id": "eb53f24.9c8df9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3074,
- "y": 951,
- "z": "ab59e982.86c81",
+ "x": 3118.566650390625,
+ "y": 965.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "3437139a.bfdd9c"
+ "664ce225.e11764"
]
]
},
{
- "id": "5e11cb23.ea8384",
+ "id": "b699925f.52e788",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3066,
- "y": 1006,
- "z": "ab59e982.86c81",
+ "x": 3110.566650390625,
+ "y": 1020.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "db1340d4.287d2"
+ "c5f2fad1.bd663"
]
]
},
{
- "id": "435ef02b.e0a51",
+ "id": "177a0a75.4ffe3e",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3071,
- "y": 1063,
- "z": "ab59e982.86c81",
+ "x": 3115.566650390625,
+ "y": 1077.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "c8c2b440.36c658"
+ "f4a026e6.715c"
]
]
},
{
- "id": "c8c2b440.36c658",
+ "id": "f4a026e6.715c",
"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": 3223,
- "y": 1064,
- "z": "ab59e982.86c81",
+ "x": 3267.566650390625,
+ "y": 1078.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "db1340d4.287d2",
+ "id": "c5f2fad1.bd663",
"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": 3234,
- "y": 1009,
- "z": "ab59e982.86c81",
+ "x": 3278.566650390625,
+ "y": 1023.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "3437139a.bfdd9c",
+ "id": "664ce225.e11764",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3218.38232421875,
- "y": 948.6556701660156,
- "z": "ab59e982.86c81",
+ "x": 3262.948974609375,
+ "y": 963.2223358154297,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "e7684b.19d5f7b8"
+ "a508abe9.f5813"
]
]
},
{
- "id": "124aeba.98fab14",
+ "id": "f99896f3.a9973",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2479,
- "y": 961,
- "z": "ab59e982.86c81",
+ "x": 2523.566650390625,
+ "y": 975.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "48b536ea.5f9248"
+ "804d49e5.886028"
]
]
},
{
- "id": "e7684b.19d5f7b8",
+ "id": "a508abe9.f5813",
"type": "set",
"name": "set controller domainA data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.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": 3433,
- "y": 945,
- "z": "ab59e982.86c81",
+ "x": 3477.566650390625,
+ "y": 959.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "a27c8181.cf517",
+ "id": "6e9dd85.efe07a8",
"type": "switchNode",
"name": "switch dmnsidx == 0 (domainA)",
"xml": "<switch test='`$otnidx == 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 1552,
- "y": 1171,
- "z": "ab59e982.86c81",
+ "x": 1596.566650390625,
+ "y": 1185.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "55f451b.c21bcb",
- "148790b5.591b8f"
+ "75774fa2.7a2cf",
+ "4436153e.9cd34c"
]
]
},
{
- "id": "55f451b.c21bcb",
+ "id": "75774fa2.7a2cf",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1753,
- "y": 1169,
- "z": "ab59e982.86c81",
+ "x": 1797.566650390625,
+ "y": 1183.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "190bbee0.fdc3a1"
+ "36577996.f92cc6"
]
]
},
{
- "id": "a4ef5898.fcc6d8",
+ "id": "b48623b8.fdb8a",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 2034,
- "y": 1119,
- "z": "ab59e982.86c81",
+ "x": 2078.566650390625,
+ "y": 1133.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "82a35f7.532ff2",
+ "id": "54c1b7cf.fc463",
"type": "switchNode",
"name": "switch dmnsidx == last (domainB)",
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
"comments": "",
"outputs": 1,
- "x": 1970,
- "y": 1220,
- "z": "ab59e982.86c81",
+ "x": 2014.566650390625,
+ "y": 1234.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "151d6bac.6b36ac",
- "e7ce23ad.f63438"
+ "8183849e.8f8b9",
+ "edcb38ad.17a0a8"
]
]
},
{
- "id": "151d6bac.6b36ac",
+ "id": "8183849e.8f8b9",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2200,
- "y": 1216,
- "z": "ab59e982.86c81",
+ "x": 2244.566650390625,
+ "y": 1230.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "1bd30175.73854f"
+ "eb1da6e2.d6cac"
]
]
},
{
- "id": "148790b5.591b8f",
+ "id": "4436153e.9cd34c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1753,
- "y": 1218,
- "z": "ab59e982.86c81",
+ "x": 1797.566650390625,
+ "y": 1232.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "82a35f7.532ff2"
+ "54c1b7cf.fc463"
]
]
},
{
- "id": "e7ce23ad.f63438",
+ "id": "edcb38ad.17a0a8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2201,
- "y": 1262,
- "z": "ab59e982.86c81",
+ "x": 2245.566650390625,
+ "y": 1276.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "3d6b9433.a347bc"
+ "10a3f078.2aa84"
]
]
},
{
- "id": "3d6b9433.a347bc",
+ "id": "10a3f078.2aa84",
"type": "set",
"name": "set attachment_param domain G",
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
"comments": "",
- "x": 2415,
- "y": 1262,
- "z": "ab59e982.86c81",
+ "x": 2459.566650390625,
+ "y": 1276.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "308a9211.a77236",
+ "id": "8c80417d.32f06",
"type": "set",
"name": "set attachment_param domain A",
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
"comments": "",
- "x": 2089,
- "y": 1166,
- "z": "ab59e982.86c81",
+ "x": 2133.566650390625,
+ "y": 1180.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "190bbee0.fdc3a1",
+ "id": "36577996.f92cc6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1877,
- "y": 1160,
- "z": "ab59e982.86c81",
+ "x": 1921.566650390625,
+ "y": 1174.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "308a9211.a77236"
+ "8c80417d.32f06"
]
]
},
{
- "id": "1bd30175.73854f",
+ "id": "eb1da6e2.d6cac",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2333,
- "y": 1192,
- "z": "ab59e982.86c81",
+ "x": 2377.566650390625,
+ "y": 1206.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "9e7d0c9c.28922"
+ "4f91088c.aa2a9"
]
]
},
{
- "id": "9261980e.04515",
+ "id": "90fd9019.34d388",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 2489,
- "y": 1208,
- "z": "ab59e982.86c81",
+ "x": 2533.566650390625,
+ "y": 1222.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "9e7d0c9c.28922",
+ "id": "4f91088c.aa2a9",
"type": "set",
"name": "set attachment_param domain B",
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",
"comments": "",
- "x": 2537,
- "y": 1160,
- "z": "ab59e982.86c81",
+ "x": 2581.566650390625,
+ "y": 1174.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "363053e.3c7802c",
+ "id": "d00a834c.9393c8",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",
"comments": "",
- "x": 423.99993896484375,
- "y": 3813.000244140625,
- "z": "ab59e982.86c81",
+ "x": 468.56658935546875,
+ "y": 3827.566909790039,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "322c901e.38e458",
+ "id": "da9884fe.c1ab2",
"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": 463,
- "y": 898,
- "z": "ab59e982.86c81",
+ "x": 507.566650390625,
+ "y": 912.5666656494141,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "e500131.d3db37",
+ "id": "ef30d7fa.1abd9",
"type": "set",
"name": "set srcTtp+dstTtp pair",
"xml": "<set>\n<parameter name='tmp.srcTtpdstTtpPair' value=\"`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id + ',' +\n $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`\" />\n\n\n",
"comments": "",
- "x": 1528,
- "y": 1251,
- "z": "ab59e982.86c81",
+ "x": 1572.566650390625,
+ "y": 1265.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "ac5e1496.5bc93",
+ "id": "95800647.4aa41",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1719.9999694824219,
- "y": 1349,
- "z": "ab59e982.86c81",
+ "x": 1764.5666198730469,
+ "y": 1363.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "b4245913.ae7bb",
+ "id": "ba078fb1.cbb95",
"type": "set",
"name": "set current-provider-id and current-cvlan-id",
"xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n",
"comments": "",
- "x": 1592,
- "y": 1302,
- "z": "ab59e982.86c81",
+ "x": 1636.566650390625,
+ "y": 1316.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "6299b58a.3a41b4",
+ "id": "84e1fc7d.aa5158",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1401,
- "y": 1503,
- "z": "ab59e982.86c81",
+ "x": 1445.566650390625,
+ "y": 1517.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "2ae1d3e2.c44d5c",
- "7342444f.5f3ea4"
+ "e1b1a2e3.c8a22",
+ "a1f3f094.cf6868"
]
]
},
{
- "id": "2ae1d3e2.c44d5c",
+ "id": "e1b1a2e3.c8a22",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1687,
- "y": 2322,
- "z": "ab59e982.86c81",
+ "x": 1731.566650390625,
+ "y": 2336.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "27e9b59e.2795c2"
+ "877d2c40.229dc8"
]
]
},
{
- "id": "8ba690d8.c6505",
+ "id": "9881a97f.aa45c",
"type": "comment",
"name": "call string.contains to check if the cache has srcTtpdstTtpPair",
"info": "if it had: then no new otn/vpn-binding is needed\n ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.",
"comments": "",
- "x": 2113,
- "y": 2267,
- "z": "ab59e982.86c81",
+ "x": 2157.566650390625,
+ "y": 2281.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "6f1cf403.6bf7dc",
+ "id": "8313a95b.4655",
"type": "comment",
"name": "create a new connectivity - (for dummy connectivity)",
"info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance",
"comments": "",
- "x": 1979.9999694824219,
- "y": 1465,
- "z": "ab59e982.86c81",
+ "x": 2024.5666198730469,
+ "y": 1479.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "570cc158.1e1d08",
+ "id": "298356b2.691352",
"type": "save",
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 2027,
- "y": 1515,
- "z": "ab59e982.86c81",
+ "x": 2071.566650390625,
+ "y": 1529.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "e9e323ca.2e498"
+ "594dfec1.070b58"
]
]
},
{
- "id": "e9e323ca.2e498",
+ "id": "594dfec1.070b58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2315,
- "y": 1516,
- "z": "ab59e982.86c81",
+ "x": 2359.566650390625,
+ "y": 1530.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "f5fef51a.3d04f8"
+ "20be2b7.b4b9054"
]
]
},
{
- "id": "f5fef51a.3d04f8",
+ "id": "20be2b7.b4b9054",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2498.5,
- "y": 1514.25390625,
- "z": "ab59e982.86c81",
+ "x": 2543.066650390625,
+ "y": 1528.820571899414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "12f528da.eadc7f",
+ "id": "48aaf3f8.b9dde4",
"type": "execute",
"name": "execute string.contains srcTtpdstTtpPair",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n<parameter name=\"source\" value='`$tmp.the-connectivity.coupling-flag`'/>\n<parameter name=\"target\" value=\"`$tmp.srcTtpdstTtpPair`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2101,
- "y": 2319,
- "z": "ab59e982.86c81",
+ "x": 2145.566650390625,
+ "y": 2333.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "8dd1e788.b5dd4",
- "6a3cb15d.6fc0f8"
+ "5fc5edcc.a33e6c",
+ "1c8fc333.3d53cd"
]
]
},
{
- "id": "8dd1e788.b5dd4",
+ "id": "5fc5edcc.a33e6c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2274,
- "y": 2167,
- "z": "ab59e982.86c81",
+ "x": 2318.566650390625,
+ "y": 2181.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "6a3cb15d.6fc0f8",
+ "id": "1c8fc333.3d53cd",
"type": "outcomeFalse",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2306,
- "y": 2426,
- "z": "ab59e982.86c81",
+ "x": 2350.566650390625,
+ "y": 2440.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "7ecab95b.cd5a18"
+ "7733ea37.676d94"
]
]
},
{
- "id": "82bc647c.2cf778",
+ "id": "94ea5f1c.00084",
"type": "save",
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 2713,
- "y": 1957,
- "z": "ab59e982.86c81",
+ "x": 2757.566650390625,
+ "y": 1971.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "6754cf0f.d24068"
+ "ee79eb28.dfce98"
]
]
},
{
- "id": "6754cf0f.d24068",
+ "id": "ee79eb28.dfce98",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3017,
- "y": 1954,
- "z": "ab59e982.86c81",
+ "x": 3061.566650390625,
+ "y": 1968.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "a854224c.98a058"
+ "cd827e2b.fca8e"
]
]
},
{
- "id": "a854224c.98a058",
+ "id": "cd827e2b.fca8e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3167.5,
- "y": 1961.25390625,
- "z": "ab59e982.86c81",
+ "x": 3212.066650390625,
+ "y": 1975.820571899414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "87b5ce3b.8ef938",
+ "id": "6a2d9e1e.0984a",
"type": "execute",
"name": "execute UUID generator for connectivity domain otnidx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2007,
- "y": 1570,
- "z": "ab59e982.86c81",
+ "x": 2051.566650390625,
+ "y": 1584.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "6a69c0c.0beb14",
+ "id": "6f0be409.bf59b4",
"type": "save",
"name": "save connectivity resource in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 1945,
- "y": 1620,
- "z": "ab59e982.86c81",
+ "x": 1989.566650390625,
+ "y": 1634.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "a4e3ab7a.498dc8",
+ "id": "f8e04437.c053b8",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2046,
- "y": 1665,
- "z": "ab59e982.86c81",
+ "x": 2090.566650390625,
+ "y": 1679.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "909dac00.1cdf4",
+ "id": "83b33842.f7a008",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 2082,
- "y": 1719,
- "z": "ab59e982.86c81",
+ "x": 2126.566650390625,
+ "y": 1733.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "30650806.4cf508",
+ "id": "665710a0.10b6d",
"type": "save",
"name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 2050,
- "y": 1778,
- "z": "ab59e982.86c81",
+ "x": 2094.566650390625,
+ "y": 1792.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "a06d70ba.206bf",
+ "id": "50815aa.2966624",
"type": "comment",
"name": "find middle-man's eth-srv-name",
"info": "",
"comments": "",
- "x": 1508,
- "y": 1394,
- "z": "ab59e982.86c81",
+ "x": 1552.566650390625,
+ "y": 1408.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "6cd61101.45105",
+ "id": "4be74bfa.e8a9a4",
"type": "set",
"name": "set prop.ethernet-service-name",
"xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",
"comments": "",
- "x": 1530,
- "y": 1438,
- "z": "ab59e982.86c81",
+ "x": 1574.566650390625,
+ "y": 1452.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "78936cec.4008d4",
+ "id": "7bee4ebc.b72be8",
"type": "save",
"name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />",
"comments": "",
"outputs": 1,
- "x": 2737,
- "y": 2174,
- "z": "ab59e982.86c81",
+ "x": 2781.566650390625,
+ "y": 2188.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "8c815ed6.372fa",
+ "id": "2dce7211.24f81e",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 2768,
- "y": 2213,
- "z": "ab59e982.86c81",
+ "x": 2812.566650390625,
+ "y": 2227.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "add6fed7.67e35",
+ "id": "90bd55a8.2fdfb",
"type": "save",
"name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />",
"comments": "",
"outputs": 1,
- "x": 2739,
- "y": 2286,
- "z": "ab59e982.86c81",
+ "x": 2783.566650390625,
+ "y": 2300.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "8ad8acf7.e8e67",
+ "id": "7a94ba19.d3678c",
"type": "comment",
"name": "update the founded connectivity to have a new coupling-flag",
"info": "",
"comments": "",
- "x": 2709,
- "y": 2002,
- "z": "ab59e982.86c81",
+ "x": 2753.566650390625,
+ "y": 2016.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "8ca2b693.c50608",
+ "id": "1f39716d.08bb37",
"type": "set",
"name": "set newFlag",
"xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n $tmp.srcTtpdstTtpPair`\" />\n\n\n",
"comments": "",
- "x": 2595,
- "y": 2041,
- "z": "ab59e982.86c81",
+ "x": 2639.566650390625,
+ "y": 2055.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "9f51b095.94fd08",
+ "id": "966d5b58.b138c",
"type": "save",
"name": "update connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='coupling-flag' value='`$tmp.newFlag`' />\n",
"comments": "",
"outputs": 1,
- "x": 2659,
- "y": 2086,
- "z": "ab59e982.86c81",
+ "x": 2703.566650390625,
+ "y": 2100.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "58d04196.f5778",
+ "id": "3ca218f1.e24728",
"type": "comment",
"name": "the following two relationships should have already been there; if not => error",
"info": "",
"comments": "",
- "x": 2751,
- "y": 2136,
- "z": "ab59e982.86c81",
+ "x": 2795.566650390625,
+ "y": 2150.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "832e8c75.f85478",
+ "id": "533f0d90.da6154",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1737,
- "y": 1503,
- "z": "ab59e982.86c81",
+ "x": 1781.566650390625,
+ "y": 1517.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "570cc158.1e1d08",
- "87b5ce3b.8ef938",
- "6a69c0c.0beb14",
- "a4e3ab7a.498dc8",
- "909dac00.1cdf4",
- "30650806.4cf508"
+ "298356b2.691352",
+ "6a2d9e1e.0984a",
+ "6f0be409.bf59b4",
+ "f8e04437.c053b8",
+ "83b33842.f7a008",
+ "665710a0.10b6d"
]
]
},
{
- "id": "7342444f.5f3ea4",
+ "id": "a1f3f094.cf6868",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1599,
- "y": 1499,
- "z": "ab59e982.86c81",
+ "x": 1643.566650390625,
+ "y": 1513.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "832e8c75.f85478"
+ "533f0d90.da6154"
]
]
},
{
- "id": "27e9b59e.2795c2",
+ "id": "877d2c40.229dc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2397,
- "y": 1966,
- "z": "ab59e982.86c81",
+ "x": 2441.566650390625,
+ "y": 1980.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "82bc647c.2cf778",
- "8ca2b693.c50608",
- "9f51b095.94fd08",
- "add6fed7.67e35"
+ "94ea5f1c.00084",
+ "1f39716d.08bb37",
+ "966d5b58.b138c",
+ "90bd55a8.2fdfb"
]
]
},
{
- "id": "ddcfbda0.672cc",
+ "id": "921c2635.2657",
"type": "comment",
"name": "loop through the relationships of this founded connectivity, then",
"info": "then find the vpn-binding that has same src ttp and dst ttp as this one",
"comments": "",
- "x": 2402,
- "y": 2391,
- "z": "ab59e982.86c81",
+ "x": 2446.566650390625,
+ "y": 2405.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "86c04fbf.f3fdf8",
+ "id": "2a3dc4da.d825f4",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2744,
- "y": 2427,
- "z": "ab59e982.86c81",
+ "x": 2788.566650390625,
+ "y": 2441.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "d9d55075.06cb88"
+ "736b385a.35da7"
]
]
},
{
- "id": "d9d55075.06cb88",
+ "id": "736b385a.35da7",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2956,
- "y": 2425,
- "z": "ab59e982.86c81",
+ "x": 3000.566650390625,
+ "y": 2439.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "b5809f3c.79c17"
+ "e66ec218.e79bc"
]
]
},
{
- "id": "b5809f3c.79c17",
+ "id": "e66ec218.e79bc",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 3140,
- "y": 2423,
- "z": "ab59e982.86c81",
+ "x": 3184.566650390625,
+ "y": 2437.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "17f341d4.56b9ee"
+ "8c204db5.df1ea"
]
]
},
{
- "id": "17f341d4.56b9ee",
+ "id": "8c204db5.df1ea",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3319,
- "y": 2428,
- "z": "ab59e982.86c81",
+ "x": 3363.566650390625,
+ "y": 2442.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "77bff99b.403968",
- "813820e1.d9db2"
+ "750b8345.e6107c",
+ "b2411873.31b798"
]
]
},
{
- "id": "813820e1.d9db2",
+ "id": "b2411873.31b798",
"type": "set",
"name": "unset tmp.aai.vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
"comments": "",
- "x": 3536,
- "y": 2359,
- "z": "ab59e982.86c81",
+ "x": 3580.566650390625,
+ "y": 2373.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "77bff99b.403968",
+ "id": "750b8345.e6107c",
"type": "save",
"name": "get vpn-binding from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$tcridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
"comments": "",
"outputs": 1,
- "x": 3529,
- "y": 2445,
- "z": "ab59e982.86c81",
+ "x": 3573.566650390625,
+ "y": 2459.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "574e7a35.7acb64",
- "72ff429d.0f84dc",
- "d88724e6.b16bd8"
+ "bdf485ca.827e58",
+ "ed90443b.6fe53",
+ "a94ce9b.8c46898"
]
]
},
{
- "id": "72ff429d.0f84dc",
+ "id": "ed90443b.6fe53",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3742.490966796875,
- "y": 2429.5740356445312,
- "z": "ab59e982.86c81",
+ "x": 3787.0576171875,
+ "y": 2444.1407012939453,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "47df6bef.c00ec4"
+ "1ae663bf.60e5d4"
]
]
},
{
- "id": "47df6bef.c00ec4",
+ "id": "1ae663bf.60e5d4",
"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": 3905.0625,
- "y": 2428.8597412109375,
- "z": "ab59e982.86c81",
+ "x": 3949.629150390625,
+ "y": 2443.4264068603516,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "25a6a90d.740966",
+ "id": "4b566804.b29878",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3906,
- "y": 2474,
- "z": "ab59e982.86c81",
+ "x": 3950.566650390625,
+ "y": 2488.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "d88724e6.b16bd8",
+ "id": "a94ce9b.8c46898",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3738,
- "y": 2474,
- "z": "ab59e982.86c81",
+ "x": 3782.566650390625,
+ "y": 2488.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "25a6a90d.740966"
+ "4b566804.b29878"
]
]
},
{
- "id": "574e7a35.7acb64",
+ "id": "bdf485ca.827e58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3740,
- "y": 2534,
- "z": "ab59e982.86c81",
+ "x": 3784.566650390625,
+ "y": 2548.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "fafaf735.33502"
+ "e92643e6.dea4d"
]
]
},
{
- "id": "fafaf735.33502",
+ "id": "e92643e6.dea4d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3909,
- "y": 2533,
- "z": "ab59e982.86c81",
+ "x": 3953.566650390625,
+ "y": 2547.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "dbd3b6f8.ffc688"
+ "8f8a5cb3.af8a3"
]
]
},
{
- "id": "7ecab95b.cd5a18",
+ "id": "7733ea37.676d94",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2533,
- "y": 2425,
- "z": "ab59e982.86c81",
+ "x": 2577.566650390625,
+ "y": 2439.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "86c04fbf.f3fdf8",
- "3d93e24d.201056",
- "18210d7a.52f32b"
+ "2a3dc4da.d825f4",
+ "9b2ffd1b.3a96e",
+ "6fbcac88.0e9a54"
]
]
},
{
- "id": "dbd3b6f8.ffc688",
+ "id": "8f8a5cb3.af8a3",
"type": "switchNode",
"name": "switch srcTtp",
"xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 4108,
- "y": 2534,
- "z": "ab59e982.86c81",
+ "x": 4152.566650390625,
+ "y": 2548.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "f13865e2.850a98"
+ "bc9f47cc.0b96"
]
]
},
{
- "id": "f13865e2.850a98",
+ "id": "bc9f47cc.0b96",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4271,
- "y": 2532,
- "z": "ab59e982.86c81",
+ "x": 4315.566650390625,
+ "y": 2546.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "9cbb1279.26e6c"
+ "566fa06e.e1e238"
]
]
},
{
- "id": "9cbb1279.26e6c",
+ "id": "566fa06e.e1e238",
"type": "switchNode",
"name": "switch dstTtp",
"xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 4452,
- "y": 2532,
- "z": "ab59e982.86c81",
+ "x": 4496.566650390625,
+ "y": 2546.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "9f041833.a96178"
+ "f4daf0bd.af9d9"
]
]
},
{
- "id": "9f041833.a96178",
+ "id": "f4daf0bd.af9d9",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4615,
- "y": 2530,
- "z": "ab59e982.86c81",
+ "x": 4659.566650390625,
+ "y": 2544.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "7a99f43e.47072c"
+ "c0c49b50.2a7748"
]
]
},
{
- "id": "3d307538.ff5302",
+ "id": "562992d6.b870dc",
"type": "set",
"name": "set tmp.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",
"comments": "",
- "x": 4972,
- "y": 2537,
- "z": "ab59e982.86c81",
+ "x": 5016.566650390625,
+ "y": 2551.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "7a99f43e.47072c",
+ "id": "c0c49b50.2a7748",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4754,
- "y": 2529,
- "z": "ab59e982.86c81",
+ "x": 4798.566650390625,
+ "y": 2543.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "3d307538.ff5302",
- "9c163e19.5e2778"
+ "562992d6.b870dc",
+ "10659fb.a744fe"
]
]
},
{
- "id": "9c163e19.5e2778",
+ "id": "10659fb.a744fe",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4918,
- "y": 2581,
- "z": "ab59e982.86c81",
+ "x": 4962.566650390625,
+ "y": 2595.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "3d93e24d.201056",
+ "id": "9b2ffd1b.3a96e",
"type": "set",
"name": "unset tmp.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",
"comments": "",
- "x": 2754,
- "y": 2388,
- "z": "ab59e982.86c81",
+ "x": 2798.566650390625,
+ "y": 2402.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "ad919177.04496",
+ "id": "9d592730.4455b8",
"type": "comment",
"name": "increase the bw of the-vpn-binding and change status to modified",
"info": "increase the bw of the-vpn-binding\nchange status to modified\n",
"comments": "",
- "x": 2843,
- "y": 2562,
- "z": "ab59e982.86c81",
+ "x": 2887.566650390625,
+ "y": 2576.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "18210d7a.52f32b",
+ "id": "6fbcac88.0e9a54",
"type": "save",
"name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`($tmp.the-vpn-binding.customer-vpn-id + $gfp)`' />\n\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2813,
- "y": 2622,
- "z": "ab59e982.86c81",
+ "x": 2857.566650390625,
+ "y": 2636.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "af2be5de.84caa8",
+ "id": "5d4c8b88.6ea084",
"type": "switchNode",
"name": "switch otninfoProtect exists",
"xml": "<switch test=\"`$tmp.otninfoProtect_length > 0`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 579.1166381835938,
- "y": 2488,
- "z": "ab59e982.86c81",
+ "x": 623.6832885742188,
+ "y": 2502.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "bdb88dff.a2cfc8"
+ "b304b119.fc6c6"
]
]
},
{
- "id": "bdb88dff.a2cfc8",
+ "id": "b304b119.fc6c6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 800.1166381835938,
- "y": 2489,
- "z": "ab59e982.86c81",
+ "x": 844.6832885742188,
+ "y": 2503.566665649414,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "62f58207.69b144"
+ "929a93b0.fb26e"
]
]
},
{
- "id": "4da32200.1a505",
+ "id": "1365d05a.43ccb8",
"type": "for",
"name": "for vidx..tmp.otninfoProtect_length[]",
"xml": "<for index='otnidx' start='0' end='`$tmp.otninfoProtect_length`' >",
"comments": "",
"outputs": 1,
- "x": 615.6666870117188,
- "y": 3269.89990234375,
- "z": "ab59e982.86c81",
+ "x": 660.2333374023438,
+ "y": 3284.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "78d123a7.ebdd04"
+ "d491584d.33cd28"
]
]
},
{
- "id": "78d123a7.ebdd04",
+ "id": "d491584d.33cd28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 875.6666564941406,
- "y": 3262.89990234375,
- "z": "ab59e982.86c81",
+ "x": 920.2333068847656,
+ "y": 3277.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "655b0cf9.434f14",
- "2cbd342f.008e4c",
- "af443653.16e2a",
- "b4328c41.7c5e68",
- "54752c5a.7588d4",
- "88c79ac5.392298",
- "f442f477.1b9ac",
- "1b1a37df.8ffb38",
- "40d5cce.138f1b4",
- "17ca39fd.1576de"
+ "252a570f.f396c8",
+ "f0403523.cecec",
+ "53ad6d75.3e9854",
+ "61d4cb78.58331c",
+ "d81f3e39.a99398",
+ "57f2e473.517f54",
+ "c1b2a740.d37fa",
+ "34621460.796344",
+ "5ed2002c.80ebf8",
+ "6dfdf88f.4bb6c"
]
]
},
{
- "id": "2cbd342f.008e4c",
+ "id": "f0403523.cecec",
"type": "switchNode",
"name": "switch dstPort == NULL",
"xml": "<switch test=\"`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1264.6666870117188,
- "y": 2931.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1309.2333374023438,
+ "y": 2946.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "390f0f63.f5713",
- "a481fb54.252848"
+ "a19e39b9.f8da1",
+ "f567fdff.bdc4a8"
]
]
},
{
- "id": "a481fb54.252848",
+ "id": "f567fdff.bdc4a8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1631.6666870117188,
- "y": 2938.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1676.2333374023438,
+ "y": 2953.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "accd9965.551cc"
+ "4918f2b6.cf40ac"
]
]
},
{
- "id": "accd9965.551cc",
+ "id": "4918f2b6.cf40ac",
"type": "set",
"name": "set access-provider-id and client-id",
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />\n",
"comments": "",
- "x": 1842.6666870117188,
- "y": 2936.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1887.2333374023438,
+ "y": 2951.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "af443653.16e2a",
+ "id": "53ad6d75.3e9854",
"type": "set",
"name": "set srcdstpnf-name",
"xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",
"comments": "",
- "x": 1440.6666870117188,
- "y": 3005.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1485.2333374023438,
+ "y": 3020.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "b4328c41.7c5e68",
+ "id": "61d4cb78.58331c",
"type": "get-resource",
"name": "get-resource tmp.srcdstpnf-name",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
"comments": "",
"outputs": 1,
- "x": 1484.6666870117188,
- "y": 3053.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1529.2333374023438,
+ "y": 3068.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "2ab1cad2.cc8df6",
- "95061116.66953",
- "d118596c.c8a1b"
+ "c8e35acd.0cd338",
+ "1a3bc3e9.de0b6c",
+ "d9c66705.f174c8"
]
]
},
{
- "id": "2ab1cad2.cc8df6",
+ "id": "c8e35acd.0cd338",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1697.1666870117188,
- "y": 3000.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1741.7333374023438,
+ "y": 3015.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "9a46b094.250a1"
+ "b0542ad9.f9bdf8"
]
]
},
{
- "id": "95061116.66953",
+ "id": "1a3bc3e9.de0b6c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1709.1666870117188,
- "y": 3050.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1753.7333374023438,
+ "y": 3065.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "a8bbbf3c.490288"
+ "6126bc5c.e48684"
]
]
},
{
- "id": "d118596c.c8a1b",
+ "id": "d9c66705.f174c8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1700.1666870117188,
- "y": 3105.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1744.7333374023438,
+ "y": 3120.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "c4cf4a50.357dd"
+ "bc3263f3.ac82e"
]
]
},
{
- "id": "c4cf4a50.357dd",
+ "id": "bc3263f3.ac82e",
"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": 1845.1666870117188,
- "y": 3104.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1889.7333374023438,
+ "y": 3119.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "a8bbbf3c.490288",
+ "id": "6126bc5c.e48684",
"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": 1856.1666870117188,
- "y": 3047.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1900.7333374023438,
+ "y": 3062.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "9a46b094.250a1",
+ "id": "b0542ad9.f9bdf8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1822.5491333007812,
- "y": 2994.5555725097656,
- "z": "ab59e982.86c81",
+ "x": 1867.1157836914062,
+ "y": 3009.1222381591797,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "8c15c7c0.68b978"
+ "fcdf9d8b.4643d"
]
]
},
{
- "id": "8c15c7c0.68b978",
+ "id": "fcdf9d8b.4643d",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1983.6666870117188,
- "y": 3008.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2028.2333374023438,
+ "y": 3023.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "a8c602fe.1de83"
+ "d8f6f412.7d192"
]
]
},
{
- "id": "a8c602fe.1de83",
+ "id": "d8f6f412.7d192",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2178.6666870117188,
- "y": 3008.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2223.2333374023438,
+ "y": 3023.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "92605acf.b6eae"
+ "513cd183.70a36"
]
]
},
{
- "id": "3d5fc5da.8209c2",
+ "id": "16c3d135.367537",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2558.6666870117188,
- "y": 3004.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2603.2333374023438,
+ "y": 3019.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "f1e62050.aa9b48",
- "142adcaa.53768b"
+ "8f09a3ce.bb8bc8",
+ "42328e66.9a179"
]
]
},
{
- "id": "142adcaa.53768b",
+ "id": "42328e66.9a179",
"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.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",
"comments": "",
"outputs": 1,
- "x": 2766.6666870117188,
- "y": 3011.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2811.2333374023438,
+ "y": 3026.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "b0f57546.a572f8",
- "f4d8ee18.503d6",
- "6cf185fa.032e7c"
+ "2a95e8b.71c7818",
+ "8cd4441d.84eb48",
+ "2f9a0731.3058d8"
]
]
},
{
- "id": "f1e62050.aa9b48",
+ "id": "8f09a3ce.bb8bc8",
"type": "set",
"name": "set esr-thirdparty-sdnc domainG id",
"xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 2796.6666870117188,
- "y": 2959.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2841.2333374023438,
+ "y": 2974.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "b0f57546.a572f8",
+ "id": "2a95e8b.71c7818",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2976.6666870117188,
- "y": 3002.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3021.2333374023438,
+ "y": 3017.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "8af042ca.abce2"
+ "bb0632bc.6bdea8"
]
]
},
{
- "id": "f4d8ee18.503d6",
+ "id": "8cd4441d.84eb48",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2968.6666870117188,
- "y": 3057.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3013.2333374023438,
+ "y": 3072.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "14e1063f.bcaa12"
+ "fee906e6.a31e28"
]
]
},
{
- "id": "6cf185fa.032e7c",
+ "id": "2f9a0731.3058d8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2973.6666870117188,
- "y": 3114.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3018.2333374023438,
+ "y": 3129.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "88d269ff.2a4e78"
+ "b7732316.bbeb1"
]
]
},
{
- "id": "88d269ff.2a4e78",
+ "id": "b7732316.bbeb1",
"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": 3125.6666870117188,
- "y": 3115.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3170.2333374023438,
+ "y": 3130.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "14e1063f.bcaa12",
+ "id": "fee906e6.a31e28",
"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": 3136.6666870117188,
- "y": 3060.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3181.2333374023438,
+ "y": 3075.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "8af042ca.abce2",
+ "id": "bb0632bc.6bdea8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3121.0490112304688,
- "y": 3000.5555725097656,
- "z": "ab59e982.86c81",
+ "x": 3165.6156616210938,
+ "y": 3015.1222381591797,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "6ee06c7f.e87634"
+ "f496005b.73025"
]
]
},
{
- "id": "92605acf.b6eae",
+ "id": "513cd183.70a36",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2381.6666870117188,
- "y": 3012.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2426.2333374023438,
+ "y": 3027.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "3d5fc5da.8209c2"
+ "16c3d135.367537"
]
]
},
{
- "id": "6ee06c7f.e87634",
+ "id": "f496005b.73025",
"type": "set",
"name": "set controller domainA data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.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": 3335.6666870117188,
- "y": 2996.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3380.2333374023438,
+ "y": 3011.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "54752c5a.7588d4",
+ "id": "d81f3e39.a99398",
"type": "switchNode",
"name": "switch dmnsidx == 0 (domainA)",
"xml": "<switch test='`$otnidx == 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 1454.6666870117188,
- "y": 3222.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1499.2333374023438,
+ "y": 3237.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "a23826d9.6cbf8",
- "ca79965c.c43c5"
+ "f53e378b.14151",
+ "e638c491.631368"
]
]
},
{
- "id": "a23826d9.6cbf8",
+ "id": "f53e378b.14151",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1655.6666870117188,
- "y": 3220.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1700.2333374023438,
+ "y": 3235.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "1188399c.8e417e"
+ "7fd6322b.5362bc"
]
]
},
{
- "id": "5f0d00e5.7b1628",
+ "id": "f8356e69.4561c",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 1936.6666870117188,
- "y": 3170.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1981.2333374023438,
+ "y": 3185.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "f4e7389.48dcac8",
+ "id": "4191bf2c.16bd58",
"type": "switchNode",
"name": "switch dmnsidx == last (domainC)",
"xml": "<switch test='`$otnidx == $tmp.otninfoProtect_length - 1`'>\n",
"comments": "",
"outputs": 1,
- "x": 1872.6666870117188,
- "y": 3271.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1917.2333374023438,
+ "y": 3286.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "1eeda518.bbd863",
- "25bb7e68.eed552"
+ "93d13951.14dd18",
+ "fa75dc08.2eaf8"
]
]
},
{
- "id": "1eeda518.bbd863",
+ "id": "93d13951.14dd18",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2102.6666870117188,
- "y": 3267.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2147.2333374023438,
+ "y": 3282.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "19cc5bd6.d13bb4"
+ "8d4bef0b.6a0fe8"
]
]
},
{
- "id": "ca79965c.c43c5",
+ "id": "e638c491.631368",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1655.6666870117188,
- "y": 3269.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1700.2333374023438,
+ "y": 3284.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "f4e7389.48dcac8"
+ "4191bf2c.16bd58"
]
]
},
{
- "id": "25bb7e68.eed552",
+ "id": "fa75dc08.2eaf8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2103.6666870117188,
- "y": 3313.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2148.2333374023438,
+ "y": 3328.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "ff457a93.22142"
+ "5bb88da7.4d8694"
]
]
},
{
- "id": "ff457a93.22142",
+ "id": "5bb88da7.4d8694",
"type": "set",
"name": "set attachment_param domain G",
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />",
"comments": "",
- "x": 2317.6666870117188,
- "y": 3313.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2362.2333374023438,
+ "y": 3328.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "a5bfc25b.24a798",
+ "id": "6729c928.c3b6c",
"type": "set",
"name": "set attachment_param domain A",
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />",
"comments": "",
- "x": 1991.6666870117188,
- "y": 3217.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2036.2333374023438,
+ "y": 3232.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "1188399c.8e417e",
+ "id": "7fd6322b.5362bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1779.6666870117188,
- "y": 3211.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1824.2333374023438,
+ "y": 3226.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "a5bfc25b.24a798"
+ "6729c928.c3b6c"
]
]
},
{
- "id": "19cc5bd6.d13bb4",
+ "id": "8d4bef0b.6a0fe8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2235.6666870117188,
- "y": 3243.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2280.2333374023438,
+ "y": 3258.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "ecfd7b03.8cb46"
+ "e3feca80.0e5828"
]
]
},
{
- "id": "f9df9d2f.f6b57",
+ "id": "e95f7eb5.2af0b8",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 2391.6666870117188,
- "y": 3259.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2436.2333374023438,
+ "y": 3274.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "ecfd7b03.8cb46",
+ "id": "e3feca80.0e5828",
"type": "set",
"name": "set attachment_param domain C",
"xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />",
"comments": "",
- "x": 2439.6666870117188,
- "y": 3211.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2484.2333374023438,
+ "y": 3226.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "88c79ac5.392298",
+ "id": "57f2e473.517f54",
"type": "set",
"name": "set srcTtp+dstTtp pair",
"xml": "<set>\n<parameter name='tmp.srcTtpdstTtpPair' value=\"`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id + ',' +\n $tmp.otninfootninfoProtect.dstPort.dst-tunnel-tp-id`\" />\n\n\n",
"comments": "",
- "x": 1430.6666870117188,
- "y": 3302.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1475.2333374023438,
+ "y": 3317.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "1b1a37df.8ffb38",
+ "id": "34621460.796344",
"type": "call",
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1622.6666564941406,
- "y": 3400.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1667.2333068847656,
+ "y": 3415.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "f442f477.1b9ac",
+ "id": "c1b2a740.d37fa",
"type": "set",
"name": "set current-provider-id and current-cvlan-id",
"xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n",
"comments": "",
- "x": 1494.6666870117188,
- "y": 3353.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1539.2333374023438,
+ "y": 3368.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "40d5cce.138f1b4",
+ "id": "5ed2002c.80ebf8",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1303.6666870117188,
- "y": 3554.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1348.2333374023438,
+ "y": 3569.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "e841833f.a5b018",
- "1d9dc789.fabfa"
+ "3ba1da7b.60657e",
+ "5bde363c.523c48"
]
]
},
{
- "id": "e841833f.a5b018",
+ "id": "3ba1da7b.60657e",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1589.6666870117188,
- "y": 4373.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1634.2333374023438,
+ "y": 4388.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "5f9745ba.8cabdc"
+ "c5f8d573.741818"
]
]
},
{
- "id": "40e5d82c.0988c",
+ "id": "cfba9c01.06834",
"type": "comment",
"name": "call string.contains to check if the cache has srcTtpdstTtpPair",
"info": "if it had: then no new otn/vpn-binding is needed\n ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.",
"comments": "",
- "x": 2015.6666870117188,
- "y": 4318.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2060.2333374023438,
+ "y": 4333.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "37b719a7.3177d6",
+ "id": "d5ee8376.6d7b3",
"type": "comment",
"name": "create a new connectivity - (for dummy connectivity)",
"info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance",
"comments": "",
- "x": 1882.6666564941406,
- "y": 3516.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1927.2333068847656,
+ "y": 3531.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "f0f8f4ff.e42fa",
+ "id": "7d7a6dc.ff5ab14",
"type": "save",
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 1929.6666870117188,
- "y": 3566.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1974.2333374023438,
+ "y": 3581.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "37e8875.87c3378"
+ "770ec83d.f5f698"
]
]
},
{
- "id": "37e8875.87c3378",
+ "id": "770ec83d.f5f698",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2217.6666870117188,
- "y": 3567.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2262.2333374023438,
+ "y": 3582.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "90a3277d.c4bfc"
+ "1ea6c507.8eb3c3"
]
]
},
{
- "id": "90a3277d.c4bfc",
+ "id": "1ea6c507.8eb3c3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2401.1666870117188,
- "y": 3566.15380859375,
- "z": "ab59e982.86c81",
+ "x": 2445.7333374023438,
+ "y": 3580.720474243164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "4b046e56.9a1b9",
+ "id": "4b1e068c.b603",
"type": "execute",
"name": "execute string.contains srcTtpdstTtpPair",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n<parameter name=\"source\" value='`$tmp.the-connectivity.coupling-flag`'/>\n<parameter name=\"target\" value=\"`$tmp.srcTtpdstTtpPair`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2003.6666870117188,
- "y": 4370.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2048.2333374023438,
+ "y": 4385.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "779ce37e.93a47c",
- "f1f0cfe.10d413"
+ "fa23bfea.633fa",
+ "5640420c.c8d724"
]
]
},
{
- "id": "779ce37e.93a47c",
+ "id": "fa23bfea.633fa",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2176.6666870117188,
- "y": 4218.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2221.2333374023438,
+ "y": 4233.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "f1f0cfe.10d413",
+ "id": "5640420c.c8d724",
"type": "outcomeFalse",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2208.6666870117188,
- "y": 4477.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2253.2333374023438,
+ "y": 4492.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "9f0cdaa9.449a9"
+ "745b8702.06258"
]
]
},
{
- "id": "58dad5a1.4283d4",
+ "id": "566a0421.e07abc",
"type": "save",
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 2615.6666870117188,
- "y": 4008.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2660.2333374023438,
+ "y": 4023.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "ca0562a9.f9dfa"
+ "e7e1a1af.83dc9"
]
]
},
{
- "id": "ca0562a9.f9dfa",
+ "id": "e7e1a1af.83dc9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2919.6666870117188,
- "y": 4005.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2964.2333374023438,
+ "y": 4020.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "21917e0f.61cb02"
+ "9e39afad.724988"
]
]
},
{
- "id": "21917e0f.61cb02",
+ "id": "9e39afad.724988",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3070.1666870117188,
- "y": 4013.15380859375,
- "z": "ab59e982.86c81",
+ "x": 3114.7333374023438,
+ "y": 4027.720474243164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "c456d560.e56b4",
+ "id": "5fd9a93f.71f3e",
"type": "execute",
"name": "execute UUID generator for connectivity domain otnidx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1909.6666870117188,
- "y": 3621.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1954.2333374023438,
+ "y": 3636.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "1c6b3c2b.a8cfe4",
+ "id": "e99e1220.c8d158",
"type": "save",
"name": "save connectivity resource in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
"comments": "",
"outputs": 1,
- "x": 1847.6666870117188,
- "y": 3671.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1892.2333374023438,
+ "y": 3686.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "883e63bc.f1bf9",
+ "id": "e74eb1dd.b1cce",
"type": "save",
"name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 1948.6666870117188,
- "y": 3716.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1993.2333374023438,
+ "y": 3731.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "67b90a5f.a2bde4",
+ "id": "d069cfb2.559918",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 1984.6666870117188,
- "y": 3770.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2029.2333374023438,
+ "y": 3785.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "44633bde.4c2f24",
+ "id": "db7724b7.c0b95",
"type": "save",
"name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
"comments": "",
"outputs": 1,
- "x": 1952.6666870117188,
- "y": 3829.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1997.2333374023438,
+ "y": 3844.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "ad055e93.cbffc8",
+ "id": "dccc268f.14582",
"type": "comment",
"name": "find middle-man's eth-srv-name",
"info": "",
"comments": "",
- "x": 1410.6666870117188,
- "y": 3445.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1455.2333374023438,
+ "y": 3460.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "17ca39fd.1576de",
+ "id": "6dfdf88f.4bb6c",
"type": "set",
"name": "set prop.ethernet-service-name",
"xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",
"comments": "",
- "x": 1432.6666870117188,
- "y": 3489.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1477.2333374023438,
+ "y": 3504.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "91cb3623.bfa508",
+ "id": "e9be22f5.c3b77",
"type": "save",
"name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />",
"comments": "",
"outputs": 1,
- "x": 2639.6666870117188,
- "y": 4225.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2684.2333374023438,
+ "y": 4240.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "749face3.2a032c",
+ "id": "e3ac7685.f8539",
"type": "save",
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
"comments": "",
"outputs": 1,
- "x": 2670.6666870117188,
- "y": 4264.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2715.2333374023438,
+ "y": 4279.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "d1e29877.e2638",
+ "id": "8511409f.51bd2",
"type": "save",
"name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />",
"comments": "",
"outputs": 1,
- "x": 2641.6666870117188,
- "y": 4337.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2686.2333374023438,
+ "y": 4352.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "ca553073.a3999",
+ "id": "65db0af6.94eaf4",
"type": "comment",
"name": "update the founded connectivity to have a new coupling-flag",
"info": "",
"comments": "",
- "x": 2611.6666870117188,
- "y": 4053.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2656.2333374023438,
+ "y": 4068.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "30b58e5f.9a5412",
+ "id": "537df036.3150f",
"type": "set",
"name": "set newFlag",
"xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n $tmp.srcTtpdstTtpPair`\" />\n\n\n",
"comments": "",
- "x": 2497.6666870117188,
- "y": 4092.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2542.2333374023438,
+ "y": 4107.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "b32f2c11.a0cbd",
+ "id": "73887d45.2afa44",
"type": "save",
"name": "update connectivity resource in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='coupling-flag' value='`$tmp.newFlag`' />\n",
"comments": "",
"outputs": 1,
- "x": 2561.6666870117188,
- "y": 4137.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2606.2333374023438,
+ "y": 4152.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "b26dba6c.6455b",
+ "id": "442047ec.b76048",
"type": "comment",
"name": "the following two relationships should have already been there; if not => error",
"info": "",
"comments": "",
- "x": 2653.6666870117188,
- "y": 4187.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2698.2333374023438,
+ "y": 4202.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "f615578d.11ca3",
+ "id": "a6868862.e0d7a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1639.6666870117188,
- "y": 3554.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1684.2333374023438,
+ "y": 3569.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "f0f8f4ff.e42fa",
- "c456d560.e56b4",
- "1c6b3c2b.a8cfe4",
- "883e63bc.f1bf9",
- "67b90a5f.a2bde4",
- "44633bde.4c2f24"
+ "7d7a6dc.ff5ab14",
+ "5fd9a93f.71f3e",
+ "e99e1220.c8d158",
+ "e74eb1dd.b1cce",
+ "d069cfb2.559918",
+ "db7724b7.c0b95"
]
]
},
{
- "id": "1d9dc789.fabfa",
+ "id": "5bde363c.523c48",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1501.6666870117188,
- "y": 3550.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1546.2333374023438,
+ "y": 3565.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "f615578d.11ca3"
+ "a6868862.e0d7a8"
]
]
},
{
- "id": "5f9745ba.8cabdc",
+ "id": "c5f8d573.741818",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2299.6666870117188,
- "y": 4017.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2344.2333374023438,
+ "y": 4032.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "58dad5a1.4283d4",
- "30b58e5f.9a5412",
- "b32f2c11.a0cbd",
- "d1e29877.e2638"
+ "566a0421.e07abc",
+ "537df036.3150f",
+ "73887d45.2afa44",
+ "8511409f.51bd2"
]
]
},
{
- "id": "fe407594.64cba8",
+ "id": "8b5f6b52.3288",
"type": "comment",
"name": "loop through the relationships of this founded connectivity, then",
"info": "then find the vpn-binding that has same src ttp and dst ttp as this one",
"comments": "",
- "x": 2304.6666870117188,
- "y": 4442.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2349.2333374023438,
+ "y": 4457.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "c41409e5.b5d3c",
+ "id": "1a02430.b289b3d",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2646.6666870117188,
- "y": 4478.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2691.2333374023438,
+ "y": 4493.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "edec3f37.241e6"
+ "cd907dba.e4d3c8"
]
]
},
{
- "id": "edec3f37.241e6",
+ "id": "cd907dba.e4d3c8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2858.6666870117188,
- "y": 4476.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2903.2333374023438,
+ "y": 4491.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "1919beb6.7cb971"
+ "20ed8870.8c9e9"
]
]
},
{
- "id": "1919beb6.7cb971",
+ "id": "20ed8870.8c9e9",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 3042.6666870117188,
- "y": 4474.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3087.2333374023438,
+ "y": 4489.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "df4bf19a.978d2"
+ "3940766f.dd75d2"
]
]
},
{
- "id": "df4bf19a.978d2",
+ "id": "3940766f.dd75d2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3221.6666870117188,
- "y": 4479.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3266.2333374023438,
+ "y": 4494.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "89ff485c.8db648",
- "2bf1f71c.a919d"
+ "de8d19cf.e0eb38",
+ "501e7414.822a34"
]
]
},
{
- "id": "2bf1f71c.a919d",
+ "id": "501e7414.822a34",
"type": "set",
"name": "unset tmp.aai.vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
"comments": "",
- "x": 3438.6666870117188,
- "y": 4410.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3483.2333374023438,
+ "y": 4425.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "89ff485c.8db648",
+ "id": "de8d19cf.e0eb38",
"type": "save",
"name": "get vpn-binding from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$tcridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
"comments": "",
"outputs": 1,
- "x": 3431.6666870117188,
- "y": 4496.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3476.2333374023438,
+ "y": 4511.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "5ee5ca48.dc9864",
- "e1c034fb.99a648",
- "c5ac5c6f.6f9258"
+ "fabce7f.821b298",
+ "84c19fc0.ef7ad8",
+ "d8007fa7.e96748"
]
]
},
{
- "id": "e1c034fb.99a648",
+ "id": "84c19fc0.ef7ad8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3645.1576538085938,
- "y": 4481.473937988281,
- "z": "ab59e982.86c81",
+ "x": 3689.7243041992188,
+ "y": 4496.040603637695,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "6e271c06.d0d73c"
+ "ab7f4c85.a03338"
]
]
},
{
- "id": "6e271c06.d0d73c",
+ "id": "ab7f4c85.a03338",
"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": 3807.7291870117188,
- "y": 4480.7596435546875,
- "z": "ab59e982.86c81",
+ "x": 3852.2958374023438,
+ "y": 4495.326309204102,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "38e2891f.3394ee",
+ "id": "c7bb2a00.8d6e3",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3808.6666870117188,
- "y": 4525.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3853.2333374023438,
+ "y": 4540.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "c5ac5c6f.6f9258",
+ "id": "d8007fa7.e96748",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3640.6666870117188,
- "y": 4525.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3685.2333374023438,
+ "y": 4540.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "38e2891f.3394ee"
+ "c7bb2a00.8d6e3"
]
]
},
{
- "id": "5ee5ca48.dc9864",
+ "id": "fabce7f.821b298",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3642.6666870117188,
- "y": 4585.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3687.2333374023438,
+ "y": 4600.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "e13c4300.ac87f"
+ "44bdcb57.5d1c04"
]
]
},
{
- "id": "e13c4300.ac87f",
+ "id": "44bdcb57.5d1c04",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3811.6666870117188,
- "y": 4584.89990234375,
- "z": "ab59e982.86c81",
+ "x": 3856.2333374023438,
+ "y": 4599.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "3fedffc1.068a9"
+ "ab8a9481.ed1188"
]
]
},
{
- "id": "9f0cdaa9.449a9",
+ "id": "745b8702.06258",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2435.6666870117188,
- "y": 4476.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2480.2333374023438,
+ "y": 4491.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "c41409e5.b5d3c",
- "ef03524f.322ab",
- "a41cf4f1.35b988"
+ "1a02430.b289b3d",
+ "b7b42ab.e3d1558",
+ "e37b8cbd.aee6b8"
]
]
},
{
- "id": "3fedffc1.068a9",
+ "id": "ab8a9481.ed1188",
"type": "switchNode",
"name": "switch srcTtp",
"xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 4010.6666870117188,
- "y": 4585.89990234375,
- "z": "ab59e982.86c81",
+ "x": 4055.2333374023438,
+ "y": 4600.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "46797ae5.8f5fdc"
+ "b7cd5564.ed6c"
]
]
},
{
- "id": "46797ae5.8f5fdc",
+ "id": "b7cd5564.ed6c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4173.666687011719,
- "y": 4583.89990234375,
- "z": "ab59e982.86c81",
+ "x": 4218.233337402344,
+ "y": 4598.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "26801daf.757d4a"
+ "ccabadec.a87d08"
]
]
},
{
- "id": "26801daf.757d4a",
+ "id": "ccabadec.a87d08",
"type": "switchNode",
"name": "switch dstTtp",
"xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 4354.666687011719,
- "y": 4583.89990234375,
- "z": "ab59e982.86c81",
+ "x": 4399.233337402344,
+ "y": 4598.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "4ecd0d28.02b6dc"
+ "61252d2.f400154"
]
]
},
{
- "id": "4ecd0d28.02b6dc",
+ "id": "61252d2.f400154",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4517.666687011719,
- "y": 4581.89990234375,
- "z": "ab59e982.86c81",
+ "x": 4562.233337402344,
+ "y": 4596.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "2b446601.7eb632"
+ "c33d2a30.0a34e8"
]
]
},
{
- "id": "efbe91c3.9535c8",
+ "id": "73039273.69e874",
"type": "set",
"name": "set tmp.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",
"comments": "",
- "x": 4874.666687011719,
- "y": 4588.89990234375,
- "z": "ab59e982.86c81",
+ "x": 4919.233337402344,
+ "y": 4603.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "2b446601.7eb632",
+ "id": "c33d2a30.0a34e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4656.666687011719,
- "y": 4580.89990234375,
- "z": "ab59e982.86c81",
+ "x": 4701.233337402344,
+ "y": 4595.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "efbe91c3.9535c8",
- "1b35126e.c915be"
+ "73039273.69e874",
+ "9503d547.7a1c98"
]
]
},
{
- "id": "1b35126e.c915be",
+ "id": "9503d547.7a1c98",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4820.666687011719,
- "y": 4632.89990234375,
- "z": "ab59e982.86c81",
+ "x": 4865.233337402344,
+ "y": 4647.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "ef03524f.322ab",
+ "id": "b7b42ab.e3d1558",
"type": "set",
"name": "unset tmp.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",
"comments": "",
- "x": 2656.6666870117188,
- "y": 4439.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2701.2333374023438,
+ "y": 4454.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "bb2c64f6.a88498",
+ "id": "d737e9cc.f602b8",
"type": "comment",
"name": "increase the bw of the-vpn-binding and change status to modified",
"info": "increase the bw of the-vpn-binding\nchange status to modified\n",
"comments": "",
- "x": 2745.6666870117188,
- "y": 4613.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2790.2333374023438,
+ "y": 4628.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "a41cf4f1.35b988",
+ "id": "e37b8cbd.aee6b8",
"type": "save",
"name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`($tmp.the-vpn-binding.customer-vpn-id + $gfp)`' />\n\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2715.6666870117188,
- "y": 4673.89990234375,
- "z": "ab59e982.86c81",
+ "x": 2760.2333374023438,
+ "y": 4688.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "655b0cf9.434f14",
+ "id": "252a570f.f396c8",
"type": "execute",
"name": "execute UUID generator for vpn-binding $otnidx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1550.6666870117188,
- "y": 2841.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1595.2333374023438,
+ "y": 2856.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[]
]
},
{
- "id": "390f0f63.f5713",
+ "id": "a19e39b9.f8da1",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1630.6666870117188,
- "y": 2892.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1675.2333374023438,
+ "y": 2907.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "46e17225.a2db0c"
+ "f653960c.909178"
]
]
},
{
- "id": "46e17225.a2db0c",
+ "id": "f653960c.909178",
"type": "set",
"name": "set access-provider-id and client-id",
"xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n",
"comments": "",
- "x": 1844.6666870117188,
- "y": 2891.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1889.2333374023438,
+ "y": 2906.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "2286c595.dee83a",
+ "id": "8f4a3300.fba8d8",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value='' />\n<parameter name='prop.vpn-binding-otnidx-uuid' value='' />\n<parameter name='tmp.access-provider-id' value='' />\n<parameter name='tmp.access-client-id' value='' />\n<parameter name='tmp.access-topology-id' value='' />\n<parameter name='tmp.srcdstpnf-id' value='' />\n<parameter name='tmp.aai.srcdst-pnf.' value='' />\n<parameter name='tmp.domainG.esr-thirdparty-id' value='' />\n<parameter name='tmp.aai.domainG.esr-thirdparty-sdnc.' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value='' />\n<parameter name='tmp.srcTtpdstTtpPair' value='' />\n\n\n",
"comments": "",
- "x": 1210.5665893554688,
- "y": 2476.89990234375,
- "z": "ab59e982.86c81",
+ "x": 1255.1332397460938,
+ "y": 2491.466567993164,
+ "z": "ba0dc87e.a3b258",
"wires": []
},
{
- "id": "62f58207.69b144",
+ "id": "929a93b0.fb26e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 985.2000122070312,
- "y": 2493.13330078125,
- "z": "ab59e982.86c81",
+ "x": 1029.7666625976562,
+ "y": 2507.699966430664,
+ "z": "ba0dc87e.a3b258",
"wires": [
[
- "2286c595.dee83a",
- "4da32200.1a505"
+ "8f4a3300.fba8d8",
+ "1365d05a.43ccb8"
]
]
}