[\r
{\r
- "id": "66573054.d6959",\r
+ "id": "94ab5931.1ae6d",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 230,\r
- "y": 62,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 292.566650390625,\r
+ "y": 59.56666564941406,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "88fd1149.f833f"\r
+ "1c26c9e8.6ceaee"\r
]\r
]\r
},\r
{\r
- "id": "88fd1149.f833f",\r
+ "id": "1c26c9e8.6ceaee",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"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}'>",\r
"outputs": 1,\r
- "x": 514.2856903076172,\r
- "y": 123.23810863494873,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 576.8523406982422,\r
+ "y": 120.8047742843628,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "4c164ab.c48bfb4"\r
+ "23f5599a.c9cd86"\r
]\r
]\r
},\r
{\r
- "id": "4c164ab.c48bfb4",\r
+ "id": "23f5599a.c9cd86",\r
"type": "method",\r
"name": "method cll-vnf-topology-operation-cll-F1",\r
"xml": "<method rpc='cll-vnf-topology-operation-cll-F1' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 430.4285888671875,\r
- "y": 201.00003051757812,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 492.9952392578125,\r
+ "y": 198.5666961669922,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "e2c1e393.f72a2"\r
+ "dc959d18.681ba8"\r
]\r
]\r
},\r
{\r
- "id": "e2c1e393.f72a2",\r
+ "id": "dc959d18.681ba8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 164.238037109375,\r
- "y": 704.6666870117188,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 226.8046875,\r
+ "y": 702.2333526611328,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "35872244.0dadfe",\r
- "76353aba.1a1834",\r
- "1a3db60a.42601a",\r
- "cde65043.1c4f8",\r
- "5f4f339e.018654",\r
- "6f21b0a4.c1ba8",\r
- "19956ea.f245091"\r
+ "3133ba0.df70946",\r
+ "a232054c.f7cde",\r
+ "cf7049ac.59d6b8",\r
+ "da9884fe.c1ab2",\r
+ "d00a834c.9393c8",\r
+ "e4a1c30c.a1f11",\r
+ "ed8a3e8e.eba718",\r
+ "5d4c8b88.6ea084"\r
]\r
]\r
},\r
{\r
- "id": "35872244.0dadfe",\r
+ "id": "3133ba0.df70946",\r
"type": "set",\r
"name": "set query_param",\r
"xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
"comments": "",\r
- "x": 437,\r
- "y": 659,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 499.566650390625,\r
+ "y": 656.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "76353aba.1a1834",\r
+ "id": "a232054c.f7cde",\r
"type": "call",\r
"name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 658,\r
- "y": 727,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 720.566650390625,\r
+ "y": 724.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "1a3db60a.42601a",\r
+ "id": "cf7049ac.59d6b8",\r
"type": "execute",\r
"name": "execute printContext",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 448,\r
- "y": 773,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 510.566650390625,\r
+ "y": 770.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "19956ea.f245091",\r
+ "id": "e4a1c30c.a1f11",\r
"type": "call",\r
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 641,\r
- "y": 837,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 703.566650390625,\r
+ "y": 834.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "cde65043.1c4f8",\r
+ "id": "ed8a3e8e.eba718",\r
"type": "for",\r
"name": "for vidx..tmp.otninfo_length[]",\r
"xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 468,\r
- "y": 993,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 795.566650390625,\r
+ "y": 1213.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "53111f1b.5dbab"\r
+ "a0634476.d7e6f8"\r
]\r
]\r
},\r
{\r
- "id": "53111f1b.5dbab",\r
+ "id": "a0634476.d7e6f8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 737,\r
- "y": 993,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1017.5666198730469,\r
+ "y": 1225.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "78857b79.cfe234",\r
- "b3432980.49ee6",\r
- "233e999f.144d9e",\r
- "7a85fbed.abf844",\r
- "715b7a53.d039d4",\r
- "13d7f319.f10ffd",\r
- "fe43d4e7.2e266",\r
- "9673bbc9.e232d8",\r
- "8c1ff0ec.d0238",\r
- "84f3d24d.36c17"\r
+ "aaab02fa.9f4d88",\r
+ "c83caaf9.d6f6",\r
+ "a09d3d16.a9628",\r
+ "38b6179d.185d98",\r
+ "6e9dd85.efe07a8",\r
+ "ef30d7fa.1abd9",\r
+ "ba078fb1.cbb95",\r
+ "95800647.4aa41",\r
+ "84e1fc7d.aa5158",\r
+ "4be74bfa.e8a9a4"\r
]\r
]\r
},\r
{\r
- "id": "78857b79.cfe234",\r
+ "id": "aaab02fa.9f4d88",\r
"type": "execute",\r
"name": "execute UUID generator for vpn-binding $otnidx",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1630,\r
- "y": 807,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1692.566650390625,\r
+ "y": 804.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b3432980.49ee6",\r
+ "id": "c83caaf9.d6f6",\r
"type": "switchNode",\r
"name": "switch dstPort == NULL",\r
"xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1344,\r
- "y": 897,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1406.566650390625,\r
+ "y": 894.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "fb6a4667.5dee4",\r
- "8968ad13.112c48"\r
+ "a21a8c5c.c26b18",\r
+ "5ad886dd.89cfc"\r
]\r
]\r
},\r
{\r
- "id": "fb6a4667.5dee4",\r
+ "id": "a21a8c5c.c26b18",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1710,\r
- "y": 858,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1772.566650390625,\r
+ "y": 855.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "38cd80d0.a81b08"\r
+ "492daa68.bf54bc"\r
]\r
]\r
},\r
{\r
- "id": "8968ad13.112c48",\r
+ "id": "5ad886dd.89cfc",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1711,\r
- "y": 904,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1773.566650390625,\r
+ "y": 901.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "12ac055c.676cf3"\r
+ "5f6a6611.d2602"\r
]\r
]\r
},\r
{\r
- "id": "38cd80d0.a81b08",\r
+ "id": "492daa68.bf54bc",\r
"type": "set",\r
"name": "set access-provider-id and client-id",\r
"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",\r
"comments": "",\r
- "x": 1924,\r
- "y": 857,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1986.566650390625,\r
+ "y": 854.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "12ac055c.676cf3",\r
+ "id": "5f6a6611.d2602",\r
"type": "set",\r
"name": "set access-provider-id and client-id",\r
"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",\r
"comments": "",\r
- "x": 1922,\r
- "y": 902,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1984.566650390625,\r
+ "y": 899.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "233e999f.144d9e",\r
+ "id": "a09d3d16.a9628",\r
"type": "set",\r
"name": "set srcdstpnf-name",\r
"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",\r
"comments": "",\r
- "x": 1520,\r
- "y": 971,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1582.566650390625,\r
+ "y": 968.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "7a85fbed.abf844",\r
+ "id": "38b6179d.185d98",\r
"type": "get-resource",\r
"name": "get-resource tmp.srcdstpnf-name",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1564,\r
- "y": 1019,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1626.566650390625,\r
+ "y": 1016.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "85cf2b2f.efe2d8",\r
- "40c18c0.1c43574",\r
- "e3b12e57.7afb78"\r
+ "1e4fefc4.84dea",\r
+ "140ba84b.114188",\r
+ "5ac6d6d0.fa8f3"\r
]\r
]\r
},\r
{\r
- "id": "85cf2b2f.efe2d8",\r
+ "id": "1e4fefc4.84dea",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1776.5,\r
- "y": 966,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1839.066650390625,\r
+ "y": 963.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "7b23fddb.009994"\r
+ "c513ad5c.67a2a8"\r
]\r
]\r
},\r
{\r
- "id": "40c18c0.1c43574",\r
+ "id": "140ba84b.114188",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1788.5,\r
- "y": 1016,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1851.066650390625,\r
+ "y": 1013.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "317c3552.8ea652"\r
+ "56e61af8.fb0edc"\r
]\r
]\r
},\r
{\r
- "id": "e3b12e57.7afb78",\r
+ "id": "5ac6d6d0.fa8f3",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1779.5,\r
- "y": 1071,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1842.066650390625,\r
+ "y": 1068.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "c0e357e5.8168d8"\r
+ "5b77e98c.bb3518"\r
]\r
]\r
},\r
{\r
- "id": "c0e357e5.8168d8",\r
+ "id": "5b77e98c.bb3518",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 1924.5,\r
- "y": 1070,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1987.066650390625,\r
+ "y": 1067.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "317c3552.8ea652",\r
+ "id": "56e61af8.fb0edc",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 1935.5,\r
- "y": 1013,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1998.066650390625,\r
+ "y": 1010.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "7b23fddb.009994",\r
+ "id": "c513ad5c.67a2a8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1901.8824462890625,\r
- "y": 959.6556701660156,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1964.4490966796875,\r
+ "y": 957.2223358154297,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "f3d54fb4.5c0a1"\r
+ "e866a3e1.053498"\r
]\r
]\r
},\r
{\r
- "id": "f3d54fb4.5c0a1",\r
+ "id": "e866a3e1.053498",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2063,\r
- "y": 974,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2125.566650390625,\r
+ "y": 971.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "763118b6.61e2b8"\r
+ "5690d718.48c698"\r
]\r
]\r
},\r
{\r
- "id": "763118b6.61e2b8",\r
+ "id": "5690d718.48c698",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2258,\r
- "y": 974,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2320.566650390625,\r
+ "y": 971.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "45a9ec7c.a92c4c"\r
+ "f99896f3.a9973"\r
]\r
]\r
},\r
{\r
- "id": "6fd0244b.f38ce4",\r
+ "id": "804d49e5.886028",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2638,\r
- "y": 970,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2700.566650390625,\r
+ "y": 967.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "e527c2f.df2fcc",\r
- "56d60802.89ee28"\r
+ "ebd7bd5b.40a158",\r
+ "9cbfb486.1d485"\r
]\r
]\r
},\r
{\r
- "id": "56d60802.89ee28",\r
+ "id": "9cbfb486.1d485",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"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' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2846,\r
- "y": 977,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2908.566650390625,\r
+ "y": 974.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "b854345d.faf84",\r
- "437ea2b.b00f35c",\r
- "fed3318a.a11e3"\r
+ "eb53f24.9c8df9",\r
+ "b699925f.52e788",\r
+ "177a0a75.4ffe3e"\r
]\r
]\r
},\r
{\r
- "id": "e527c2f.df2fcc",\r
+ "id": "ebd7bd5b.40a158",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domainG id",\r
"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",\r
"comments": "",\r
- "x": 2876,\r
- "y": 925,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2938.566650390625,\r
+ "y": 922.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "b854345d.faf84",\r
+ "id": "eb53f24.9c8df9",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3056,\r
- "y": 968,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3118.566650390625,\r
+ "y": 965.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "918d39ea.cf7f2"\r
+ "664ce225.e11764"\r
]\r
]\r
},\r
{\r
- "id": "437ea2b.b00f35c",\r
+ "id": "b699925f.52e788",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3048,\r
- "y": 1023,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3110.566650390625,\r
+ "y": 1020.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "1afabba1.4179cc"\r
+ "c5f2fad1.bd663"\r
]\r
]\r
},\r
{\r
- "id": "fed3318a.a11e3",\r
+ "id": "177a0a75.4ffe3e",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3053,\r
- "y": 1080,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3115.566650390625,\r
+ "y": 1077.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "e095e0e5.375ba"\r
+ "f4a026e6.715c"\r
]\r
]\r
},\r
{\r
- "id": "e095e0e5.375ba",\r
+ "id": "f4a026e6.715c",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 3205,\r
- "y": 1081,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3267.566650390625,\r
+ "y": 1078.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "1afabba1.4179cc",\r
+ "id": "c5f2fad1.bd663",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 3216,\r
- "y": 1026,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3278.566650390625,\r
+ "y": 1023.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "918d39ea.cf7f2",\r
+ "id": "664ce225.e11764",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3200.38232421875,\r
- "y": 965.6556701660156,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3262.948974609375,\r
+ "y": 963.2223358154297,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "47a021ef.066c88"\r
+ "a508abe9.f5813"\r
]\r
]\r
},\r
{\r
- "id": "45a9ec7c.a92c4c",\r
+ "id": "f99896f3.a9973",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2461,\r
- "y": 978,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2523.566650390625,\r
+ "y": 975.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "6fd0244b.f38ce4"\r
+ "804d49e5.886028"\r
]\r
]\r
},\r
{\r
- "id": "47a021ef.066c88",\r
+ "id": "a508abe9.f5813",\r
"type": "set",\r
"name": "set controller domainA data",\r
"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",\r
"comments": "",\r
- "x": 3415,\r
- "y": 962,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3477.566650390625,\r
+ "y": 959.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "715b7a53.d039d4",\r
+ "id": "6e9dd85.efe07a8",\r
"type": "switchNode",\r
"name": "switch dmnsidx == 0 (domainA)",\r
"xml": "<switch test='`$otnidx == 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1534,\r
- "y": 1188,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1596.566650390625,\r
+ "y": 1185.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "f53c2621.eb9438",\r
- "1c719c21.ec9b04"\r
+ "75774fa2.7a2cf",\r
+ "4436153e.9cd34c"\r
]\r
]\r
},\r
{\r
- "id": "f53c2621.eb9438",\r
+ "id": "75774fa2.7a2cf",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1735,\r
- "y": 1186,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1797.566650390625,\r
+ "y": 1183.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "39a7b2e1.a50fbe"\r
+ "36577996.f92cc6"\r
]\r
]\r
},\r
{\r
- "id": "b0d2a923.51103",\r
+ "id": "b48623b8.fdb8a",\r
"type": "set",\r
"name": "set pce-src-node",\r
"xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
"comments": "",\r
- "x": 2016,\r
- "y": 1136,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2078.566650390625,\r
+ "y": 1133.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "c9652673.c83de8",\r
+ "id": "54c1b7cf.fc463",\r
"type": "switchNode",\r
"name": "switch dmnsidx == last (domainB)",\r
"xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1952,\r
- "y": 1237,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2014.566650390625,\r
+ "y": 1234.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "ab876b76.0d0a8",\r
- "2a964a93.a3cb96"\r
+ "8183849e.8f8b9",\r
+ "edcb38ad.17a0a8"\r
]\r
]\r
},\r
{\r
- "id": "ab876b76.0d0a8",\r
+ "id": "8183849e.8f8b9",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2182,\r
- "y": 1233,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2244.566650390625,\r
+ "y": 1230.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "62dd94dd.71b75c"\r
+ "eb1da6e2.d6cac"\r
]\r
]\r
},\r
{\r
- "id": "1c719c21.ec9b04",\r
+ "id": "4436153e.9cd34c",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1735,\r
- "y": 1235,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1797.566650390625,\r
+ "y": 1232.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "c9652673.c83de8"\r
+ "54c1b7cf.fc463"\r
]\r
]\r
},\r
{\r
- "id": "2a964a93.a3cb96",\r
+ "id": "edcb38ad.17a0a8",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2183,\r
- "y": 1279,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2245.566650390625,\r
+ "y": 1276.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "1f38645a.fd2454"\r
+ "10a3f078.2aa84"\r
]\r
]\r
},\r
{\r
- "id": "1f38645a.fd2454",\r
+ "id": "10a3f078.2aa84",\r
"type": "set",\r
"name": "set attachment_param domain G",\r
"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`' />",\r
"comments": "",\r
- "x": 2397,\r
- "y": 1279,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2459.566650390625,\r
+ "y": 1276.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "ada84f30.11bba8",\r
+ "id": "8c80417d.32f06",\r
"type": "set",\r
"name": "set attachment_param domain A",\r
"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`' />",\r
"comments": "",\r
- "x": 2071,\r
- "y": 1183,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2133.566650390625,\r
+ "y": 1180.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "39a7b2e1.a50fbe",\r
+ "id": "36577996.f92cc6",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1859,\r
- "y": 1177,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1921.566650390625,\r
+ "y": 1174.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "ada84f30.11bba8"\r
+ "8c80417d.32f06"\r
]\r
]\r
},\r
{\r
- "id": "62dd94dd.71b75c",\r
+ "id": "eb1da6e2.d6cac",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2315,\r
- "y": 1209,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2377.566650390625,\r
+ "y": 1206.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "c86a8489.80e7c"\r
+ "4f91088c.aa2a9"\r
]\r
]\r
},\r
{\r
- "id": "dce0c80a.efad",\r
+ "id": "90fd9019.34d388",\r
"type": "set",\r
"name": "set pce-src-node",\r
"xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
"comments": "",\r
- "x": 2471,\r
- "y": 1225,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2533.566650390625,\r
+ "y": 1222.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "c86a8489.80e7c",\r
+ "id": "4f91088c.aa2a9",\r
"type": "set",\r
"name": "set attachment_param domain B",\r
"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]`' />",\r
"comments": "",\r
- "x": 2519,\r
- "y": 1177,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2581.566650390625,\r
+ "y": 1174.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "6f21b0a4.c1ba8",\r
+ "id": "d00a834c.9393c8",\r
"type": "set",\r
"name": "unset parameters",\r
"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",\r
"comments": "",\r
- "x": 404,\r
- "y": 2903,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 468.56658935546875,\r
+ "y": 3827.566909790039,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "5f4f339e.018654",\r
+ "id": "da9884fe.c1ab2",\r
"type": "set",\r
"name": "set srcTtp OTN layer",\r
"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",\r
"comments": "",\r
- "x": 445,\r
- "y": 915,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 507.566650390625,\r
+ "y": 912.5666656494141,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "13d7f319.f10ffd",\r
+ "id": "ef30d7fa.1abd9",\r
"type": "set",\r
"name": "set srcTtp+dstTtp pair",\r
"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",\r
"comments": "",\r
- "x": 1510,\r
- "y": 1268,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1572.566650390625,\r
+ "y": 1265.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "9673bbc9.e232d8",\r
+ "id": "95800647.4aa41",\r
"type": "call",\r
"name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1703,\r
- "y": 1365,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1764.5666198730469,\r
+ "y": 1363.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "fe43d4e7.2e266",\r
+ "id": "ba078fb1.cbb95",\r
"type": "set",\r
"name": "set current-provider-id and current-cvlan-id",\r
"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",\r
"comments": "",\r
- "x": 1574,\r
- "y": 1319,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1636.566650390625,\r
+ "y": 1316.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "8c1ff0ec.d0238",\r
+ "id": "84e1fc7d.aa5158",\r
"type": "switchNode",\r
"name": "switch found-connectivity?",\r
"xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1383,\r
- "y": 1520,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1445.566650390625,\r
+ "y": 1517.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "43f2090.27bb178",\r
- "78a0670.cf2d998"\r
+ "e1b1a2e3.c8a22",\r
+ "a1f3f094.cf6868"\r
]\r
]\r
},\r
{\r
- "id": "43f2090.27bb178",\r
+ "id": "e1b1a2e3.c8a22",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1669,\r
- "y": 2339,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1731.566650390625,\r
+ "y": 2336.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "c80f5b2c.e8799"\r
+ "877d2c40.229dc8"\r
]\r
]\r
},\r
{\r
- "id": "340621d.c4a9c5e",\r
+ "id": "9881a97f.aa45c",\r
"type": "comment",\r
"name": "call string.contains to check if the cache has srcTtpdstTtpPair",\r
"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.",\r
"comments": "",\r
- "x": 2095,\r
- "y": 2284,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2157.566650390625,\r
+ "y": 2281.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "b5382f7e.2bd898",\r
+ "id": "8313a95b.4655",\r
"type": "comment",\r
- "name": "create a new connectivity",\r
+ "name": "create a new connectivity - (for dummy connectivity)",\r
"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",\r
"comments": "",\r
- "x": 1906,\r
- "y": 1496,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2024.5666198730469,\r
+ "y": 1479.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "be6ceee2.825c9",\r
+ "id": "298356b2.691352",\r
"type": "save",\r
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
+ "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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2009,\r
- "y": 1532,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2071.566650390625,\r
+ "y": 1529.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "cf21392c.4841d8"\r
+ "594dfec1.070b58"\r
]\r
]\r
},\r
{\r
- "id": "cf21392c.4841d8",\r
+ "id": "594dfec1.070b58",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2297,\r
- "y": 1533,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2359.566650390625,\r
+ "y": 1530.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "7f292268.acccbc"\r
+ "20be2b7.b4b9054"\r
]\r
]\r
},\r
{\r
- "id": "7f292268.acccbc",\r
+ "id": "20be2b7.b4b9054",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2480.5,\r
- "y": 1531.25390625,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2543.066650390625,\r
+ "y": 1528.820571899414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "16c5a50f.2f8633",\r
+ "id": "48aaf3f8.b9dde4",\r
"type": "execute",\r
"name": "execute string.contains srcTtpdstTtpPair",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2083,\r
- "y": 2336,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2145.566650390625,\r
+ "y": 2333.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "452b77d1.b4f2a8",\r
- "b1806606.25c148"\r
+ "5fc5edcc.a33e6c",\r
+ "1c8fc333.3d53cd"\r
]\r
]\r
},\r
{\r
- "id": "452b77d1.b4f2a8",\r
+ "id": "5fc5edcc.a33e6c",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2256,\r
- "y": 2184,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2318.566650390625,\r
+ "y": 2181.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b1806606.25c148",\r
+ "id": "1c8fc333.3d53cd",\r
"type": "outcomeFalse",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2288,\r
- "y": 2443,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2350.566650390625,\r
+ "y": 2440.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "28b98f8a.d66ba8"\r
+ "7733ea37.676d94"\r
]\r
]\r
},\r
{\r
- "id": "65dfad8a.1bcc14",\r
+ "id": "94ea5f1c.00084",\r
"type": "save",\r
"name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
+ "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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2695,\r
- "y": 1974,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2757.566650390625,\r
+ "y": 1971.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "685af2d8.b662dc"\r
+ "ee79eb28.dfce98"\r
]\r
]\r
},\r
{\r
- "id": "685af2d8.b662dc",\r
+ "id": "ee79eb28.dfce98",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2999,\r
- "y": 1971,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3061.566650390625,\r
+ "y": 1968.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "edef5d31.f27bb8"\r
+ "cd827e2b.fca8e"\r
]\r
]\r
},\r
{\r
- "id": "edef5d31.f27bb8",\r
+ "id": "cd827e2b.fca8e",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3149.5,\r
- "y": 1978.25390625,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3212.066650390625,\r
+ "y": 1975.820571899414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "fca1e078.90281",\r
+ "id": "6a2d9e1e.0984a",\r
"type": "execute",\r
"name": "execute UUID generator for connectivity domain otnidx",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1989,\r
- "y": 1587,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2051.566650390625,\r
+ "y": 1584.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "84e90fcb.be7ce",\r
+ "id": "6f0be409.bf59b4",\r
"type": "save",\r
"name": "save connectivity resource in AAI",\r
- "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.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
+ "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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1927,\r
- "y": 1637,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1989.566650390625,\r
+ "y": 1634.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "548a399a.3a9a1",\r
+ "id": "f8e04437.c053b8",\r
"type": "save",\r
"name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",\r
"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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2028,\r
- "y": 1682,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2090.566650390625,\r
+ "y": 1679.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ea27a84e.a57e98",\r
+ "id": "83b33842.f7a008",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"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`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2064,\r
- "y": 1736,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2126.566650390625,\r
+ "y": 1733.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "688a1580.c26934",\r
+ "id": "665710a0.10b6d",\r
"type": "save",\r
"name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
"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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2032,\r
- "y": 1795,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2094.566650390625,\r
+ "y": 1792.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ab8e2668.029e08",\r
+ "id": "50815aa.2966624",\r
"type": "comment",\r
"name": "find middle-man's eth-srv-name",\r
"info": "",\r
"comments": "",\r
- "x": 1490,\r
- "y": 1411,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1552.566650390625,\r
+ "y": 1408.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "84f3d24d.36c17",\r
+ "id": "4be74bfa.e8a9a4",\r
"type": "set",\r
"name": "set prop.ethernet-service-name",\r
"xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",\r
"comments": "",\r
- "x": 1512,\r
- "y": 1455,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1574.566650390625,\r
+ "y": 1452.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "ae53151f.a2887",\r
+ "id": "7bee4ebc.b72be8",\r
"type": "save",\r
"name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",\r
"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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2719,\r
- "y": 2191,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2781.566650390625,\r
+ "y": 2188.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "4e7cd680.120818",\r
+ "id": "2dce7211.24f81e",\r
"type": "save",\r
"name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
"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`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2750,\r
- "y": 2230,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2812.566650390625,\r
+ "y": 2227.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ecdbcb6.a92d738",\r
+ "id": "90bd55a8.2fdfb",\r
"type": "save",\r
"name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",\r
"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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2721,\r
- "y": 2303,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2783.566650390625,\r
+ "y": 2300.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "82dff351.eb0b18",\r
+ "id": "7a94ba19.d3678c",\r
"type": "comment",\r
"name": "update the founded connectivity to have a new coupling-flag",\r
"info": "",\r
"comments": "",\r
- "x": 2691,\r
- "y": 2019,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2753.566650390625,\r
+ "y": 2016.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "4af074ca.bd591c",\r
+ "id": "1f39716d.08bb37",\r
"type": "set",\r
"name": "set newFlag",\r
"xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n $tmp.srcTtpdstTtpPair`\" />\n\n\n",\r
"comments": "",\r
- "x": 2577,\r
- "y": 2058,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2639.566650390625,\r
+ "y": 2055.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "5e632476.eb799c",\r
+ "id": "966d5b58.b138c",\r
"type": "save",\r
"name": "update connectivity resource in AAI",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2641,\r
- "y": 2103,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2703.566650390625,\r
+ "y": 2100.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "6b3b57c6.7c8f5",\r
+ "id": "3ca218f1.e24728",\r
"type": "comment",\r
"name": "the following two relationships should have already been there; if not => error",\r
"info": "",\r
"comments": "",\r
- "x": 2733,\r
- "y": 2153,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2795.566650390625,\r
+ "y": 2150.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "453ea410.800c04",\r
+ "id": "533f0d90.da6154",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1719,\r
- "y": 1520,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1781.566650390625,\r
+ "y": 1517.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "be6ceee2.825c9",\r
- "fca1e078.90281",\r
- "84e90fcb.be7ce",\r
- "548a399a.3a9a1",\r
- "ea27a84e.a57e98",\r
- "688a1580.c26934"\r
+ "298356b2.691352",\r
+ "6a2d9e1e.0984a",\r
+ "6f0be409.bf59b4",\r
+ "f8e04437.c053b8",\r
+ "83b33842.f7a008",\r
+ "665710a0.10b6d"\r
]\r
]\r
},\r
{\r
- "id": "78a0670.cf2d998",\r
+ "id": "a1f3f094.cf6868",\r
"type": "outcomeFalse",\r
"name": "false",\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1581,\r
- "y": 1516,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 1643.566650390625,\r
+ "y": 1513.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "453ea410.800c04"\r
+ "533f0d90.da6154"\r
]\r
]\r
},\r
{\r
- "id": "c80f5b2c.e8799",\r
+ "id": "877d2c40.229dc8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2379,\r
- "y": 1983,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2441.566650390625,\r
+ "y": 1980.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "65dfad8a.1bcc14",\r
- "4af074ca.bd591c",\r
- "5e632476.eb799c",\r
- "ecdbcb6.a92d738"\r
+ "94ea5f1c.00084",\r
+ "1f39716d.08bb37",\r
+ "966d5b58.b138c",\r
+ "90bd55a8.2fdfb"\r
]\r
]\r
},\r
{\r
- "id": "f5aa86ab.3de758",\r
+ "id": "921c2635.2657",\r
"type": "comment",\r
"name": "loop through the relationships of this founded connectivity, then",\r
"info": "then find the vpn-binding that has same src ttp and dst ttp as this one",\r
"comments": "",\r
- "x": 2384,\r
- "y": 2408,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2446.566650390625,\r
+ "y": 2405.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "8608bc09.df0608",\r
+ "id": "2a3dc4da.d825f4",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2726,\r
- "y": 2444,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2788.566650390625,\r
+ "y": 2441.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "5d08ac03.36d834"\r
+ "736b385a.35da7"\r
]\r
]\r
},\r
{\r
- "id": "5d08ac03.36d834",\r
+ "id": "736b385a.35da7",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2938,\r
- "y": 2442,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3000.566650390625,\r
+ "y": 2439.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "d7fbd393.802b28"\r
+ "e66ec218.e79bc"\r
]\r
]\r
},\r
{\r
- "id": "d7fbd393.802b28",\r
+ "id": "e66ec218.e79bc",\r
"type": "outcome",\r
"name": "vpn-binding",\r
"xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3122,\r
- "y": 2440,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3184.566650390625,\r
+ "y": 2437.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "7b17a25c.8a3ecc"\r
+ "8c204db5.df1ea"\r
]\r
]\r
},\r
{\r
- "id": "7b17a25c.8a3ecc",\r
+ "id": "8c204db5.df1ea",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3301,\r
- "y": 2445,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3363.566650390625,\r
+ "y": 2442.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "404536aa.fd072",\r
- "ebe21a38.772d1"\r
+ "750b8345.e6107c",\r
+ "b2411873.31b798"\r
]\r
]\r
},\r
{\r
- "id": "ebe21a38.772d1",\r
+ "id": "b2411873.31b798",\r
"type": "set",\r
"name": "unset tmp.aai.vpn-binding",\r
"xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
"comments": "",\r
- "x": 3518,\r
- "y": 2376,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3580.566650390625,\r
+ "y": 2373.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "404536aa.fd072",\r
+ "id": "750b8345.e6107c",\r
"type": "save",\r
"name": "get vpn-binding from aai",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3511,\r
- "y": 2462,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3573.566650390625,\r
+ "y": 2459.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "82eb023b.8b6878",\r
- "3917c696.d9cc82",\r
- "ad895865.ea3bc8"\r
+ "bdf485ca.827e58",\r
+ "ed90443b.6fe53",\r
+ "a94ce9b.8c46898"\r
]\r
]\r
},\r
{\r
- "id": "3917c696.d9cc82",\r
+ "id": "ed90443b.6fe53",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3724.490966796875,\r
- "y": 2446.5740356445312,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3787.0576171875,\r
+ "y": 2444.1407012939453,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "33dd47ac.b200d"\r
+ "1ae663bf.60e5d4"\r
]\r
]\r
},\r
{\r
- "id": "33dd47ac.b200d",\r
+ "id": "1ae663bf.60e5d4",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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",\r
"comments": "",\r
- "x": 3887.0625,\r
- "y": 2445.8597412109375,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3949.629150390625,\r
+ "y": 2443.4264068603516,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "49f1ea3b.eabc34",\r
+ "id": "4b566804.b29878",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3888,\r
- "y": 2491,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3950.566650390625,\r
+ "y": 2488.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "ad895865.ea3bc8",\r
+ "id": "a94ce9b.8c46898",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3720,\r
- "y": 2491,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3782.566650390625,\r
+ "y": 2488.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "49f1ea3b.eabc34"\r
+ "4b566804.b29878"\r
]\r
]\r
},\r
{\r
- "id": "82eb023b.8b6878",\r
+ "id": "bdf485ca.827e58",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3722,\r
- "y": 2551,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3784.566650390625,\r
+ "y": 2548.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "cb43f8c5.5d2f9"\r
+ "e92643e6.dea4d"\r
]\r
]\r
},\r
{\r
- "id": "cb43f8c5.5d2f9",\r
+ "id": "e92643e6.dea4d",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3891,\r
- "y": 2550,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 3953.566650390625,\r
+ "y": 2547.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "b8d3290b.70429"\r
+ "8f8a5cb3.af8a3"\r
]\r
]\r
},\r
{\r
- "id": "28b98f8a.d66ba8",\r
+ "id": "7733ea37.676d94",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2515,\r
- "y": 2442,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2577.566650390625,\r
+ "y": 2439.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "8608bc09.df0608",\r
- "57ababe0.ec3414",\r
- "52276af3.2f9a4c"\r
+ "2a3dc4da.d825f4",\r
+ "9b2ffd1b.3a96e",\r
+ "6fbcac88.0e9a54"\r
]\r
]\r
},\r
{\r
- "id": "b8d3290b.70429",\r
+ "id": "8f8a5cb3.af8a3",\r
"type": "switchNode",\r
"name": "switch srcTtp",\r
"xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4090,\r
- "y": 2551,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 4152.566650390625,\r
+ "y": 2548.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "4ce3e8eb.f24da8"\r
+ "bc9f47cc.0b96"\r
]\r
]\r
},\r
{\r
- "id": "4ce3e8eb.f24da8",\r
+ "id": "bc9f47cc.0b96",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4253,\r
- "y": 2549,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 4315.566650390625,\r
+ "y": 2546.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "18f785cc.cf347a"\r
+ "566fa06e.e1e238"\r
]\r
]\r
},\r
{\r
- "id": "18f785cc.cf347a",\r
+ "id": "566fa06e.e1e238",\r
"type": "switchNode",\r
"name": "switch dstTtp",\r
"xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4434,\r
- "y": 2549,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 4496.566650390625,\r
+ "y": 2546.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "988f1cd5.aa027"\r
+ "f4daf0bd.af9d9"\r
]\r
]\r
},\r
{\r
- "id": "988f1cd5.aa027",\r
+ "id": "f4daf0bd.af9d9",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4597,\r
- "y": 2547,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 4659.566650390625,\r
+ "y": 2544.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "9caa890d.344aa8"\r
+ "c0c49b50.2a7748"\r
]\r
]\r
},\r
{\r
- "id": "dd1b26b2.35eef",\r
+ "id": "562992d6.b870dc",\r
"type": "set",\r
"name": "set tmp.the-vpn-binding",\r
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",\r
"comments": "",\r
- "x": 4954,\r
- "y": 2554,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 5016.566650390625,\r
+ "y": 2551.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "9caa890d.344aa8",\r
+ "id": "c0c49b50.2a7748",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4736,\r
- "y": 2546,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 4798.566650390625,\r
+ "y": 2543.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[\r
- "dd1b26b2.35eef",\r
- "69c80295.f3b48c"\r
+ "562992d6.b870dc",\r
+ "10659fb.a744fe"\r
]\r
]\r
},\r
{\r
- "id": "69c80295.f3b48c",\r
+ "id": "10659fb.a744fe",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4900,\r
- "y": 2598,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 4962.566650390625,\r
+ "y": 2595.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "57ababe0.ec3414",\r
+ "id": "9b2ffd1b.3a96e",\r
"type": "set",\r
"name": "unset tmp.the-vpn-binding",\r
"xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",\r
"comments": "",\r
- "x": 2736,\r
- "y": 2405,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2798.566650390625,\r
+ "y": 2402.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "b81a7ea3.f58288",\r
+ "id": "9d592730.4455b8",\r
"type": "comment",\r
"name": "increase the bw of the-vpn-binding and change status to modified",\r
"info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
"comments": "",\r
- "x": 2825,\r
- "y": 2579,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2887.566650390625,\r
+ "y": 2576.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": []\r
},\r
{\r
- "id": "52276af3.2f9a4c",\r
+ "id": "6fbcac88.0e9a54",\r
"type": "save",\r
"name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2795,\r
- "y": 2639,\r
- "z": "4fb14ce0.40eb24",\r
+ "x": 2857.566650390625,\r
+ "y": 2636.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
"wires": [\r
[]\r
]\r
+ },\r
+ {\r
+ "id": "5d4c8b88.6ea084",\r
+ "type": "switchNode",\r
+ "name": "switch otninfoProtect exists",\r
+ "xml": "<switch test=\"`$tmp.otninfoProtect_length > 0`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 623.6832885742188,\r
+ "y": 2502.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "b304b119.fc6c6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b304b119.fc6c6",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 844.6832885742188,\r
+ "y": 2503.566665649414,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "929a93b0.fb26e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1365d05a.43ccb8",\r
+ "type": "for",\r
+ "name": "for vidx..tmp.otninfoProtect_length[]",\r
+ "xml": "<for index='otnidx' start='0' end='`$tmp.otninfoProtect_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 660.2333374023438,\r
+ "y": 3284.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "d491584d.33cd28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d491584d.33cd28",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 920.2333068847656,\r
+ "y": 3277.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "252a570f.f396c8",\r
+ "f0403523.cecec",\r
+ "53ad6d75.3e9854",\r
+ "61d4cb78.58331c",\r
+ "d81f3e39.a99398",\r
+ "57f2e473.517f54",\r
+ "c1b2a740.d37fa",\r
+ "34621460.796344",\r
+ "5ed2002c.80ebf8",\r
+ "6dfdf88f.4bb6c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f0403523.cecec",\r
+ "type": "switchNode",\r
+ "name": "switch dstPort == NULL",\r
+ "xml": "<switch test=\"`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1309.2333374023438,\r
+ "y": 2946.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "a19e39b9.f8da1",\r
+ "f567fdff.bdc4a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f567fdff.bdc4a8",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1676.2333374023438,\r
+ "y": 2953.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "4918f2b6.cf40ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4918f2b6.cf40ac",\r
+ "type": "set",\r
+ "name": "set access-provider-id and client-id",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1887.2333374023438,\r
+ "y": 2951.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "53ad6d75.3e9854",\r
+ "type": "set",\r
+ "name": "set srcdstpnf-name",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1485.2333374023438,\r
+ "y": 3020.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "61d4cb78.58331c",\r
+ "type": "get-resource",\r
+ "name": "get-resource tmp.srcdstpnf-name",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1529.2333374023438,\r
+ "y": 3068.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "c8e35acd.0cd338",\r
+ "1a3bc3e9.de0b6c",\r
+ "d9c66705.f174c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c8e35acd.0cd338",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1741.7333374023438,\r
+ "y": 3015.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "b0542ad9.f9bdf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1a3bc3e9.de0b6c",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1753.7333374023438,\r
+ "y": 3065.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "6126bc5c.e48684"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d9c66705.f174c8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1744.7333374023438,\r
+ "y": 3120.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "bc3263f3.ac82e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bc3263f3.ac82e",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1889.7333374023438,\r
+ "y": 3119.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6126bc5c.e48684",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1900.7333374023438,\r
+ "y": 3062.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b0542ad9.f9bdf8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1867.1157836914062,\r
+ "y": 3009.1222381591797,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "fcdf9d8b.4643d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fcdf9d8b.4643d",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2028.2333374023438,\r
+ "y": 3023.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "d8f6f412.7d192"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d8f6f412.7d192",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2223.2333374023438,\r
+ "y": 3023.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "513cd183.70a36"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "16c3d135.367537",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2603.2333374023438,\r
+ "y": 3019.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "8f09a3ce.bb8bc8",\r
+ "42328e66.9a179"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "42328e66.9a179",\r
+ "type": "execute",\r
+ "name": "get esr-thirdparty-sdnc",\r
+ "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' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2811.2333374023438,\r
+ "y": 3026.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "2a95e8b.71c7818",\r
+ "8cd4441d.84eb48",\r
+ "2f9a0731.3058d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8f09a3ce.bb8bc8",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domainG id",\r
+ "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",\r
+ "comments": "",\r
+ "x": 2841.2333374023438,\r
+ "y": 2974.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2a95e8b.71c7818",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3021.2333374023438,\r
+ "y": 3017.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "bb0632bc.6bdea8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8cd4441d.84eb48",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3013.2333374023438,\r
+ "y": 3072.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "fee906e6.a31e28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2f9a0731.3058d8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3018.2333374023438,\r
+ "y": 3129.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "b7732316.bbeb1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b7732316.bbeb1",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 3170.2333374023438,\r
+ "y": 3130.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fee906e6.a31e28",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 3181.2333374023438,\r
+ "y": 3075.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bb0632bc.6bdea8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3165.6156616210938,\r
+ "y": 3015.1222381591797,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "f496005b.73025"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "513cd183.70a36",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2426.2333374023438,\r
+ "y": 3027.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "16c3d135.367537"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f496005b.73025",\r
+ "type": "set",\r
+ "name": "set controller domainA data",\r
+ "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",\r
+ "comments": "",\r
+ "x": 3380.2333374023438,\r
+ "y": 3011.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d81f3e39.a99398",\r
+ "type": "switchNode",\r
+ "name": "switch dmnsidx == 0 (domainA)",\r
+ "xml": "<switch test='`$otnidx == 0`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1499.2333374023438,\r
+ "y": 3237.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "f53e378b.14151",\r
+ "e638c491.631368"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f53e378b.14151",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1700.2333374023438,\r
+ "y": 3235.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "7fd6322b.5362bc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f8356e69.4561c",\r
+ "type": "set",\r
+ "name": "set pce-src-node",\r
+ "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
+ "comments": "",\r
+ "x": 1981.2333374023438,\r
+ "y": 3185.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4191bf2c.16bd58",\r
+ "type": "switchNode",\r
+ "name": "switch dmnsidx == last (domainC)",\r
+ "xml": "<switch test='`$otnidx == $tmp.otninfoProtect_length - 1`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1917.2333374023438,\r
+ "y": 3286.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "93d13951.14dd18",\r
+ "fa75dc08.2eaf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "93d13951.14dd18",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2147.2333374023438,\r
+ "y": 3282.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "8d4bef0b.6a0fe8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e638c491.631368",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1700.2333374023438,\r
+ "y": 3284.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "4191bf2c.16bd58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fa75dc08.2eaf8",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2148.2333374023438,\r
+ "y": 3328.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "5bb88da7.4d8694"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5bb88da7.4d8694",\r
+ "type": "set",\r
+ "name": "set attachment_param domain G",\r
+ "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`' />",\r
+ "comments": "",\r
+ "x": 2362.2333374023438,\r
+ "y": 3328.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6729c928.c3b6c",\r
+ "type": "set",\r
+ "name": "set attachment_param domain A",\r
+ "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`' />",\r
+ "comments": "",\r
+ "x": 2036.2333374023438,\r
+ "y": 3232.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7fd6322b.5362bc",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1824.2333374023438,\r
+ "y": 3226.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "6729c928.c3b6c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8d4bef0b.6a0fe8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2280.2333374023438,\r
+ "y": 3258.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "e3feca80.0e5828"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e95f7eb5.2af0b8",\r
+ "type": "set",\r
+ "name": "set pce-src-node",\r
+ "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
+ "comments": "",\r
+ "x": 2436.2333374023438,\r
+ "y": 3274.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e3feca80.0e5828",\r
+ "type": "set",\r
+ "name": "set attachment_param domain C",\r
+ "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]`' />",\r
+ "comments": "",\r
+ "x": 2484.2333374023438,\r
+ "y": 3226.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "57f2e473.517f54",\r
+ "type": "set",\r
+ "name": "set srcTtp+dstTtp pair",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1475.2333374023438,\r
+ "y": 3317.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "34621460.796344",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1667.2333068847656,\r
+ "y": 3415.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c1b2a740.d37fa",\r
+ "type": "set",\r
+ "name": "set current-provider-id and current-cvlan-id",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1539.2333374023438,\r
+ "y": 3368.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5ed2002c.80ebf8",\r
+ "type": "switchNode",\r
+ "name": "switch found-connectivity?",\r
+ "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1348.2333374023438,\r
+ "y": 3569.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "3ba1da7b.60657e",\r
+ "5bde363c.523c48"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3ba1da7b.60657e",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1634.2333374023438,\r
+ "y": 4388.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "c5f8d573.741818"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cfba9c01.06834",\r
+ "type": "comment",\r
+ "name": "call string.contains to check if the cache has srcTtpdstTtpPair",\r
+ "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.",\r
+ "comments": "",\r
+ "x": 2060.2333374023438,\r
+ "y": 4333.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d5ee8376.6d7b3",\r
+ "type": "comment",\r
+ "name": "create a new connectivity - (for dummy connectivity)",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1927.2333068847656,\r
+ "y": 3531.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7d7a6dc.ff5ab14",\r
+ "type": "save",\r
+ "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1974.2333374023438,\r
+ "y": 3581.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "770ec83d.f5f698"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "770ec83d.f5f698",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2262.2333374023438,\r
+ "y": 3582.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "1ea6c507.8eb3c3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1ea6c507.8eb3c3",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2445.7333374023438,\r
+ "y": 3580.720474243164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4b1e068c.b603",\r
+ "type": "execute",\r
+ "name": "execute string.contains srcTtpdstTtpPair",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2048.2333374023438,\r
+ "y": 4385.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "fa23bfea.633fa",\r
+ "5640420c.c8d724"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fa23bfea.633fa",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2221.2333374023438,\r
+ "y": 4233.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5640420c.c8d724",\r
+ "type": "outcomeFalse",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2253.2333374023438,\r
+ "y": 4492.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "745b8702.06258"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "566a0421.e07abc",\r
+ "type": "save",\r
+ "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2660.2333374023438,\r
+ "y": 4023.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "e7e1a1af.83dc9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e7e1a1af.83dc9",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2964.2333374023438,\r
+ "y": 4020.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "9e39afad.724988"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9e39afad.724988",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3114.7333374023438,\r
+ "y": 4027.720474243164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5fd9a93f.71f3e",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for connectivity domain otnidx",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1954.2333374023438,\r
+ "y": 3636.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e99e1220.c8d158",\r
+ "type": "save",\r
+ "name": "save connectivity resource in AAI",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1892.2333374023438,\r
+ "y": 3686.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e74eb1dd.b1cce",\r
+ "type": "save",\r
+ "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1993.2333374023438,\r
+ "y": 3731.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d069cfb2.559918",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "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`\" />-->",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2029.2333374023438,\r
+ "y": 3785.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "db7724b7.c0b95",\r
+ "type": "save",\r
+ "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1997.2333374023438,\r
+ "y": 3844.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "dccc268f.14582",\r
+ "type": "comment",\r
+ "name": "find middle-man's eth-srv-name",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1455.2333374023438,\r
+ "y": 3460.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6dfdf88f.4bb6c",\r
+ "type": "set",\r
+ "name": "set prop.ethernet-service-name",\r
+ "xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",\r
+ "comments": "",\r
+ "x": 1477.2333374023438,\r
+ "y": 3504.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e9be22f5.c3b77",\r
+ "type": "save",\r
+ "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2684.2333374023438,\r
+ "y": 4240.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e3ac7685.f8539",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "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`\" />-->",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2715.2333374023438,\r
+ "y": 4279.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8511409f.51bd2",\r
+ "type": "save",\r
+ "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2686.2333374023438,\r
+ "y": 4352.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "65db0af6.94eaf4",\r
+ "type": "comment",\r
+ "name": "update the founded connectivity to have a new coupling-flag",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 2656.2333374023438,\r
+ "y": 4068.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "537df036.3150f",\r
+ "type": "set",\r
+ "name": "set newFlag",\r
+ "xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n $tmp.srcTtpdstTtpPair`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2542.2333374023438,\r
+ "y": 4107.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "73887d45.2afa44",\r
+ "type": "save",\r
+ "name": "update connectivity resource in AAI",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2606.2333374023438,\r
+ "y": 4152.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "442047ec.b76048",\r
+ "type": "comment",\r
+ "name": "the following two relationships should have already been there; if not => error",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 2698.2333374023438,\r
+ "y": 4202.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a6868862.e0d7a8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1684.2333374023438,\r
+ "y": 3569.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "7d7a6dc.ff5ab14",\r
+ "5fd9a93f.71f3e",\r
+ "e99e1220.c8d158",\r
+ "e74eb1dd.b1cce",\r
+ "d069cfb2.559918",\r
+ "db7724b7.c0b95"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5bde363c.523c48",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1546.2333374023438,\r
+ "y": 3565.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "a6868862.e0d7a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c5f8d573.741818",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2344.2333374023438,\r
+ "y": 4032.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "566a0421.e07abc",\r
+ "537df036.3150f",\r
+ "73887d45.2afa44",\r
+ "8511409f.51bd2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b5f6b52.3288",\r
+ "type": "comment",\r
+ "name": "loop through the relationships of this founded connectivity, then",\r
+ "info": "then find the vpn-binding that has same src ttp and dst ttp as this one",\r
+ "comments": "",\r
+ "x": 2349.2333374023438,\r
+ "y": 4457.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1a02430.b289b3d",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2691.2333374023438,\r
+ "y": 4493.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "cd907dba.e4d3c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd907dba.e4d3c8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2903.2333374023438,\r
+ "y": 4491.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "20ed8870.8c9e9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "20ed8870.8c9e9",\r
+ "type": "outcome",\r
+ "name": "vpn-binding",\r
+ "xml": "<outcome value='vpn-binding'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3087.2333374023438,\r
+ "y": 4489.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "3940766f.dd75d2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3940766f.dd75d2",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3266.2333374023438,\r
+ "y": 4494.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "de8d19cf.e0eb38",\r
+ "501e7414.822a34"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "501e7414.822a34",\r
+ "type": "set",\r
+ "name": "unset tmp.aai.vpn-binding",\r
+ "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
+ "comments": "",\r
+ "x": 3483.2333374023438,\r
+ "y": 4425.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "de8d19cf.e0eb38",\r
+ "type": "save",\r
+ "name": "get vpn-binding from aai",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3476.2333374023438,\r
+ "y": 4511.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "fabce7f.821b298",\r
+ "84c19fc0.ef7ad8",\r
+ "d8007fa7.e96748"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "84c19fc0.ef7ad8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3689.7243041992188,\r
+ "y": 4496.040603637695,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "ab7f4c85.a03338"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab7f4c85.a03338",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 3852.2958374023438,\r
+ "y": 4495.326309204102,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c7bb2a00.8d6e3",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 3853.2333374023438,\r
+ "y": 4540.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d8007fa7.e96748",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3685.2333374023438,\r
+ "y": 4540.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "c7bb2a00.8d6e3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fabce7f.821b298",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3687.2333374023438,\r
+ "y": 4600.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "44bdcb57.5d1c04"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "44bdcb57.5d1c04",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3856.2333374023438,\r
+ "y": 4599.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "ab8a9481.ed1188"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "745b8702.06258",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2480.2333374023438,\r
+ "y": 4491.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "1a02430.b289b3d",\r
+ "b7b42ab.e3d1558",\r
+ "e37b8cbd.aee6b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab8a9481.ed1188",\r
+ "type": "switchNode",\r
+ "name": "switch srcTtp",\r
+ "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4055.2333374023438,\r
+ "y": 4600.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "b7cd5564.ed6c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b7cd5564.ed6c",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4218.233337402344,\r
+ "y": 4598.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "ccabadec.a87d08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ccabadec.a87d08",\r
+ "type": "switchNode",\r
+ "name": "switch dstTtp",\r
+ "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4399.233337402344,\r
+ "y": 4598.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "61252d2.f400154"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "61252d2.f400154",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4562.233337402344,\r
+ "y": 4596.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "c33d2a30.0a34e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "73039273.69e874",\r
+ "type": "set",\r
+ "name": "set tmp.the-vpn-binding",\r
+ "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",\r
+ "comments": "",\r
+ "x": 4919.233337402344,\r
+ "y": 4603.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c33d2a30.0a34e8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4701.233337402344,\r
+ "y": 4595.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "73039273.69e874",\r
+ "9503d547.7a1c98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9503d547.7a1c98",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4865.233337402344,\r
+ "y": 4647.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b7b42ab.e3d1558",\r
+ "type": "set",\r
+ "name": "unset tmp.the-vpn-binding",\r
+ "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",\r
+ "comments": "",\r
+ "x": 2701.2333374023438,\r
+ "y": 4454.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d737e9cc.f602b8",\r
+ "type": "comment",\r
+ "name": "increase the bw of the-vpn-binding and change status to modified",\r
+ "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
+ "comments": "",\r
+ "x": 2790.2333374023438,\r
+ "y": 4628.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e37b8cbd.aee6b8",\r
+ "type": "save",\r
+ "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2760.2333374023438,\r
+ "y": 4688.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "252a570f.f396c8",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for vpn-binding $otnidx",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1595.2333374023438,\r
+ "y": 2856.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a19e39b9.f8da1",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1675.2333374023438,\r
+ "y": 2907.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "f653960c.909178"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f653960c.909178",\r
+ "type": "set",\r
+ "name": "set access-provider-id and client-id",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1889.2333374023438,\r
+ "y": 2906.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8f4a3300.fba8d8",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1255.1332397460938,\r
+ "y": 2491.466567993164,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "929a93b0.fb26e",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1029.7666625976562,\r
+ "y": 2507.699966430664,\r
+ "z": "ba0dc87e.a3b258",\r
+ "wires": [\r
+ [\r
+ "8f4a3300.fba8d8",\r
+ "1365d05a.43ccb8"\r
+ ]\r
+ ]\r
}\r
]
\ No newline at end of file