3         "id": "3563dba1.d09964",
\r 
   5         "name": "block : atomic",
\r 
   6         "xml": "<block atomic=\"true\">\n",
\r 
  10         "x": 431.0104064941406,
\r 
  11         "y": 355.1628177165985,
\r 
  12         "z": "ad703000.c2e0d",
\r 
  34         "id": "5ddfe38c.3aa86c",
\r 
  36         "name": "for loop idx - VF input parameters",
\r 
  37         "xml": "<for index=\"idx\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n\n",
\r 
  40         "x": 777.2605667114258,
\r 
  41         "y": 337.82948660850525,
\r 
  42         "z": "ad703000.c2e0d",
\r 
  50         "id": "598a5263.1331ac",
\r 
  57         "x": 992.0389099121094,
\r 
  58         "y": 335.38507056236267,
\r 
  59         "z": "ad703000.c2e0d",
\r 
  68         "id": "76ce96e5.bf7bc8",
\r 
  70         "name": "execute split parameterName",
\r 
  71         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",
\r 
  74         "x": 1188.2951126098633,
\r 
  75         "y": 313.13320899009705,
\r 
  76         "z": "ad703000.c2e0d",
\r 
  82         "id": "55b2b4f6.971cdc",
\r 
  84         "name": "set parameterName",
\r 
  85         "xml": "<set>\n<parameter name=\"`vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",
\r 
  87         "x": 1157.7395401000977,
\r 
  88         "y": 350.13332533836365,
\r 
  89         "z": "ad703000.c2e0d",
\r 
  93         "id": "ba810934.3ff408",
\r 
  95         "name": "Take the parameter names by removing prefix",
\r 
  98         "x": 815.2607688903809,
\r 
  99         "y": 294.4961540699005,
\r 
 100         "z": "ad703000.c2e0d",
\r 
 104         "id": "cc416a47.18fef8",
\r 
 106         "name": "set new vf-module_length",
\r 
 107         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />",
\r 
 109         "x": 756.1971817016602,
\r 
 110         "y": 496.32575964927673,
\r 
 111         "z": "ad703000.c2e0d",
\r 
 115         "id": "5a21a65a.69db48",
\r 
 117         "name": "set vf-module-request-input.",
\r 
 118         "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n",
\r 
 120         "x": 763.1967697143555,
\r 
 121         "y": 391.3170254230499,
\r 
 122         "z": "ad703000.c2e0d",
\r 
 126         "id": "768823c2.5ac1cc",
\r 
 128         "name": "copy input data to service data",
\r 
 129         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.vf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vnf-information.' value='`$vf-module-topology-operation-input.vnf-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-topology.' value='`$tmp.vf-module-topology.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' />\n",
\r 
 131         "x": 768.363525390625,
\r 
 132         "y": 604.4963715076447,
\r 
 133         "z": "ad703000.c2e0d",
\r 
 137         "id": "94ccf971.360848",
\r 
 139         "name": "set vf-module-object-path",
\r 
 140         "xml": "<set>\n<parameter name='vf-module-id' value='`$prop.vf-id`'/> \n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",
\r 
 142         "x": 756.5104503631592,
\r 
 143         "y": 656.0002176761627,
\r 
 144         "z": "ad703000.c2e0d",
\r 
 148         "id": "4d1e575f.68db78",
\r 
 150         "name": "save sdwan lan-port-config resource in AAI",
\r 
 151         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n      key='lan-port-config.lan-port-config-id = $prop.vf-id' >\n<parameter name=\"lan-port-config-id\" value=\"`$prop.vf-id`\" />\n<parameter name=\"device-id\" value='`$prop.lan.deviceName`' />\n<parameter name=\"port-switch\" value='`$prop.lan.portSwitch`' />\n<parameter name=\"port-type\" value='`$prop.lan.portType`' />\n<parameter name=\"port-number\" value='`$prop.lan.portnumber`' />\n<parameter name=\"ipv4-address\" value='`$prop.lan.ipAddress`' />\n<parameter name='vlan-tag' value='`$prop.lan.vlanId`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vf-module-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $service-data.vnfs.vnf[$vnf-index].vnf-id  + '/vnf-data/vf-modules/vf-module/' + $prop.vf-id + '/vf-module-data/'` \" />\n",
\r 
 154         "x": 811.5104293823242,
\r 
 155         "y": 748.5002000331879,
\r 
 156         "z": "ad703000.c2e0d",
\r 
 162         "id": "6992ab61.1740b4",
\r 
 164         "name": "save service relationship in AAI",
\r 
 165         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \n      key='generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"lan-port-config\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/lan-port-configs/lan-port-config/' + $prop.vf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"lan-port-config-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vf-id`\" />\n",
\r 
 168         "x": 771.5103454589844,
\r 
 169         "y": 795.5001881122589,
\r 
 170         "z": "ad703000.c2e0d",
\r 
 176         "id": "494976dc.41e7f8",
\r 
 177         "type": "returnSuccess",
\r 
 178         "name": "return success",
\r 
 179         "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 
 181         "x": 722.2328910827637,
\r 
 182         "y": 842.6740472316742,
\r 
 183         "z": "ad703000.c2e0d",
\r 
 187         "id": "be6d233d.af70d",
\r 
 188         "type": "switchNode",
\r 
 189         "name": "switch vnf_length",
\r 
 190         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r 
 193         "x": 732.4309749603271,
\r 
 194         "y": 44.66670227050781,
\r 
 195         "z": "ad703000.c2e0d",
\r 
 203         "id": "a4292aa6.75e0c8",
\r 
 206         "xml": "<outcome value=''>\n",
\r 
 209         "x": 919.0976543426514,
\r 
 211         "z": "ad703000.c2e0d",
\r 
 219         "id": "f5b1afdf.f5a4e",
\r 
 220         "type": "returnFailure",
\r 
 221         "name": "return failure",
\r 
 222         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"There are no VNFs in MD-SAL\" />\n",
\r 
 224         "x": 1100.7642803192139,
\r 
 226         "z": "ad703000.c2e0d",
\r 
 230         "id": "a80fd5f3.86e118",
\r 
 231         "type": "switchNode",
\r 
 232         "name": "switch vf-modules.vf-module_length",
\r 
 233         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
\r 
 236         "x": 770.6809968948364,
\r 
 237         "y": 221.66669631004333,
\r 
 238         "z": "ad703000.c2e0d",
\r 
 247         "id": "c9c58b29.2dfa58",
\r 
 250         "xml": "<outcome value=''>\n",
\r 
 253         "x": 1001.6810073852539,
\r 
 254         "y": 197.66669344902039,
\r 
 255         "z": "ad703000.c2e0d",
\r 
 263         "id": "8390bbc5.321ad8",
\r 
 266         "xml": "<outcome value='Other'>\n",
\r 
 269         "x": 1001.6810073852539,
\r 
 270         "y": 237.66669344902039,
\r 
 271         "z": "ad703000.c2e0d",
\r 
 279         "id": "dc09b12c.dd3fe",
\r 
 281         "name": "set vf-index",
\r 
 282         "xml": "<set>\n<parameter name='vf-index' value='0' />\n",
\r 
 284         "x": 1144.181007385254,
\r 
 285         "y": 197.66669344902039,
\r 
 286         "z": "ad703000.c2e0d",
\r 
 290         "id": "3643e6d4.7f439a",
\r 
 293         "xml": "<block>\n",
\r 
 297         "x": 1146.0380516052246,
\r 
 298         "y": 237.6032054424286,
\r 
 299         "z": "ad703000.c2e0d",
\r 
 308         "id": "98424ce4.789a1",
\r 
 310         "name": "set vf-index",
\r 
 311         "xml": "<set>\n<parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",
\r 
 313         "x": 1298.7365264892578,
\r 
 314         "y": 207.22230413509533,
\r 
 315         "z": "ad703000.c2e0d",
\r 
 319         "id": "38575d2d.74e912",
\r 
 321         "name": "for each existing vf-index",
\r 
 322         "xml": "<for index='idx' start='0' end='`$vf-index`' >\n",
\r 
 325         "x": 1355.1650314331055,
\r 
 326         "y": 260.444433927536,
\r 
 327         "z": "ad703000.c2e0d",
\r 
 335         "id": "12f39766.bab9b9",
\r 
 337         "name": "make sure this network doesn't exist already",
\r 
 340         "x": 1578.815761566162,
\r 
 341         "y": 218.69849133491516,
\r 
 342         "z": "ad703000.c2e0d",
\r 
 346         "id": "6f409c8c.594684",
\r 
 347         "type": "switchNode",
\r 
 348         "name": "switch vf-module-id found",
\r 
 349         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",
\r 
 352         "x": 1630.4507522583008,
\r 
 353         "y": 260.0159366130829,
\r 
 354         "z": "ad703000.c2e0d",
\r 
 362         "id": "34043894.3a1738",
\r 
 363         "type": "outcomeTrue",
\r 
 365         "xml": "<outcome value='true'>\n",
\r 
 368         "x": 1531.180950164795,
\r 
 369         "y": 318.58736777305603,
\r 
 370         "z": "ad703000.c2e0d",
\r 
 378         "id": "e047ad76.2601d",
\r 
 379         "type": "returnFailure",
\r 
 380         "name": "return failure",
\r 
 381         "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=\"service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id already found in service-data\" />\n",
\r 
 383         "x": 1678.931053161621,
\r 
 384         "y": 318.44455984188244,
\r 
 385         "z": "ad703000.c2e0d",
\r 
 389         "id": "d2ca1c0d.40fdc",
\r 
 391         "name": "call sdwan-get-vf-module-lanport-param",
\r 
 392         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",
\r 
 395         "x": 802.0104446411133,
\r 
 396         "y": 444.1628510951996,
\r 
 397         "z": "ad703000.c2e0d",
\r 
 403         "id": "40bceee5.21d0e",
\r 
 405         "name": "set vf-module-level-oper-status",
\r 
 406         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.order-status'  value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",
\r 
 408         "x": 773.0104141235352,
\r 
 409         "y": 698.1667354106903,
\r 
 410         "z": "ad703000.c2e0d",
\r 
 414         "id": "53017383.9c8f0c",
\r 
 418         "x": 100.01041412353516,
\r 
 419         "y": 71.16673541069031,
\r 
 420         "z": "ad703000.c2e0d",
\r 
 428         "id": "b88f4175.84605",
\r 
 429         "type": "service-logic",
\r 
 430         "name": "GENERIC-RESOURCE-API ${project.version}",
\r 
 431         "module": "GENERIC-RESOURCE-API",
\r 
 432         "version": "${project.version}",
\r 
 434         "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 
 436         "x": 214.51041221618652,
\r 
 437         "y": 178.16672682762146,
\r 
 438         "z": "ad703000.c2e0d",
\r 
 446         "id": "9de4488f.4b0818",
\r 
 448         "name": "sdwan-vf-operation-lanport-create",
\r 
 449         "xml": "<method rpc='sdwan-vf-operation-lanport-create' mode='sync'>\n",
\r 
 452         "x": 213.51041221618652,
\r 
 453         "y": 278.16672682762146,
\r 
 454         "z": "ad703000.c2e0d",
\r 
 462         "id": "c03fc9ca.e96578",
\r 
 464         "name": "execute generate-vf-id",
\r 
 465         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vf-id\"/>\n",
\r 
 468         "x": 755.0104598999023,
\r 
 469         "y": 552.6667287349701,
\r 
 470         "z": "ad703000.c2e0d",
\r 
 476         "id": "742cd454.7acabc",
\r 
 478         "name": "for each vnf",
\r 
 479         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r 
 482         "x": 722.0103950500488,
\r 
 483         "y": 99.16673731803894,
\r 
 484         "z": "ad703000.c2e0d",
\r 
 492         "id": "3ed11716.45d018",
\r 
 493         "type": "switchNode",
\r 
 494         "name": "switch this vnf-id == input vnf-id",
\r 
 495         "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\">    \n",
\r 
 498         "x": 973.0104904174805,
\r 
 499         "y": 94.83335781097412,
\r 
 500         "z": "ad703000.c2e0d",
\r 
 508         "id": "6c9c624d.566c8c",
\r 
 509         "type": "outcomeTrue",
\r 
 511         "xml": "<outcome value='true'>\n",
\r 
 514         "x": 1191.343807220459,
\r 
 515         "y": 96.83333969116211,
\r 
 516         "z": "ad703000.c2e0d",
\r 
 524         "id": "acf4ddfd.c60e5",
\r 
 526         "name": "set vnf-index",
\r 
 527         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
\r 
 529         "x": 1344.6769790649414,
\r 
 530         "y": 96.83336067199707,
\r 
 531         "z": "ad703000.c2e0d",
\r 
 535         "id": "e5ba2a4b.c03198",
\r 
 536         "type": "switchNode",
\r 
 537         "name": "switch vnf-index",
\r 
 538         "xml": "<switch test='`$vnf-index`'>\n",
\r 
 541         "x": 736.0104141235352,
\r 
 542         "y": 160.1667354106903,
\r 
 543         "z": "ad703000.c2e0d",
\r 
 551         "id": "5ddfe829.c49618",
\r 
 554         "xml": "<outcome value=''>\n",
\r 
 557         "x": 898.0104598999023,
\r 
 558         "y": 159.166734457016,
\r 
 559         "z": "ad703000.c2e0d",
\r 
 567         "id": "8cdafc69.f1e95",
\r 
 568         "type": "returnFailure",
\r 
 569         "name": "return failure",
\r 
 570         "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 id not found in service-data\" />\n",
\r 
 572         "x": 1047.2605514526367,
\r 
 573         "y": 156.94461226463318,
\r 
 574         "z": "ad703000.c2e0d",
\r