[\r
{\r
- "id": "15787234.124136", \r
- "type": "dgstart", \r
- "name": "DGSTART", \r
- "outputs": 1, \r
- "x": 101, \r
- "y": 108, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "5f902aaa.7aa9a4",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 96,\r
+ "y": 111,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "65c08ccc.a64284"\r
+ "a24e36d1.cffe88"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "65c08ccc.a64284", \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": 205, \r
- "y": 197, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "a24e36d1.cffe88",\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": 200,\r
+ "y": 200,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "24732328.986984"\r
+ "62181046.00897"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "24732328.986984", \r
- "type": "method", \r
- "name": "method esr-thirdparty-sdnc-discovery-of-zte", \r
- "xml": "<method rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 273, \r
- "y": 295, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "62181046.00897",\r
+ "type": "method",\r
+ "name": "method esr-thirdparty-sdnc-discovery-of-zte",\r
+ "xml": "<method rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 268,\r
+ "y": 298,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "255730f2.067e3"\r
+ "bc55b20f.579c9"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "255730f2.067e3", \r
- "type": "block", \r
- "name": "block : atomic", \r
- "xml": "<block atomic='true'>", \r
- "atomic": "true", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 197, \r
- "y": 402, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "bc55b20f.579c9",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 192,\r
+ "y": 405,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "52a3f44e.4fe8d4"\r
+ "f7cce3b7.da11f"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "52a3f44e.4fe8d4", \r
- "type": "switchNode", \r
- "name": "switch aai-event-trigger", \r
- "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 399, \r
- "y": 402, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "f7cce3b7.da11f",\r
+ "type": "switchNode",\r
+ "name": "switch aai-event-trigger",\r
+ "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 394,\r
+ "y": 405,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "a7ad4b32.3232d", \r
- "7ca795d2.5ae15c"\r
+ "feebd6bc.652fa8",\r
+ "274f1a37.9e7186"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "a7ad4b32.3232d", \r
- "type": "outcome", \r
- "name": "update", \r
- "xml": "<outcome value='Update'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 627, \r
- "y": 357, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "feebd6bc.652fa8",\r
+ "type": "outcome",\r
+ "name": "update",\r
+ "xml": "<outcome value='Update'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 622,\r
+ "y": 360,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "6a7a4af2.cbffc4"\r
+ "3a6c0212.670f4e"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "7ca795d2.5ae15c", \r
- "type": "outcome", \r
- "name": "delete", \r
- "xml": "<outcome value='delete'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 625, \r
- "y": 525, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "274f1a37.9e7186",\r
+ "type": "outcome",\r
+ "name": "delete",\r
+ "xml": "<outcome value='delete'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 620,\r
+ "y": 528,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "3084a5a8.99639a"\r
+ "9093c48f.404368"\r
]\r
]\r
- }, \r
- {\r
- "id": "3084a5a8.99639a", \r
- "type": "block", \r
- "name": "block : atomic", \r
- "xml": "<block atomic='true'>", \r
- "atomic": "true", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 800, \r
- "y": 525, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "6a7a4af2.cbffc4", \r
- "type": "block", \r
- "name": "block", \r
- "xml": "<block>\n", \r
- "atomic": "false", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 779, \r
- "y": 357, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "9093c48f.404368",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 795,\r
+ "y": 528,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "3a6c0212.670f4e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 774,\r
+ "y": 360,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "9521c124.e5b908"\r
+ "8c1f6548.e5e568"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "9521c124.e5b908", \r
- "type": "switchNode", \r
- "name": "switch type", \r
- "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 948, \r
- "y": 357, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "8c1f6548.e5e568",\r
+ "type": "switchNode",\r
+ "name": "switch type",\r
+ "xml": "<switch test=\"`$zte.prop.sdncRestApi.type`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 943,\r
+ "y": 360,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "b1b8ddba.d5362", \r
- "b2791c8d.f92988"\r
+ "74951572.ebdc6c",\r
+ "eaaeda12.faa678"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "b1b8ddba.d5362", \r
- "type": "outcome", \r
- "name": "SOTN", \r
- "xml": "<outcome value='SOTN'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1124, \r
- "y": 292, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "74951572.ebdc6c",\r
+ "type": "outcome",\r
+ "name": "SOTN",\r
+ "xml": "<outcome value='SOTN'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1119,\r
+ "y": 295,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "2476cb54.ee54e4"\r
+ "c610ea22.d44298"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "b2791c8d.f92988", \r
- "type": "outcome", \r
- "name": "other", \r
- "xml": "<outcome value='Other'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1118, \r
- "y": 414, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "eaaeda12.faa678",\r
+ "type": "outcome",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1113,\r
+ "y": 417,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "615692ea.bd454c"\r
+ "c3125ba4.7ffdb8"\r
]\r
]\r
- }, \r
- {\r
- "id": "615692ea.bd454c", \r
- "type": "returnFailure", \r
- "name": "return failure", \r
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value=\"500\" />\n<parameter name='error-message' value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n", \r
- "comments": "", \r
- "x": 1310, \r
- "y": 414, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
- }, \r
- {\r
- "id": "2476cb54.ee54e4", \r
- "type": "block", \r
- "name": "block : atomic", \r
- "xml": "<block atomic='true'>", \r
- "atomic": "true", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1310, \r
- "y": 292, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "c3125ba4.7ffdb8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value=\"500\" />\n<parameter name='error-message' value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n",\r
+ "comments": "",\r
+ "x": 1305,\r
+ "y": 417,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c610ea22.d44298",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1305,\r
+ "y": 295,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "58ffaa94.11ecc4", \r
- "876baee.788865"\r
+ "93e42ee3.ef7c9",\r
+ "14a63f8c.fb75e",\r
+ "16563079.8d5e2"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "58ffaa94.11ecc4", \r
- "type": "execute", \r
- "name": "execute RestApiCallNode Get ZTE Topology", \r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutopotemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopology\"/>", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1630, \r
- "y": 200, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "93e42ee3.ef7c9",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Get ZTE Topology",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutopotemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopology\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1625,\r
+ "y": 203,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "1cff6c99.978523", \r
- "8b1af88f.90711"\r
+ "7009dab5.0199f4",\r
+ "e43c55f6.204948"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "1cff6c99.978523", \r
- "type": "success", \r
- "name": "success", \r
- "xml": "<outcome value='success'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1912, \r
- "y": 145, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "7009dab5.0199f4",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1907,\r
+ "y": 148,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "3c98a053.587f4"\r
+ "2945e727.0d1da8"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "8b1af88f.90711", \r
- "type": "failure", \r
- "name": "failure", \r
- "xml": "<outcome value='failure'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1910, \r
- "y": 245, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "e43c55f6.204948",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1905,\r
+ "y": 248,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "f7875e10.0e8698"\r
+ "775e4e34.10584"\r
]\r
]\r
- }, \r
- {\r
- "id": "3c98a053.587f4", \r
- "type": "block", \r
- "name": "block : atomic", \r
- "xml": "<block atomic=\"true\">", \r
- "atomic": "true", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2111, \r
- "y": 144, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "f7875e10.0e8698", \r
- "type": "returnFailure", \r
- "name": "return failure", \r
- "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 odutopo rest api\" />\n", \r
- "comments": "", \r
- "x": 2106, \r
- "y": 245, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
- }, \r
- {\r
- "id": "876baee.788865", \r
- "type": "for", \r
- "name": "for each oduTopology", \r
- "xml": "<for index='nidx' start='0' end='`$ztetopology.output.topology.node-ref-id_length`' >", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1538, \r
- "y": 333, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "2945e727.0d1da8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2106,\r
+ "y": 147,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "775e4e34.10584",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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 odutopo rest api\" />\n",\r
+ "comments": "",\r
+ "x": 2101,\r
+ "y": 248,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "14a63f8c.fb75e",\r
+ "type": "for",\r
+ "name": "for each topology",\r
+ "xml": "<for index='nidx' start='0' end='`$ztetopology.output.topology.node-ref-id_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1533,\r
+ "y": 336,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "8b00f3a6.5f00a"\r
+ "5cd977af.6d2188"\r
]\r
]\r
- }, \r
- {\r
- "id": "b480d508.259ad", \r
- "type": "update", \r
- "name": "save network-resource", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource' \n key='network-resource.network-id = $prop.zte.network-id' >\n<parameter name='network-id' value='`$prop.zte.network-id`' />\n<parameter name='client-id' value='`$prop.zte.client-id`' />\n<parameter name='te-topo-id' value='`$prop.zte.topo-id`' />\n<parameter name='provider-id' value='`$prop.zte.provider-id`' />", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1993, \r
- "y": 381, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "8b00f3a6.5f00a", \r
- "type": "block", \r
- "name": "block : atomic", \r
- "xml": "<block atomic='true'>", \r
- "atomic": "true", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1736, \r
- "y": 333, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "4b8d1cd8.c32504",\r
+ "type": "update",\r
+ "name": "save network-resource",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource' \n key='network-resource.network-id = $prop.zte.network-id' >\n<parameter name='network-id' value='`$prop.zte.network-id`' />\n<parameter name='client-id' value='`$prop.zte.client-id`' />\n<parameter name='te-topo-id' value='`$prop.zte.topo-id`' />\n<parameter name='provider-id' value='`$prop.zte.provider-id`' />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1637,\r
+ "y": 664,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4a607014.a17fa",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1362,\r
+ "y": 562,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5d5e9d41.c00664",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Get ZTE oduTopology",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodetemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynode\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2023,\r
+ "y": 414,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "5a3bb265.58783c", \r
- "9645ad1c.475eb", \r
- "b480d508.259ad"\r
+ "ddc8baae.4921b8",\r
+ "66e109c3.50ba98"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "5a3bb265.58783c", \r
- "type": "execute", \r
- "name": "execute RestApiCallNode Get ZTE oduTopology", \r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodetemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynode\"/>", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2075, \r
- "y": 437, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "66e109c3.50ba98",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2321,\r
+ "y": 495,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "942544d4.b8ec58", \r
- "8acdf237.4dae08"\r
+ "6aaa8b79.149894"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "8acdf237.4dae08", \r
- "type": "success", \r
- "name": "success", \r
- "xml": "<outcome value='success'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1509, \r
- "y": 689, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "ddc8baae.4921b8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2319,\r
+ "y": 414,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "6d8d547d.f1dd64"\r
+ "72846c1a.17d914"\r
]\r
]\r
- }, \r
- {\r
- "id": "942544d4.b8ec58", \r
- "type": "failure", \r
- "name": "failure", \r
- "xml": "<outcome value='failure'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1510, \r
- "y": 564, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "72846c1a.17d914",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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 odutopo node rest api\" />\n",\r
+ "comments": "",\r
+ "x": 2510,\r
+ "y": 414,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "48652b97.2fedc4",\r
+ "type": "for",\r
+ "name": "for each oduTopology node",\r
+ "xml": "<for index='pidx' start='0' end='`$ztetopologynode.output.topology.node-ref-id_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1649,\r
+ "y": 749,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "faf343d1.9734d"\r
+ "2d5905b0.3495ea"\r
]\r
]\r
- }, \r
- {\r
- "id": "faf343d1.9734d", \r
- "type": "returnFailure", \r
- "name": "return failure", \r
- "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 odutopo node rest api\" />\n", \r
- "comments": "", \r
- "x": 1701, \r
- "y": 564, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
- }, \r
- {\r
- "id": "6d8d547d.f1dd64", \r
- "type": "for", \r
- "name": "for each oduTopology node", \r
- "xml": "<for index='pidx' start='0' end='`$ztetopologynode.output.topology.node-ref-id_length`' >\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1735, \r
- "y": 689, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "453fd3.8bd4502c",\r
+ "type": "update",\r
+ "name": "save pnf",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='admin-status' value=\"up\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2738,\r
+ "y": 818,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c9e69fe4.50fcd",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Get ZTE oduTopology Node details",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodedetailstemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynodedetails\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2251,\r
+ "y": 748,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "a25bc521.5bb6a"\r
+ "e85faec3.821",\r
+ "68392c6a.4e1674"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "f538452a.143d98", \r
- "type": "update", \r
- "name": "save pnf", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='admin-status' value=\"up\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2743, \r
- "y": 815, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "e85faec3.821",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1711,\r
+ "y": 833,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
- [ ]\r
+ [\r
+ "854a7fc2.bfea9"\r
+ ]\r
]\r
- }, \r
- {\r
- "id": "11d1e28b.963c9d", \r
- "type": "execute", \r
- "name": "execute RestApiCallNode Get ZTE oduTopology Node details", \r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodedetailstemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynodedetails\"/>", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2337, \r
- "y": 688, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "854a7fc2.bfea9",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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 odutopo node details rest api\" />\n",\r
+ "comments": "",\r
+ "x": 1861,\r
+ "y": 833,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "68392c6a.4e1674",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1709,\r
+ "y": 938,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "55658f39.4a8e78", \r
- "c9a1df1.d5a80a"\r
+ "109fc05a.9da5c"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "55658f39.4a8e78", \r
- "type": "failure", \r
- "name": "failure", \r
- "xml": "<outcome value='failure'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1716, \r
- "y": 830, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "109fc05a.9da5c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1892,\r
+ "y": 938,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "fd93d8e1.2313b"\r
+ "588ee473.9cb17c",\r
+ "6075f692.b2caa8",\r
+ "22a310d5.11293",\r
+ "7e2199ff.99b1c8"\r
]\r
]\r
- }, \r
- {\r
- "id": "fd93d8e1.2313b", \r
- "type": "returnFailure", \r
- "name": "return failure", \r
- "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 odutopo node details rest api\" />\n", \r
- "comments": "", \r
- "x": 1866, \r
- "y": 830, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
- }, \r
- {\r
- "id": "c9a1df1.d5a80a", \r
- "type": "success", \r
- "name": "success", \r
- "xml": "<outcome value='success'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1714, \r
- "y": 935, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "6075f692.b2caa8",\r
+ "type": "save",\r
+ "name": "save pnf relationship to network-resource in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $prop.zte.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.zte.network-id`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2187,\r
+ "y": 1027,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "22a310d5.11293",\r
+ "type": "save",\r
+ "name": "save pnf relation with esr-thirdparty-sdnc",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $zte.prop.sdncRestApi.thirdpartySdnc.id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $ztetopologynodedetails.output.node.uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$ztetopologynodedetails.output.node.uuid`\" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2161,\r
+ "y": 1094,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f00776db.4dbaf8",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Get ZTE oduTopology Node edge point details",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodenepdetailstemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-edge-point-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynodenepdetails\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2792,\r
+ "y": 1275,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "77de9cee.930a9c"\r
+ "345328c1.c40d08",\r
+ "72be01d7.1258c"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "77de9cee.930a9c", \r
- "type": "block", \r
- "name": "block", \r
- "xml": "<block>\n", \r
- "atomic": "false", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1897, \r
- "y": 935, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "6e627eca.00e4a",\r
+ "type": "for",\r
+ "name": "for each oduTopology node nep name",\r
+ "xml": "<for index='tidx' start='0' end='`$ztetopologynodenepdetails.output.node-edge-point.name_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2663,\r
+ "y": 1510,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "1b4283dd.592abc", \r
- "eecb4617.57e91", \r
- "7e0ea1c3.cc762", \r
- "61c3b72.b4d2c48"\r
+ "7cffba09.0e7a94"\r
]\r
]\r
- }, \r
- {\r
- "id": "1b4283dd.592abc", \r
- "type": "save", \r
- "name": "save pnf relationship to network-resource in AAI", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"'/network/network-resources/network-resource/' + 'zteNetwork'\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"zteNetwork\" />", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2192, \r
- "y": 1024, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "eecb4617.57e91", \r
- "type": "save", \r
- "name": "save pnf relation with esr-thirdparty-sdnc", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $zte.prop.sdncRestApi.thirdpartySdnc.id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $ztetopologynodedetails.node.uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$ztetopologynodedetails.node.uuid`\" />\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2166, \r
- "y": 1091, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "7f6ccbfa.b45a74", \r
- "type": "execute", \r
- "name": "execute RestApiCallNode Get ZTE oduTopology Node edge point details", \r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getzteodutoponodenepdetailstemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-node-edge-point-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopologynodenepdetails\"/>", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2797, \r
- "y": 1272, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "7cffba09.0e7a94",\r
+ "type": "execute",\r
+ "name": "contains client",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$ztetopologynodenepdetails.node-edge-point.name[tidx].value`\"/>\n <parameter name=\"target\" value=\"client\"/>\n ",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2976,\r
+ "y": 1510,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "38b0f2d1.620906", \r
- "7b5490b3.a1044"\r
+ "36d5c2cc.d55c4e",\r
+ "c6db88ea.32d128"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "df44c30b.78cdc", \r
- "type": "for", \r
- "name": "for each oduTopology node nep name", \r
- "xml": "<for index='tidx' start='0' end='`$ztetopologynodenepdetails.output.node-edge-point.name_length`' >\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2687, \r
- "y": 1507, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "72be01d7.1258c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2386,\r
+ "y": 1510,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "a99510c.7985ef"\r
+ "6e627eca.00e4a"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "a99510c.7985ef", \r
- "type": "execute", \r
- "name": "contains client", \r
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$ztetopologynodenepdetails.node-edge-point.name[tidx].value`\"/>\n <parameter name=\"target\" value=\"client\"/>\n ", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 3028, \r
- "y": 1507, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "345328c1.c40d08",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2386,\r
+ "y": 1419,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "81ab5973.689e", \r
- "3487141b.53f6bc"\r
+ "fc122084.5176a"\r
]\r
]\r
- }, \r
- {\r
- "id": "81ab5973.689e", \r
- "type": "outcomeTrue", \r
- "name": "true", \r
- "xml": "<outcome value='true'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 3240, \r
- "y": 1507, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "fc122084.5176a",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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 odutopo node edge point details rest api\" />\n",\r
+ "comments": "",\r
+ "x": 2739,\r
+ "y": 1417,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2aeff331.c3498c",\r
+ "type": "set",\r
+ "name": "set zte unique-ltpId",\r
+ "xml": "<set>\n<parameter name='zte-unique-ltpId' value=\"`'nodeId-' + $ztetopologynodedetails.output.node.uuid + '-ltpId-' + $ztetopologynodenepdetails.output.node-edge-point.uuid`\" />\n",\r
+ "comments": "",\r
+ "x": 3687,\r
+ "y": 1510,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "62e34399.97db9c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3473,\r
+ "y": 1510,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "ce449c28.7c7b3"\r
+ "2aeff331.c3498c",\r
+ "873e3131.8335a",\r
+ "f75f21b7.efa77"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "7b5490b3.a1044", \r
- "type": "success", \r
- "name": "success", \r
- "xml": "<outcome value='success'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2391, \r
- "y": 1507, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "e8680f6b.26d67",\r
+ "type": "update",\r
+ "name": "save p-interface",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\n AND p-interface.interface-name = $zte-unique-ltpId' > \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4112,\r
+ "y": 1702,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ [\r
+ "eed25adb.58f488",\r
+ "67b16207.7b846c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "209b7c79.7331c4",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3469,\r
+ "y": 1436,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "eed25adb.58f488",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4300,\r
+ "y": 1636,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "df44c30b.78cdc"\r
+ "e4358a9c.200a58"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "38b0f2d1.620906", \r
- "type": "failure", \r
- "name": "failure", \r
- "xml": "<outcome value='failure'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2391, \r
- "y": 1416, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "67b16207.7b846c",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4300,\r
+ "y": 1701,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "e2cba4e6.c2e7a"\r
+ "6efad235.03a13c"\r
]\r
]\r
- }, \r
- {\r
- "id": "e2cba4e6.c2e7a", \r
- "type": "returnFailure", \r
- "name": "return failure", \r
- "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 odutopo node edge point details rest api\" />\n", \r
- "comments": "", \r
- "x": 2763, \r
- "y": 1416, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
- }, \r
- {\r
- "id": "3bf4d883.90249", \r
- "type": "set", \r
- "name": "set zte unique-ltpId", \r
- "xml": "<set>\n<parameter name='zte-unique-ltpId' value=\"`'nodeId-' + $ztetopologynodedetails.node.uuid + '-ltpId-' + $ztetopologynodenepdetails.node-edge-point.uuid`\" />\n", \r
- "comments": "", \r
- "x": 3692, \r
- "y": 1507, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
- }, \r
- {\r
- "id": "ce449c28.7c7b3", \r
- "type": "block", \r
- "name": "block", \r
- "xml": "<block>\n", \r
- "atomic": "false", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 3478, \r
- "y": 1507, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "e4358a9c.200a58",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4489,\r
+ "y": 1635,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "588ee473.9cb17c",\r
+ "type": "switchNode",\r
+ "name": "switch",\r
+ "xml": "<switch test=\"`$ztetopologynodedetails.output.node.global-state-pac.operational-state == 'ENABLED'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2062,\r
+ "y": 937,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "3bf4d883.90249", \r
- "613c2ada.da8a7c", \r
- "ab8b449e.5887e"\r
+ "e2329ee1.9a7b6",\r
+ "eaec1cbd.8f432"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "d2080e42.04e638", \r
- "type": "update", \r
- "name": "save p-interface", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $ztetopologynodedetails.node.uuid\n AND p-interface.interface-name = $zte-unique-ltpId' > \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\"`'nodeId-' + $node.node-id + '-ltpId-' + $tp.te-tp-id`\"", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4117, \r
- "y": 1699, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "e2329ee1.9a7b6",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2263,\r
+ "y": 886,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "768c64d0.f7a43c", \r
- "1c2dd58d.1dea72"\r
+ "67b87346.c6a5bc"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "3487141b.53f6bc", \r
- "type": "outcomeFalse", \r
- "name": "false", \r
- "xml": "<outcome value='false'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 3239, \r
- "y": 1433, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "eaec1cbd.8f432",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2262,\r
+ "y": 957,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "c0e9d951.a60da8"\r
+ "a037a75a.ae6708"\r
]\r
]\r
- }, \r
- {\r
- "id": "c0e9d951.a60da8", \r
- "type": "block", \r
- "name": "block", \r
- "xml": "<block>\n", \r
- "atomic": "false", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 3474, \r
- "y": 1433, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "768c64d0.f7a43c", \r
- "type": "success", \r
- "name": "success", \r
- "xml": "<outcome value='success'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4305, \r
- "y": 1633, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "67b87346.c6a5bc",\r
+ "type": "switchNode",\r
+ "name": "switch",\r
+ "xml": "<switch test=\"`$ztetopologynodedetails.output.node.global-state-pac.administrative-state == 'LOCKED'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2419,\r
+ "y": 886,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "faf97108.30335"\r
+ "ba21f30c.c4435",\r
+ "ab98b4e0.12a4f8"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "1c2dd58d.1dea72", \r
- "type": "failure", \r
- "name": "failure", \r
- "xml": "<outcome value='failure'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4305, \r
- "y": 1698, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "a037a75a.ae6708",\r
+ "type": "switchNode",\r
+ "name": "switch",\r
+ "xml": "<switch test=\"`$ztetopologynodedetails.output.node.global-state-pac.administrative-state == 'LOCKED'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2420,\r
+ "y": 957,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "48e7c11a.010d9"\r
+ "90096244.386ff",\r
+ "b1e15aa1.abad48"\r
]\r
]\r
- }, \r
- {\r
- "id": "faf97108.30335", \r
- "type": "block", \r
- "name": "block", \r
- "xml": "<block>\n", \r
- "atomic": "false", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4494, \r
- "y": 1632, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "7e0ea1c3.cc762", \r
- "type": "switchNode", \r
- "name": "switch", \r
- "xml": "<switch test=\"`$ztetopologynodedetails.node.global-state-pac.operational-state == 'ENABLED'`\">\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2067, \r
- "y": 934, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "ba21f30c.c4435",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2582,\r
+ "y": 818,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "c9232bab.411fe", \r
- "a6b9bca2.6fc2b"\r
+ "453fd3.8bd4502c"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "c9232bab.411fe", \r
- "type": "outcomeTrue", \r
- "name": "true", \r
- "xml": "<outcome value='true'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2268, \r
- "y": 883, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "ab98b4e0.12a4f8",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2585,\r
+ "y": 886,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "18266e26.721f3a"\r
+ "1c144406.5ea9fc"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "a6b9bca2.6fc2b", \r
- "type": "outcomeFalse", \r
- "name": "false", \r
- "xml": "<outcome value='false'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2267, \r
- "y": 954, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "90096244.386ff",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2586,\r
+ "y": 957,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "3e090a83.a9b3c6"\r
+ "65322994.d1f668"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "18266e26.721f3a", \r
- "type": "switchNode", \r
- "name": "switch", \r
- "xml": "<switch test=\"`$ztetopologynodedetails.node.global-state-pac.administrative-state == 'LOCKED'`\">\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2424, \r
- "y": 883, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "b1e15aa1.abad48",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2587,\r
+ "y": 1026,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ [\r
+ "97879765.7b8ac8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1c144406.5ea9fc",\r
+ "type": "update",\r
+ "name": "save pnf",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='admin-status' value=\"down\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2738,\r
+ "y": 886,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "65322994.d1f668",\r
+ "type": "update",\r
+ "name": "save pnf",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='admin-status' value=\"up\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2735,\r
+ "y": 957,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "97879765.7b8ac8",\r
+ "type": "update",\r
+ "name": "save pnf",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.output.node.uuid`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='admin-status' value=\"down\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2736,\r
+ "y": 1026,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "873e3131.8335a",\r
+ "type": "switchNode",\r
+ "name": "test operational-state",\r
+ "xml": "<switch test=\"`$ztetopologynodedetails.output.node.global-state-pac.operational-state == 'ENABLED'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3687,\r
+ "y": 1699,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "18fde8e6.1e96f7", \r
- "1bdb1333.5ff0dd"\r
+ "dad7304e.123b4",\r
+ "cce973ee.e8539"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "3e090a83.a9b3c6", \r
- "type": "switchNode", \r
- "name": "switch", \r
- "xml": "<switch test=\"`$ztetopologynodedetails.node.global-state-pac.administrative-state == 'LOCKED'`\">\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2425, \r
- "y": 954, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "dad7304e.123b4",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3903,\r
+ "y": 1702,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "9439c895.756d", \r
- "c071256a.4164e8"\r
+ "e8680f6b.26d67"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "18fde8e6.1e96f7", \r
- "type": "outcomeTrue", \r
- "name": "true", \r
- "xml": "<outcome value='true'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2587, \r
- "y": 815, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "cce973ee.e8539",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3906,\r
+ "y": 1816,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "f538452a.143d98"\r
+ "a9bffbab.0baeb8"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "1bdb1333.5ff0dd", \r
- "type": "outcomeFalse", \r
- "name": "false", \r
- "xml": "<outcome value='false'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2590, \r
- "y": 883, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "a9bffbab.0baeb8",\r
+ "type": "update",\r
+ "name": "save p-interface",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\n AND p-interface.interface-name = $zte-unique-ltpId' > \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='in-maint' value=\"true\" />\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4113,\r
+ "y": 1816,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "5f1efe1e.eaa66"\r
+ "a6acf286.7190a",\r
+ "655a7457.79319c"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "9439c895.756d", \r
- "type": "outcomeTrue", \r
- "name": "true", \r
- "xml": "<outcome value='true'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2591, \r
- "y": 954, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "a6acf286.7190a",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4301,\r
+ "y": 1816,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "e6e244a4.0300f"\r
+ "f73009af.d52ca8"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "c071256a.4164e8", \r
- "type": "outcomeFalse", \r
- "name": "false", \r
- "xml": "<outcome value='false'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2592, \r
- "y": 1023, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "655a7457.79319c",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4298,\r
+ "y": 1877,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "79274805.8fd178"\r
+ "367baa79.63cc46"\r
]\r
]\r
- }, \r
- {\r
- "id": "5f1efe1e.eaa66", \r
- "type": "update", \r
- "name": "save pnf", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='admin-status' value=\"down\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2743, \r
- "y": 883, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "e6e244a4.0300f", \r
- "type": "update", \r
- "name": "save pnf", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='admin-status' value=\"up\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2740, \r
- "y": 954, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "79274805.8fd178", \r
- "type": "update", \r
- "name": "save pnf", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $ztetopologynodedetails.node.uuid' >\n<parameter name='pnf-name' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='pnf-id' value='`$ztetopologynodedetails.node.uuid`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='admin-status' value=\"down\" />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2741, \r
- "y": 1023, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "613c2ada.da8a7c", \r
- "type": "switchNode", \r
- "name": "test operational-state", \r
- "xml": "<switch test=\"`$ztetopologynodedetails.node.global-state-pac.operational-state == 'ENABLED'`\">\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 3692, \r
- "y": 1696, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "f73009af.d52ca8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4487,\r
+ "y": 1816,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "6efad235.03a13c",\r
+ "type": "update",\r
+ "name": "save p-interface",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\n AND p-interface.interface-name = $zte-unique-ltpId' > \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4520,\r
+ "y": 1701,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "367baa79.63cc46",\r
+ "type": "update",\r
+ "name": "save p-interface",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $ztetopologynodedetails.output.node.uuid\n AND p-interface.interface-name = $zte-unique-ltpId' > \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4514,\r
+ "y": 1877,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "bcbc6e2c.3314",\r
+ "type": "set",\r
+ "name": "set params",\r
+ "xml": "<set>\n<parameter name='prop.zte.network-id' value=\"zteNetwork\" />\n<parameter name='prop.zte.client-id' value=\"zteClient1\" />\n<parameter name='prop.zte.topo-id' value=\"zteTopo1\" />\n<parameter name='prop.zte.provider-id' value=\"zteProvider1\" />\n",\r
+ "comments": "",\r
+ "x": 1604,\r
+ "y": 597,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2d5905b0.3495ea",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1871,\r
+ "y": 749,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "e65d9fab.c131f", \r
- "fc04748b.c0e76"\r
+ "c9e69fe4.50fcd",\r
+ "69930609.325f68"\r
]\r
]\r
- }, \r
- {\r
- "id": "e65d9fab.c131f", \r
- "type": "outcomeTrue", \r
- "name": "true", \r
- "xml": "<outcome value='true'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 3908, \r
- "y": 1699, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "69930609.325f68",\r
+ "type": "set",\r
+ "name": "set odutopo node name",\r
+ "xml": "<set>\n<parameter name='prop.zte.odutopo.node.name' value='`$ztetopologynode.output.topology.node-ref-id[$pidx]`' />\n",\r
+ "comments": "",\r
+ "x": 2135,\r
+ "y": 674,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e65cd4cb.61e0c8",\r
+ "type": "set",\r
+ "name": "set odutopo node nep uuid",\r
+ "xml": "<set>\n<parameter name='prop.zte.odutopo.node.nep.uuid' value='`$ztetopologynodedetails.output.node.node-edge-point-id[$ridx]`' />\n",\r
+ "comments": "",\r
+ "x": 2652,\r
+ "y": 1158,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7e2199ff.99b1c8",\r
+ "type": "for",\r
+ "name": "for each oduTopology node nep",\r
+ "xml": "<for index='ridx' start='0' end='`$ztetopologynodedetails.output.node.node-edge-point-id_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2132,\r
+ "y": 1159,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "d2080e42.04e638"\r
+ "cf240b59.497fb8"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "fc04748b.c0e76", \r
- "type": "outcomeFalse", \r
- "name": "false", \r
- "xml": "<outcome value='false'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 3911, \r
- "y": 1813, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "cf240b59.497fb8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2397,\r
+ "y": 1158,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ [\r
+ "e65cd4cb.61e0c8",\r
+ "f00776db.4dbaf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f75f21b7.efa77",\r
+ "type": "set",\r
+ "name": "set zte bandwidth",\r
+ "xml": "<set>\n<parameter name='zte-bandwidth' value='`1250000000 * $ztetopologynodenepdetails.output.node-edge-point.lp[0].odu-nep-pac.odu-capacity`' />\n",\r
+ "comments": "",\r
+ "x": 3679,\r
+ "y": 1598,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "16563079.8d5e2",\r
+ "type": "execute",\r
+ "name": "execute Properties",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1551,\r
+ "y": 114,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ca881019.9ce88",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1353,\r
+ "y": 664,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "278d5ea5.1b82ca"\r
+ "bcbc6e2c.3314",\r
+ "4b8d1cd8.c32504",\r
+ "48652b97.2fedc4"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "278d5ea5.1b82ca", \r
- "type": "update", \r
- "name": "save p-interface", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $ztetopologynodedetails.node.uuid\n AND p-interface.interface-name = $zte-unique-ltpId' > \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"down\" />\n<parameter name='in-maint' value=\"true\" />\n\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4118, \r
- "y": 1813, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "6aaa8b79.149894",\r
+ "type": "switchNode",\r
+ "name": "switch",\r
+ "xml": "<switch test=\"`$ztetopologynode.output.topology.layer-protocol-name[0] == 'ODU'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1059,\r
+ "y": 562,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "775b7d93.cb0874", \r
- "ee21bf18.cecaa"\r
+ "3cbcd27b.e8a5ce",\r
+ "e7e2532e.34e23"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "775b7d93.cb0874", \r
- "type": "success", \r
- "name": "success", \r
- "xml": "<outcome value='success'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4306, \r
- "y": 1813, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "e7e2532e.34e23",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1204,\r
+ "y": 664,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "c0aead49.1958f8"\r
+ "ca881019.9ce88"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "ee21bf18.cecaa", \r
- "type": "failure", \r
- "name": "failure", \r
- "xml": "<outcome value='failure'>\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4303, \r
- "y": 1874, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "3cbcd27b.e8a5ce",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1206,\r
+ "y": 562,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "54ef23c0.7c3d8c"\r
+ "4a607014.a17fa"\r
]\r
]\r
- }, \r
- {\r
- "id": "c0aead49.1958f8", \r
- "type": "block", \r
- "name": "block", \r
- "xml": "<block>\n", \r
- "atomic": "false", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4492, \r
- "y": 1813, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "48e7c11a.010d9", \r
- "type": "update", \r
- "name": "save p-interface", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $ztetopologynodedetails.node.uuid\n AND p-interface.interface-name = $zte-unique-ltpId' > \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4525, \r
- "y": 1698, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "54ef23c0.7c3d8c", \r
- "type": "update", \r
- "name": "save p-interface", \r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $ztetopologynodedetails.node.uuid\n AND p-interface.interface-name = $zte-unique-ltpId' > \n<parameter name='interface-name' value='`$zte-unique-ltpId`' />\n<parameter name='network-ref' value=\"`'providerId/' + $prop.zte.provider-id + '/topologyId/' + $prop.zte.topo-id + '/clientId/' + $prop.zte.client-id`\" />\n<parameter name='transparent' value=\"true\" />\n<parameter name='speed-value' value='`$zte-bandwidth`' />\n<parameter name='operational-status' value=\"up\" />\n<parameter name='in-maint' value=\"true\" />\n\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 4519, \r
- "y": 1874, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [\r
- [ ]\r
- ]\r
- }, \r
- {\r
- "id": "9645ad1c.475eb", \r
- "type": "set", \r
- "name": "set params", \r
- "xml": "<set>\n<parameter name='prop.zte.network-id' value=\"zteNetwork\" />\n<parameter name='prop.zte.client-id' value=\"zteClient1\" />\n<parameter name='prop.zte.topo-id' value=\"zteTopo1\" />\n<parameter name='prop.zte.provider-id' value=\"zteProvider1\" />\n<parameter name='prop.zte.odutopo.name' value='`$ztetopology.output.topology.node-ref-id[$nidx]`' />\n", \r
- "comments": "", \r
- "x": 1957, \r
- "y": 333, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
- }, \r
- {\r
- "id": "a25bc521.5bb6a", \r
- "type": "block", \r
- "name": "block", \r
- "xml": "<block>\n", \r
- "atomic": "false", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 1957, \r
- "y": 689, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "9b66d171.8f74a",\r
+ "type": "set",\r
+ "name": "set topo name",\r
+ "xml": "<set>\n<parameter name='prop.zte.odutopo.name' value='`$ztetopology.output.topology.node-ref-id[$nidx]`' />\n",\r
+ "comments": "",\r
+ "x": 1916,\r
+ "y": 336,\r
+ "z": "540d3add.6d0b44",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5cd977af.6d2188",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1725,\r
+ "y": 336,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "11d1e28b.963c9d", \r
- "9403cfc0.48bae8"\r
+ "9b66d171.8f74a",\r
+ "5d5e9d41.c00664"\r
]\r
]\r
- }, \r
- {\r
- "id": "9403cfc0.48bae8", \r
- "type": "set", \r
- "name": "set odutopo node name", \r
- "xml": "<set>\n<parameter name='prop.zte.odutopo.node.name' value='`$ztetopologynode.output.topology.node-ref-id[$pidx]`' />\n", \r
- "comments": "", \r
- "x": 2221, \r
- "y": 614, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
- }, \r
- {\r
- "id": "d1f5b2ac.93ca5", \r
- "type": "set", \r
- "name": "set odutopo node nep uuid", \r
- "xml": "<set>\n<parameter name='prop.zte.odutopo.node.nep.uuid' value='`$ztetopologynodedetails.output.node.node-edge-point-id[$ridx]`' />\n", \r
- "comments": "", \r
- "x": 2657, \r
- "y": 1155, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
- }, \r
- {\r
- "id": "61c3b72.b4d2c48", \r
- "type": "for", \r
- "name": "for each oduTopology node nep", \r
- "xml": "<for index='ridx' start='0' end='`$ztetopologynodedetails.output.node.node-edge-point-id_length`' >\n", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2137, \r
- "y": 1156, \r
- "z": "5c3ac6a5.48ce2", \r
+ },\r
+ {\r
+ "id": "36d5c2cc.d55c4e",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3216,\r
+ "y": 1510,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "ba3d5d3.bbc9ca"\r
+ "62e34399.97db9c"\r
]\r
]\r
- }, \r
+ },\r
{\r
- "id": "ba3d5d3.bbc9ca", \r
- "type": "block", \r
- "name": "block", \r
- "xml": "<block>\n", \r
- "atomic": "false", \r
- "comments": "", \r
- "outputs": 1, \r
- "x": 2402, \r
- "y": 1155, \r
- "z": "5c3ac6a5.48ce2", \r
+ "id": "c6db88ea.32d128",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3210,\r
+ "y": 1437,\r
+ "z": "540d3add.6d0b44",\r
"wires": [\r
[\r
- "d1f5b2ac.93ca5", \r
- "7f6ccbfa.b45a74"\r
+ "209b7c79.7331c4"\r
]\r
]\r
- }, \r
- {\r
- "id": "ab8b449e.5887e", \r
- "type": "set", \r
- "name": "set zte bandwidth", \r
- "xml": "<set>\n<parameter name='zte-bandwidth' value='`1000 * 1000000 * 1.25 * $ztetopologynodenepdetails.node-edge-point.lp[0].odu-nep-pac.oducapacity`' />\n", \r
- "comments": "", \r
- "x": 3684, \r
- "y": 1595, \r
- "z": "5c3ac6a5.48ce2", \r
- "wires": [ ]\r
}\r
]
\ No newline at end of file