"8c187a81.9e4d28",\r
"75113293.98ea0c",\r
"9937b93d.ff5938",\r
- "55dde830.cc61b8"\r
+ "55dde830.cc61b8",\r
+ "f7667eb6.ec8938"\r
]\r
]\r
},\r
"3c657cae.66477c",\r
"2e1dc2b9.f23686",\r
"8c144095.b1eaf8",\r
- "9abbad80.6c0f7"\r
+ "9abbad80.6c0f7",\r
+ "ef702ba5.ac71e"\r
]\r
]\r
},\r
"name": "set termination point",\r
"xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",\r
"comments": "",\r
- "x": 1550.111328125,\r
- "y": 536.0000457763672,\r
+ "x": 1549.111328125,\r
+ "y": 557.0000610351562,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
"id": "8c144095.b1eaf8",\r
"type": "save",\r
"name": "save p-interface",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' > \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n<parameter name='inter-layer-lock-id' value='`$tp.te.inter-layer-lock-id[0]`' />\n<parameter name='inter-domain-plug-id' value='`$tp.te.inter-domain-plug-id`' />\n\n",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' > \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n<parameter name='inter-layer-lock-id' value='`$tp.te.inter-layer-lock-id[0]`' />\n<!--<parameter name='inter-domain-plug-id' value='`$tp.te.inter-domain-plug-id`' />-->\n<parameter name='inter-domain-plug-id' value='`$tmp.decoded-plug-id`' />\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1533.815185546875,\r
- "y": 628.5556030273438,\r
+ "x": 1543.815185546875,\r
+ "y": 744.5556030273438,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $unique-nodeId '/p-interfaces/p-interface/' + $unique-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ltpId`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1367.703857421875,\r
- "y": 779.3333740234375,\r
+ "x": 1626.703857421875,\r
+ "y": 901.3333740234375,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
"name": "set unique-ltpId",\r
"xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",\r
"comments": "",\r
- "x": 1534.000244140625,\r
- "y": 570.1111145019531,\r
+ "x": 1533.000244140625,\r
+ "y": 614.111083984375,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
"id": "8c187a81.9e4d28",\r
"type": "execute",\r
"name": "execute",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$network.network-id`\"/>\n <parameter name=\"outputPath\" value=\"tmp.network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$network.network-id`\"/>\n <parameter name=\"outputPath\" value=\"tmp.original-network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ",\r
"comments": "",\r
"outputs": 1,\r
- "x": 640.9935302734375,\r
- "y": 83.99349975585938,\r
+ "x": 641.9935302734375,\r
+ "y": 41.993499755859375,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1705.499885559082,\r
- "y": 615.7460784912109,\r
+ "x": 1715.499885559082,\r
+ "y": 731.7460784912109,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1699.1784744262695,\r
- "y": 667.9603900909424,\r
+ "x": 1709.1784744262695,\r
+ "y": 783.9603900909424,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1856.0000457763672,\r
- "y": 615.0000095367432,\r
+ "x": 1866.0000457763672,\r
+ "y": 731.0000095367432,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
"id": "66113f50.7819f8",\r
"type": "update",\r
"name": "update p-interface",\r
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' > \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n<parameter name='inter-layer-lock-id' value='`$tp.te.inter-layer-lock-id[0]`' />\n<parameter name='inter-domain-plug-id' value='`$tp.te.inter-domain-plug-id`' />",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' > \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n<parameter name='inter-layer-lock-id' value='`$tp.te.inter-layer-lock-id[0]`' />\n<!--<parameter name='inter-domain-plug-id' value='`$tp.te.inter-domain-plug-id`' />-->\n<parameter name='inter-domain-plug-id' value='`$tmp.decoded-plug-id`' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1885,\r
- "y": 669,\r
+ "x": 1895,\r
+ "y": 785,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface:relationship-list' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-nodeId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-nodeId`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1617,\r
- "y": 728,\r
+ "x": 1627,\r
+ "y": 844,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
"name": "unset termination point",\r
"xml": "<set>\n<parameter name='tp.' value='' />\n",\r
"comments": "",\r
- "x": 1549,\r
- "y": 491,\r
+ "x": 1561,\r
+ "y": 500,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
"wires": [\r
[]\r
]\r
+ },\r
+ {\r
+ "id": "b9a378e9.3ee13",\r
+ "type": "execute",\r
+ "name": "execute Base64 Converter",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='base64DecodingAlgo' >\n <parameter name=\"encodedValue\" value='`$tp.te.inter-domain-plug-id`'/>\n <parameter name=\"decodedValue\" value=\"tmp.decoded-plug-id\"/>\n ",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2027,\r
+ "y": 669,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "1cdf8713.954a51",\r
+ "3754d4b.0357eac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ef702ba5.ac71e",\r
+ "type": "switchNode",\r
+ "name": "switch inter-domain-plug-id empty?",\r
+ "xml": "<switch test='`length($tp.te.inter-domain-plug-id) == 0`'>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1597,\r
+ "y": 670,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "95523b36.e61fe",\r
+ "a2f27028.9e578"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a2f27028.9e578",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1824,\r
+ "y": 623,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "ce508a28.fe217"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "95523b36.e61fe",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1825,\r
+ "y": 669,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "b9a378e9.3ee13"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ce508a28.fe217",\r
+ "type": "set",\r
+ "name": "unset tmp.decoded-plug-id",\r
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",\r
+ "comments": "",\r
+ "x": 2028,\r
+ "y": 623,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1cdf8713.954a51",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2232,\r
+ "y": 646,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "611d993d.82c5c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3754d4b.0357eac",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2225.6785888671875,\r
+ "y": 698.2143115997314,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "495bfe4.4b1a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "611d993d.82c5c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2373,\r
+ "y": 646,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "495bfe4.4b1a",\r
+ "type": "set",\r
+ "name": "unset tmp.decoded-plug-id",\r
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='`$tp.te.inter-domain-plug-id`' />\n",\r
+ "comments": "",\r
+ "x": 2432,\r
+ "y": 698,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f7667eb6.ec8938",\r
+ "type": "set",\r
+ "name": "set tmp.network-if",\r
+ "xml": "<set>\n<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 667,\r
+ "y": 83,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
}\r
]
\ No newline at end of file