Completing the logic and the call flow for Transport Slicing operations:
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_update-tp-ttp-relationship.json
index bf63e73..dec44df 100644 (file)
-[
-  {
-    "id": "c069a9f3.34d638",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 168,
-    "y": 75,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "2f4d91cf.36cc46"
-      ]
-    ]
-  },
-  {
-    "id": "2f4d91cf.36cc46",
-    "type": "service-logic",
-    "name": "DataChange ${project.version}",
-    "module": "DataChange",
-    "version": "${project.version}",
-    "comments": "",
-    "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='DataChange' version='${project.version}'>",
-    "outputs": 1,
-    "x": 257.0000305175781,
-    "y": 165.88891220092773,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "550913a5.d552a4"
-      ]
-    ]
-  },
-  {
-    "id": "550913a5.d552a4",
-    "type": "method",
-    "name": "method update-tp-ttp-relationship",
-    "xml": "<method rpc='update-tp-ttp-relationship' mode='sync'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 293.1112518310547,
-    "y": 236.22223663330078,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "1261384d.98d348"
-      ]
-    ]
-  },
-  {
-    "id": "1261384d.98d348",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic=\"true\">\n",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 518.3334350585938,
-    "y": 235.77792358398438,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "f631c21f.80e608",
-        "d6f41ba6.e863f8",
-        "9c740eae.9ff66"
-      ]
-    ]
-  },
-  {
-    "id": "d6f41ba6.e863f8",
-    "type": "for",
-    "name": "for each node in network-eth",
-    "xml": "<for index='pethidx' start='0' end='`$network-eth.node_length`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 750.8888549804688,
-    "y": 190.33331298828125,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "9889f298.ed1fc8",
-        "5c75717d.de39a",
-        "f952b49d.52fa6"
-      ]
-    ]
-  },
-  {
-    "id": "9889f298.ed1fc8",
-    "type": "set",
-    "name": "set node-eth",
-    "xml": "<set>\n<parameter name='node-eth.' value='`$network-eth.node[$pethidx].`' />",
-    "comments": "",
-    "x": 1034.111083984375,
-    "y": 97.22221374511719,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "5c75717d.de39a",
-    "type": "for",
-    "name": "for each termination point",
-    "xml": "<for index='tidx' start='0' end='`$node-eth.termination-point_length`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 983.4444580078125,
-    "y": 353.111083984375,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "c60cccd6.642dd",
-        "4b686a78.0dbfdc",
-        "634edb60.ca9b44",
-        "d61d1f77.90dba"
-      ]
-    ]
-  },
-  {
-    "id": "c60cccd6.642dd",
-    "type": "set",
-    "name": "set termination point tp-eth",
-    "xml": "<set>\n<parameter name='tp-eth.' value='`$node-eth.termination-point[$tidx].`' />\n",
-    "comments": "",
-    "x": 1255.111328125,
-    "y": 224.00006103515625,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "4b686a78.0dbfdc",
-    "type": "set",
-    "name": "set unique-ltpethId",
-    "xml": "<set>\n<parameter name='unique-ltpethId' value=\"`$unique-node-ethId + '-ltpId-' + $tp-eth.te-tp-id`\" />\n",
-    "comments": "",
-    "x": 1233.000244140625,
-    "y": 261.111083984375,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "f631c21f.80e608",
-    "type": "execute",
-    "name": "execute set tmp.network-eth.network-id",
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$network-eth.network-id`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.network-eth.network-id\"/>\n    <parameter name=\"target\" value=\"/\"/>\n    <parameter name=\"replacement\" value=\"-\"/>\n    ",
-    "comments": "",
-    "outputs": 1,
-    "x": 708.9935302734375,
-    "y": 54.993499755859375,
-    "z": "d37ca473.74b47",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "f952b49d.52fa6",
-    "type": "set",
-    "name": "set local variables",
-    "xml": "<set>\n<parameter name='unique-network-ethId' value='`$tmp.network-eth.network-id`' />\n<parameter name='unique-node-ethId' value=\"`'networkId-' + $unique-network-ethId + '-nodeId-' + $node-eth.node-id`\" />\n",
-    "comments": "",
-    "x": 1033,
-    "y": 145,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "9c740eae.9ff66",
-    "type": "execute",
-    "name": "execute set tmp.network-otn.network-id",
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$network-otn.network-id`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.network-otn.network-id\"/>\n    <parameter name=\"target\" value=\"/\"/>\n    <parameter name=\"replacement\" value=\"-\"/>\n    ",
-    "comments": "",
-    "outputs": 1,
-    "x": 706,
-    "y": 94,
-    "z": "d37ca473.74b47",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "75e07276.34af4c",
-    "type": "for",
-    "name": "for each tunnel termination point in otn",
-    "xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1609,
-    "y": 408,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "74200ec3.9b2e88",
-        "b86a8b99.9fa22",
-        "f5f85bac.6cdcb",
-        "45e7bcc7.d12924"
-      ]
-    ]
-  },
-  {
-    "id": "74200ec3.9b2e88",
-    "type": "set",
-    "name": "set tunnel termination point",
-    "xml": "<set>\n<parameter name='ttp.' value='`$node-otn.te.tunnel-termination-point[$ttidx].`' />\n",
-    "comments": "",
-    "x": 1985,
-    "y": 333,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "b86a8b99.9fa22",
-    "type": "set",
-    "name": "set unique-ttpId",
-    "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-node-otnId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",
-    "comments": "",
-    "x": 1962.888916015625,
-    "y": 400.111083984375,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "634edb60.ca9b44",
-    "type": "set",
-    "name": "set tp-inter-layer-lock-id",
-    "xml": "<set>\n<parameter name='tp-inter-layer-lock-id' value='`$node-eth.termination-point[$tidx].te.inter-layer-lock-id[0]`' />\n",
-    "comments": "",
-    "x": 1273,
-    "y": 301,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "d61d1f77.90dba",
-    "type": "for",
-    "name": "for each node in network-otn",
-    "xml": "<for index='potnidx' start='0' end='`$network-otn.node_length`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1291,
-    "y": 350,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "75e07276.34af4c",
-        "81ad0d1b.593018",
-        "65d2d272.734f34"
-      ]
-    ]
-  },
-  {
-    "id": "81ad0d1b.593018",
-    "type": "set",
-    "name": "set node-otn",
-    "xml": "<set>\n<parameter name='node-otn.' value='`$network-otn.node[$potnidx].`' />",
-    "comments": "",
-    "x": 1585,
-    "y": 320,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "65d2d272.734f34",
-    "type": "set",
-    "name": "set local variables",
-    "xml": "<set>\n<parameter name='unique-network-otnId' value='`$tmp.network-otn.network-id`' />\n<parameter name='unique-node-otnId' value=\"`'networkId-' + $unique-network-otnId + '-nodeId-' + $node-otn.node-id`\" />\n",
-    "comments": "",
-    "x": 1583.888916015625,
-    "y": 367.7777862548828,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "f5f85bac.6cdcb",
-    "type": "set",
-    "name": "set ttp-inter-layer-lock-id",
-    "xml": "<set>\n<parameter name='ttp-inter-layer-lock-id' value='`$node-otn.te.tunnel-termination-point[$ttidx].inter-layer-lock-id`' />\n",
-    "comments": "",
-    "x": 1984,
-    "y": 451,
-    "z": "d37ca473.74b47",
-    "wires": []
-  },
-  {
-    "id": "45e7bcc7.d12924",
-    "type": "switchNode",
-    "name": "switch tp-inter-layer-lock-id",
-    "xml": "<switch test='tp-inter-layer-lock-id'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1927,
-    "y": 506,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "7b1ad64c.6662d"
-      ]
-    ]
-  },
-  {
-    "id": "7b1ad64c.6662d",
-    "type": "outcome",
-    "name": "ttp-inter-layer-lock-id",
-    "xml": "<outcome value='ttp-inter-layer-lock-id'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2036,
-    "y": 603,
-    "z": "d37ca473.74b47",
-    "wires": [
-      [
-        "d7c8dbff.d22ff"
-      ]
-    ]
-  },
-  {
-    "id": "d7c8dbff.d22ff",
-    "type": "save",
-    "name": "save p-interface relationship to ttp in AAI",
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface:relationship-list' \n      key='p-interface.interface-name = $unique-ltpethId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"tunnel-termination-point\" />\n<parameter name=\"relationship-list.relationship[1].related-link\" value=\"/network/tunnel-termination-points/tunnel-termination-point/ + `$unique-ttpId`\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"tunnel-termination-point.tunnel-tp-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$unique-ttpId`\" />\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2354,
-    "y": 603,
-    "z": "d37ca473.74b47",
-    "wires": [
-      []
-    ]
-  }
+[\r
+    {\r
+        "id": "cba977f9.85534",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 137,\r
+        "y": 125.77778625488281,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "dde6a42.304b158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dde6a42.304b158",\r
+        "type": "service-logic",\r
+        "name": "DataChange ${project.version}",\r
+        "module": "DataChange",\r
+        "version": "${project.version}",\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='DataChange' version='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 226.00003051757812,\r
+        "y": 216.66669845581055,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "459043f1.b44bbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "459043f1.b44bbc",\r
+        "type": "method",\r
+        "name": "method update-tp-ttp-relationship",\r
+        "xml": "<method rpc='update-tp-ttp-relationship' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 262.1112518310547,\r
+        "y": 287.0000228881836,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "186c55de.c4aa02"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "186c55de.c4aa02",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 487.33343505859375,\r
+        "y": 286.5557098388672,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "bae21f69.72b29",\r
+                "c754730e.915558",\r
+                "1242acf2.9455a3",\r
+                "f448c5cf.144de8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c754730e.915558",\r
+        "type": "for",\r
+        "name": "for each node in network-eth",\r
+        "xml": "<for index='pethidx' start='0' end='`$network-eth.node_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 719.8888549804688,\r
+        "y": 241.11109924316406,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "3d9e22e8.4c63be",\r
+                "8255778d.4bbb18",\r
+                "fc2531d8.c81378",\r
+                "c794ebab.b4d2b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d9e22e8.4c63be",\r
+        "type": "set",\r
+        "name": "set node-eth",\r
+        "xml": "<set>\n<parameter name='node-eth.' value='`$network-eth.node[$pethidx].`' />",\r
+        "comments": "",\r
+        "x": 982.111083984375,\r
+        "y": 85,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f02496e2.4d8238",\r
+        "type": "set",\r
+        "name": "set termination point tp-eth",\r
+        "xml": "<set>\n<parameter name='tp-eth.' value='`$node-eth.termination-point[$tidx].`' />\n",\r
+        "comments": "",\r
+        "x": 1224.111328125,\r
+        "y": 274.77784729003906,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3b37c604.4d197a",\r
+        "type": "set",\r
+        "name": "set unique-ltpethId",\r
+        "xml": "<set>\n<parameter name='unique-ltpethId' value=\"`$unique-node-ethId + '-ltpId-' + $tp-eth.te-tp-id`\" />\n",\r
+        "comments": "",\r
+        "x": 1202.000244140625,\r
+        "y": 311.8888702392578,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bae21f69.72b29",\r
+        "type": "execute",\r
+        "name": "execute set tmp.network-eth.network-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$network-eth.network-id`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.original-network-eth.network-id\"/>\n    <parameter name=\"target\" value=\"/\"/>\n    <parameter name=\"replacement\" value=\"-\"/>\n    ",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 677.9935302734375,\r
+        "y": 105.77128601074219,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8255778d.4bbb18",\r
+        "type": "set",\r
+        "name": "set local variables",\r
+        "xml": "<set>\n<parameter name='unique-network-ethId' value='`$tmp.network-eth.network-id`' />\n",\r
+        "comments": "",\r
+        "x": 996,\r
+        "y": 139.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1242acf2.9455a3",\r
+        "type": "execute",\r
+        "name": "execute set tmp.network-otn.network-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$network-otn.network-id`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.original-network-otn.network-id\"/>\n    <parameter name=\"target\" value=\"/\"/>\n    <parameter name=\"replacement\" value=\"-\"/>\n    ",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 675,\r
+        "y": 144.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7f3a830.3d5f7",\r
+        "type": "for",\r
+        "name": "for each tunnel termination point in otn",\r
+        "xml": "<for index='ttidx' start='0' end='`$node-otn.te.tunnel-termination-point_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1579,\r
+        "y": 671.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "10ff0cec.24339b",\r
+                "9056ce37.3f1b1",\r
+                "52a7d8e5.f166d",\r
+                "dbe73ecc.1015c8",\r
+                "734513b1.8f6e74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10ff0cec.24339b",\r
+        "type": "set",\r
+        "name": "set tunnel termination point",\r
+        "xml": "<set>\n<parameter name='ttp.' value='`$node-otn.te.tunnel-termination-point[$ttidx].`' />\n",\r
+        "comments": "",\r
+        "x": 1948,\r
+        "y": 383.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9056ce37.3f1b1",\r
+        "type": "set",\r
+        "name": "set unique-ttpId",\r
+        "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-node-otnId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",\r
+        "comments": "",\r
+        "x": 1915.888916015625,\r
+        "y": 447.8888702392578,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "588044e.57930bc",\r
+        "type": "set",\r
+        "name": "set tp-inter-layer-lock-id",\r
+        "xml": "<set>\n<parameter name='tp-inter-layer-lock-id' value='`$node-eth.termination-point[$tidx].te.inter-layer-lock-id[0]`' />\n",\r
+        "comments": "",\r
+        "x": 1242,\r
+        "y": 351.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5be60218.18e4f4",\r
+        "type": "for",\r
+        "name": "for each node in network-otn",\r
+        "xml": "<for index='potnidx' start='0' end='`$network-otn.node_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1260,\r
+        "y": 400.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "bcce7947.89d4e",\r
+                "6a38d3e2.fd7954",\r
+                "85e0a40f.e7ed",\r
+                "4764cff0.412538",\r
+                "46555423.5326e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bcce7947.89d4e",\r
+        "type": "set",\r
+        "name": "set node-otn",\r
+        "xml": "<set>\n<parameter name='node-otn.' value='`$network-otn.node[$potnidx].`' />",\r
+        "comments": "",\r
+        "x": 1554,\r
+        "y": 370.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6a38d3e2.fd7954",\r
+        "type": "set",\r
+        "name": "set local variables",\r
+        "xml": "<set>\n<parameter name='unique-network-otnId' value='`$tmp.network-otn.network-id`' />\n",\r
+        "comments": "",\r
+        "x": 1552.888916015625,\r
+        "y": 418.5555725097656,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "52a7d8e5.f166d",\r
+        "type": "set",\r
+        "name": "set ttp-inter-layer-lock-id",\r
+        "xml": "<set>\n<parameter name='ttp-inter-layer-lock-id' value='`$node-otn.te.tunnel-termination-point[$ttidx].inter-layer-lock-id[0]`' />\n",\r
+        "comments": "",\r
+        "x": 1940,\r
+        "y": 501.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dbe73ecc.1015c8",\r
+        "type": "switchNode",\r
+        "name": "switch tp-inter-layer-lock-id",\r
+        "xml": "<switch test='`$tp-inter-layer-lock-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1947,\r
+        "y": 557.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "dd2d2104.bc9a18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd2d2104.bc9a18",\r
+        "type": "outcome",\r
+        "name": "ttp-inter-layer-lock-id",\r
+        "xml": "<outcome value='`$ttp-inter-layer-lock-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2005,\r
+        "y": 653.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "48fc2c75.77d024"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48fc2c75.77d024",\r
+        "type": "save",\r
+        "name": "save p-interface relationship to ttp in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface:relationship-list' \n      key='p-interface.interface-name = $unique-ltpethId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"tunnel-termination-point\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"/network/tunnel-termination-points/tunnel-termination-point/ + `$unique-ttpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"tunnel-termination-point.tunnel-tp-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ttpId`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2323,\r
+        "y": 653.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7880100.7c4d78",\r
+        "type": "set",\r
+        "name": "unset termination point tp-eth",\r
+        "xml": "<set>\n<parameter name='tp-eth.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1219,\r
+        "y": 237.7712860107422,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "734513b1.8f6e74",\r
+        "type": "set",\r
+        "name": "unset tunnel termination point",\r
+        "xml": "<set>\n<parameter name='ttp.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1956,\r
+        "y": 330.7712860107422,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fc2531d8.c81378",\r
+        "type": "switchNode",\r
+        "name": "switch node-eth tp",\r
+        "xml": "<switch test='`$node-eth.termination-point_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 586,\r
+        "y": 419.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "601d7951.71e8b",\r
+                "d861b589.14035",\r
+                "7f887585.d4b524"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "601d7951.71e8b",\r
+        "type": "other",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 765,\r
+        "y": 371.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "7824b45e.78053c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7824b45e.78053c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 920,\r
+        "y": 371.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f887585.d4b524",\r
+        "type": "outcome",\r
+        "name": "length 0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 775,\r
+        "y": 419.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "7824b45e.78053c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d861b589.14035",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 764,\r
+        "y": 473.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "a6890129.4d77c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6890129.4d77c",\r
+        "type": "for",\r
+        "name": "for each termination point",\r
+        "xml": "<for index='tidx' start='0' end='`$node-eth.termination-point_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 972.4444580078125,\r
+        "y": 443.8888702392578,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "f7880100.7c4d78",\r
+                "f02496e2.4d8238",\r
+                "3b37c604.4d197a",\r
+                "588044e.57930bc",\r
+                "5be60218.18e4f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "85e0a40f.e7ed",\r
+        "type": "set",\r
+        "name": "unset node-otn",\r
+        "xml": "<set>\n<parameter name='node-otn.' value='' />\n<parameter name='unique-network-otnId' value='' />\n<parameter name='unique-node-otnId' value=\"\" />\n",\r
+        "comments": "",\r
+        "x": 1555,\r
+        "y": 319.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4764cff0.412538",\r
+        "type": "switchNode",\r
+        "name": "switch node-otn ttp",\r
+        "xml": "<switch test='`$node-otn.te.tunnel-termination-point_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1152,\r
+        "y": 650.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "abfc6cbb.6eaee8",\r
+                "6c6ea4d2.be42cc",\r
+                "1f3ac3bf.46c73c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "abfc6cbb.6eaee8",\r
+        "type": "other",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1340,\r
+        "y": 536.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "ceb636f.d5bb7c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c6ea4d2.be42cc",\r
+        "type": "outcome",\r
+        "name": "length 0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1345,\r
+        "y": 611.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "ceb636f.d5bb7c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f3ac3bf.46c73c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1342,\r
+        "y": 673.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            [\r
+                "a7f3a830.3d5f7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ceb636f.d5bb7c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1500,\r
+        "y": 602.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c794ebab.b4d2b8",\r
+        "type": "set",\r
+        "name": "set local variables",\r
+        "xml": "<set>\n<parameter name='unique-node-ethId' value=\"`'networkId-' + $unique-network-ethId + '-nodeId-' + $node-eth.node-id`\" />\n",\r
+        "comments": "",\r
+        "x": 998,\r
+        "y": 195.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f448c5cf.144de8",\r
+        "type": "set",\r
+        "name": "set local variables",\r
+        "xml": "<set>\n<parameter name='tmp.network-eth.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-eth.network-id`\" />\n<parameter name='tmp.network-otn.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-otn.network-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 667,\r
+        "y": 186.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "46555423.5326e4",\r
+        "type": "set",\r
+        "name": "set local variables",\r
+        "xml": "<set>\n<parameter name='unique-node-otnId' value=\"`'networkId-' + $unique-network-otnId + '-nodeId-' + $node-otn.node-id`\" />\n",\r
+        "comments": "",\r
+        "x": 1553,\r
+        "y": 467.7777862548828,\r
+        "z": "b3282176.32be28",\r
+        "wires": []\r
+    }\r
 ]
\ No newline at end of file