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 cd4962c2..643abf34 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": "94ab5931.1ae6d",
+ "id": "b2b464d7.ce16c8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 292.566650390625,
- "y": 59.56666564941406,
- "z": "ba0dc87e.a3b258",
+ "x": 255.56666564941406,
+ "y": 78.56666564941406,
+ "z": "2050832.98c01fc",
"wires": [
[
- "1c26c9e8.6ceaee"
+ "ba005c83.b939c"
]
]
},
{
- "id": "1c26c9e8.6ceaee",
+ "id": "ba005c83.b939c",
"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": 576.8523406982422,
- "y": 120.8047742843628,
- "z": "ba0dc87e.a3b258",
+ "x": 539.8523559570312,
+ "y": 139.8047742843628,
+ "z": "2050832.98c01fc",
"wires": [
[
- "23f5599a.c9cd86"
+ "7e8df070.fdf6b"
]
]
},
{
- "id": "23f5599a.c9cd86",
+ "id": "7e8df070.fdf6b",
"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": 492.9952392578125,
- "y": 198.5666961669922,
- "z": "ba0dc87e.a3b258",
+ "x": 455.99525451660156,
+ "y": 217.5666961669922,
+ "z": "2050832.98c01fc",
"wires": [
[
- "dc959d18.681ba8"
+ "85985867.416fd"
]
]
},
{
- "id": "dc959d18.681ba8",
+ "id": "85985867.416fd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 226.8046875,
- "y": 702.2333526611328,
- "z": "ba0dc87e.a3b258",
+ "x": 189.80470275878906,
+ "y": 721.2333526611328,
+ "z": "2050832.98c01fc",
"wires": [
[
- "3133ba0.df70946",
- "a232054c.f7cde",
- "cf7049ac.59d6b8",
- "da9884fe.c1ab2",
- "d00a834c.9393c8",
- "e4a1c30c.a1f11",
- "ed8a3e8e.eba718",
- "5d4c8b88.6ea084"
+ "d05dbda7.cd211",
+ "992a5395.f31118",
+ "e4271cab.c93a2",
+ "45bcd5eb.003ca4",
+ "475897b8.f705c",
+ "364ba6be.e5fa32",
+ "a560d2b.9b8b03",
+ "64dad903.5a2f98"
]
]
},
{
- "id": "3133ba0.df70946",
+ "id": "d05dbda7.cd211",
"type": "set",
"name": "set query_param",
"xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
"comments": "",
- "x": 499.566650390625,
- "y": 656.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 462.56666564941406,
+ "y": 675.5666656494141,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "a232054c.f7cde",
+ "id": "992a5395.f31118",
"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": 720.566650390625,
- "y": 724.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 683.5666656494141,
+ "y": 743.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "cf7049ac.59d6b8",
+ "id": "e4271cab.c93a2",
"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": 510.566650390625,
- "y": 770.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 473.56666564941406,
+ "y": 789.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "e4a1c30c.a1f11",
+ "id": "364ba6be.e5fa32",
"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": 703.566650390625,
- "y": 834.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 666.5666656494141,
+ "y": 853.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "ed8a3e8e.eba718",
+ "id": "a560d2b.9b8b03",
"type": "for",
"name": "for vidx..tmp.otninfo_length[]",
"xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
"comments": "",
"outputs": 1,
- "x": 795.566650390625,
- "y": 1213.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 758.5666656494141,
+ "y": 1232.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "a0634476.d7e6f8"
+ "74538129.24a8e8"
]
]
},
{
- "id": "a0634476.d7e6f8",
+ "id": "74538129.24a8e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1017.5666198730469,
- "y": 1225.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 980.5666351318359,
+ "y": 1244.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "aaab02fa.9f4d88",
- "c83caaf9.d6f6",
- "a09d3d16.a9628",
- "38b6179d.185d98",
- "6e9dd85.efe07a8",
- "ef30d7fa.1abd9",
- "ba078fb1.cbb95",
- "95800647.4aa41",
- "84e1fc7d.aa5158",
- "4be74bfa.e8a9a4"
+ "fd37f729.79d4e8",
+ "ea6cbf13.151c98",
+ "8ceda3a6.204b48",
+ "1013e0e2.7cc397",
+ "90a6c364.46118",
+ "22dcd83c.2b5368",
+ "e09d2c81.71b548",
+ "e150ae4f.8b2e58",
+ "1660b66e.1d0baa",
+ "af14d18e.54c668"
]
]
},
{
- "id": "aaab02fa.9f4d88",
+ "id": "fd37f729.79d4e8",
"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": 1692.566650390625,
- "y": 804.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1655.566665649414,
+ "y": 823.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "c83caaf9.d6f6",
+ "id": "ea6cbf13.151c98",
"type": "switchNode",
"name": "switch dstPort == NULL",
"xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1406.566650390625,
- "y": 894.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1369.566665649414,
+ "y": 913.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "a21a8c5c.c26b18",
- "5ad886dd.89cfc"
+ "56460655.4e95f",
+ "f048ad7d.2b28f8"
]
]
},
{
- "id": "a21a8c5c.c26b18",
+ "id": "56460655.4e95f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1772.566650390625,
- "y": 855.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1735.566665649414,
+ "y": 874.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "492daa68.bf54bc"
+ "4a892274.fb8984"
]
]
},
{
- "id": "5ad886dd.89cfc",
+ "id": "f048ad7d.2b28f8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1773.566650390625,
- "y": 901.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1736.566665649414,
+ "y": 920.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "5f6a6611.d2602"
+ "9be4afb9.f321d"
]
]
},
{
- "id": "492daa68.bf54bc",
+ "id": "4a892274.fb8984",
"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": 1986.566650390625,
- "y": 854.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1949.566665649414,
+ "y": 873.5666656494141,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "5f6a6611.d2602",
+ "id": "9be4afb9.f321d",
"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": 1984.566650390625,
- "y": 899.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1947.566665649414,
+ "y": 918.5666656494141,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "a09d3d16.a9628",
+ "id": "8ceda3a6.204b48",
"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": 1582.566650390625,
- "y": 968.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1545.566665649414,
+ "y": 987.5666656494141,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "38b6179d.185d98",
+ "id": "1013e0e2.7cc397",
"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": 1626.566650390625,
- "y": 1016.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1589.566665649414,
+ "y": 1035.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "1e4fefc4.84dea",
- "140ba84b.114188",
- "5ac6d6d0.fa8f3"
+ "cf3ee2c7.7cc8",
+ "6e4433e1.c3d544",
+ "fc23e91d.8a06b8"
]
]
},
{
- "id": "1e4fefc4.84dea",
+ "id": "cf3ee2c7.7cc8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1839.066650390625,
- "y": 963.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1802.066665649414,
+ "y": 982.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "c513ad5c.67a2a8"
+ "15f4239b.d2dd94"
]
]
},
{
- "id": "140ba84b.114188",
+ "id": "6e4433e1.c3d544",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1851.066650390625,
- "y": 1013.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1814.066665649414,
+ "y": 1032.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "56e61af8.fb0edc"
+ "4f08eef5.3a084"
]
]
},
{
- "id": "5ac6d6d0.fa8f3",
+ "id": "fc23e91d.8a06b8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1842.066650390625,
- "y": 1068.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1805.066665649414,
+ "y": 1087.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "5b77e98c.bb3518"
+ "9e248b49.4b123"
]
]
},
{
- "id": "5b77e98c.bb3518",
+ "id": "9e248b49.4b123",
"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": 1987.066650390625,
- "y": 1067.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1950.066665649414,
+ "y": 1086.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "56e61af8.fb0edc",
+ "id": "4f08eef5.3a084",
"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": 1998.066650390625,
- "y": 1010.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 1961.066665649414,
+ "y": 1029.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "c513ad5c.67a2a8",
+ "id": "15f4239b.d2dd94",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1964.4490966796875,
- "y": 957.2223358154297,
- "z": "ba0dc87e.a3b258",
+ "x": 1927.4491119384766,
+ "y": 976.2223358154297,
+ "z": "2050832.98c01fc",
"wires": [
[
- "e866a3e1.053498"
+ "75b021d3.c00118"
]
]
},
{
- "id": "e866a3e1.053498",
+ "id": "75b021d3.c00118",
"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": 2125.566650390625,
- "y": 971.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 2088.566665649414,
+ "y": 990.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "5690d718.48c698"
+ "b15e9c16.6b681"
]
]
},
{
- "id": "5690d718.48c698",
+ "id": "b15e9c16.6b681",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2320.566650390625,
- "y": 971.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 2283.566665649414,
+ "y": 990.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "f99896f3.a9973"
+ "c6fb39ce.9e60a"
]
]
},
{
- "id": "804d49e5.886028",
+ "id": "30ac35dd.e14312",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2700.566650390625,
- "y": 967.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 2663.566665649414,
+ "y": 986.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "ebd7bd5b.40a158",
- "9cbfb486.1d485"
+ "94cf3038.f341a8",
+ "94b6490f.68e4d"
]
]
},
{
- "id": "9cbfb486.1d485",
+ "id": "94b6490f.68e4d",
"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": 2908.566650390625,
- "y": 974.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 2871.566665649414,
+ "y": 993.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "eb53f24.9c8df9",
- "b699925f.52e788",
- "177a0a75.4ffe3e"
+ "7943f6f7.be2db8",
+ "c75de222.529ce8",
+ "d30226e9.2d3ab"
]
]
},
{
- "id": "ebd7bd5b.40a158",
+ "id": "94cf3038.f341a8",
"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": 2938.566650390625,
- "y": 922.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 2901.566665649414,
+ "y": 941.5666656494141,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "eb53f24.9c8df9",
+ "id": "7943f6f7.be2db8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3118.566650390625,
- "y": 965.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 3081.566665649414,
+ "y": 984.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "664ce225.e11764"
+ "2503b7bf.0ec"
]
]
},
{
- "id": "b699925f.52e788",
+ "id": "c75de222.529ce8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3110.566650390625,
- "y": 1020.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 3073.566665649414,
+ "y": 1039.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "c5f2fad1.bd663"
+ "bca36ee5.113d58"
]
]
},
{
- "id": "177a0a75.4ffe3e",
+ "id": "d30226e9.2d3ab",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3115.566650390625,
- "y": 1077.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3078.566665649414,
+ "y": 1096.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "f4a026e6.715c"
+ "1e88570c.ee0719"
]
]
},
{
- "id": "f4a026e6.715c",
+ "id": "1e88570c.ee0719",
"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": 3267.566650390625,
- "y": 1078.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3230.566665649414,
+ "y": 1097.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "c5f2fad1.bd663",
+ "id": "bca36ee5.113d58",
"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": 3278.566650390625,
- "y": 1023.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 3241.566665649414,
+ "y": 1042.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "664ce225.e11764",
+ "id": "2503b7bf.0ec",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3262.948974609375,
- "y": 963.2223358154297,
- "z": "ba0dc87e.a3b258",
+ "x": 3225.948989868164,
+ "y": 982.2223358154297,
+ "z": "2050832.98c01fc",
"wires": [
[
- "a508abe9.f5813"
+ "41aaab63.e1cd3c"
]
]
},
{
- "id": "f99896f3.a9973",
+ "id": "c6fb39ce.9e60a",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2523.566650390625,
- "y": 975.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 2486.566665649414,
+ "y": 994.5666656494141,
+ "z": "2050832.98c01fc",
"wires": [
[
- "804d49e5.886028"
+ "30ac35dd.e14312"
]
]
},
{
- "id": "a508abe9.f5813",
+ "id": "41aaab63.e1cd3c",
"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": 3477.566650390625,
- "y": 959.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 3440.566665649414,
+ "y": 978.5666656494141,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "6e9dd85.efe07a8",
+ "id": "90a6c364.46118",
"type": "switchNode",
"name": "switch dmnsidx == 0 (domainA)",
"xml": "<switch test='`$otnidx == 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 1596.566650390625,
- "y": 1185.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1559.566665649414,
+ "y": 1204.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "75774fa2.7a2cf",
- "4436153e.9cd34c"
+ "802374f4.7d7ff8",
+ "a519ae80.fc5af8"
]
]
},
{
- "id": "75774fa2.7a2cf",
+ "id": "802374f4.7d7ff8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1797.566650390625,
- "y": 1183.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1760.566665649414,
+ "y": 1202.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "36577996.f92cc6"
+ "48f58df5.6800bc"
]
]
},
{
- "id": "b48623b8.fdb8a",
+ "id": "40ebb061.3ec958",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 2078.566650390625,
- "y": 1133.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2041.566665649414,
+ "y": 1152.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "54c1b7cf.fc463",
+ "id": "483dd213.b85e1c",
"type": "switchNode",
"name": "switch dmnsidx == last (domainB)",
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
"comments": "",
"outputs": 1,
- "x": 2014.566650390625,
- "y": 1234.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1977.566665649414,
+ "y": 1253.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "8183849e.8f8b9",
- "edcb38ad.17a0a8"
+ "d8888a92.ad5628",
+ "f6c02aaa.58a08"
]
]
},
{
- "id": "8183849e.8f8b9",
+ "id": "d8888a92.ad5628",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2244.566650390625,
- "y": 1230.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2207.566665649414,
+ "y": 1249.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "eb1da6e2.d6cac"
+ "7e806dc9.39e0fc"
]
]
},
{
- "id": "4436153e.9cd34c",
+ "id": "a519ae80.fc5af8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1797.566650390625,
- "y": 1232.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1760.566665649414,
+ "y": 1251.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "54c1b7cf.fc463"
+ "483dd213.b85e1c"
]
]
},
{
- "id": "edcb38ad.17a0a8",
+ "id": "f6c02aaa.58a08",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2245.566650390625,
- "y": 1276.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2208.566665649414,
+ "y": 1295.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "10a3f078.2aa84"
+ "1f8e1450.d16a94"
]
]
},
{
- "id": "10a3f078.2aa84",
+ "id": "1f8e1450.d16a94",
"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": 2459.566650390625,
- "y": 1276.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2422.566665649414,
+ "y": 1295.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "8c80417d.32f06",
+ "id": "9123357e.60632",
"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": 2133.566650390625,
- "y": 1180.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2096.566665649414,
+ "y": 1199.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "36577996.f92cc6",
+ "id": "48f58df5.6800bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1921.566650390625,
- "y": 1174.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1884.566665649414,
+ "y": 1193.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "8c80417d.32f06"
+ "9123357e.60632"
]
]
},
{
- "id": "eb1da6e2.d6cac",
+ "id": "7e806dc9.39e0fc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2377.566650390625,
- "y": 1206.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2340.566665649414,
+ "y": 1225.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "4f91088c.aa2a9"
+ "d554f558.28b1b8"
]
]
},
{
- "id": "90fd9019.34d388",
+ "id": "2ea08541.5c60c2",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 2533.566650390625,
- "y": 1222.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2496.566665649414,
+ "y": 1241.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "4f91088c.aa2a9",
+ "id": "d554f558.28b1b8",
"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": 2581.566650390625,
- "y": 1174.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2544.566665649414,
+ "y": 1193.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "d00a834c.9393c8",
+ "id": "475897b8.f705c",
"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": 468.56658935546875,
- "y": 3827.566909790039,
- "z": "ba0dc87e.a3b258",
+ "x": 431.5666046142578,
+ "y": 3846.566909790039,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "da9884fe.c1ab2",
+ "id": "45bcd5eb.003ca4",
"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": 507.566650390625,
- "y": 912.5666656494141,
- "z": "ba0dc87e.a3b258",
+ "x": 470.56666564941406,
+ "y": 931.5666656494141,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "ef30d7fa.1abd9",
+ "id": "22dcd83c.2b5368",
"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": 1572.566650390625,
- "y": 1265.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1535.566665649414,
+ "y": 1284.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "95800647.4aa41",
+ "id": "e150ae4f.8b2e58",
"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": 1764.5666198730469,
- "y": 1363.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1727.566635131836,
+ "y": 1382.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "ba078fb1.cbb95",
+ "id": "e09d2c81.71b548",
"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": 1636.566650390625,
- "y": 1316.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1599.566665649414,
+ "y": 1335.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "84e1fc7d.aa5158",
+ "id": "1660b66e.1d0baa",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1445.566650390625,
- "y": 1517.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1408.566665649414,
+ "y": 1536.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "e1b1a2e3.c8a22",
- "a1f3f094.cf6868"
+ "f4cf9f1c.724fd",
+ "b4d1d385.3d74f"
]
]
},
{
- "id": "e1b1a2e3.c8a22",
+ "id": "f4cf9f1c.724fd",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1731.566650390625,
- "y": 2336.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1694.566665649414,
+ "y": 2355.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "877d2c40.229dc8"
+ "74fc514b.817128"
]
]
},
{
- "id": "9881a97f.aa45c",
+ "id": "996fa9bd.709cb8",
"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": 2157.566650390625,
- "y": 2281.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2120.566665649414,
+ "y": 2300.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "8313a95b.4655",
+ "id": "db35c82.2ff7538",
"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": 2024.5666198730469,
- "y": 1479.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1987.566635131836,
+ "y": 1498.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "298356b2.691352",
+ "id": "54f8b37c.0f6ed4",
"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='`$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",
+ "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": 2071.566650390625,
- "y": 1529.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2034.566665649414,
+ "y": 1548.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "594dfec1.070b58"
+ "7be3896.57701f8"
]
]
},
{
- "id": "594dfec1.070b58",
+ "id": "7be3896.57701f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2359.566650390625,
- "y": 1530.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2322.566665649414,
+ "y": 1549.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "20be2b7.b4b9054"
+ "f1bf4e31.6b1fe8"
]
]
},
{
- "id": "20be2b7.b4b9054",
+ "id": "f1bf4e31.6b1fe8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2543.066650390625,
- "y": 1528.820571899414,
- "z": "ba0dc87e.a3b258",
+ "x": 2506.066665649414,
+ "y": 1547.820571899414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "48aaf3f8.b9dde4",
+ "id": "3cd3c761.10556",
"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": 2145.566650390625,
- "y": 2333.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2108.566665649414,
+ "y": 2352.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "5fc5edcc.a33e6c",
- "1c8fc333.3d53cd"
+ "c33f3993.207e3",
+ "56575be2.b67874"
]
]
},
{
- "id": "5fc5edcc.a33e6c",
+ "id": "c33f3993.207e3",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2318.566650390625,
- "y": 2181.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2281.566665649414,
+ "y": 2200.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "1c8fc333.3d53cd",
+ "id": "56575be2.b67874",
"type": "outcomeFalse",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2350.566650390625,
- "y": 2440.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2313.566665649414,
+ "y": 2459.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "7733ea37.676d94"
+ "3b0b33da.eb46f4"
]
]
},
{
- "id": "94ea5f1c.00084",
+ "id": "1cae89b4.aa5636",
"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='`$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",
+ "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": 2757.566650390625,
- "y": 1971.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2720.566665649414,
+ "y": 1990.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "ee79eb28.dfce98"
+ "d58227c9.ab762"
]
]
},
{
- "id": "ee79eb28.dfce98",
+ "id": "d58227c9.ab762",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3061.566650390625,
- "y": 1968.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3024.566665649414,
+ "y": 1987.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "cd827e2b.fca8e"
+ "92fb98e0.3a3cb"
]
]
},
{
- "id": "cd827e2b.fca8e",
+ "id": "92fb98e0.3a3cb",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3212.066650390625,
- "y": 1975.820571899414,
- "z": "ba0dc87e.a3b258",
+ "x": 3175.066665649414,
+ "y": 1994.820571899414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "6a2d9e1e.0984a",
+ "id": "86dbc539.52181",
"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": 2051.566650390625,
- "y": 1584.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2014.566665649414,
+ "y": 1603.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "6f0be409.bf59b4",
+ "id": "6447d455.3d2644",
"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='`$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",
+ "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": 1989.566650390625,
- "y": 1634.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1952.566665649414,
+ "y": 1653.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "f8e04437.c053b8",
+ "id": "f8fc4136.e557d8",
"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": 2090.566650390625,
- "y": 1679.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2053.566665649414,
+ "y": 1698.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "83b33842.f7a008",
+ "id": "489556f5.800788",
"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": 2126.566650390625,
- "y": 1733.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2089.566665649414,
+ "y": 1752.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "665710a0.10b6d",
+ "id": "b222b6e5.a2269",
"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": 2094.566650390625,
- "y": 1792.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2057.566665649414,
+ "y": 1811.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "50815aa.2966624",
+ "id": "e72c7ac8.1ee27",
"type": "comment",
"name": "find middle-man's eth-srv-name",
"info": "",
"comments": "",
- "x": 1552.566650390625,
- "y": 1408.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1515.566665649414,
+ "y": 1427.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "4be74bfa.e8a9a4",
+ "id": "af14d18e.54c668",
"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": 1574.566650390625,
- "y": 1452.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1537.566665649414,
+ "y": 1471.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "7bee4ebc.b72be8",
+ "id": "e07c3627.a9ad28",
"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": 2781.566650390625,
- "y": 2188.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2744.566665649414,
+ "y": 2207.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "2dce7211.24f81e",
+ "id": "68912ce0.303fb4",
"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": 2812.566650390625,
- "y": 2227.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2775.566665649414,
+ "y": 2246.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "90bd55a8.2fdfb",
+ "id": "18b33cfb.a5700b",
"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": 2783.566650390625,
- "y": 2300.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2746.566665649414,
+ "y": 2319.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "7a94ba19.d3678c",
+ "id": "3e5eef0e.e3f73",
"type": "comment",
"name": "update the founded connectivity to have a new coupling-flag",
"info": "",
"comments": "",
- "x": 2753.566650390625,
- "y": 2016.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2716.566665649414,
+ "y": 2035.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "1f39716d.08bb37",
+ "id": "a5fb576e.12d628",
"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": 2639.566650390625,
- "y": 2055.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2602.566665649414,
+ "y": 2074.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "966d5b58.b138c",
+ "id": "d377ac03.65cde",
"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": 2703.566650390625,
- "y": 2100.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2666.566665649414,
+ "y": 2119.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "3ca218f1.e24728",
+ "id": "f2d99771.385da",
"type": "comment",
"name": "the following two relationships should have already been there; if not => error",
"info": "",
"comments": "",
- "x": 2795.566650390625,
- "y": 2150.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2758.566665649414,
+ "y": 2169.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "533f0d90.da6154",
+ "id": "1df0ae3d.1e012a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1781.566650390625,
- "y": 1517.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1744.566665649414,
+ "y": 1536.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "298356b2.691352",
- "6a2d9e1e.0984a",
- "6f0be409.bf59b4",
- "f8e04437.c053b8",
- "83b33842.f7a008",
- "665710a0.10b6d"
+ "54f8b37c.0f6ed4",
+ "86dbc539.52181",
+ "6447d455.3d2644",
+ "f8fc4136.e557d8",
+ "489556f5.800788",
+ "b222b6e5.a2269"
]
]
},
{
- "id": "a1f3f094.cf6868",
+ "id": "b4d1d385.3d74f",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1643.566650390625,
- "y": 1513.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 1606.566665649414,
+ "y": 1532.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "533f0d90.da6154"
+ "1df0ae3d.1e012a"
]
]
},
{
- "id": "877d2c40.229dc8",
+ "id": "74fc514b.817128",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2441.566650390625,
- "y": 1980.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2404.566665649414,
+ "y": 1999.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "94ea5f1c.00084",
- "1f39716d.08bb37",
- "966d5b58.b138c",
- "90bd55a8.2fdfb"
+ "1cae89b4.aa5636",
+ "a5fb576e.12d628",
+ "d377ac03.65cde",
+ "18b33cfb.a5700b"
]
]
},
{
- "id": "921c2635.2657",
+ "id": "1d755c4.2631d24",
"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": 2446.566650390625,
- "y": 2405.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2409.566665649414,
+ "y": 2424.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "2a3dc4da.d825f4",
+ "id": "e76d16f4.131fa8",
"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": 2788.566650390625,
- "y": 2441.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2751.566665649414,
+ "y": 2460.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "736b385a.35da7"
+ "c79290ba.c52288"
]
]
},
{
- "id": "736b385a.35da7",
+ "id": "c79290ba.c52288",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3000.566650390625,
- "y": 2439.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2963.566665649414,
+ "y": 2458.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "e66ec218.e79bc"
+ "7b053331.5433cc"
]
]
},
{
- "id": "e66ec218.e79bc",
+ "id": "7b053331.5433cc",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 3184.566650390625,
- "y": 2437.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3147.566665649414,
+ "y": 2456.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "8c204db5.df1ea"
+ "874cfbc4.610df"
]
]
},
{
- "id": "8c204db5.df1ea",
+ "id": "874cfbc4.610df",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3363.566650390625,
- "y": 2442.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3326.566665649414,
+ "y": 2461.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "750b8345.e6107c",
- "b2411873.31b798"
+ "23e63567.6cde12",
+ "860dc7bb.33f898"
]
]
},
{
- "id": "b2411873.31b798",
+ "id": "860dc7bb.33f898",
"type": "set",
"name": "unset tmp.aai.vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
"comments": "",
- "x": 3580.566650390625,
- "y": 2373.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3543.566665649414,
+ "y": 2392.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "750b8345.e6107c",
+ "id": "23e63567.6cde12",
"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": 3573.566650390625,
- "y": 2459.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3536.566665649414,
+ "y": 2478.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "bdf485ca.827e58",
- "ed90443b.6fe53",
- "a94ce9b.8c46898"
+ "9ae4e678.567218",
+ "7ffe67c7.f6ae9",
+ "495c2481.525c0c"
]
]
},
{
- "id": "ed90443b.6fe53",
+ "id": "7ffe67c7.f6ae9",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3787.0576171875,
- "y": 2444.1407012939453,
- "z": "ba0dc87e.a3b258",
+ "x": 3750.057632446289,
+ "y": 2463.1407012939453,
+ "z": "2050832.98c01fc",
"wires": [
[
- "1ae663bf.60e5d4"
+ "aa65fd53.ef5338"
]
]
},
{
- "id": "1ae663bf.60e5d4",
+ "id": "aa65fd53.ef5338",
"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": 3949.629150390625,
- "y": 2443.4264068603516,
- "z": "ba0dc87e.a3b258",
+ "x": 3912.629165649414,
+ "y": 2462.4264068603516,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "4b566804.b29878",
+ "id": "46144b36.0d9e9c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3950.566650390625,
- "y": 2488.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3913.566665649414,
+ "y": 2507.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "a94ce9b.8c46898",
+ "id": "495c2481.525c0c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3782.566650390625,
- "y": 2488.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3745.566665649414,
+ "y": 2507.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "4b566804.b29878"
+ "46144b36.0d9e9c"
]
]
},
{
- "id": "bdf485ca.827e58",
+ "id": "9ae4e678.567218",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3784.566650390625,
- "y": 2548.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3747.566665649414,
+ "y": 2567.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "e92643e6.dea4d"
+ "10d11190.f9b6ce"
]
]
},
{
- "id": "e92643e6.dea4d",
+ "id": "10d11190.f9b6ce",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3953.566650390625,
- "y": 2547.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 3916.566665649414,
+ "y": 2566.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "8f8a5cb3.af8a3"
+ "f3f9bec1.1031a8"
]
]
},
{
- "id": "7733ea37.676d94",
+ "id": "3b0b33da.eb46f4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2577.566650390625,
- "y": 2439.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2540.566665649414,
+ "y": 2458.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "2a3dc4da.d825f4",
- "9b2ffd1b.3a96e",
- "6fbcac88.0e9a54"
+ "e76d16f4.131fa8",
+ "cf3e3cbd.e0de98",
+ "d9eb4973.6fd078"
]
]
},
{
- "id": "8f8a5cb3.af8a3",
+ "id": "f3f9bec1.1031a8",
"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": 4152.566650390625,
- "y": 2548.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 4115.566665649414,
+ "y": 2567.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "bc9f47cc.0b96"
+ "b44e2e1b.d89b7"
]
]
},
{
- "id": "bc9f47cc.0b96",
+ "id": "b44e2e1b.d89b7",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4315.566650390625,
- "y": 2546.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 4278.566665649414,
+ "y": 2565.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "566fa06e.e1e238"
+ "1fcb6776.c122c9"
]
]
},
{
- "id": "566fa06e.e1e238",
+ "id": "1fcb6776.c122c9",
"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": 4496.566650390625,
- "y": 2546.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 4459.566665649414,
+ "y": 2565.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "f4daf0bd.af9d9"
+ "9cd0e2ee.ae3208"
]
]
},
{
- "id": "f4daf0bd.af9d9",
+ "id": "9cd0e2ee.ae3208",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4659.566650390625,
- "y": 2544.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 4622.566665649414,
+ "y": 2563.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "c0c49b50.2a7748"
+ "2650c786.e545e"
]
]
},
{
- "id": "562992d6.b870dc",
+ "id": "4a1b7e57.c40f08",
"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": 5016.566650390625,
- "y": 2551.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 4979.566665649414,
+ "y": 2570.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "c0c49b50.2a7748",
+ "id": "2650c786.e545e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4798.566650390625,
- "y": 2543.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 4761.566665649414,
+ "y": 2562.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "562992d6.b870dc",
- "10659fb.a744fe"
+ "4a1b7e57.c40f08",
+ "a9183733.3981d8"
]
]
},
{
- "id": "10659fb.a744fe",
+ "id": "a9183733.3981d8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4962.566650390625,
- "y": 2595.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 4925.566665649414,
+ "y": 2614.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "9b2ffd1b.3a96e",
+ "id": "cf3e3cbd.e0de98",
"type": "set",
"name": "unset tmp.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",
"comments": "",
- "x": 2798.566650390625,
- "y": 2402.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2761.566665649414,
+ "y": 2421.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "9d592730.4455b8",
+ "id": "b12c732.984971",
"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": 2887.566650390625,
- "y": 2576.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2850.566665649414,
+ "y": 2595.566665649414,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "6fbcac88.0e9a54",
+ "id": "d9eb4973.6fd078",
"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": 2857.566650390625,
- "y": 2636.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 2820.566665649414,
+ "y": 2655.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "5d4c8b88.6ea084",
+ "id": "64dad903.5a2f98",
"type": "switchNode",
"name": "switch otninfoProtect exists",
"xml": "<switch test=\"`$tmp.otninfoProtect_length > 0`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 623.6832885742188,
- "y": 2502.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 586.6833038330078,
+ "y": 2521.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "b304b119.fc6c6"
+ "215a5551.e3e412"
]
]
},
{
- "id": "b304b119.fc6c6",
+ "id": "215a5551.e3e412",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 844.6832885742188,
- "y": 2503.566665649414,
- "z": "ba0dc87e.a3b258",
+ "x": 807.6833038330078,
+ "y": 2522.566665649414,
+ "z": "2050832.98c01fc",
"wires": [
[
- "929a93b0.fb26e"
+ "a45af556.e89b18"
]
]
},
{
- "id": "1365d05a.43ccb8",
+ "id": "3c1038b8.5e7e68",
"type": "for",
"name": "for vidx..tmp.otninfoProtect_length[]",
"xml": "<for index='otnidx' start='0' end='`$tmp.otninfoProtect_length`' >",
"comments": "",
"outputs": 1,
- "x": 660.2333374023438,
- "y": 3284.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 623.2333526611328,
+ "y": 3303.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "d491584d.33cd28"
+ "ef268a68.25127"
]
]
},
{
- "id": "d491584d.33cd28",
+ "id": "ef268a68.25127",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 920.2333068847656,
- "y": 3277.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 883.2333221435547,
+ "y": 3296.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "252a570f.f396c8",
- "f0403523.cecec",
- "53ad6d75.3e9854",
- "61d4cb78.58331c",
- "d81f3e39.a99398",
- "57f2e473.517f54",
- "c1b2a740.d37fa",
- "34621460.796344",
- "5ed2002c.80ebf8",
- "6dfdf88f.4bb6c"
+ "3c86462f.4b1cfa",
+ "95fc92f6.a552f",
+ "bd01141d.416e08",
+ "a5def1e9.f9efb8",
+ "2ba7fbc5.caf74c",
+ "7c316fec.b1e588",
+ "85ee5aba.20cb98",
+ "9839af4.fe6bc5",
+ "f83dd9dc.4b2938",
+ "e931b49.dce4f48"
]
]
},
{
- "id": "f0403523.cecec",
+ "id": "95fc92f6.a552f",
"type": "switchNode",
"name": "switch dstPort == NULL",
"xml": "<switch test=\"`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1309.2333374023438,
- "y": 2946.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1272.2333526611328,
+ "y": 2965.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "a19e39b9.f8da1",
- "f567fdff.bdc4a8"
+ "11f57316.f3cd45",
+ "95eb0f31.f65c"
]
]
},
{
- "id": "f567fdff.bdc4a8",
+ "id": "95eb0f31.f65c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1676.2333374023438,
- "y": 2953.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1639.2333526611328,
+ "y": 2972.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "4918f2b6.cf40ac"
+ "bae99d3f.d39558"
]
]
},
{
- "id": "4918f2b6.cf40ac",
+ "id": "bae99d3f.d39558",
"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": 1887.2333374023438,
- "y": 2951.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1850.2333526611328,
+ "y": 2970.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "53ad6d75.3e9854",
+ "id": "bd01141d.416e08",
"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": 1485.2333374023438,
- "y": 3020.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1448.2333526611328,
+ "y": 3039.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "61d4cb78.58331c",
+ "id": "a5def1e9.f9efb8",
"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": 1529.2333374023438,
- "y": 3068.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1492.2333526611328,
+ "y": 3087.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "c8e35acd.0cd338",
- "1a3bc3e9.de0b6c",
- "d9c66705.f174c8"
+ "1b704af4.001005",
+ "90a71ff0.af51a",
+ "de22a1d2.f2012"
]
]
},
{
- "id": "c8e35acd.0cd338",
+ "id": "1b704af4.001005",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1741.7333374023438,
- "y": 3015.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1704.7333526611328,
+ "y": 3034.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "b0542ad9.f9bdf8"
+ "13747b87.9c71cc"
]
]
},
{
- "id": "1a3bc3e9.de0b6c",
+ "id": "90a71ff0.af51a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1753.7333374023438,
- "y": 3065.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1716.7333526611328,
+ "y": 3084.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "6126bc5c.e48684"
+ "8dc0e81e.e3f4e8"
]
]
},
{
- "id": "d9c66705.f174c8",
+ "id": "de22a1d2.f2012",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1744.7333374023438,
- "y": 3120.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1707.7333526611328,
+ "y": 3139.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "bc3263f3.ac82e"
+ "588af43e.c26e74"
]
]
},
{
- "id": "bc3263f3.ac82e",
+ "id": "588af43e.c26e74",
"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": 1889.7333374023438,
- "y": 3119.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1852.7333526611328,
+ "y": 3138.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "6126bc5c.e48684",
+ "id": "8dc0e81e.e3f4e8",
"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": 1900.7333374023438,
- "y": 3062.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1863.7333526611328,
+ "y": 3081.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "b0542ad9.f9bdf8",
+ "id": "13747b87.9c71cc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1867.1157836914062,
- "y": 3009.1222381591797,
- "z": "ba0dc87e.a3b258",
+ "x": 1830.1157989501953,
+ "y": 3028.1222381591797,
+ "z": "2050832.98c01fc",
"wires": [
[
- "fcdf9d8b.4643d"
+ "974aaa11.eb6cb"
]
]
},
{
- "id": "fcdf9d8b.4643d",
+ "id": "974aaa11.eb6cb",
"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": 2028.2333374023438,
- "y": 3023.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1991.2333526611328,
+ "y": 3042.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "d8f6f412.7d192"
+ "d0dc9aab.207738"
]
]
},
{
- "id": "d8f6f412.7d192",
+ "id": "d0dc9aab.207738",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2223.2333374023438,
- "y": 3023.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2186.233352661133,
+ "y": 3042.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "513cd183.70a36"
+ "c5ea8522.683198"
]
]
},
{
- "id": "16c3d135.367537",
+ "id": "5023a378.bccf5c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2603.2333374023438,
- "y": 3019.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2566.233352661133,
+ "y": 3038.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "8f09a3ce.bb8bc8",
- "42328e66.9a179"
+ "684650c8.a4a3a",
+ "cb667230.05f32"
]
]
},
{
- "id": "42328e66.9a179",
+ "id": "cb667230.05f32",
"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": 2811.2333374023438,
- "y": 3026.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2774.233352661133,
+ "y": 3045.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "2a95e8b.71c7818",
- "8cd4441d.84eb48",
- "2f9a0731.3058d8"
+ "b3d421a8.26ce58",
+ "207778d4.3409c8",
+ "d90d835c.bc33f"
]
]
},
{
- "id": "8f09a3ce.bb8bc8",
+ "id": "684650c8.a4a3a",
"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": 2841.2333374023438,
- "y": 2974.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2804.233352661133,
+ "y": 2993.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "2a95e8b.71c7818",
+ "id": "b3d421a8.26ce58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3021.2333374023438,
- "y": 3017.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2984.233352661133,
+ "y": 3036.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "bb0632bc.6bdea8"
+ "344430e4.438e1"
]
]
},
{
- "id": "8cd4441d.84eb48",
+ "id": "207778d4.3409c8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3013.2333374023438,
- "y": 3072.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2976.233352661133,
+ "y": 3091.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "fee906e6.a31e28"
+ "dc2a2f20.50fc1"
]
]
},
{
- "id": "2f9a0731.3058d8",
+ "id": "d90d835c.bc33f",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3018.2333374023438,
- "y": 3129.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2981.233352661133,
+ "y": 3148.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "b7732316.bbeb1"
+ "1ecff912.83975f"
]
]
},
{
- "id": "b7732316.bbeb1",
+ "id": "1ecff912.83975f",
"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": 3170.2333374023438,
- "y": 3130.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3133.233352661133,
+ "y": 3149.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "fee906e6.a31e28",
+ "id": "dc2a2f20.50fc1",
"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": 3181.2333374023438,
- "y": 3075.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3144.233352661133,
+ "y": 3094.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "bb0632bc.6bdea8",
+ "id": "344430e4.438e1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3165.6156616210938,
- "y": 3015.1222381591797,
- "z": "ba0dc87e.a3b258",
+ "x": 3128.615676879883,
+ "y": 3034.1222381591797,
+ "z": "2050832.98c01fc",
"wires": [
[
- "f496005b.73025"
+ "8422f10e.6bf76"
]
]
},
{
- "id": "513cd183.70a36",
+ "id": "c5ea8522.683198",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2426.2333374023438,
- "y": 3027.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2389.233352661133,
+ "y": 3046.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "16c3d135.367537"
+ "5023a378.bccf5c"
]
]
},
{
- "id": "f496005b.73025",
+ "id": "8422f10e.6bf76",
"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": 3380.2333374023438,
- "y": 3011.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3343.233352661133,
+ "y": 3030.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "d81f3e39.a99398",
+ "id": "2ba7fbc5.caf74c",
"type": "switchNode",
"name": "switch dmnsidx == 0 (domainA)",
"xml": "<switch test='`$otnidx == 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 1499.2333374023438,
- "y": 3237.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1462.2333526611328,
+ "y": 3256.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "f53e378b.14151",
- "e638c491.631368"
+ "d1a10e9.68db57",
+ "55ef105b.219ab8"
]
]
},
{
- "id": "f53e378b.14151",
+ "id": "d1a10e9.68db57",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1700.2333374023438,
- "y": 3235.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1663.2333526611328,
+ "y": 3254.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "7fd6322b.5362bc"
+ "854cd71a.2831b"
]
]
},
{
- "id": "f8356e69.4561c",
+ "id": "5d22aeae.4146d",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 1981.2333374023438,
- "y": 3185.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1944.2333526611328,
+ "y": 3204.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "4191bf2c.16bd58",
+ "id": "da07edc0.17da88",
"type": "switchNode",
"name": "switch dmnsidx == last (domainC)",
"xml": "<switch test='`$otnidx == $tmp.otninfoProtect_length - 1`'>\n",
"comments": "",
"outputs": 1,
- "x": 1917.2333374023438,
- "y": 3286.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1880.2333526611328,
+ "y": 3305.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "93d13951.14dd18",
- "fa75dc08.2eaf8"
+ "123d4b4b.3d3dad",
+ "ef13616b.b55bd"
]
]
},
{
- "id": "93d13951.14dd18",
+ "id": "123d4b4b.3d3dad",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2147.2333374023438,
- "y": 3282.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2110.233352661133,
+ "y": 3301.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "8d4bef0b.6a0fe8"
+ "158fea08.6700e6"
]
]
},
{
- "id": "e638c491.631368",
+ "id": "55ef105b.219ab8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1700.2333374023438,
- "y": 3284.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1663.2333526611328,
+ "y": 3303.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "4191bf2c.16bd58"
+ "da07edc0.17da88"
]
]
},
{
- "id": "fa75dc08.2eaf8",
+ "id": "ef13616b.b55bd",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2148.2333374023438,
- "y": 3328.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2111.233352661133,
+ "y": 3347.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "5bb88da7.4d8694"
+ "8c36d27f.e0867"
]
]
},
{
- "id": "5bb88da7.4d8694",
+ "id": "8c36d27f.e0867",
"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": 2362.2333374023438,
- "y": 3328.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2325.233352661133,
+ "y": 3347.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "6729c928.c3b6c",
+ "id": "d0c0493f.f08008",
"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": 2036.2333374023438,
- "y": 3232.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1999.2333526611328,
+ "y": 3251.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "7fd6322b.5362bc",
+ "id": "854cd71a.2831b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1824.2333374023438,
- "y": 3226.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1787.2333526611328,
+ "y": 3245.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "6729c928.c3b6c"
+ "d0c0493f.f08008"
]
]
},
{
- "id": "8d4bef0b.6a0fe8",
+ "id": "158fea08.6700e6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2280.2333374023438,
- "y": 3258.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2243.233352661133,
+ "y": 3277.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "e3feca80.0e5828"
+ "9e71b7af.8db628"
]
]
},
{
- "id": "e95f7eb5.2af0b8",
+ "id": "bea33937.3887e8",
"type": "set",
"name": "set pce-src-node",
"xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",
"comments": "",
- "x": 2436.2333374023438,
- "y": 3274.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2399.233352661133,
+ "y": 3293.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "e3feca80.0e5828",
+ "id": "9e71b7af.8db628",
"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": 2484.2333374023438,
- "y": 3226.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2447.233352661133,
+ "y": 3245.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "57f2e473.517f54",
+ "id": "7c316fec.b1e588",
"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": 1475.2333374023438,
- "y": 3317.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1438.2333526611328,
+ "y": 3336.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "34621460.796344",
+ "id": "9839af4.fe6bc5",
"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": 1667.2333068847656,
- "y": 3415.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1630.2333221435547,
+ "y": 3434.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "c1b2a740.d37fa",
+ "id": "85ee5aba.20cb98",
"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": 1539.2333374023438,
- "y": 3368.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1502.2333526611328,
+ "y": 3387.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "5ed2002c.80ebf8",
+ "id": "f83dd9dc.4b2938",
"type": "switchNode",
"name": "switch found-connectivity?",
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1348.2333374023438,
- "y": 3569.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1311.2333526611328,
+ "y": 3588.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "3ba1da7b.60657e",
- "5bde363c.523c48"
+ "18d6c2fa.641995",
+ "dcc8cc4e.be442"
]
]
},
{
- "id": "3ba1da7b.60657e",
+ "id": "18d6c2fa.641995",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1634.2333374023438,
- "y": 4388.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1597.2333526611328,
+ "y": 4407.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "c5f8d573.741818"
+ "e6eb5ead.3574d"
]
]
},
{
- "id": "cfba9c01.06834",
+ "id": "343e95a2.91d102",
"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": 2060.2333374023438,
- "y": 4333.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2023.2333526611328,
+ "y": 4352.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "d5ee8376.6d7b3",
+ "id": "96e5df51.7a42e8",
"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": 1927.2333068847656,
- "y": 3531.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1890.2333221435547,
+ "y": 3550.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "7d7a6dc.ff5ab14",
+ "id": "b3b8f0b4.38811",
"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='`$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",
+ "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": 1974.2333374023438,
- "y": 3581.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1937.2333526611328,
+ "y": 3600.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "770ec83d.f5f698"
+ "45c4366f.fdbdd8"
]
]
},
{
- "id": "770ec83d.f5f698",
+ "id": "45c4366f.fdbdd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2262.2333374023438,
- "y": 3582.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2225.233352661133,
+ "y": 3601.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "1ea6c507.8eb3c3"
+ "2d3f69ef.0fb5de"
]
]
},
{
- "id": "1ea6c507.8eb3c3",
+ "id": "2d3f69ef.0fb5de",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2445.7333374023438,
- "y": 3580.720474243164,
- "z": "ba0dc87e.a3b258",
+ "x": 2408.733352661133,
+ "y": 3599.720474243164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "4b1e068c.b603",
+ "id": "2e9ec397.995dbc",
"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": 2048.2333374023438,
- "y": 4385.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2011.2333526611328,
+ "y": 4404.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "fa23bfea.633fa",
- "5640420c.c8d724"
+ "ed90dd28.b83e58",
+ "f82ff6ac.db51f"
]
]
},
{
- "id": "fa23bfea.633fa",
+ "id": "ed90dd28.b83e58",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2221.2333374023438,
- "y": 4233.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2184.233352661133,
+ "y": 4252.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "5640420c.c8d724",
+ "id": "f82ff6ac.db51f",
"type": "outcomeFalse",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2253.2333374023438,
- "y": 4492.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2216.233352661133,
+ "y": 4511.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "745b8702.06258"
+ "99f4b014.f67058"
]
]
},
{
- "id": "566a0421.e07abc",
+ "id": "8628699c.1adc48",
"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='`$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",
+ "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": 2660.2333374023438,
- "y": 4023.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2623.233352661133,
+ "y": 4042.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "e7e1a1af.83dc9"
+ "350cf74a.3ae6a8"
]
]
},
{
- "id": "e7e1a1af.83dc9",
+ "id": "350cf74a.3ae6a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2964.2333374023438,
- "y": 4020.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2927.233352661133,
+ "y": 4039.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "9e39afad.724988"
+ "80cb8f26.8d8088"
]
]
},
{
- "id": "9e39afad.724988",
+ "id": "80cb8f26.8d8088",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3114.7333374023438,
- "y": 4027.720474243164,
- "z": "ba0dc87e.a3b258",
+ "x": 3077.733352661133,
+ "y": 4046.720474243164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "5fd9a93f.71f3e",
+ "id": "a2ac802b.508078",
"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": 1954.2333374023438,
- "y": 3636.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1917.2333526611328,
+ "y": 3655.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "e99e1220.c8d158",
+ "id": "9669f040.b74ba",
"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='`$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",
+ "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": 1892.2333374023438,
- "y": 3686.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1855.2333526611328,
+ "y": 3705.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "e74eb1dd.b1cce",
+ "id": "7c73fd.eee64c04",
"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": 1993.2333374023438,
- "y": 3731.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1956.2333526611328,
+ "y": 3750.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "d069cfb2.559918",
+ "id": "470effce.6ff878",
"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": 2029.2333374023438,
- "y": 3785.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1992.2333526611328,
+ "y": 3804.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "db7724b7.c0b95",
+ "id": "46fef161.e2f5b8",
"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": 1997.2333374023438,
- "y": 3844.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1960.2333526611328,
+ "y": 3863.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "dccc268f.14582",
+ "id": "a6bdd1f3.4b8e18",
"type": "comment",
"name": "find middle-man's eth-srv-name",
"info": "",
"comments": "",
- "x": 1455.2333374023438,
- "y": 3460.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1418.2333526611328,
+ "y": 3479.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "6dfdf88f.4bb6c",
+ "id": "e931b49.dce4f48",
"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": 1477.2333374023438,
- "y": 3504.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1440.2333526611328,
+ "y": 3523.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "e9be22f5.c3b77",
+ "id": "90c5dad8.6290a8",
"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": 2684.2333374023438,
- "y": 4240.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2647.233352661133,
+ "y": 4259.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "e3ac7685.f8539",
+ "id": "db332d3c.49a9a",
"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": 2715.2333374023438,
- "y": 4279.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2678.233352661133,
+ "y": 4298.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "8511409f.51bd2",
+ "id": "d699f611.493dc8",
"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": 2686.2333374023438,
- "y": 4352.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2649.233352661133,
+ "y": 4371.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "65db0af6.94eaf4",
+ "id": "1cd5d29a.f74d95",
"type": "comment",
"name": "update the founded connectivity to have a new coupling-flag",
"info": "",
"comments": "",
- "x": 2656.2333374023438,
- "y": 4068.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2619.233352661133,
+ "y": 4087.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "537df036.3150f",
+ "id": "41ec6c24.ddf264",
"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": 2542.2333374023438,
- "y": 4107.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2505.233352661133,
+ "y": 4126.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "73887d45.2afa44",
+ "id": "5401259a.255f4c",
"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": 2606.2333374023438,
- "y": 4152.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2569.233352661133,
+ "y": 4171.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "442047ec.b76048",
+ "id": "f4ae7aab.9265",
"type": "comment",
"name": "the following two relationships should have already been there; if not => error",
"info": "",
"comments": "",
- "x": 2698.2333374023438,
- "y": 4202.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2661.233352661133,
+ "y": 4221.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "a6868862.e0d7a8",
+ "id": "f7b21c05.40cbf",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1684.2333374023438,
- "y": 3569.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1647.2333526611328,
+ "y": 3588.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "7d7a6dc.ff5ab14",
- "5fd9a93f.71f3e",
- "e99e1220.c8d158",
- "e74eb1dd.b1cce",
- "d069cfb2.559918",
- "db7724b7.c0b95"
+ "b3b8f0b4.38811",
+ "a2ac802b.508078",
+ "9669f040.b74ba",
+ "7c73fd.eee64c04",
+ "470effce.6ff878",
+ "46fef161.e2f5b8"
]
]
},
{
- "id": "5bde363c.523c48",
+ "id": "dcc8cc4e.be442",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1546.2333374023438,
- "y": 3565.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1509.2333526611328,
+ "y": 3584.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "a6868862.e0d7a8"
+ "f7b21c05.40cbf"
]
]
},
{
- "id": "c5f8d573.741818",
+ "id": "e6eb5ead.3574d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2344.2333374023438,
- "y": 4032.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2307.233352661133,
+ "y": 4051.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "566a0421.e07abc",
- "537df036.3150f",
- "73887d45.2afa44",
- "8511409f.51bd2"
+ "8628699c.1adc48",
+ "41ec6c24.ddf264",
+ "5401259a.255f4c",
+ "d699f611.493dc8"
]
]
},
{
- "id": "8b5f6b52.3288",
+ "id": "3343c09a.65c218",
"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": 2349.2333374023438,
- "y": 4457.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2312.233352661133,
+ "y": 4476.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "1a02430.b289b3d",
+ "id": "9dc35d09.68f5e",
"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": 2691.2333374023438,
- "y": 4493.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2654.233352661133,
+ "y": 4512.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "cd907dba.e4d3c8"
+ "9e275798.602f8"
]
]
},
{
- "id": "cd907dba.e4d3c8",
+ "id": "9e275798.602f8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2903.2333374023438,
- "y": 4491.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2866.233352661133,
+ "y": 4510.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "20ed8870.8c9e9"
+ "7a3ca348.6eb8cc"
]
]
},
{
- "id": "20ed8870.8c9e9",
+ "id": "7a3ca348.6eb8cc",
"type": "outcome",
"name": "vpn-binding",
"xml": "<outcome value='vpn-binding'>\n",
"comments": "",
"outputs": 1,
- "x": 3087.2333374023438,
- "y": 4489.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3050.233352661133,
+ "y": 4508.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "3940766f.dd75d2"
+ "18297da6.def11a"
]
]
},
{
- "id": "3940766f.dd75d2",
+ "id": "18297da6.def11a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3266.2333374023438,
- "y": 4494.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3229.233352661133,
+ "y": 4513.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "de8d19cf.e0eb38",
- "501e7414.822a34"
+ "cae15caf.d873b",
+ "b9a58cc8.83da"
]
]
},
{
- "id": "501e7414.822a34",
+ "id": "b9a58cc8.83da",
"type": "set",
"name": "unset tmp.aai.vpn-binding",
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
"comments": "",
- "x": 3483.2333374023438,
- "y": 4425.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3446.233352661133,
+ "y": 4444.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "de8d19cf.e0eb38",
+ "id": "cae15caf.d873b",
"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": 3476.2333374023438,
- "y": 4511.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3439.233352661133,
+ "y": 4530.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "fabce7f.821b298",
- "84c19fc0.ef7ad8",
- "d8007fa7.e96748"
+ "5138a4d2.ef8fac",
+ "ac846614.4aec2",
+ "f282e20e.a80ae8"
]
]
},
{
- "id": "84c19fc0.ef7ad8",
+ "id": "ac846614.4aec2",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3689.7243041992188,
- "y": 4496.040603637695,
- "z": "ba0dc87e.a3b258",
+ "x": 3652.724319458008,
+ "y": 4515.040603637695,
+ "z": "2050832.98c01fc",
"wires": [
[
- "ab7f4c85.a03338"
+ "a9c1a4d0.be4bf"
]
]
},
{
- "id": "ab7f4c85.a03338",
+ "id": "a9c1a4d0.be4bf",
"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": 3852.2958374023438,
- "y": 4495.326309204102,
- "z": "ba0dc87e.a3b258",
+ "x": 3815.295852661133,
+ "y": 4514.326309204102,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "c7bb2a00.8d6e3",
+ "id": "3f01f4a.cba308c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3853.2333374023438,
- "y": 4540.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3816.233352661133,
+ "y": 4559.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "d8007fa7.e96748",
+ "id": "f282e20e.a80ae8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3685.2333374023438,
- "y": 4540.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3648.233352661133,
+ "y": 4559.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "c7bb2a00.8d6e3"
+ "3f01f4a.cba308c"
]
]
},
{
- "id": "fabce7f.821b298",
+ "id": "5138a4d2.ef8fac",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3687.2333374023438,
- "y": 4600.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3650.233352661133,
+ "y": 4619.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "44bdcb57.5d1c04"
+ "77a45849.e6938"
]
]
},
{
- "id": "44bdcb57.5d1c04",
+ "id": "77a45849.e6938",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3856.2333374023438,
- "y": 4599.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 3819.233352661133,
+ "y": 4618.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "ab8a9481.ed1188"
+ "4ba14139.176d1"
]
]
},
{
- "id": "745b8702.06258",
+ "id": "99f4b014.f67058",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2480.2333374023438,
- "y": 4491.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2443.233352661133,
+ "y": 4510.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "1a02430.b289b3d",
- "b7b42ab.e3d1558",
- "e37b8cbd.aee6b8"
+ "9dc35d09.68f5e",
+ "389a95d9.814532",
+ "dc2c44c.de08338"
]
]
},
{
- "id": "ab8a9481.ed1188",
+ "id": "4ba14139.176d1",
"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": 4055.2333374023438,
- "y": 4600.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 4018.233352661133,
+ "y": 4619.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "b7cd5564.ed6c"
+ "bca4df60.ab3168"
]
]
},
{
- "id": "b7cd5564.ed6c",
+ "id": "bca4df60.ab3168",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4218.233337402344,
- "y": 4598.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 4181.233352661133,
+ "y": 4617.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "ccabadec.a87d08"
+ "8c9fdcfa.7d409"
]
]
},
{
- "id": "ccabadec.a87d08",
+ "id": "8c9fdcfa.7d409",
"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": 4399.233337402344,
- "y": 4598.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 4362.233352661133,
+ "y": 4617.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "61252d2.f400154"
+ "1fd4ba30.e4e24e"
]
]
},
{
- "id": "61252d2.f400154",
+ "id": "1fd4ba30.e4e24e",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4562.233337402344,
- "y": 4596.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 4525.233352661133,
+ "y": 4615.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "c33d2a30.0a34e8"
+ "eeebf323.f178a8"
]
]
},
{
- "id": "73039273.69e874",
+ "id": "19bf4184.74519e",
"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": 4919.233337402344,
- "y": 4603.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 4882.233352661133,
+ "y": 4622.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "c33d2a30.0a34e8",
+ "id": "eeebf323.f178a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4701.233337402344,
- "y": 4595.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 4664.233352661133,
+ "y": 4614.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "73039273.69e874",
- "9503d547.7a1c98"
+ "19bf4184.74519e",
+ "12253a72.5240ae"
]
]
},
{
- "id": "9503d547.7a1c98",
+ "id": "12253a72.5240ae",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4865.233337402344,
- "y": 4647.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 4828.233352661133,
+ "y": 4666.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "b7b42ab.e3d1558",
+ "id": "389a95d9.814532",
"type": "set",
"name": "unset tmp.the-vpn-binding",
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",
"comments": "",
- "x": 2701.2333374023438,
- "y": 4454.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2664.233352661133,
+ "y": 4473.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "d737e9cc.f602b8",
+ "id": "5b2a70f3.05e488",
"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": 2790.2333374023438,
- "y": 4628.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2753.233352661133,
+ "y": 4647.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "e37b8cbd.aee6b8",
+ "id": "dc2c44c.de08338",
"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": 2760.2333374023438,
- "y": 4688.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 2723.233352661133,
+ "y": 4707.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "252a570f.f396c8",
+ "id": "3c86462f.4b1cfa",
"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": 1595.2333374023438,
- "y": 2856.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1558.2333526611328,
+ "y": 2875.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[]
]
},
{
- "id": "a19e39b9.f8da1",
+ "id": "11f57316.f3cd45",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1675.2333374023438,
- "y": 2907.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1638.2333526611328,
+ "y": 2926.466567993164,
+ "z": "2050832.98c01fc",
"wires": [
[
- "f653960c.909178"
+ "9c6641d3.3410d"
]
]
},
{
- "id": "f653960c.909178",
+ "id": "9c6641d3.3410d",
"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": 1889.2333374023438,
- "y": 2906.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1852.2333526611328,
+ "y": 2925.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "8f4a3300.fba8d8",
+ "id": "397ccb1f.018174",
"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": 1255.1332397460938,
- "y": 2491.466567993164,
- "z": "ba0dc87e.a3b258",
+ "x": 1218.1332550048828,
+ "y": 2510.466567993164,
+ "z": "2050832.98c01fc",
"wires": []
},
{
- "id": "929a93b0.fb26e",
+ "id": "a45af556.e89b18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1029.7666625976562,
- "y": 2507.699966430664,
- "z": "ba0dc87e.a3b258",
+ "x": 992.7666778564453,
+ "y": 2526.699966430664,
+ "z": "2050832.98c01fc",
"wires": [
[
- "8f4a3300.fba8d8",
- "1365d05a.43ccb8"
+ "397ccb1f.018174",
+ "3c1038b8.5e7e68"
]
]
}