aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json')
-rw-r--r--platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json1248
1 files changed, 757 insertions, 491 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
index 232afae4..c3b31275 100644
--- a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
+++ b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
@@ -1,253 +1,252 @@
[
{
- "id": "b49e6ed1.c8dcb",
+ "id": "cd2352df.fe133",
"type": "other",
"name": "update",
"xml": "<outcome value='Update'>\n",
"comments": "",
"outputs": 1,
- "x": 663,
- "y": 290,
- "z": "1b18cff5.bba51",
+ "x": 717,
+ "y": 280,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "afc79595.03a058"
+ "d7605eba.de53c8"
]
]
},
{
- "id": "93d3a809.23d83",
+ "id": "a5fb8600.92c56",
"type": "other",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 663,
- "y": 370,
- "z": "1b18cff5.bba51",
+ "x": 717,
+ "y": 360,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "87f5ce3d.163be8"
+ "a9fa59c4.23eb88"
]
]
},
{
- "id": "87f5ce3d.163be8",
+ "id": "a9fa59c4.23eb88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 804.5,
- "y": 370,
- "z": "1b18cff5.bba51",
+ "x": 858.5,
+ "y": 360,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "ed89d8e2.366518",
+ "id": "4266435.e82743c",
"type": "comment",
"name": "TODO: Delete topology from AAI",
"info": "",
"comments": "",
- "x": 737.3335189819336,
- "y": 337.96899485588074,
- "z": "1b18cff5.bba51",
+ "x": 791.3335189819336,
+ "y": 327.96899485588074,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "493ee223.06b5cc",
+ "id": "78227710.8145c",
"type": "switchNode",
"name": "switch aai-event-trigger",
"xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
"comments": "",
"outputs": 1,
- "x": 493.5,
- "y": 330,
- "z": "1b18cff5.bba51",
+ "x": 547.5,
+ "y": 320,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "b49e6ed1.c8dcb",
- "93d3a809.23d83"
+ "cd2352df.fe133",
+ "a5fb8600.92c56"
]
]
},
{
- "id": "c970e0d9.988dc8",
+ "id": "6a609919.dbddb",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1190.5,
- "y": 201,
- "z": "1b18cff5.bba51",
+ "x": 1244.5,
+ "y": 191,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "b93333aa.1c0a7",
- "8e89ec86.381848",
- "6bfd56ef.86aba8",
- "29c878c8.6e2e3",
- "9dd42ebd.c3ec58"
+ "a8db8257.07cda8",
+ "6c3c4f73.322ab8",
+ "49ad06a0.4e0b98",
+ "5d1f20b8.954bc8",
+ "8b00173e.a90248"
]
]
},
{
- "id": "8e89ec86.381848",
+ "id": "6c3c4f73.322ab8",
"type": "execute",
"name": "execute RestApiCallNode Get token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
"comments": "",
"outputs": 1,
- "x": 1463.5001983642578,
- "y": 122.00000953674316,
- "z": "1b18cff5.bba51",
+ "x": 1517.5001983642578,
+ "y": 112.00000953674316,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "37b02225.daaf3e",
- "e44faed5.0a562"
+ "4ca383bd.7f19f4",
+ "a7b25c4e.37855"
]
]
},
{
- "id": "37b02225.daaf3e",
+ "id": "4ca383bd.7f19f4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1753.000244140625,
- "y": 114,
- "z": "1b18cff5.bba51",
+ "x": 1807.000244140625,
+ "y": 104,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "9ee82b4c.027258"
+ "bb6558fe.165e6"
]
]
},
{
- "id": "e44faed5.0a562",
+ "id": "a7b25c4e.37855",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1749.000244140625,
- "y": 154,
- "z": "1b18cff5.bba51",
+ "x": 1803.000244140625,
+ "y": 144,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "95fadd6c.fb4588"
+ "929ec7a5.9a46b8"
]
]
},
{
- "id": "9ee82b4c.027258",
+ "id": "bb6558fe.165e6",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
"comments": "",
- "x": 1903.500244140625,
- "y": 114,
- "z": "1b18cff5.bba51",
+ "x": 1957.500244140625,
+ "y": 104,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "d863483.fe451b8",
+ "id": "3afa5b8a.d8b45c",
"type": "execute",
"name": "execute RestApiCallNode Get Topology",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1970.500244140625,
- "y": 234,
- "z": "1b18cff5.bba51",
+ "x": 2024.500244140625,
+ "y": 224,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "27150b59.a15c7c",
- "10804f14.8fac71"
+ "fe4ed86b.9ca41",
+ "6e1598d4.05ae"
]
]
},
{
- "id": "27150b59.a15c7c",
+ "id": "fe4ed86b.9ca41",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2213.000244140625,
- "y": 254,
- "z": "1b18cff5.bba51",
+ "x": 2267.000244140625,
+ "y": 244,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "45766a62.487964"
+ "f8f7918f.b05da"
]
]
},
{
- "id": "45766a62.487964",
+ "id": "f8f7918f.b05da",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2370.500244140625,
- "y": 254,
- "z": "1b18cff5.bba51",
+ "x": 2424.500244140625,
+ "y": 244,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "ed8abc6a.23da9",
- "3075f0c3.b7397",
- "5530fe3e.d46a6"
+ "6837c77a.4d245",
+ "945331d0.def158"
]
]
},
{
- "id": "679734df.7d768c",
+ "id": "c26cc871.32d778",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
"comments": "",
- "x": 2347.000244140625,
- "y": 154,
- "z": "1b18cff5.bba51",
+ "x": 2401.000244140625,
+ "y": 144,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "10804f14.8fac71",
+ "id": "6e1598d4.05ae",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2209.000244140625,
- "y": 154,
- "z": "1b18cff5.bba51",
+ "x": 2263.000244140625,
+ "y": 144,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "679734df.7d768c"
+ "c26cc871.32d778"
]
]
},
{
- "id": "fb65e652.c18e18",
+ "id": "74011233.c1b04c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 116,
- "y": 65,
- "z": "1b18cff5.bba51",
+ "x": 170,
+ "y": 55,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "5fd8c6ae.cf15e8"
+ "7dcd2a77.b03e04"
]
]
},
{
- "id": "5fd8c6ae.cf15e8",
+ "id": "7dcd2a77.b03e04",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -255,1234 +254,1501 @@
"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": 129,
- "y": 125,
- "z": "1b18cff5.bba51",
+ "x": 183,
+ "y": 115,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "7c6d0d29.a4e9cc"
+ "e046753f.a8811"
]
]
},
{
- "id": "7c6d0d29.a4e9cc",
+ "id": "e046753f.a8811",
"type": "method",
"name": "method esr-thirdparty-sdnc-discovery",
"xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 149,
- "y": 205,
- "z": "1b18cff5.bba51",
+ "x": 203,
+ "y": 195,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "d5da3f05.d59de8"
+ "a7955eaa.8ebd"
]
]
},
{
- "id": "d5da3f05.d59de8",
+ "id": "a7955eaa.8ebd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 396.5,
- "y": 205,
- "z": "1b18cff5.bba51",
+ "x": 450.5,
+ "y": 195,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "94fe0252.df11a8"
+ "cee74437.1c5038"
]
]
},
{
- "id": "ed8abc6a.23da9",
+ "id": "6837c77a.4d245",
"type": "for",
"name": "for each Network",
"xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2609.500244140625,
- "y": 214,
- "z": "1b18cff5.bba51",
+ "x": 2663.500244140625,
+ "y": 204,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "9a721924.2f2028"
+ "d73b1be.693fde8"
]
]
},
{
- "id": "9a721924.2f2028",
+ "id": "d73b1be.693fde8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2786.000244140625,
- "y": 209,
- "z": "1b18cff5.bba51",
+ "x": 2840.000244140625,
+ "y": 199,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "6726d129.2959a",
- "896230f8.99ca6"
+ "1071ecfb.db6683",
+ "22040d8e.81ad3a"
]
]
},
{
- "id": "6726d129.2959a",
+ "id": "1071ecfb.db6683",
"type": "call",
"name": "call update-network-to-aai",
"xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2965.000244140625,
- "y": 229,
- "z": "1b18cff5.bba51",
+ "x": 3019.000244140625,
+ "y": 219,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "896230f8.99ca6",
+ "id": "22040d8e.81ad3a",
"type": "set",
"name": "set network",
"xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
"comments": "",
- "x": 2920.000244140625,
- "y": 189,
- "z": "1b18cff5.bba51",
+ "x": 2974.000244140625,
+ "y": 179,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "95fadd6c.fb4588",
+ "id": "929ec7a5.9a46b8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1869.000244140625,
- "y": 154,
- "z": "1b18cff5.bba51",
+ "x": 1923.000244140625,
+ "y": 144,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "8fa7ac01.7e9068",
+ "id": "a95e321b.626b1",
"type": "comment",
"name": "Do Nothing",
"info": "",
"comments": "",
- "x": 2039.000244140625,
- "y": 194,
- "z": "1b18cff5.bba51",
+ "x": 2093.000244140625,
+ "y": 184,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "4076575b.04c63",
+ "id": "30eb5834.80e7d",
"type": "switchNode",
"name": "switch type",
"xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
"comments": "",
"outputs": 1,
- "x": 916,
- "y": 290,
- "z": "1b18cff5.bba51",
+ "x": 970,
+ "y": 280,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "e5bd5122.002238",
- "6d8d65c8.0b06bc",
- "b3287819.8ca7c",
- "4433c168.8e0cb"
+ "bad9968b.bbaf5",
+ "826758bc.846648",
+ "f43baf3c.399558",
+ "6e19e1c4.aa4d28"
]
]
},
{
- "id": "afc79595.03a058",
+ "id": "d7605eba.de53c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 783,
- "y": 290,
- "z": "1b18cff5.bba51",
+ "x": 837,
+ "y": 280,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "4076575b.04c63"
+ "30eb5834.80e7d"
]
]
},
{
- "id": "e5bd5122.002238",
+ "id": "bad9968b.bbaf5",
"type": "other",
"name": "SOTN",
"xml": "<outcome value='SOTN'>\n",
"comments": "",
"outputs": 1,
- "x": 1029,
- "y": 201,
- "z": "1b18cff5.bba51",
+ "x": 1083,
+ "y": 191,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "c970e0d9.988dc8"
+ "6a609919.dbddb"
]
]
},
{
- "id": "6d8d65c8.0b06bc",
+ "id": "826758bc.846648",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1031.000087738037,
- "y": 750.0001106262207,
- "z": "1b18cff5.bba51",
+ "x": 1085.000087738037,
+ "y": 740.0001106262207,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "f76541c6.503d4"
+ "8d466c1d.2dbd88"
]
]
},
{
- "id": "f76541c6.503d4",
+ "id": "8d466c1d.2dbd88",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
"comments": "",
- "x": 1181.0000610351562,
- "y": 746.0000972747803,
- "z": "1b18cff5.bba51",
+ "x": 1235.0000610351562,
+ "y": 736.0000972747803,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "b93333aa.1c0a7",
+ "id": "a8db8257.07cda8",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 1410.0001983642578,
- "y": 82.00000953674316,
- "z": "1b18cff5.bba51",
+ "x": 1464.0001983642578,
+ "y": 72.00000953674316,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "6bfd56ef.86aba8",
+ "id": "49ad06a0.4e0b98",
"type": "switchNode",
"name": "switch prop.sdncRestApi.token_id",
"xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
"comments": "",
"outputs": 1,
- "x": 1456.5001983642578,
- "y": 202.00000953674316,
- "z": "1b18cff5.bba51",
+ "x": 1510.5001983642578,
+ "y": 192.00000953674316,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "ec0b1f86.de86a8",
- "d869f67b.6cbd68"
+ "8c8153ea.0d28b8",
+ "f01555ec.92788"
]
]
},
{
- "id": "ec0b1f86.de86a8",
+ "id": "8c8153ea.0d28b8",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1749.000244140625,
- "y": 194,
- "z": "1b18cff5.bba51",
+ "x": 1803.000244140625,
+ "y": 184,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "36410877.b60b2"
+ "6e76fd4a.c154c4"
]
]
},
{
- "id": "d869f67b.6cbd68",
+ "id": "f01555ec.92788",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1749.000244140625,
- "y": 234,
- "z": "1b18cff5.bba51",
+ "x": 1803.000244140625,
+ "y": 224,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "d863483.fe451b8"
+ "3afa5b8a.d8b45c"
]
]
},
{
- "id": "36410877.b60b2",
+ "id": "6e76fd4a.c154c4",
"type": "execute",
"name": "execute RestApiCallNode Get Topology",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1970.500244140625,
- "y": 194,
- "z": "1b18cff5.bba51",
+ "x": 2024.500244140625,
+ "y": 184,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "10804f14.8fac71",
- "27150b59.a15c7c"
+ "6e1598d4.05ae",
+ "fe4ed86b.9ca41"
]
]
},
{
- "id": "9dd42ebd.c3ec58",
+ "id": "8b00173e.a90248",
"type": "execute",
"name": "execute RestconfDiscoveryNode",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",
"comments": "",
"outputs": 1,
- "x": 1453.0001983642578,
- "y": 342.00000953674316,
- "z": "1b18cff5.bba51",
+ "x": 1507.0001983642578,
+ "y": 332.00000953674316,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "29c878c8.6e2e3",
+ "id": "5d1f20b8.954bc8",
"type": "set",
"name": "set encoding-format",
"xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",
"comments": "",
- "x": 1413.0001983642578,
- "y": 302.00000953674316,
- "z": "1b18cff5.bba51",
+ "x": 1467.0001983642578,
+ "y": 292.00000953674316,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "6c35f59f.31aaf4",
+ "id": "720c5fa5.cf9fc8",
"type": "comment",
"name": "Notification subscription",
"info": "",
"comments": "",
- "x": 1418.000343322754,
- "y": 259.00000858306885,
- "z": "1b18cff5.bba51",
+ "x": 1472.000343322754,
+ "y": 249.00000858306885,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "94fe0252.df11a8",
+ "id": "cee74437.1c5038",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
"comments": "",
"outputs": 1,
- "x": 103,
- "y": 330,
- "z": "1b18cff5.bba51",
+ "x": 157,
+ "y": 320,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "97112dfb.d25148",
- "c86f88a8.e3654"
+ "68735a94.d40f5c",
+ "ab95c3e8.90657"
]
]
},
{
- "id": "97112dfb.d25148",
+ "id": "68735a94.d40f5c",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 290,
- "y": 330,
- "z": "1b18cff5.bba51",
+ "x": 344,
+ "y": 320,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "493ee223.06b5cc"
+ "78227710.8145c"
]
]
},
{
- "id": "c86f88a8.e3654",
+ "id": "ab95c3e8.90657",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 291,
- "y": 455,
- "z": "1b18cff5.bba51",
+ "x": 345,
+ "y": 445,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "31c62e46.1b6bfa"
+ "9bf3753b.e16a38"
]
]
},
{
- "id": "31c62e46.1b6bfa",
+ "id": "9bf3753b.e16a38",
"type": "call",
"name": "call esr-thirdparty-sdnc-of-zte",
"xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 514,
- "y": 455,
- "z": "1b18cff5.bba51",
+ "x": 568,
+ "y": 445,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "b3287819.8ca7c",
+ "id": "f43baf3c.399558",
"type": "other",
"name": "TAPI",
"xml": "<outcome value='TAPI'>\n",
"comments": "",
"outputs": 1,
- "x": 1107,
- "y": 435,
- "z": "1b18cff5.bba51",
+ "x": 1161,
+ "y": 425,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "a1b223fc.4bfc8"
+ "75540bd7.9ba5f4"
]
]
},
{
- "id": "a1b223fc.4bfc8",
+ "id": "75540bd7.9ba5f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1270,
- "y": 434,
- "z": "1b18cff5.bba51",
+ "x": 1324,
+ "y": 424,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "2ba90d0d.a5469a"
+ "a24deaa6.af3108"
]
]
},
{
- "id": "2ba90d0d.a5469a",
+ "id": "a24deaa6.af3108",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/> \n <parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/> \n <parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/> \n <parameter name=\"format\" value=\"json\"/> \n <parameter name=\"httpMethod\" value=\"get\"/> \n <parameter name=\"responsePrefix\" value=\"topologies\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.jks\"/> \n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/> \n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/> \n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
"comments": "",
"outputs": 1,
- "x": 1431,
- "y": 433,
- "z": "1b18cff5.bba51",
+ "x": 1485,
+ "y": 423,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "e4e0c00a.96655",
- "8857c3bd.cbf58"
+ "cdd2d534.962938",
+ "363290e2.c2512"
]
]
},
{
- "id": "8857c3bd.cbf58",
+ "id": "363290e2.c2512",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1573,
- "y": 509,
- "z": "1b18cff5.bba51",
+ "x": 1627,
+ "y": 499,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "5009a48f.6c9144"
+ "91d6cda6.f47358"
]
]
},
{
- "id": "e4e0c00a.96655",
+ "id": "cdd2d534.962938",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1607,
- "y": 430,
- "z": "1b18cff5.bba51",
+ "x": 1661,
+ "y": 420,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "3d3fabb0.3b7c64"
+ "78d89c1.df36ce4"
]
]
},
{
- "id": "3d3fabb0.3b7c64",
+ "id": "78d89c1.df36ce4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",
"comments": "",
- "x": 1777,
- "y": 429,
- "z": "1b18cff5.bba51",
+ "x": 1831,
+ "y": 419,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "5009a48f.6c9144",
+ "id": "91d6cda6.f47358",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1734,
- "y": 508,
- "z": "1b18cff5.bba51",
+ "x": 1788,
+ "y": 498,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "7bccde97.6587f8"
+ "68a08572.6d4e94"
]
]
},
{
- "id": "7bccde97.6587f8",
+ "id": "68a08572.6d4e94",
"type": "for",
"name": "for each topology",
"xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",
"comments": "",
"outputs": 1,
- "x": 1913,
- "y": 508,
- "z": "1b18cff5.bba51",
+ "x": 1967,
+ "y": 498,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "b488f25e.063e58"
+ "e2491c10.3a12"
]
]
},
{
- "id": "b488f25e.063e58",
+ "id": "e2491c10.3a12",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2080,
- "y": 509,
- "z": "1b18cff5.bba51",
+ "x": 2134,
+ "y": 499,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "5387bb7e.ccfa04",
- "58ce3e1c.538878"
+ "b1c3c921.3c12a",
+ "b5a39927.d40208"
]
]
},
{
- "id": "5387bb7e.ccfa04",
+ "id": "b1c3c921.3c12a",
"type": "set",
"name": "set topology",
"xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",
"comments": "",
- "x": 2239,
- "y": 510,
- "z": "1b18cff5.bba51",
+ "x": 2293,
+ "y": 500,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "58ce3e1c.538878",
+ "id": "b5a39927.d40208",
"type": "call",
"name": "call tapi-update-network-to-aai",
"xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2230,
- "y": 576,
- "z": "1b18cff5.bba51",
+ "x": 2284,
+ "y": 566,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "4433c168.8e0cb",
+ "id": "6e19e1c4.aa4d28",
"type": "outcome",
"name": "MSA",
"xml": "<outcome value='MSA'>\n",
"comments": "",
"outputs": 1,
- "x": 1077.677324295044,
- "y": 591.8993349075317,
- "z": "1b18cff5.bba51",
+ "x": 1131.677324295044,
+ "y": 581.8993349075317,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "e65be9ee.c7b3b"
+ "4227a936.fe14d"
]
]
},
{
- "id": "e65be9ee.c7b3b",
+ "id": "4227a936.fe14d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1239.6773872375488,
- "y": 589.899335861206,
- "z": "1b18cff5.bba51",
+ "x": 1293.6773872375488,
+ "y": 579.899335861206,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "35fd633c.bf4964"
+ "f20725de.f4794"
]
]
},
{
- "id": "35fd633c.bf4964",
+ "id": "f20725de.f4794",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/openroadm/v2/networks/otn-topology'`\"/> \n <parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/> \n <parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/> \n <parameter name=\"format\" value=\"json\"/> \n <parameter name=\"httpMethod\" value=\"get\"/> \n <parameter name=\"responsePrefix\" value=\"networks\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.jks\"/> \n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/> \n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/> \n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1416.6771354675293,
- "y": 581.8992919921875,
- "z": "1b18cff5.bba51",
+ "x": 1470.6771354675293,
+ "y": 571.8992919921875,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "7a243e03.e07788",
- "31b0685e.813ca8"
+ "49b0fd8b.249e2c",
+ "792d01db.8d11"
]
]
},
{
- "id": "7a243e03.e07788",
+ "id": "49b0fd8b.249e2c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1569.6771354675293,
- "y": 578.8992919921875,
- "z": "1b18cff5.bba51",
+ "x": 1623.6771354675293,
+ "y": 568.8992919921875,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "a65ca6e4.09ef28"
+ "85d21e1a.a14be8"
]
]
},
{
- "id": "a65ca6e4.09ef28",
+ "id": "85d21e1a.a14be8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology MSA rest api\" />\n\n",
"comments": "",
- "x": 1744.6771354675293,
- "y": 577.8992919921875,
- "z": "1b18cff5.bba51",
+ "x": 1798.6771354675293,
+ "y": 567.8992919921875,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "31b0685e.813ca8",
+ "id": "792d01db.8d11",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1575.6771354675293,
- "y": 651.8992919921875,
- "z": "1b18cff5.bba51",
+ "x": 1629.6771354675293,
+ "y": 641.8992919921875,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "777a7a58.789fc4"
+ "d5110405.aee948"
]
]
},
{
- "id": "777a7a58.789fc4",
+ "id": "d5110405.aee948",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1759.6771354675293,
- "y": 653.8992919921875,
- "z": "1b18cff5.bba51",
+ "x": 1813.6771354675293,
+ "y": 643.8992919921875,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "7575649a.153f4c"
+ "68851b61.ef75e4"
]
]
},
{
- "id": "7575649a.153f4c",
+ "id": "68851b61.ef75e4",
"type": "call",
"name": "call msa-update-network-to-aai",
"xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2038.677001953125,
- "y": 651.8992919921875,
- "z": "1b18cff5.bba51",
+ "x": 2092.677001953125,
+ "y": 641.8992919921875,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "3075f0c3.b7397",
+ "id": "945331d0.def158",
"type": "switchNode",
"name": "switch network_length",
- "xml": "<switch test='`$topology.networks.network_length`'>\n",
+ "xml": "<switch test='`$topology.networks.network_length >= 2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2630,
- "y": 320,
- "z": "1b18cff5.bba51",
+ "x": 2684,
+ "y": 310,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "8524dca2.aeded8"
+ "901d4e1a.652118",
+ "11935c8a.a490ab"
]
]
},
{
- "id": "8524dca2.aeded8",
+ "id": "9c61f388.1f0838",
"type": "outcome",
"name": "2 Topologies (1 Domain)",
"xml": "<outcome value='2'>\n",
"comments": "",
"outputs": 1,
- "x": 2904,
- "y": 320,
- "z": "1b18cff5.bba51",
+ "x": 2894,
+ "y": 611,
+ "z": "1620e9e3.f93e5e",
"wires": [
- [
- "b33095ec.9e9e"
- ]
+ []
]
},
{
- "id": "b33095ec.9e9e",
+ "id": "326c6d24.4336b2",
"type": "switchNode",
"name": "switch network-types[0]",
"xml": "<switch test='`$topology.networks.network[0].network-types`'>\n",
"comments": "",
"outputs": 1,
- "x": 3272,
- "y": 305,
- "z": "1b18cff5.bba51",
+ "x": 4603,
+ "y": 400,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "d9671ae7.1f2ac",
- "8d2f7cad.ac7078"
+ "709f94a4.b34cf4",
+ "9cfb2d7f.448bd8"
]
]
},
{
- "id": "d9671ae7.1f2ac",
+ "id": "709f94a4.b34cf4",
"type": "outcome",
"name": "ethernet-topology",
"xml": "<outcome value='ethernet-topology'>\n",
"comments": "",
"outputs": 1,
- "x": 3488,
- "y": 305,
- "z": "1b18cff5.bba51",
+ "x": 4819,
+ "y": 400,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "9105249.2609cd8"
+ "6ad78f52.8d683"
]
]
},
{
- "id": "9105249.2609cd8",
+ "id": "6ad78f52.8d683",
"type": "switchNode",
"name": "switch network-types[1]",
"xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",
"comments": "",
"outputs": 1,
- "x": 3713,
- "y": 305,
- "z": "1b18cff5.bba51",
+ "x": 5044,
+ "y": 400,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "9ce7c86d.2eb2d8",
- "36497843.e3494"
+ "4e12c36c.f82d3c",
+ "17b8d1f3.652706"
]
]
},
{
- "id": "9ce7c86d.2eb2d8",
+ "id": "4e12c36c.f82d3c",
"type": "outcome",
"name": "otn-topology",
"xml": "<outcome value='otn-topology'>\n",
"comments": "",
"outputs": 1,
- "x": 3949,
- "y": 258,
- "z": "1b18cff5.bba51",
+ "x": 5280,
+ "y": 353,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "637acfae.0f124"
+ "cd9d2417.06096"
]
]
},
{
- "id": "f3d25251.c6e91",
+ "id": "172a24d9.92ec93",
"type": "call",
"name": "call update-tp-ttp-relationship",
"xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 4365,
- "y": 246,
- "z": "1b18cff5.bba51",
+ "x": 5696,
+ "y": 341,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "741e41f5.1da6",
+ "id": "61a560e1.35c54",
"type": "set",
"name": "set networks",
"xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[0].`' />\n<parameter name='network-otn.' value='`$topology.networks.network[1].`' />\n",
"comments": "",
- "x": 4321,
- "y": 155,
- "z": "1b18cff5.bba51",
+ "x": 5541,
+ "y": 207,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "8d2f7cad.ac7078",
+ "id": "9cfb2d7f.448bd8",
"type": "outcome",
"name": "otn-topology",
"xml": "<outcome value='otn-topology'>\n",
"comments": "",
"outputs": 1,
- "x": 3493,
- "y": 362,
- "z": "1b18cff5.bba51",
+ "x": 4824,
+ "y": 457,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "a8d319cf.4bc79"
+ "f16b5928.2b534"
]
]
},
{
- "id": "637acfae.0f124",
+ "id": "cd9d2417.06096",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4131,
- "y": 232,
- "z": "1b18cff5.bba51",
+ "x": 5462,
+ "y": 327,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "741e41f5.1da6",
- "f3d25251.c6e91"
+ "61a560e1.35c54",
+ "172a24d9.92ec93"
]
]
},
{
- "id": "a8d319cf.4bc79",
+ "id": "f16b5928.2b534",
"type": "switchNode",
"name": "switch network-types[1]",
"xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",
"comments": "",
"outputs": 1,
- "x": 3712,
- "y": 364,
- "z": "1b18cff5.bba51",
+ "x": 5043,
+ "y": 459,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "5531c9a0.612ad8",
- "182315db.ba9502"
+ "b02955b9.ece2c",
+ "1f0d239a.a59004"
]
]
},
{
- "id": "36497843.e3494",
+ "id": "17b8d1f3.652706",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3943,
- "y": 317,
- "z": "1b18cff5.bba51",
+ "x": 5274,
+ "y": 412,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "695f6a27.1421dc"
+ "d245d127.681cb"
]
]
},
{
- "id": "695f6a27.1421dc",
+ "id": "d245d127.681cb",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4145,
- "y": 315,
- "z": "1b18cff5.bba51",
+ "x": 5476,
+ "y": 410,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "5531c9a0.612ad8",
+ "id": "b02955b9.ece2c",
"type": "outcome",
"name": "ethernet-topology",
"xml": "<outcome value='ethernet-topology'>\n",
"comments": "",
"outputs": 1,
- "x": 3935,
- "y": 378,
- "z": "1b18cff5.bba51",
+ "x": 5266,
+ "y": 473,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "842f72e1.b17048"
+ "a776716e.08be98"
]
]
},
{
- "id": "3a98f05a.e5da8",
+ "id": "b2d9af5c.6d71e8",
"type": "set",
"name": "set networks",
"xml": "<set>\n<parameter name='network.eth' value='`$topology.networks.network[1].`' />\n<parameter name='network.otn' value='`$topology.networks.network[0].`' />\n",
"comments": "",
- "x": 4351,
- "y": 359,
- "z": "1b18cff5.bba51",
+ "x": 5682,
+ "y": 454,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "182315db.ba9502",
+ "id": "1f0d239a.a59004",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3894,
- "y": 439,
- "z": "1b18cff5.bba51",
+ "x": 5225,
+ "y": 534,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "ac618cc1.491d7"
+ "7a25521e.b55894"
]
]
},
{
- "id": "ac618cc1.491d7",
+ "id": "7a25521e.b55894",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 4063,
- "y": 446,
- "z": "1b18cff5.bba51",
+ "x": 5370,
+ "y": 541,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "842f72e1.b17048",
+ "id": "a776716e.08be98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4113,
- "y": 374,
- "z": "1b18cff5.bba51",
+ "x": 5444,
+ "y": 469,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "3a98f05a.e5da8",
- "225dfddc.2a0cba"
+ "b2d9af5c.6d71e8",
+ "7141defd.d7f3a8"
]
]
},
{
- "id": "5530fe3e.d46a6",
+ "id": "1a8710e5.1ad6b7",
"type": "get-resource",
"name": "get-resource network-resources",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resources\" \n pfx='tmp.aai.network-resources' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2617,
- "y": 510,
- "z": "1b18cff5.bba51",
+ "x": 2504,
+ "y": 784,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "d9e48832.552bd8",
- "59795789.351ce",
- "61ad07cf.dca3e8"
+ "3a8bf069.f85ce",
+ "aebcabff.82acc",
+ "1f447726.4be529"
]
]
},
{
- "id": "d9e48832.552bd8",
+ "id": "3a8bf069.f85ce",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2870,
- "y": 428,
- "z": "1b18cff5.bba51",
+ "x": 2757,
+ "y": 702,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "aa408c9d.56c38"
+ "e98ead73.d60f3"
]
]
},
{
- "id": "59795789.351ce",
+ "id": "aebcabff.82acc",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2873.490966796875,
- "y": 475.57403564453125,
- "z": "1b18cff5.bba51",
+ "x": 2760.490966796875,
+ "y": 749.5740356445312,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "c28a983a.0204"
+ "94257a05.fc968"
]
]
},
{
- "id": "61ad07cf.dca3e8",
+ "id": "1f447726.4be529",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2861.823974609375,
- "y": 519.9073486328125,
- "z": "1b18cff5.bba51",
+ "x": 2748.823974609375,
+ "y": 793.9073486328125,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "781b901c.45ff08"
+ "fe4ab328.74eee"
]
]
},
{
- "id": "225dfddc.2a0cba",
+ "id": "7141defd.d7f3a8",
"type": "call",
"name": "call update-tp-ttp-relationship",
"xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 4386,
- "y": 425,
- "z": "1b18cff5.bba51",
+ "x": 5717,
+ "y": 520,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "11abef7e.ad2629",
+ "id": "db2f1670.e36278",
"type": "call",
"name": "call update-open-ended-links",
"xml": "<call module='DataChange' rpc='update-open-ended-links' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 3658,
- "y": 683,
- "z": "1b18cff5.bba51",
+ "x": 3712,
+ "y": 737,
+ "z": "1620e9e3.f93e5e",
"wires": [
[]
]
},
{
- "id": "aa408c9d.56c38",
+ "id": "e98ead73.d60f3",
"type": "switchNode",
"name": "switch network-resources_length",
"xml": "<switch test='tmp.aai.network-resources_length'>\n",
"comments": "",
"outputs": 1,
- "x": 3085,
- "y": 426,
- "z": "1b18cff5.bba51",
+ "x": 2972,
+ "y": 700,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "13de82c2.31f6ad"
+ "c72d2527.4f27d8"
]
]
},
{
- "id": "13de82c2.31f6ad",
+ "id": "c72d2527.4f27d8",
"type": "outcome",
"name": "4 Topologies (2 Domains)",
"xml": "<outcome value='4'>\n",
"comments": "",
"outputs": 1,
- "x": 3362,
- "y": 425,
- "z": "1b18cff5.bba51",
+ "x": 3233,
+ "y": 700,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "e4acb7eb.00534"
+ "3dcb11c5.a0564e"
]
]
},
{
- "id": "c28a983a.0204",
+ "id": "94257a05.fc968",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3046,
- "y": 476,
- "z": "1b18cff5.bba51",
+ "x": 2933,
+ "y": 750,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "781b901c.45ff08",
+ "id": "fe4ab328.74eee",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 3035,
- "y": 522,
- "z": "1b18cff5.bba51",
+ "x": 2922,
+ "y": 796,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "3daf0b35.8056dc",
+ "id": "6b9df565.677604",
"type": "for",
"name": "for each network-resource",
"xml": "<for index='nridx' start='0' end='`$tmp.aai.network-resources.network-resource_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3677,
- "y": 476,
- "z": "1b18cff5.bba51",
+ "x": 3695,
+ "y": 664,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "a478abea.aef858"
+ "db1ad019.66229"
]
]
},
{
- "id": "a478abea.aef858",
+ "id": "db1ad019.66229",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3836,
- "y": 575,
- "z": "1b18cff5.bba51",
+ "x": 3924,
+ "y": 690,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "672de2b7.6fadec",
- "b7971e38.4fdc88"
+ "9c9a1adf.4a9568",
+ "df8384d1.95fc28"
]
]
},
{
- "id": "672de2b7.6fadec",
+ "id": "9c9a1adf.4a9568",
"type": "switchNode",
"name": "switch network-types[nridx]",
"xml": "<switch test='`$tmp.aai.network-resources.network-resource[$nridx].network-type`'>\n",
"comments": "",
"outputs": 1,
- "x": 4043,
- "y": 568,
- "z": "1b18cff5.bba51",
+ "x": 4197,
+ "y": 715,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "8b03cc56.be0278"
+ "be613956.e7594"
]
]
},
{
- "id": "8b03cc56.be0278",
+ "id": "be613956.e7594",
"type": "outcome",
"name": "otn-topology",
"xml": "<outcome value='otn-topology'>\n",
"comments": "",
"outputs": 1,
- "x": 4256,
- "y": 562,
- "z": "1b18cff5.bba51",
+ "x": 4410,
+ "y": 709,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "5b2aaa85.617b44"
+ "a82463e6.b9c248"
]
]
},
{
- "id": "7c2a6199.8c29b",
+ "id": "369083d8.76a43c",
"type": "set",
"name": "set network-resource-otn[$otnidx]",
"xml": "<set>\n<parameter name='network-resource-otn[$otnidx].' value='`$tmp.aai.network-resources.network-resource[$nridx].`' />\n",
"comments": "",
- "x": 4622,
- "y": 555,
- "z": "1b18cff5.bba51",
+ "x": 4776,
+ "y": 702,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "b7971e38.4fdc88",
+ "id": "df8384d1.95fc28",
"type": "set",
"name": "set otnidx",
"xml": "<set>\n<parameter name='otnidx' value='0' />\n",
"comments": "",
- "x": 3988,
- "y": 526,
- "z": "1b18cff5.bba51",
+ "x": 4142,
+ "y": 673,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "ee5c6cf6.44a0c",
+ "id": "fd786916.269048",
"type": "set",
"name": "set otnidx",
"xml": "<set>\n<parameter name='otnidx' value='`$otnidx + 1`' />\n",
"comments": "",
- "x": 4539,
- "y": 607,
- "z": "1b18cff5.bba51",
+ "x": 4693,
+ "y": 754,
+ "z": "1620e9e3.f93e5e",
"wires": []
},
{
- "id": "5b2aaa85.617b44",
+ "id": "a82463e6.b9c248",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4402,
- "y": 575,
- "z": "1b18cff5.bba51",
+ "x": 4556,
+ "y": 722,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "7c2a6199.8c29b",
- "ee5c6cf6.44a0c"
+ "369083d8.76a43c",
+ "fd786916.269048"
]
]
},
{
- "id": "e4acb7eb.00534",
+ "id": "3dcb11c5.a0564e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3456,
- "y": 499,
- "z": "1b18cff5.bba51",
+ "x": 3449,
+ "y": 695,
+ "z": "1620e9e3.f93e5e",
"wires": [
[
- "3daf0b35.8056dc",
- "11abef7e.ad2629"
+ "6b9df565.677604",
+ "db2f1670.e36278"
]
]
+ },
+ {
+ "id": "901d4e1a.652118",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2866,
+ "y": 311,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ [
+ "2165924a.476cde"
+ ]
+ ]
+ },
+ {
+ "id": "11935c8a.a490ab",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2868,
+ "y": 358,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ [
+ "94ef4628.95e6b8"
+ ]
+ ]
+ },
+ {
+ "id": "94ef4628.95e6b8",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logSdncDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"networks_length\" />\n <parameter name=\"field3\" value=\"`$topology.networks.network_length`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2996,
+ "y": 360,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2165924a.476cde",
+ "type": "for",
+ "name": "for each Network",
+ "xml": "<for index='netidx' start='0' end='`$topology.networks.network_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3039,
+ "y": 310,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ [
+ "115276c4.acec21"
+ ]
+ ]
+ },
+ {
+ "id": "115276c4.acec21",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3209,
+ "y": 308,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ [
+ "2a57d05e.a0dc88",
+ "dde988af.f0e1f",
+ "ccc4b2dc.03b6",
+ "9266c042.cf422",
+ "b4168243.614878"
+ ]
+ ]
+ },
+ {
+ "id": "2a57d05e.a0dc88",
+ "type": "set",
+ "name": "set network",
+ "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$netidx].`' />\n",
+ "comments": "",
+ "x": 3375,
+ "y": 276,
+ "z": "1620e9e3.f93e5e",
+ "wires": []
+ },
+ {
+ "id": "dde988af.f0e1f",
+ "type": "switchNode",
+ "name": "switch network-types with topologyId",
+ "xml": "<switch test='`$network.te-topology-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3420,
+ "y": 355,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ [
+ "eaf6a3f8.6275b",
+ "92b40685.e87b6"
+ ]
+ ]
+ },
+ {
+ "id": "b3e974ed.02509",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logSdncDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"networks_length\" />\n <parameter name=\"field3\" value=\"`$topology.networks.network_length`\" />\n <parameter name=\"field4\" value=\"network-type-is\" />\n <parameter name=\"field5\" value=\"OTN\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3904,
+ "y": 245,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eaf6a3f8.6275b",
+ "type": "outcome",
+ "name": "11",
+ "xml": "<outcome value='11'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3639,
+ "y": 309,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ [
+ "7df875b.d3cf70c"
+ ]
+ ]
+ },
+ {
+ "id": "92b40685.e87b6",
+ "type": "outcome",
+ "name": "33",
+ "xml": "<outcome value='33'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3639,
+ "y": 370,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ [
+ "16aa4525.8ff0c3"
+ ]
+ ]
+ },
+ {
+ "id": "d246fb34.c2a69",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logSdncDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"networks_length\" />\n <parameter name=\"field3\" value=\"`$topology.networks.network_length`\" />\n <parameter name=\"field4\" value=\"network-type-is\" />\n <parameter name=\"field5\" value=\"ETH\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3898,
+ "y": 370,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "50aa8e02.3ace68",
+ "type": "set",
+ "name": "set network-otn",
+ "xml": "<set>\n<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\n",
+ "comments": "",
+ "x": 3934,
+ "y": 315,
+ "z": "1620e9e3.f93e5e",
+ "wires": []
+ },
+ {
+ "id": "1ffaf146.64fab7",
+ "type": "set",
+ "name": "set networks",
+ "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\n",
+ "comments": "",
+ "x": 3916,
+ "y": 409,
+ "z": "1620e9e3.f93e5e",
+ "wires": []
+ },
+ {
+ "id": "ccc4b2dc.03b6",
+ "type": "set",
+ "name": "unset network",
+ "xml": "<set>\n<parameter name='network.' value='' />\n",
+ "comments": "",
+ "x": 3369,
+ "y": 222,
+ "z": "1620e9e3.f93e5e",
+ "wires": []
+ },
+ {
+ "id": "9266c042.cf422",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logSdncDiscovery.txt\" />\n <parameter name=\"field6\" value=\"network-otn-is\" />\n <parameter name=\"field7\" value=\"`$network-otn.te-topology-id`\" />\n <parameter name=\"field8\" value=\"network-eth-is\" />\n <parameter name=\"field9\" value=\"`$network-eth.te-topology-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3340,
+ "y": 480,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7df875b.d3cf70c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3770,
+ "y": 314,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ [
+ "b3e974ed.02509",
+ "50aa8e02.3ace68"
+ ]
+ ]
+ },
+ {
+ "id": "16aa4525.8ff0c3",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3775,
+ "y": 391,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ [
+ "d246fb34.c2a69",
+ "1ffaf146.64fab7"
+ ]
+ ]
+ },
+ {
+ "id": "b4168243.614878",
+ "type": "call",
+ "name": "call update-tp-ttp-relationship",
+ "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3410,
+ "y": 531,
+ "z": "1620e9e3.f93e5e",
+ "wires": [
+ []
+ ]
}
] \ No newline at end of file