Bug fixing in topology discovery as part of CCVPN (Cross-Layer Cross-Domain VPN)...
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_update-tp-ttp-relationship.json
index bf63e73..1ef85f5 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": "db76d876.619d4",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 107,\r
+        "y": 76,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "ac7d0d8e.d68168"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac7d0d8e.d68168",\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": 196.00003051757812,\r
+        "y": 166.88891220092773,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "15add1ed.67bb06"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15add1ed.67bb06",\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": 232.1112518310547,\r
+        "y": 237.22223663330078,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "2ef3d64c.d8633a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ef3d64c.d8633a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 457.33343505859375,\r
+        "y": 236.77792358398438,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "929780.1985e88",\r
+                "25858afe.2b9bce",\r
+                "e912429a.04b788"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25858afe.2b9bce",\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": 689.8888549804688,\r
+        "y": 191.33331298828125,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "9ceedf0.da974a",\r
+                "2a93e407.ae18bc",\r
+                "e6e033d7.96653"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ceedf0.da974a",\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": 98.22221374511719,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "79b02bc6.8ef74c",\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": 1194.111328125,\r
+        "y": 225.00006103515625,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "53e75306.b60214",\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": 1172.000244140625,\r
+        "y": 262.111083984375,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "929780.1985e88",\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.network-eth.network-id\"/>\n    <parameter name=\"target\" value=\"/\"/>\n    <parameter name=\"replacement\" value=\"-\"/>\n    ",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 647.9935302734375,\r
+        "y": 55.993499755859375,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a93e407.ae18bc",\r
+        "type": "set",\r
+        "name": "set local variables",\r
+        "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",\r
+        "comments": "",\r
+        "x": 972,\r
+        "y": 146,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e912429a.04b788",\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.network-otn.network-id\"/>\n    <parameter name=\"target\" value=\"/\"/>\n    <parameter name=\"replacement\" value=\"-\"/>\n    ",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 645,\r
+        "y": 95,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8be3e429.ccb7d",\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": 1549,\r
+        "y": 622,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "f3d35e68.c9d718",\r
+                "3ad809f1.06ba16",\r
+                "4db37c69.2430a4",\r
+                "ec80108a.70e1d",\r
+                "6c3aac2e.471db4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3d35e68.c9d718",\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": 1918,\r
+        "y": 334,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ad809f1.06ba16",\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": 1885.888916015625,\r
+        "y": 398.111083984375,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7c6c9bf4.1268f4",\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": 1212,\r
+        "y": 302,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "38915841.38d1e",\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": 1230,\r
+        "y": 351,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "b1b6d531.8e8428",\r
+                "591e31d0.de7628",\r
+                "e2cb35d4.99da",\r
+                "32e4e342.a9f04c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1b6d531.8e8428",\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": 1524,\r
+        "y": 321,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "591e31d0.de7628",\r
+        "type": "set",\r
+        "name": "set local variables",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1522.888916015625,\r
+        "y": 368.7777862548828,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4db37c69.2430a4",\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": 1910,\r
+        "y": 452,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ec80108a.70e1d",\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": 1917,\r
+        "y": 508,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "cf4f4a72.7d5168"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf4f4a72.7d5168",\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": 1975,\r
+        "y": 604,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "3d7797fd.32b9a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d7797fd.32b9a8",\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": 2293,\r
+        "y": 604,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b8fd2648.6f854",\r
+        "type": "set",\r
+        "name": "unset termination point tp-eth",\r
+        "xml": "<set>\n<parameter name='tp-eth.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1189,\r
+        "y": 187.99349975585938,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6c3aac2e.471db4",\r
+        "type": "set",\r
+        "name": "unset tunnel termination point",\r
+        "xml": "<set>\n<parameter name='ttp.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1926,\r
+        "y": 280.9934997558594,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e6e033d7.96653",\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": 556,\r
+        "y": 370,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "80e4765d.fcdaa8",\r
+                "a8cca188.f375d",\r
+                "b96aa4a5.384fe8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "80e4765d.fcdaa8",\r
+        "type": "other",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 735,\r
+        "y": 322,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "adea3129.2af79"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "adea3129.2af79",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 890,\r
+        "y": 322,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b96aa4a5.384fe8",\r
+        "type": "outcome",\r
+        "name": "length 0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 745,\r
+        "y": 370,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "adea3129.2af79"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8cca188.f375d",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 734,\r
+        "y": 424,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "2c29c804.a15ee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c29c804.a15ee",\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": 942.4444580078125,\r
+        "y": 394.111083984375,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "b8fd2648.6f854",\r
+                "79b02bc6.8ef74c",\r
+                "53e75306.b60214",\r
+                "7c6c9bf4.1268f4",\r
+                "38915841.38d1e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e2cb35d4.99da",\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": 1525,\r
+        "y": 270,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "32e4e342.a9f04c",\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": 1122,\r
+        "y": 601,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "571c7e22.88577",\r
+                "c4c843ca.dc868",\r
+                "dcc7ee12.1af12"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "571c7e22.88577",\r
+        "type": "other",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1310,\r
+        "y": 487,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "3d4d0383.b594e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4c843ca.dc868",\r
+        "type": "outcome",\r
+        "name": "length 0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1315,\r
+        "y": 562,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "3d4d0383.b594e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dcc7ee12.1af12",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1312,\r
+        "y": 624,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            [\r
+                "8be3e429.ccb7d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d4d0383.b594e4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1470,\r
+        "y": 553,\r
+        "z": "ffd702ea.3cd72",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
 ]
\ No newline at end of file