[\r
{\r
- "id": "fa505d09.c9298",\r
+ "id": "1ffbc02a.2de6d",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 106,\r
- "y": 62,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 133,\r
+ "y": 76,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "96d975d7.ae7b9"\r
+ "74e0b2b2.75108c"\r
]\r
]\r
},\r
{\r
- "id": "96d975d7.ae7b9",\r
+ "id": "74e0b2b2.75108c",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\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='GENERIC-RESOURCE-API' version='${project.version}'>",\r
"outputs": 1,\r
- "x": 390.2856903076172,\r
- "y": 123.23810863494873,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 264.2856903076172,\r
+ "y": 125.23810863494873,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "197a98e4.ad38d7"\r
+ "f846ccbd.4406d8"\r
]\r
]\r
},\r
{\r
- "id": "197a98e4.ad38d7",\r
+ "id": "f846ccbd.4406d8",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-delete",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-delete' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 396.42860412597656,\r
- "y": 208.00003051757812,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 267.4286193847656,\r
+ "y": 210.00003242492676,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "eeba2d4.aaa3b5"\r
+ "dc51143b.674018"\r
]\r
]\r
},\r
{\r
- "id": "9e471fb5.d24a9",\r
- "type": "comment",\r
- "name": "site-vnf-topology-operation-delete",\r
- "info": "",\r
- "comments": "",\r
- "x": 968.9162979125977,\r
- "y": 129.58639907836914,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "eeba2d4.aaa3b5",\r
+ "id": "dc51143b.674018",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 596.2380447387695,\r
- "y": 357.6666717529297,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "cdad3ccf.c778c8",\r
- "ddca427c.b6135",\r
- "16b5196b.e4f74f",\r
- "72550323.add05c",\r
- "bcb30576.c5395",\r
- "1ee10a8.e75cb76",\r
- "2400813d.b23cfe",\r
- "466b59d1.1f9ec8",\r
- "8fb031c0.32361",\r
- "4290869b.c0e258",\r
- "12c0646.e45499c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "72550323.add05c",\r
- "type": "switchNode",\r
- "name": "switch service-data.vnfs.vnf_length",\r
- "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1048.6660919189453,\r
- "y": 275.2611792087555,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 417.238037109375,\r
+ "y": 339.6666564941406,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f1600d0.d3bcd7",\r
- "5da847de.3e7bd8"\r
+ "45b2aaee.4a9d2c",\r
+ "3e78a125.3512fe",\r
+ "45ccee1d.26f07"\r
]\r
]\r
},\r
{\r
- "id": "f1600d0.d3bcd7",\r
- "type": "other",\r
- "name": "outcome Null",\r
- "xml": "<outcome value=''>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1313.3884048461914,\r
- "y": 257.81680130958557,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "2758e1f4.65c7de"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "2758e1f4.65c7de",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",\r
- "comments": "",\r
- "x": 1494.3882751464844,\r
- "y": 252.81667923927307,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "5da847de.3e7bd8",\r
- "type": "other",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1298.8884048461914,\r
- "y": 309.81676411628723,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "3d795ab1.0cafb6"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "3d795ab1.0cafb6",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "outputs": 1,\r
- "x": 1470.888111114502,\r
- "y": 309.8167622089386,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "ed865e4c.fb2fe",\r
- "ef77d3e7.8772d"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "ef77d3e7.8772d",\r
- "type": "switchNode",\r
- "name": "switch tmp.nidx ",\r
- "xml": "<switch test=\"`$tmp.nidx`\">\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1645.888282775879,\r
- "y": 328.81668400764465,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "e8dd060b.17e57"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "16b5196b.e4f74f",\r
- "type": "switchNode",\r
- "name": "switch vnf-level-oper-status",\r
- "xml": "<switch test='`$service-data.vnfs.vnf[$tmp.nidx].vnf-data.vnf-level-oper-status.order-status`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1019.0550918579102,\r
- "y": 349.7056429386139,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "284f50fc.866d8",\r
- "cdf83757.65b4b8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "284f50fc.866d8",\r
- "type": "outcome",\r
- "name": "outcome PendingDelete",\r
- "xml": "<outcome value='PendingDelete'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1295.8884353637695,\r
- "y": 352.8167426586151,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "e9cca7ec.303c7"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "cdf83757.65b4b8",\r
- "type": "other",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1256.8884201049805,\r
- "y": 398.8167917728424,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "28762357.a03f74"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "28762357.a03f74",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'VNF is not in appropriate state for activate. Current state is ' + $service-data.vnfs.vnf[$tmp.nidx].vnf-data.vnf-level-oper-status.order-status`\" />",\r
- "comments": "",\r
- "x": 1405.3881340026855,\r
- "y": 397.81677174568176,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "bcb30576.c5395",\r
- "type": "execute",\r
- "name": "execute requiredParameters",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"vnf-topology-operation-input.vnf-information.vnf-id\" value=\"$vnf-topology-operation-input.vnf-information.vnf-id\"/>\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1035.388427734375,\r
- "y": 218.8167588710785,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "ed865e4c.fb2fe",\r
- "type": "for",\r
- "name": "for nidx..service-data.vnfs.vnf[]",\r
- "xml": "<for index='nidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1706.3882865905762,\r
- "y": 264.8166801929474,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "5b03bf9c.f15f28"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "5b03bf9c.f15f28",\r
- "type": "switchNode",\r
- "name": "switch vnf-id found",\r
- "xml": "<switch test=\"`$service-data.vnfs.vnf[$nidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1962.3883056640625,\r
- "y": 264.8166801929474,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "b0289fb.f82296"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "b0289fb.f82296",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2138.888359069824,\r
- "y": 267.8166801929474,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "772109f8.0b899"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "772109f8.0b899",\r
- "type": "set",\r
- "name": "set tmp.nidx and ctx.vnf-data",\r
- "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$nidx].vnf-data.`' />\n",\r
- "comments": "",\r
- "x": 2305.8883743286133,\r
- "y": 328.8166801929474,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "68963ea5.a81b48",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",\r
- "comments": "",\r
- "x": 1951.388298034668,\r
- "y": 328.81668400764465,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "e8dd060b.17e57",\r
- "type": "outcome",\r
- "name": "NULL",\r
- "xml": "<outcome value=''>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1813.888298034668,\r
- "y": 328.81668400764465,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "68963ea5.a81b48"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "cdad3ccf.c778c8",\r
- "type": "set",\r
- "name": "set vnfId and vnf-object-path",\r
- "xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='vnf-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vnf-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'` \" />",\r
- "comments": "",\r
- "x": 1005.9051132202148,\r
- "y": 564.3336856365204,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "ddca427c.b6135",\r
+ "id": "45b2aaee.4a9d2c",\r
"type": "returnSuccess",\r
"name": "return success",\r
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
"comments": "",\r
- "x": 906.0162353515625,\r
- "y": 1435.88916015625,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "e9cca7ec.303c7",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "outputs": 1,\r
- "x": 1491.1947937011719,\r
- "y": 360.14194798469543,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "1ee10a8.e75cb76",\r
- "type": "set",\r
- "name": "set prop.vnfNewidx",\r
- "xml": "<set>\n<parameter name='prop.vnfidxLen' value='`0`' />\n",\r
- "comments": "",\r
- "x": 988.0000839233398,\r
- "y": 400.00007796287537,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 713.5716552734375,\r
+ "y": 616.59716796875,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "2400813d.b23cfe",\r
- "type": "for",\r
- "name": "for lidx..service-data.vnfs.vnf[]",\r
- "xml": "<for index='lidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1012.0000686645508,\r
- "y": 442.0000765323639,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "572dbcf2.896d3c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "572dbcf2.896d3c",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "outputs": 1,\r
- "x": 1273.000144958496,\r
- "y": 446.00011134147644,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "53356e5d.7d71c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "53356e5d.7d71c",\r
- "type": "switchNode",\r
- "name": "switch vnf-id found",\r
- "xml": "<switch test=\"`$service-data.vnfs.vnf[$lidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1465.0000915527344,\r
- "y": 455.00015568733215,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "82733dd2.3a7d"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "82733dd2.3a7d",\r
- "type": "outcomeFalse",\r
- "name": "false",\r
- "xml": "<outcome value='false'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1651.0001068115234,\r
- "y": 439.0000422000885,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "d7f72ca.5dc4ed"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "d7f72ca.5dc4ed",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "outputs": 1,\r
- "x": 1802.0000305175781,\r
- "y": 440.0000784397125,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "920da24f.169358",\r
- "953950.d86c6eb"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "920da24f.169358",\r
- "type": "set",\r
- "name": "set vnf data",\r
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$prop.vnfidxLen].vnf-id' value='`$service-data.vnfs.vnf[$lidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$prop.vnfidxLen].vnf-data.' value='`$service-data.vnfs.vnf[$lidx].vnf-data.`' />\n",\r
- "comments": "",\r
- "x": 1969.0001983642578,\r
- "y": 414.00026202201843,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "953950.d86c6eb",\r
- "type": "set",\r
- "name": "set prop.vnfNewidx",\r
- "xml": "<set>\n<parameter name='prop.vnfidxLen' value='`$prop.vnfidxLen + 1`' />\n",\r
- "comments": "",\r
- "x": 1989.0001258850098,\r
- "y": 471.0001976490021,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "466b59d1.1f9ec8",\r
- "type": "set",\r
- "name": "set new vnf length",\r
- "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value='`$prop.vnfidxLen`'/>\n\n\t\n",\r
- "comments": "",\r
- "x": 980.1014823913574,\r
- "y": 485.804429769516,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "8fb031c0.32361",\r
- "type": "set",\r
- "name": "Remove vnf from ServiceData",\r
- "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$prop.vnfidxLen].\" value=\"\"/>\n\n",\r
- "comments": "",\r
- "x": 1010.0002517700195,\r
- "y": 524.0002129077911,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "4290869b.c0e258",\r
- "type": "save",\r
- "name": "delete AnAI - vnf-instance.orchestration-status",\r
- "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $vnfId\" >\n<parameter name=\"orchestration-status\" value=\"PendingDelete\" />\n<parameter name=\"vnf-type\" value=\"some vnf-type\" />\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1067.0066452026367,\r
- "y": 601.0106251239777,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "740c712e.7b0a18",\r
+ "id": "9ea4d60.c51a0a8",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 1001,\r
- "y": 735,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 745,\r
+ "y": 291,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "12c0646.e45499c",\r
+ "id": "3e78a125.3512fe",\r
"type": "save",\r
"name": "get service-instance from aai",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">",\r
+ "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n \n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--vnf-topology-operation-input.service-information.service-instance-id-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1012,\r
- "y": 785,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 765,\r
+ "y": 387,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f9064279.1b4f8",\r
- "17f4eefe.af8569",\r
- "e0ea0e9c.c1ac38"\r
+ "86ee6067.0c17a8",\r
+ "bf4bb2c3.815168",\r
+ "ac6196ae.1ef19"\r
]\r
]\r
},\r
{\r
- "id": "f9064279.1b4f8",\r
+ "id": "86ee6067.0c17a8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1228,\r
- "y": 750,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 984,\r
+ "y": 325,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "7baaa7aa.36e958"\r
+ "eb95b4de.4ca18"\r
]\r
]\r
},\r
{\r
- "id": "17f4eefe.af8569",\r
+ "id": "bf4bb2c3.815168",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1237.490966796875,\r
- "y": 792.5740356445312,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 993.490966796875,\r
+ "y": 367.57403564453125,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "48a0edde.3f94f4"\r
+ "4da0ff5c.9fdf8"\r
]\r
]\r
},\r
{\r
- "id": "e0ea0e9c.c1ac38",\r
+ "id": "ac6196ae.1ef19",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1226,\r
- "y": 839,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 982,\r
+ "y": 414,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "b71eb698.9367c8"\r
+ "49170b5b.8b327c"\r
]\r
]\r
},\r
{\r
- "id": "48a0edde.3f94f4",\r
+ "id": "4da0ff5c.9fdf8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 1391.0623779296875,\r
- "y": 795.8597717285156,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 1147.0623779296875,\r
+ "y": 370.8597717285156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "b71eb698.9367c8",\r
+ "id": "49170b5b.8b327c",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1395,\r
- "y": 840,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 1151,\r
+ "y": 415,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "7baaa7aa.36e958",\r
+ "id": "eb95b4de.4ca18",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1425,\r
- "y": 746,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 1181,\r
+ "y": 321,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "7f9e9a3e.4de224"\r
+ "4f2c512c.91fb8"\r
]\r
]\r
},\r
{\r
- "id": "7f9e9a3e.4de224",\r
+ "id": "4f2c512c.91fb8",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1648.33349609375,\r
- "y": 745.9999389648438,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 1404.33349609375,\r
+ "y": 320.99993896484375,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "316daf9e.190dc"\r
+ "fa463b5.38a29c8"\r
]\r
]\r
},\r
{\r
- "id": "316daf9e.190dc",\r
+ "id": "fa463b5.38a29c8",\r
"type": "outcome",\r
"name": "connectivity",\r
"xml": "<outcome value='connectivity'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1844,\r
- "y": 748,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 1605.0001335144043,\r
+ "y": 322.00002098083496,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "d510feb6.348d7"\r
+ "e51d2b5.f353758"\r
]\r
]\r
},\r
{\r
- "id": "d510feb6.348d7",\r
- "type": "switchNode",\r
- "name": "switch $rel-index == 0",\r
- "xml": "<switch test=\"`$rel-index == 0`\">\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2031.9998664855957,\r
- "y": 745.999979019165,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "71f2cf8d.3a35e",\r
- "264b9f2.1aba9e"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "71f2cf8d.3a35e",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2254.9998664855957,\r
- "y": 635.999979019165,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "c924f778.a2b848"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "264b9f2.1aba9e",\r
- "type": "outcomeFalse",\r
- "name": "false",\r
- "xml": "<outcome value='false'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2225.999755859375,\r
- "y": 1062,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "beac7966.aff0e"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "c924f778.a2b848",\r
- "type": "save",\r
- "name": "get connectivityA from aai",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[0].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivityA\" >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2448.9998664855957,\r
- "y": 635.999979019165,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "b8d26364.3207e8",\r
- "ce782cd0.462e9",\r
- "c0db2841.2c9108"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "beac7966.aff0e",\r
- "type": "save",\r
- "name": "get connectivityB from aai",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[1].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivityB\" >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2421.999755859375,\r
- "y": 1062,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "e783575a.ee3408",\r
- "f2d51460.33b19",\r
- "7c2969db.4e66a"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "b8d26364.3207e8",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2654.9998664855957,\r
- "y": 595.999979019165,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "888a4917.61b98"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "ce782cd0.462e9",\r
- "type": "not-found",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2655.4908332824707,\r
- "y": 641.5740146636963,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "a71edbbe.5f5c18"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "c0db2841.2c9108",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
+ "id": "45ccee1d.26f07",\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' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2652.9998664855957,\r
- "y": 684.999979019165,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 731,\r
+ "y": 335,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
- [\r
- "a3da676a.d60b68"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "888a4917.61b98",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "outputs": 1,\r
- "x": 2827.6663703918457,\r
- "y": 594.999979019165,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "e61d24fe.b9f57"\r
- ]\r
+ []\r
]\r
},\r
{\r
- "id": "a71edbbe.5f5c18",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
- "comments": "",\r
- "x": 2818.062244415283,\r
- "y": 641.8597507476807,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "a3da676a.d60b68",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "id": "e51d2b5.f353758",\r
+ "type": "save",\r
+ "name": "get connectivity from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
"comments": "",\r
- "x": 2821.9998664855957,\r
- "y": 685.999979019165,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 1843,\r
+ "y": 324,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ [\r
+ "bd96538d.fc9d98",\r
+ "d296a5a5.03f2d8",\r
+ "59d0b561.049ff4"\r
+ ]\r
+ ]\r
},\r
{\r
- "id": "e783575a.ee3408",\r
+ "id": "bd96538d.fc9d98",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2641.999755859375,\r
- "y": 1033,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2051,\r
+ "y": 288,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "589b1078.8544c"\r
+ "a935f75b.7b8ae8"\r
]\r
]\r
},\r
{\r
- "id": "f2d51460.33b19",\r
+ "id": "d296a5a5.03f2d8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2643.49072265625,\r
- "y": 1078.5740356445312,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2051.490966796875,\r
+ "y": 333.57403564453125,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "41e63be3.fadc5c"\r
+ "b4d9ea13.dc5c6"\r
]\r
]\r
},\r
{\r
- "id": "7c2969db.4e66a",\r
+ "id": "59d0b561.049ff4",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2639.999755859375,\r
- "y": 1124,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "2d54d7a1.ac5068"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "589b1078.8544c",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "outputs": 1,\r
- "x": 2814.666259765625,\r
- "y": 1034,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2049,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "be4e9140.d69b68"\r
+ "cc59ead5.ab58f"\r
]\r
]\r
},\r
{\r
- "id": "41e63be3.fadc5c",\r
+ "id": "b4d9ea13.dc5c6",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 2805.0621337890625,\r
- "y": 1080.8597717285156,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2214.0623779296875,\r
+ "y": 333.8597717285156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "2d54d7a1.ac5068",\r
+ "id": "cc59ead5.ab58f",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2808.999755859375,\r
- "y": 1125,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2218,\r
+ "y": 378,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "e61d24fe.b9f57",\r
+ "id": "2055e9c.9575d16",\r
"type": "save",\r
- "name": "get vpn-binding-A from aai",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivityA.relationship-list.relationship[0].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-bindingA\" >\n",\r
+ "name": "get vpn-binding from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3047,\r
- "y": 579,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2524,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "2b60392e.ff6d9e",\r
- "49846022.e395b8",\r
- "b35a5936.c908e8"\r
+ "1719bc42.5de0cc",\r
+ "b2907373.b3b1a",\r
+ "fb17b477.f9109"\r
]\r
]\r
},\r
{\r
- "id": "abc0c7ad.b5acd8",\r
+ "id": "c87f5113.e0af38",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3431,\r
- "y": 579,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2908,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "4263af43.fa9c48",\r
- "196f2286.5bda85",\r
- "e474491b.fe4e98",\r
- "f4710eb9.81bb",\r
- "4d26fd5b.dd7194"\r
+ "1985ee34.d96bba",\r
+ "52698c53.01b1dc",\r
+ "6e17a44c.f8e15c",\r
+ "9562cdef.811fc8",\r
+ "51f18b3b.809efc",\r
+ "9405a159.40925",\r
+ "e776447c.da84c8"\r
]\r
]\r
},\r
{\r
- "id": "4263af43.fa9c48",\r
- "type": "set",\r
- "name": "set attachment_param for TN NSSSI deleteion in PNC A",\r
- "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$tmp.aai.vpn-bindingA.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_dst-tpn' value='' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$tmp.aai.vpn-bindingA.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n\n",\r
- "comments": "",\r
- "x": 3783,\r
- "y": 572,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "2b60392e.ff6d9e",\r
+ "id": "1719bc42.5de0cc",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3258,\r
- "y": 581,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2735,\r
+ "y": 379,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "abc0c7ad.b5acd8"\r
+ "c87f5113.e0af38"\r
]\r
]\r
},\r
{\r
- "id": "49846022.e395b8",\r
+ "id": "b2907373.b3b1a",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3258.490966796875,\r
- "y": 626.5740356445312,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2735.490966796875,\r
+ "y": 424.57403564453125,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "df7bab95.4da49"\r
+ "34c1a665.03471a"\r
]\r
]\r
},\r
{\r
- "id": "b35a5936.c908e8",\r
+ "id": "fb17b477.f9109",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3256,\r
- "y": 670,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2733,\r
+ "y": 468,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "2e3ee94d.2c9d76"\r
+ "8d4bf215.03d04"\r
]\r
]\r
},\r
{\r
- "id": "2e3ee94d.2c9d76",\r
+ "id": "8d4bf215.03d04",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3423,\r
- "y": 669,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2900,\r
+ "y": 467,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "df7bab95.4da49",\r
+ "id": "34c1a665.03471a",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
"comments": "",\r
- "x": 3421.0623779296875,\r
- "y": 626.8597717285156,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2898.0623779296875,\r
+ "y": 424.8597717285156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "4d26fd5b.dd7194",\r
- "type": "execute",\r
- "name": "execute RestApiCallNode Delete TN NSSI",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-otn-tunnel-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<!--<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />-->\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+ "id": "a935f75b.7b8ae8",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3739,\r
- "y": 623,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2252,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "1605b46c.2a0984",\r
- "49599f6.eb505e"\r
+ "67091bed.864304"\r
]\r
]\r
},\r
{\r
- "id": "1605b46c.2a0984",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
+ "id": "67091bed.864304",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4086.5,\r
- "y": 593,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2457,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "c35b0230.a333b8"\r
+ "4e4ac25c.008624"\r
]\r
]\r
},\r
{\r
- "id": "49599f6.eb505e",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
+ "id": "4e4ac25c.008624",\r
+ "type": "outcome",\r
+ "name": "vpn-binding",\r
+ "xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4101.5,\r
- "y": 658,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2623,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "c575a6f8.585bd8"\r
+ "7c62e56b.ccfd7c"\r
]\r
]\r
},\r
{\r
- "id": "c35b0230.a333b8",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
- "comments": "",\r
- "x": 4270.5,\r
- "y": 589,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "c575a6f8.585bd8",\r
+ "id": "7c62e56b.ccfd7c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
- "comments": "",\r
"outputs": 1,\r
- "x": 4296,\r
- "y": 651,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 2786,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
- []\r
+ [\r
+ "2055e9c.9575d16"\r
+ ]\r
]\r
},\r
{\r
- "id": "196f2286.5bda85",\r
+ "id": "1985ee34.d96bba",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 3123,\r
+ "y": 87,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "52698c53.01b1dc",\r
"type": "get-resource",\r
- "name": "get-resource esr-thirdparty-sdnc",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
+ "name": "get-resource src pnf",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3734,\r
- "y": 444,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3149,\r
+ "y": 204,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "1da34d03.94651b",\r
- "c42b64ae.aaab8",\r
- "25d5725f.b07fee"\r
+ "df3dfd24.e7243",\r
+ "21f9901e.5c5cb",\r
+ "23d5d99c.1069c6"\r
]\r
]\r
},\r
{\r
- "id": "1da34d03.94651b",\r
+ "id": "df3dfd24.e7243",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3980,\r
- "y": 404,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3344.5001220703125,\r
+ "y": 156,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "6e678297.9224ac"\r
+ "b45e1015.15138"\r
]\r
]\r
},\r
{\r
- "id": "c42b64ae.aaab8",\r
+ "id": "21f9901e.5c5cb",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3984,\r
- "y": 444,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3336.5001220703125,\r
+ "y": 211,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "96b16b61.297a58"\r
+ "77f6a688.81ce38"\r
]\r
]\r
},\r
{\r
- "id": "25d5725f.b07fee",\r
- "type": "other",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
+ "id": "b45e1015.15138",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3976,\r
- "y": 484,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3488.8824462890625,\r
+ "y": 155.65567016601562,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "8951a2c3.b71c18"\r
+ "a3edca1c.ba087"\r
]\r
]\r
},\r
{\r
- "id": "8951a2c3.b71c18",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
- "comments": "",\r
- "x": 4134,\r
- "y": 484,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "96b16b61.297a58",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
+ "id": "a3edca1c.ba087",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
- "x": 4134,\r
- "y": 444,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 3673,\r
+ "y": 154,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ [\r
+ "db4aebfd.10c0f"\r
+ ]\r
+ ]\r
},\r
{\r
- "id": "6e678297.9224ac",\r
- "type": "set",\r
- "name": "set controller data",\r
- "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+ "id": "db4aebfd.10c0f",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
- "x": 4150,\r
- "y": 404,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 3868,\r
+ "y": 154,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ [\r
+ "47e44765.fd9158"\r
+ ]\r
+ ]\r
},\r
{\r
- "id": "7ef0083.0af5478",\r
- "type": "comment",\r
- "name": "Get controller info and send request",\r
- "info": "",\r
+ "id": "23d5d99c.1069c6",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
"comments": "",\r
- "x": 3742,\r
- "y": 404,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 3341.5001220703125,\r
+ "y": 268,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ [\r
+ "4952922a.0e6edc"\r
+ ]\r
+ ]\r
},\r
{\r
- "id": "3d0f709d.f526f8",\r
- "type": "comment",\r
- "name": "TODO: FIXME:",\r
- "info": "How to know which domain's (A or B) controller is bein retrieved?",\r
+ "id": "4952922a.0e6edc",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
"comments": "",\r
- "x": 3674,\r
- "y": 364,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3493.5001220703125,\r
+ "y": 269,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "744d9a2e.8e773c",\r
- "type": "comment",\r
- "name": "TODO: FIXME:",\r
- "info": "Set proper values to generate a good JSON body to be sent to PNC A for TN NSSI deletion.",\r
+ "id": "77f6a688.81ce38",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
"comments": "",\r
- "x": 3654,\r
- "y": 528,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3504.5001220703125,\r
+ "y": 212,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "e474491b.fe4e98",\r
- "type": "save",\r
- "name": "delete connectivity resource in AAI",\r
- "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n",\r
+ "id": "fa4dfe6b.cee79",\r
+ "type": "execute",\r
+ "name": "get esr-thirdparty-sdnc",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3711,\r
- "y": 715,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4456,\r
+ "y": 171,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
- []\r
+ [\r
+ "cbb209f7.a6664",\r
+ "74e5e9b0.d9729",\r
+ "a328bb91.cda89"\r
+ ]\r
]\r
},\r
{\r
- "id": "47618fca.ed7b18",\r
- "type": "comment",\r
- "name": "TODO: FIXME",\r
- "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
- "comments": "",\r
- "x": 3646,\r
- "y": 681,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "f4710eb9.81bb",\r
- "type": "save",\r
- "name": "delete vpn-binding resource in AAI",\r
- "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='tmp.aai.vpn-bindingA = $tmp.aai.vpn-bindingA'>\n",\r
- "comments": "",\r
+ "id": "3f03e2fb.b5f81e",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
"outputs": 1,\r
- "x": 3707,\r
- "y": 759,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4250,\r
+ "y": 158,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
- []\r
+ [\r
+ "8d9a188f.1a7a4",\r
+ "fa4dfe6b.cee79",\r
+ "920b64ba.47efa"\r
+ ]\r
]\r
},\r
{\r
- "id": "be4e9140.d69b68",\r
- "type": "save",\r
- "name": "get vpn-binding-B from aai",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivityB.relationship-list.relationship[0].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-bindingB\" >\n",\r
+ "id": "8d9a188f.1a7a4",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domain id",\r
+ "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "outputs": 1,\r
- "x": 3079,\r
- "y": 1027,\r
- "z": "b189bed1.bef5e8",\r
- "wires": [\r
- [\r
- "ef723c11.8ecf08",\r
- "d24eb3b1.82784",\r
- "d82f4ae7.ff1938"\r
- ]\r
- ]\r
+ "x": 4486,\r
+ "y": 119,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": []\r
},\r
{\r
- "id": "ef723c11.8ecf08",\r
+ "id": "cbb209f7.a6664",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3286,\r
- "y": 1030,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4666,\r
+ "y": 162,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "db88eddf.0d68b8"\r
+ "d166346a.002478"\r
]\r
]\r
},\r
{\r
- "id": "d24eb3b1.82784",\r
+ "id": "74e5e9b0.d9729",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3286.490966796875,\r
- "y": 1075.5740356445312,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4658,\r
+ "y": 217,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "b2d386a0.34fcc8"\r
+ "73697be7.45641c"\r
]\r
]\r
},\r
{\r
- "id": "d82f4ae7.ff1938",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
+ "id": "a328bb91.cda89",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3284,\r
- "y": 1119,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4663,\r
+ "y": 274,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "fced2850.46c338"\r
+ "482cf24f.1774ec"\r
]\r
]\r
},\r
{\r
- "id": "fced2850.46c338",\r
+ "id": "482cf24f.1774ec",\r
"type": "returnFailure",\r
"name": "return failure",\r
- "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
"comments": "",\r
- "x": 3453,\r
- "y": 1120,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4815,\r
+ "y": 275,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "b2d386a0.34fcc8",\r
+ "id": "73697be7.45641c",\r
"type": "returnFailure",\r
"name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
"comments": "",\r
- "x": 3449.0623779296875,\r
- "y": 1075.8597717285156,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4826,\r
+ "y": 220,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "db88eddf.0d68b8",\r
+ "id": "d166346a.002478",\r
"type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4810.38232421875,\r
+ "y": 159.65567016601562,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ [\r
+ "2f421760.45d288"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "47e44765.fd9158",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
"outputs": 1,\r
- "x": 3455,\r
- "y": 1030,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4071,\r
+ "y": 158,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "968b60ca.b919a8",\r
- "4bf2b1b3.14be6",\r
- "474863fb.23ac14",\r
- "13714ee3.ae8141",\r
- "408a0c32.404a4c"\r
+ "3f03e2fb.b5f81e"\r
]\r
]\r
},\r
{\r
- "id": "968b60ca.b919a8",\r
+ "id": "2f421760.45d288",\r
"type": "set",\r
- "name": "set attachment_param for TN NSSSI deleteion in PNC B",\r
- "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$tmp.aai.vpn-bindingB.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].dst-ttp-id' value='`$tmp.aai.vpn-bindingB.dst-access-ltp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_dst-tpn' value='' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$tmp.aai.vpn-bindingB.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n\n",\r
+ "name": "set controller domain data",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+ "comments": "",\r
+ "x": 5025,\r
+ "y": 156,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "920b64ba.47efa",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
"comments": "",\r
- "x": 3816,\r
- "y": 1131,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4406,\r
+ "y": 235,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "cb725e7f.5dd5b",\r
+ "id": "9405a159.40925",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Delete transport slice without token",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-optical-slice:deallocate-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3273,\r
+ "y": 502,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ [\r
+ "ecacf915.574818",\r
+ "e290fc99.96c1d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ecacf915.574818",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4075,\r
- "y": 1158,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3616.5,\r
+ "y": 497,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "8ff601d0.110ad8"\r
+ "6c0fb618.3be698"\r
]\r
]\r
},\r
{\r
- "id": "9cd7bc00.01b8a8",\r
+ "id": "e290fc99.96c1d8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4090,\r
- "y": 1223,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3620.5,\r
+ "y": 537,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f31755df.8bf058"\r
+ "735428f1.2ceb3"\r
]\r
]\r
},\r
{\r
- "id": "8ff601d0.110ad8",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
- "comments": "",\r
- "x": 4259,\r
- "y": 1154,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "f31755df.8bf058",\r
+ "id": "735428f1.2ceb3",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4257.5,\r
- "y": 1217,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3778,\r
+ "y": 537,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "4bf2b1b3.14be6",\r
- "type": "execute",\r
- "name": "execute RestApiCallNode Delete TN NSSI",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-otn-tunnel-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<!--<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />-->\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+ "id": "6c0fb618.3be698",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing deallocate transport slice rest api\" />\n",\r
+ "comments": "",\r
+ "x": 3774.5,\r
+ "y": 497,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6e17a44c.f8e15c",\r
+ "type": "set",\r
+ "name": "set attachment_param for TN NSSSI deleteion in PNC",\r
+ "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+ "comments": "",\r
+ "x": 3249,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9562cdef.811fc8",\r
+ "type": "save",\r
+ "name": "delete connectivity resource in AAI",\r
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3775.5,\r
- "y": 1181,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3179,\r
+ "y": 812,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
- [\r
- "cb725e7f.5dd5b",\r
- "9cd7bc00.01b8a8"\r
- ]\r
+ []\r
]\r
},\r
{\r
- "id": "474863fb.23ac14",\r
- "type": "get-resource",\r
- "name": "get-resource esr-thirdparty-sdnc",\r
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
+ "id": "51f18b3b.809efc",\r
+ "type": "save",\r
+ "name": "delete vpn-binding resource in AAI",\r
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3743,\r
- "y": 1016,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3175,\r
+ "y": 856,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
- [\r
- "d06c3921.6cace",\r
- "88d90a9f.091b3",\r
- "12a460ba.ca9617"\r
- ]\r
+ []\r
]\r
},\r
{\r
- "id": "d06c3921.6cace",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
+ "id": "9ec21c40.e14a88",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode domain UNI deColoring",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-network:networks/network=networkId-providerId-' + $tmp.aai.connectivity.access-provider-id + '-clientId-' + $tmp.aai.connectivity.access-client-id + '-topologyId-' + $tmp.aai.connectivity.access-topology-id + '/node=' + $tmp.aai.connectivity.access-node-id + '/ietf-network-topology:termination-point=' + $tmp.aai.connectivity.access-ltp-id + '/ietf-te-topology:te/ietf-optical-slice:slice-id-list=' + $slice-instance-id `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3989,\r
- "y": 976,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3759,\r
+ "y": 676,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "21d11018.7e29f8"\r
+ "f05a4dc0.054df",\r
+ "f0f39295.b7b9a8"\r
]\r
]\r
},\r
{\r
- "id": "88d90a9f.091b3",\r
- "type": "not-found",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
+ "id": "f0f39295.b7b9a8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3993,\r
- "y": 1016,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4025,\r
+ "y": 656,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "863d5ed9.b49e18"\r
+ "b586e36a.93b3e8"\r
]\r
]\r
},\r
{\r
- "id": "12a460ba.ca9617",\r
- "type": "other",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
+ "id": "f05a4dc0.054df",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3985,\r
- "y": 1056,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4026.000213623047,\r
+ "y": 706.9999094009399,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "1cdaf293.72e3fd"\r
+ "67ce9419.db502c"\r
]\r
]\r
},\r
{\r
- "id": "1cdaf293.72e3fd",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
- "comments": "",\r
- "x": 4143,\r
- "y": 1056,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "863d5ed9.b49e18",\r
+ "id": "b586e36a.93b3e8",\r
"type": "returnFailure",\r
"name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
- "comments": "",\r
- "x": 4143,\r
- "y": 1016,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "21d11018.7e29f8",\r
- "type": "set",\r
- "name": "set controller data",\r
- "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
- "comments": "",\r
- "x": 4159,\r
- "y": 976,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "ef8c4420.4b2328",\r
- "type": "comment",\r
- "name": "Get controller info and send request",\r
- "info": "",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing decoloring UNI rest api\" />\n",\r
"comments": "",\r
- "x": 3751,\r
- "y": 976,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 4165.000247955322,\r
+ "y": 656.0000009536743,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "e3821d69.5cd46",\r
- "type": "comment",\r
- "name": "TODO: FIXME:",\r
- "info": "How to know which domain's (A or B) controller is bein retrieved?",\r
- "comments": "",\r
- "x": 3685.5,\r
- "y": 936,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "e565282f.4ac74",\r
- "type": "comment",\r
- "name": "TODO: FIXME:",\r
- "info": "Set proper values to generate a good JSON body to be sent to PNC A for TN NSSI deletion.",\r
+ "id": "67ce9419.db502c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
"comments": "",\r
- "x": 3682,\r
- "y": 1080,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 4171.02725982666,\r
+ "y": 704.7453947067261,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ []\r
+ ]\r
},\r
{\r
- "id": "13714ee3.ae8141",\r
- "type": "save",\r
- "name": "delete connectivity resource in AAI",\r
- "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityB.connectivity-id'>\n",\r
+ "id": "e776447c.da84c8",\r
+ "type": "switchNode",\r
+ "name": "switch connectivity has ethernet service",\r
+ "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3733,\r
- "y": 1273,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3208,\r
+ "y": 693,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
- []\r
+ [\r
+ "a367a533.706f78",\r
+ "4d988de7.d09044"\r
+ ]\r
]\r
},\r
{\r
- "id": "36d49abc.7de96e",\r
- "type": "comment",\r
- "name": "TODO: FIXME",\r
- "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
+ "id": "4d988de7.d09044",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
"comments": "",\r
- "x": 3668,\r
- "y": 1239,\r
- "z": "b189bed1.bef5e8",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 3446,\r
+ "y": 676,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ [\r
+ "9ec21c40.e14a88"\r
+ ]\r
+ ]\r
},\r
{\r
- "id": "408a0c32.404a4c",\r
- "type": "save",\r
- "name": "delete vpn-binding resource in AAI",\r
- "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='tmp.aai.vpn-bindingB = $tmp.aai.vpn-bindingB'>\n",\r
+ "id": "a367a533.706f78",\r
+ "type": "outcome",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3729,\r
- "y": 1317,\r
- "z": "b189bed1.bef5e8",\r
+ "x": 3458,\r
+ "y": 743,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r