summaryrefslogtreecommitdiffstats
path: root/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json')
-rw-r--r--platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json202
1 files changed, 175 insertions, 27 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json b/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json
index 786fef55..7b6731cb 100644
--- a/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json
+++ b/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json
@@ -63,7 +63,8 @@
"8c187a81.9e4d28",
"75113293.98ea0c",
"9937b93d.ff5938",
- "55dde830.cc61b8"
+ "55dde830.cc61b8",
+ "f7667eb6.ec8938"
]
]
},
@@ -159,7 +160,8 @@
"3c657cae.66477c",
"2e1dc2b9.f23686",
"8c144095.b1eaf8",
- "9abbad80.6c0f7"
+ "9abbad80.6c0f7",
+ "ef702ba5.ac71e"
]
]
},
@@ -169,8 +171,8 @@
"name": "set termination point",
"xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
"comments": "",
- "x": 1550.111328125,
- "y": 536.0000457763672,
+ "x": 1549.111328125,
+ "y": 557.0000610351562,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
@@ -178,11 +180,11 @@
"id": "8c144095.b1eaf8",
"type": "save",
"name": "save p-interface",
- "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",
+ "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",
"comments": "",
"outputs": 1,
- "x": 1533.815185546875,
- "y": 628.5556030273438,
+ "x": 1543.815185546875,
+ "y": 744.5556030273438,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
@@ -198,8 +200,8 @@
"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`\" />",
"comments": "",
"outputs": 1,
- "x": 1367.703857421875,
- "y": 779.3333740234375,
+ "x": 1626.703857421875,
+ "y": 901.3333740234375,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
@@ -211,8 +213,8 @@
"name": "set unique-ltpId",
"xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",
"comments": "",
- "x": 1534.000244140625,
- "y": 570.1111145019531,
+ "x": 1533.000244140625,
+ "y": 614.111083984375,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
@@ -220,11 +222,11 @@
"id": "8c187a81.9e4d28",
"type": "execute",
"name": "execute",
- "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 ",
+ "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 ",
"comments": "",
"outputs": 1,
- "x": 640.9935302734375,
- "y": 83.99349975585938,
+ "x": 641.9935302734375,
+ "y": 41.993499755859375,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
@@ -251,8 +253,8 @@
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1705.499885559082,
- "y": 615.7460784912109,
+ "x": 1715.499885559082,
+ "y": 731.7460784912109,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
@@ -267,8 +269,8 @@
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1699.1784744262695,
- "y": 667.9603900909424,
+ "x": 1709.1784744262695,
+ "y": 783.9603900909424,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
@@ -284,8 +286,8 @@
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1856.0000457763672,
- "y": 615.0000095367432,
+ "x": 1866.0000457763672,
+ "y": 731.0000095367432,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
@@ -295,11 +297,11 @@
"id": "66113f50.7819f8",
"type": "update",
"name": "update p-interface",
- "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`' />",
+ "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`' />",
"comments": "",
"outputs": 1,
- "x": 1885,
- "y": 669,
+ "x": 1895,
+ "y": 785,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
@@ -457,8 +459,8 @@
"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",
"comments": "",
"outputs": 1,
- "x": 1617,
- "y": 728,
+ "x": 1627,
+ "y": 844,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
@@ -674,8 +676,8 @@
"name": "unset termination point",
"xml": "<set>\n<parameter name='tp.' value='' />\n",
"comments": "",
- "x": 1549,
- "y": 491,
+ "x": 1561,
+ "y": 500,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
@@ -749,5 +751,151 @@
"wires": [
[]
]
+ },
+ {
+ "id": "b9a378e9.3ee13",
+ "type": "execute",
+ "name": "execute Base64 Converter",
+ "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 ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2027,
+ "y": 669,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": [
+ [
+ "1cdf8713.954a51",
+ "3754d4b.0357eac"
+ ]
+ ]
+ },
+ {
+ "id": "ef702ba5.ac71e",
+ "type": "switchNode",
+ "name": "switch inter-domain-plug-id empty?",
+ "xml": "<switch test='`length($tp.te.inter-domain-plug-id) == 0`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597,
+ "y": 670,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": [
+ [
+ "95523b36.e61fe",
+ "a2f27028.9e578"
+ ]
+ ]
+ },
+ {
+ "id": "a2f27028.9e578",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1824,
+ "y": 623,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": [
+ [
+ "ce508a28.fe217"
+ ]
+ ]
+ },
+ {
+ "id": "95523b36.e61fe",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1825,
+ "y": 669,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": [
+ [
+ "b9a378e9.3ee13"
+ ]
+ ]
+ },
+ {
+ "id": "ce508a28.fe217",
+ "type": "set",
+ "name": "unset tmp.decoded-plug-id",
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",
+ "comments": "",
+ "x": 2028,
+ "y": 623,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": []
+ },
+ {
+ "id": "1cdf8713.954a51",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2232,
+ "y": 646,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": [
+ [
+ "611d993d.82c5c"
+ ]
+ ]
+ },
+ {
+ "id": "3754d4b.0357eac",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2225.6785888671875,
+ "y": 698.2143115997314,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": [
+ [
+ "495bfe4.4b1a"
+ ]
+ ]
+ },
+ {
+ "id": "611d993d.82c5c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2373,
+ "y": 646,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "495bfe4.4b1a",
+ "type": "set",
+ "name": "unset tmp.decoded-plug-id",
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='`$tp.te.inter-domain-plug-id`' />\n",
+ "comments": "",
+ "x": 2432,
+ "y": 698,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": []
+ },
+ {
+ "id": "f7667eb6.ec8938",
+ "type": "set",
+ "name": "set tmp.network-if",
+ "xml": "<set>\n<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />\n\n",
+ "comments": "",
+ "x": 667,
+ "y": 83,
+ "z": "6d6b8a1f.be1cb4",
+ "wires": []
}
] \ No newline at end of file