NNI-based Service creation DG bug fixes (uni, l2vpn, and underlay resources).
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_update-tp-ttp-relationship.json
index bf63e73..a47bab0 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": "f3e0b928.e8c7e",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 128,\r
+        "y": 83,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "2b8024f5.a0b3e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b8024f5.a0b3e4",\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": 217.00003051757812,\r
+        "y": 173.88891220092773,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "e0b4218d.2d604"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0b4218d.2d604",\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": 253.1112518310547,\r
+        "y": 244.22223663330078,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "36afdba8.70bb5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36afdba8.70bb5c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 478.33343505859375,\r
+        "y": 243.77792358398438,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "63bd9611.390fd8",\r
+                "1ed8c21a.583ede",\r
+                "232a5f0a.159568",\r
+                "e63ab049.15d1f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ed8c21a.583ede",\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": 710.8888549804688,\r
+        "y": 198.33331298828125,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "d25c4b67.5fdd7",\r
+                "7e336092.2a08",\r
+                "d912c615.382f4",\r
+                "e1c780a1.bce018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d25c4b67.5fdd7",\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": 973.111083984375,\r
+        "y": 42.22221374511719,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "68049.3760dfb7c",\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": 1215.111328125,\r
+        "y": 232.00006103515625,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "78ae2560.1cea4c",\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": 1193.000244140625,\r
+        "y": 269.111083984375,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "63bd9611.390fd8",\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": 668.9935302734375,\r
+        "y": 62.993499755859375,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e336092.2a08",\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": 987,\r
+        "y": 97,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "232a5f0a.159568",\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": 666,\r
+        "y": 102,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5ced7489.3fd33c",\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": 1570,\r
+        "y": 629,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "c149dbcd.dbc5b",\r
+                "a007e2e5.f8d76",\r
+                "1e876a82.9683f5",\r
+                "a5938665.3779c8",\r
+                "a06a50c9.82a2f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c149dbcd.dbc5b",\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": 1939,\r
+        "y": 341,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a007e2e5.f8d76",\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": 1906.888916015625,\r
+        "y": 405.111083984375,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b56a229e.94c8d8",\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": 1233,\r
+        "y": 309,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "91b08f38.b7b1f",\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": 1251,\r
+        "y": 358,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "2a04c22a.d38706",\r
+                "747557f8.e08f6",\r
+                "23d7e732.31c878",\r
+                "7fec5669.9d797",\r
+                "5525a122.db022"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a04c22a.d38706",\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": 1545,\r
+        "y": 328,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "747557f8.e08f6",\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": 1543.888916015625,\r
+        "y": 375.7777862548828,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1e876a82.9683f5",\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`' />\n",\r
+        "comments": "",\r
+        "x": 1931,\r
+        "y": 459,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a5938665.3779c8",\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": 1938,\r
+        "y": 515,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "48b284bc.31f88c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48b284bc.31f88c",\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": 1996,\r
+        "y": 611,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "d5168225.118b5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5168225.118b5",\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": 2314,\r
+        "y": 611,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "679b8e41.9ed698",\r
+        "type": "set",\r
+        "name": "unset termination point tp-eth",\r
+        "xml": "<set>\n<parameter name='tp-eth.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1210,\r
+        "y": 194.99349975585938,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a06a50c9.82a2f",\r
+        "type": "set",\r
+        "name": "unset tunnel termination point",\r
+        "xml": "<set>\n<parameter name='ttp.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1947,\r
+        "y": 287.9934997558594,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d912c615.382f4",\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": 577,\r
+        "y": 377,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "a5220607.a1fd88",\r
+                "ed33421.4d77fc",\r
+                "60e52ea8.adce88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a5220607.a1fd88",\r
+        "type": "other",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 756,\r
+        "y": 329,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "f8847f3a.3586c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f8847f3a.3586c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 911,\r
+        "y": 329,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "60e52ea8.adce88",\r
+        "type": "outcome",\r
+        "name": "length 0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 766,\r
+        "y": 377,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "f8847f3a.3586c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed33421.4d77fc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 755,\r
+        "y": 431,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "4137593c.5397c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4137593c.5397c",\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": 963.4444580078125,\r
+        "y": 401.111083984375,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "679b8e41.9ed698",\r
+                "68049.3760dfb7c",\r
+                "78ae2560.1cea4c",\r
+                "b56a229e.94c8d8",\r
+                "91b08f38.b7b1f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23d7e732.31c878",\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": 1546,\r
+        "y": 277,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7fec5669.9d797",\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": 1143,\r
+        "y": 608,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "c2495d37.4f1a88",\r
+                "4a7d6e3.4a2c99",\r
+                "e5a8fd10.f52c58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2495d37.4f1a88",\r
+        "type": "other",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1331,\r
+        "y": 494,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "50aa44cc.08445c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a7d6e3.4a2c99",\r
+        "type": "outcome",\r
+        "name": "length 0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1336,\r
+        "y": 569,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "50aa44cc.08445c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5a8fd10.f52c58",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1333,\r
+        "y": 631,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            [\r
+                "5ced7489.3fd33c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50aa44cc.08445c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1491,\r
+        "y": 560,\r
+        "z": "8966128c.40fc9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e1c780a1.bce018",\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": 989,\r
+        "y": 153,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e63ab049.15d1f",\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": 658,\r
+        "y": 144,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5525a122.db022",\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": 1544,\r
+        "y": 425,\r
+        "z": "8966128c.40fc9",\r
+        "wires": []\r
+    }\r
 ]
\ No newline at end of file