3         "id": "8805f76f.30a3e",
\r 
   9         "z": "8ff83d85.25fe1",
\r 
  17         "id": "3261268f.b3fd8a",
\r 
  18         "type": "service-logic",
\r 
  19         "name": "GENERIC-RESOURCE-API ${project.version}",
\r 
  20         "module": "GENERIC-RESOURCE-API",
\r 
  21         "version": "${project.version}",
\r 
  23         "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 
  25         "x": 251.2856903076172,
\r 
  26         "y": 103.23810863494873,
\r 
  27         "z": "8ff83d85.25fe1",
\r 
  35         "id": "620c0b27.171e7c",
\r 
  37         "name": "method sotn-vf-operation-l2vpn-deactivate",
\r 
  38         "xml": "<method rpc='sotn-vf-operation-l2vpn-deactivate' mode='sync'>\n",
\r 
  41         "x": 254.42861938476562,
\r 
  42         "y": 188.00003242492676,
\r 
  43         "z": "8ff83d85.25fe1",
\r 
  51         "id": "27dae623.42e422",
\r 
  53         "name": "block : atomic",
\r 
  54         "xml": "<block atomic=\"true\">",
\r 
  57         "x": 500.23804473876953,
\r 
  58         "y": 393.6666717529297,
\r 
  59         "z": "8ff83d85.25fe1",
\r 
  73         "id": "d20c3672.c43588",
\r 
  75         "name": "set vnf-level-oper-status to PendingDelete",
\r 
  76         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />",
\r 
  78         "x": 908.3849029541016,
\r 
  79         "y": 542.670631554909,
\r 
  80         "z": "8ff83d85.25fe1",
\r 
  84         "id": "7a43ef5e.3b7f9",
\r 
  85         "type": "returnSuccess",
\r 
  86         "name": "return success",
\r 
  87         "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 
  89         "x": 834.5716247558594,
\r 
  90         "y": 651.5970618994907,
\r 
  91         "z": "8ff83d85.25fe1",
\r 
  95         "id": "6f1a46ea.30b4e8",
\r 
  97         "name": "set vnf-index and vnf-object-path",
\r 
  98         "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/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $vnf-topology-operation-input.vnf-information.vnf-id  + '/vnf-data/'` \" />",
\r 
 100         "x": 885.5716247558594,
\r 
 101         "y": 498.5968991788104,
\r 
 102         "z": "8ff83d85.25fe1",
\r 
 106         "id": "61b68e4a.28176",
\r 
 107         "type": "switchNode",
\r 
 108         "name": "switch service-data.vnfs.vnf_length",
\r 
 109         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r 
 112         "x": 930.0000610351562,
\r 
 113         "y": 283.000009059906,
\r 
 114         "z": "8ff83d85.25fe1",
\r 
 124         "id": "36aca283.917aae",
\r 
 127         "xml": "<outcome value='0'>\n",
\r 
 130         "x": 1188.9689559936523,
\r 
 131         "y": 244.96876859664917,
\r 
 132         "z": "8ff83d85.25fe1",
\r 
 140         "id": "3ec837a3.d44ab",
\r 
 141         "type": "returnFailure",
\r 
 142         "name": "return failure",
\r 
 143         "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 
 145         "x": 1343.7778434753418,
\r 
 146         "y": 263.8890371322632,
\r 
 147         "z": "8ff83d85.25fe1",
\r 
 151         "id": "4517bda1.9ccc8c",
\r 
 154         "xml": "<outcome value=''>\n",
\r 
 157         "x": 1182.0000953674316,
\r 
 158         "y": 284.0000901222229,
\r 
 159         "z": "8ff83d85.25fe1",
\r 
 167         "id": "b6fa38d4.2f92b8",
\r 
 170         "xml": "<outcome value='Other'>\n",
\r 
 173         "x": 1175.000503540039,
\r 
 174         "y": 317.00009393692017,
\r 
 175         "z": "8ff83d85.25fe1",
\r 
 183         "id": "3f560c20.eb87e4",
\r 
 185         "name": "block : atomic",
\r 
 186         "xml": "<block atomic=\"true\">",
\r 
 189         "x": 1322.2700462341309,
\r 
 190         "y": 317.5547389984131,
\r 
 191         "z": "8ff83d85.25fe1",
\r 
 200         "id": "9f9b02e0.fd0698",
\r 
 202         "name": "for vidx..service-data.vnfs.vnf_length[]",
\r 
 203         "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r 
 206         "x": 1568.2861633300781,
\r 
 207         "y": 324.4286594390869,
\r 
 208         "z": "8ff83d85.25fe1",
\r 
 216         "id": "4f46568b.85da18",
\r 
 219         "xml": "<block>\n",
\r 
 223         "x": 1787.6357955932617,
\r 
 224         "y": 323.9687395095825,
\r 
 225         "z": "8ff83d85.25fe1",
\r 
 233         "id": "1df151a6.a0431e",
\r 
 234         "type": "switchNode",
\r 
 235         "name": "switch vnfid found",
\r 
 236         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
\r 
 239         "x": 1941.7153930664062,
\r 
 240         "y": 323.6788215637207,
\r 
 241         "z": "8ff83d85.25fe1",
\r 
 249         "id": "c4b1d74.4447c28",
\r 
 250         "type": "outcomeTrue",
\r 
 252         "xml": "<outcome value='true'>\n",
\r 
 255         "x": 2117.6675148010254,
\r 
 256         "y": 323.5715036392212,
\r 
 257         "z": "8ff83d85.25fe1",
\r 
 265         "id": "fef2ef1a.c2f0e",
\r 
 267         "name": "block : atomic",
\r 
 268         "xml": "<block atomic=\"true\">",
\r 
 271         "x": 2266.312973022461,
\r 
 272         "y": 311.97913360595703,
\r 
 273         "z": "8ff83d85.25fe1",
\r 
 281         "id": "36c7875a.2b36c8",
\r 
 283         "name": "set tmp.vidx and ctx.vnf-data",
\r 
 284         "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
\r 
 286         "x": 2528.1997680664062,
\r 
 287         "y": 289.32155990600586,
\r 
 288         "z": "8ff83d85.25fe1",
\r 
 292         "id": "a7de5d34.00e2d8",
\r 
 293         "type": "switchNode",
\r 
 294         "name": "switch tmp.vidx ",
\r 
 295         "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
\r 
 298         "x": 1511.0000228881836,
\r 
 299         "y": 378.99999713897705,
\r 
 300         "z": "8ff83d85.25fe1",
\r 
 308         "id": "df068370.3f2368",
\r 
 311         "xml": "<outcome value=''>\n",
\r 
 314         "x": 1666.4286499023438,
\r 
 315         "y": 378.5713806152344,
\r 
 316         "z": "8ff83d85.25fe1",
\r 
 324         "id": "dd6bf171.b47338",
\r 
 325         "type": "returnFailure",
\r 
 326         "name": "return failure",
\r 
 327         "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 
 329         "x": 1811.8573913574219,
\r 
 330         "y": 378.71431827545166,
\r 
 331         "z": "8ff83d85.25fe1",
\r 
 335         "id": "b50086a8.e06b78",
\r 
 336         "type": "switchNode",
\r 
 337         "name": "switch vnf-level-oper-status",
\r 
 338         "xml": "<switch test='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status`'>\n",
\r 
 341         "x": 879.0000762939453,
\r 
 342         "y": 391.8890240462497,
\r 
 343         "z": "8ff83d85.25fe1",
\r 
 352         "id": "211c79e5.c82526",
\r 
 354         "name": "outcome Active",
\r 
 355         "xml": "<outcome value='Active'>\n",
\r 
 358         "x": 1124.8333702087402,
\r 
 359         "y": 393.0001218589023,
\r 
 360         "z": "8ff83d85.25fe1",
\r 
 368         "id": "5a9b43a8.5c8334",
\r 
 370         "name": "block : atomic",
\r 
 371         "xml": "<block atomic=\"true\">",
\r 
 374         "x": 1338.139762878418,
\r 
 375         "y": 402.3253114493564,
\r 
 376         "z": "8ff83d85.25fe1",
\r 
 382         "id": "33c4dba9.adcb6c",
\r 
 385         "xml": "<outcome value='Other'>\n",
\r 
 388         "x": 1102.8333892822266,
\r 
 389         "y": 443.0001333029941,
\r 
 390         "z": "8ff83d85.25fe1",
\r 
 398         "id": "ff316d.d574c69",
\r 
 399         "type": "returnFailure",
\r 
 400         "name": "return failure",
\r 
 401         "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 
 403         "x": 1262.3331565856934,
\r 
 404         "y": 446.00013234931976,
\r 
 405         "z": "8ff83d85.25fe1",
\r 
 409         "id": "f9b5f904.311908",
\r 
 411         "name": "copy input data to service data",
\r 
 412         "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />",
\r 
 414         "x": 888.0065612792969,
\r 
 415         "y": 451.010439065285,
\r 
 416         "z": "8ff83d85.25fe1",
\r 
 420         "id": "afa01bdf.71f67",
\r 
 422         "name": "update AnAI - l2vpn.operational-status",
\r 
 423         "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"   \n\t\tkey=\"connectivity.connectivity-id = $vnfId\" >\n<parameter name=\"operational-status\" value=\"PendingDelete\" />\n",
\r 
 426         "x": 930.0064239501953,
\r 
 427         "y": 597.0105177434161,
\r 
 428         "z": "8ff83d85.25fe1",
\r