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