3     "id": "5b1da5a1.42a48c",
 
   8     "y": 118.11099243164062,
 
   9     "z": "cb78d918.7fc128",
 
  17     "id": "93750cf9.1f2d78",
 
  18     "type": "service-logic",
 
  19     "name": "GENERIC-RESOURCE-API ${project.version}",
 
  20     "module": "GENERIC-RESOURCE-API",
 
  21     "version": "${project.version}",
 
  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}'>",
 
  25     "x": 296.00000381469727,
 
  26     "y": 190.11100959777832,
 
  27     "z": "cb78d918.7fc128",
 
  35     "id": "86c0b848.b39ba",
 
  37     "name": "method network-topology-operation-delete",
 
  38     "xml": "<method rpc='network-topology-operation-delete' mode='sync'>\n",
 
  41     "x": 284.0001220703125,
 
  42     "y": 278.1109924316406,
 
  43     "z": "cb78d918.7fc128",
 
  51     "id": "77e3cc35.7d7cd4",
 
  53     "name": "block : atomic",
 
  54     "xml": "<block atomic=\"true\">\n",
 
  58     "x": 560.0000305175781,
 
  59     "y": 286.11100578308105,
 
  60     "z": "cb78d918.7fc128",
 
  75     "id": "be2e1456.227648",
 
  77     "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
 
  78     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
 
  82     "y": 69.11099243164062,
 
  83     "z": "cb78d918.7fc128",
 
  89     "id": "a1897ab9.0fe448",
 
  90     "type": "get-resource",
 
  91     "name": "get-resource esr-thirdparty-sdnc",
 
  92     "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.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
 
  96     "y": 514.1109619140625,
 
  97     "z": "cb78d918.7fc128",
 
 107     "id": "75e7b934.cb3dd8",
 
 110     "xml": "<outcome value='success'>\n",
 
 114     "y": 470.1109924316406,
 
 115     "z": "cb78d918.7fc128",
 
 123     "id": "796a59b1.8d0548",
 
 126     "xml": "<outcome value='not-found'>\n",
 
 129     "x": 1067.490966796875,
 
 130     "y": 511.68505859375,
 
 131     "z": "cb78d918.7fc128",
 
 139     "id": "5c8d6866.b859a",
 
 142     "xml": "<outcome value='Other'>\n",
 
 145     "x": 1060.823974609375,
 
 146     "y": 563.018310546875,
 
 147     "z": "cb78d918.7fc128",
 
 155     "id": "b91067cd.af8e68",
 
 156     "type": "returnFailure",
 
 157     "name": "return failure",
 
 158     "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=\"Network model is_bound_to_vpn=true but no vpn_binding is present\" />\n\n",
 
 160     "x": 1243.0623779296875,
 
 161     "y": 509.97076416015625,
 
 162     "z": "cb78d918.7fc128",
 
 166     "id": "977f0d12.35997",
 
 167     "type": "returnFailure",
 
 168     "name": "return failure",
 
 169     "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 retrieving vpn binding\" />\n\n",
 
 171     "x": 1221.5965576171875,
 
 172     "y": 561.45751953125,
 
 173     "z": "cb78d918.7fc128",
 
 177     "id": "b9226511.aff8f8",
 
 179     "name": "for each network-input-parameters",
 
 180     "xml": "<for index='idx' start='0' end='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param_length`' >\n",
 
 184     "y": 247.11099243164062,
 
 185     "z": "cb78d918.7fc128",
 
 193     "id": "1203f51d.6f9be3",
 
 200     "x": 1124.8333740234375,
 
 202     "z": "cb78d918.7fc128",
 
 212     "id": "f23590e3.3d3e",
 
 213     "type": "switchNode",
 
 214     "name": "switch name",
 
 215     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
 
 219     "y": 186.11099243164062,
 
 220     "z": "cb78d918.7fc128",
 
 228     "id": "722e293e.27d6a8",
 
 229     "type": "outcomeTrue",
 
 231     "xml": "<outcome value='true'>\n",
 
 235     "y": 186.11099243164062,
 
 236     "z": "cb78d918.7fc128",
 
 244     "id": "ed3016dc.763f5",
 
 247     "xml": "<set>\n<parameter name='prop.l3vpn.name' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
 
 250     "y": 186.71099853515625,
 
 251     "z": "cb78d918.7fc128",
 
 255     "id": "9c473946.08b4",
 
 256     "type": "switchNode",
 
 257     "name": "switch service-type",
 
 258     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
 
 262     "y": 240.71096801757812,
 
 263     "z": "cb78d918.7fc128",
 
 271     "id": "406e37de.0fb498",
 
 272     "type": "outcomeTrue",
 
 274     "xml": "<outcome value='true'>\n",
 
 277     "x": 1521.9999389648438,
 
 278     "y": 245.71096801757812,
 
 279     "z": "cb78d918.7fc128",
 
 287     "id": "3e9c73.d1f31b8e",
 
 289     "name": "set service-type",
 
 290     "xml": "<set>\n<parameter name='prop.l3vpn.service-type' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
 
 292     "x": 1690.9999389648438,
 
 293     "y": 243.71096801757812,
 
 294     "z": "cb78d918.7fc128",
 
 298     "id": "cf00d60e.b98ae8",
 
 300     "name": "set controller data",
 
 301     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\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",
 
 304     "y": 467.1109619140625,
 
 305     "z": "cb78d918.7fc128",
 
 309     "id": "91ceb00c.aa0fd",
 
 311     "name": "execute REST DELETE VPN",
 
 312     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services/vpnservice=' + $prop.l3vpn.name`\" />\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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
 
 316     "y": 600.1109924316406,
 
 317     "z": "cb78d918.7fc128",
 
 323     "id": "bac94eb6.f12e88",
 
 324     "type": "switchNode",
 
 325     "name": "switch service-type",
 
 326     "xml": "<switch test=\"`$prop.l3vpn.service-type`\">\n",
 
 330     "y": 618.1109924316406,
 
 331     "z": "cb78d918.7fc128",
 
 339     "id": "31607169.f993a6",
 
 340     "type": "outcomeTrue",
 
 341     "name": "l3vpn-ipwan",
 
 342     "xml": "<outcome value='l3vpn-ipwan'>\n",
 
 346     "y": 602.1109924316406,
 
 347     "z": "cb78d918.7fc128",
 
 355     "id": "d9cb698f.15b1f",
 
 356     "type": "switchNode",
 
 357     "name": "switch service-data.networks.network_length",
 
 358     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
 
 362     "y": 142.11099243164062,
 
 363     "z": "cb78d918.7fc128",
 
 372     "id": "652472f9.d0128c",
 
 374     "name": "outcome Null",
 
 375     "xml": "<outcome value=''>\n",
 
 379     "y": 68.11105346679688,
 
 380     "z": "cb78d918.7fc128",
 
 388     "id": "56dffac.74ce404",
 
 389     "type": "returnFailure",
 
 390     "name": "return failure",
 
 391     "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
 
 393     "x": 1458.7774658203125,
 
 395     "z": "cb78d918.7fc128",
 
 399     "id": "2b9737f2.ff2e58",
 
 402     "xml": "<outcome value='Other'>\n",
 
 405     "x": 1152.0003662109375,
 
 406     "y": 133.11106872558594,
 
 407     "z": "cb78d918.7fc128",
 
 415     "id": "5d39d6e3.de1a58",
 
 417     "name": "block : atomic",
 
 418     "xml": "<block atomic=\"true\">",
 
 421     "x": 1323.2698974609375,
 
 422     "y": 116.66560363769531,
 
 423     "z": "cb78d918.7fc128",
 
 432     "id": "2ac08a71.09b5de",
 
 434     "name": "for nidx..service-data.networks.network[]",
 
 435     "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
 
 438     "x": 1621.285888671875,
 
 439     "y": 97.53961181640625,
 
 440     "z": "cb78d918.7fc128",
 
 448     "id": "9c86a373.825778",
 
 449     "type": "switchNode",
 
 450     "name": "switch tmp.nidx ",
 
 451     "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
 
 454     "x": 1542.5872802734375,
 
 455     "y": 140.52279663085938,
 
 456     "z": "cb78d918.7fc128",
 
 464     "id": "3d81dbd3.1a6114",
 
 467     "xml": "<outcome value=''>\n",
 
 470     "x": 1743.015869140625,
 
 471     "y": 146.09420776367188,
 
 472     "z": "cb78d918.7fc128",
 
 480     "id": "5db8c267.915c24",
 
 481     "type": "switchNode",
 
 482     "name": "switch networkid found",
 
 483     "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
 
 486     "x": 1931.7144775390625,
 
 487     "y": 95.78970336914062,
 
 488     "z": "cb78d918.7fc128",
 
 496     "id": "75e88bb1.8a62cc",
 
 497     "type": "returnFailure",
 
 498     "name": "return failure",
 
 499     "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
 
 501     "x": 1914.4443359375,
 
 502     "y": 146.237060546875,
 
 503     "z": "cb78d918.7fc128",
 
 507     "id": "e928a560.5b1c7",
 
 508     "type": "outcomeTrue",
 
 510     "xml": "<outcome value='true'>\n",
 
 513     "x": 2137.666748046875,
 
 514     "y": 94.68243408203125,
 
 515     "z": "cb78d918.7fc128",
 
 523     "id": "4ba4d636.a30d6",
 
 525     "name": "set tmp.nidx and ctx.network-data",
 
 526     "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
 
 528     "x": 2376.198486328125,
 
 529     "y": 90.43243408203125,
 
 530     "z": "cb78d918.7fc128",
 
 534     "id": "4f7bc968.61f5a",
 
 536     "name": "block : saveNetworkData",
 
 537     "xml": "<block atomic=\"true\">",
 
 542     "y": 708.1109924316406,
 
 543     "z": "cb78d918.7fc128",
 
 554     "id": "af92894.71fa378",
 
 555     "type": "returnSuccess",
 
 556     "name": "return success",
 
 557     "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",
 
 559     "x": 762.6665802001953,
 
 560     "y": 841.4442739486694,
 
 561     "z": "cb78d918.7fc128",
 
 565     "id": "305a1978.b12f4e",
 
 567     "name": "copy input to service-data",
 
 568     "xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n",
 
 570     "x": 1095.0000076293945,
 
 571     "y": 688.4443044662476,
 
 572     "z": "cb78d918.7fc128",
 
 576     "id": "79d9aff3.77d7a8",
 
 578     "name": "set networkId",
 
 579     "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
 
 581     "x": 1059.2895622253418,
 
 582     "y": 732.1621513366699,
 
 583     "z": "cb78d918.7fc128",
 
 587     "id": "7c1ac8d9.cf4248",
 
 589     "name": "set object-path",
 
 590     "xml": "<set>\n<parameter name='network-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/networks/network/'\n + $networkId\n + '/network-data/'` \" />\n \n",
 
 592     "x": 1065.0039291381836,
 
 593     "y": 769.30504322052,
 
 594     "z": "cb78d918.7fc128",
 
 598     "id": "93b679b.6a51508",
 
 600     "name": "set network-level-oper-status",
 
 601     "xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='Deleted' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n",
 
 603     "x": 1108.9999389648438,
 
 604     "y": 816.4442625045776,
 
 605     "z": "cb78d918.7fc128",
 
 609     "id": "4a75daf.1521ba4",
 
 610     "type": "get-resource",
 
 611     "name": "get-resource pnf",
 
 612     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $prop.l3vpn.pe1_id AND \n\t\t     depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n",
 
 617     "z": "cb78d918.7fc128",
 
 627     "id": "b89fb093.0489a8",
 
 630     "xml": "<outcome value='success'>\n",
 
 635     "z": "cb78d918.7fc128",
 
 643     "id": "6b28b3fc.71f09c",
 
 646     "xml": "<outcome value='not-found'>\n",
 
 649     "x": 984.490966796875,
 
 650     "y": 372.57403564453125,
 
 651     "z": "cb78d918.7fc128",
 
 659     "id": "6a884f6a.df82b8",
 
 662     "xml": "<outcome value='Other'>\n",
 
 665     "x": 977.823974609375,
 
 666     "y": 420.9073486328125,
 
 667     "z": "cb78d918.7fc128",
 
 675     "id": "f8931666.61247",
 
 676     "type": "returnFailure",
 
 677     "name": "return failure",
 
 678     "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",
 
 680     "x": 1170.0623779296875,
 
 681     "y": 373.8597717285156,
 
 682     "z": "cb78d918.7fc128",
 
 686     "id": "d28c6955.33e8f",
 
 687     "type": "returnFailure",
 
 688     "name": "return failure",
 
 689     "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",
 
 691     "x": 1166.5965576171875,
 
 692     "y": 424.3465270996094,
 
 693     "z": "cb78d918.7fc128",
 
 697     "id": "af6e1f5.d3f8c6",
 
 699     "name": "set tmp.thirdparty-sdnc-id",
 
 700     "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
 
 704     "z": "cb78d918.7fc128",
 
 708     "id": "634e4197.82f778",
 
 709     "type": "switchNode",
 
 710     "name": "switch pe1_id",
 
 711     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
 
 716     "z": "cb78d918.7fc128",
 
 724     "id": "5329ae02.4dab98",
 
 725     "type": "outcomeTrue",
 
 727     "xml": "<outcome value='true'>\n",
 
 732     "z": "cb78d918.7fc128",
 
 740     "id": "19f03810.34cf68",
 
 742     "name": "set pe1_id",
 
 743     "xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
 
 747     "z": "cb78d918.7fc128",