[
  {
    "id": "439a8dde.a54294",
    "type": "dgstart",
    "name": "DGSTART",
    "outputs": 1,
    "x": 95,
    "y": 67,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "885d7f3c.d7635"
      ]
    ]
  },
  {
    "id": "885d7f3c.d7635",
    "type": "service-logic",
    "name": "GENERIC-RESOURCE-API ${project.version}",
    "module": "GENERIC-RESOURCE-API",
    "version": "${project.version}",
    "comments": "",
    "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
    "outputs": 1,
    "x": 307.00000381469727,
    "y": 139.0000171661377,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "715e2390.5052fc"
      ]
    ]
  },
  {
    "id": "715e2390.5052fc",
    "type": "method",
    "name": "sdwan-get-wan-param",
    "xml": "<method rpc='sdwan-get-wan-param' mode='sync'>\n",
    "comments": "",
    "outputs": 1,
    "x": 295.0001220703125,
    "y": 227,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "9d4aea5e.ef6f48"
      ]
    ]
  },
  {
    "id": "9d4aea5e.ef6f48",
    "type": "block",
    "name": "block : atomic",
    "xml": "<block atomic=\"true\">\n",
    "atomic": "false",
    "comments": "",
    "outputs": 1,
    "x": 302.00001525878906,
    "y": 313.0000581741333,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "6b944277.796b7c"
      ]
    ]
  },
  {
    "id": "6b944277.796b7c",
    "type": "for",
    "name": "for each sdwan-get-request-input-param",
    "xml": "<for index='idx' start='0' end='`$vnf-request-input.vnf-input-parameters.param_length`' >\n\n",
    "comments": "",
    "outputs": 1,
    "x": 338.6667785644531,
    "y": 395.666654586792,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "37470750.b03bb8"
      ]
    ]
  },
  {
    "id": "37470750.b03bb8",
    "type": "block",
    "name": "block",
    "xml": "<block>\n",
    "atomic": "false",
    "comments": "",
    "outputs": 1,
    "x": 603.5002822875977,
    "y": 305.00004625320435,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "7ac07f9d.deb5a",
        "f51dc11b.c63d",
        "390047c.48de9b8",
        "19863ae8.c2ed05",
        "a84af135.691bc",
        "40a2ce76.5acb8",
        "743ccae1.1d4ed4",
        "da2a6768.0f1b08",
        "937e7e7c.abe2b",
        "d7a63229.55ffb",
        "52f8113f.08404",
        "dd33b364.8ca5b",
        "edbcab35.7a44e8",
        "d34e678f.eeed98",
        "54c67966.b6a9c8"
      ]
    ]
  },
  {
    "id": "7ac07f9d.deb5a",
    "type": "returnSuccess",
    "name": "return success",
    "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",
    "comments": "",
    "x": 837.0006408691406,
    "y": 671.0003890991211,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "a84af135.691bc",
    "type": "switchNode",
    "name": "switch deviceName",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'deviceName'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 836.0000877380371,
    "y": 220.00005626678467,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "e491e463.e045e8"
      ]
    ]
  },
  {
    "id": "e491e463.e045e8",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1038.000494003296,
    "y": 221.00012683868408,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "946002ca.03b1f"
      ]
    ]
  },
  {
    "id": "946002ca.03b1f",
    "type": "set",
    "name": "set deviceName",
    "xml": "<set>\n<parameter name='prop.wan.deviceName' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1190.0005569458008,
    "y": 218.60021209716797,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "d7a63229.55ffb",
    "type": "switchNode",
    "name": "switch vlanId",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'vlanId'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 828.8402290344238,
    "y": 406.00011920928955,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "d3962f14.7c3b3"
      ]
    ]
  },
  {
    "id": "d3962f14.7c3b3",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1013.8403167724609,
    "y": 404.0001497268677,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "1b718234.ee52ce"
      ]
    ]
  },
  {
    "id": "1b718234.ee52ce",
    "type": "set",
    "name": "set vlanId",
    "xml": "<set>\n<parameter name='prop.wan.vlanId' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1161.1742248535156,
    "y": 401.4614086151123,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "390047c.48de9b8",
    "type": "switchNode",
    "name": "switch name",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 833.8951606750488,
    "y": 149.97332763671875,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "eba68f46.eff61"
      ]
    ]
  },
  {
    "id": "eba68f46.eff61",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1021.8952484130859,
    "y": 150.97335720062256,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "7dfe338e.aacb9c"
      ]
    ]
  },
  {
    "id": "7dfe338e.aacb9c",
    "type": "set",
    "name": "set name",
    "xml": "<set>\n<parameter name='prop.wan.name' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1171.8954982757568,
    "y": 145.57343292236328,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "da2a6768.0f1b08",
    "type": "switchNode",
    "name": "switch ipAddress",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'ipAddress'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 832.8954048156738,
    "y": 332.37682247161865,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "d6f71f04.c7866"
      ]
    ]
  },
  {
    "id": "d6f71f04.c7866",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1026.895652770996,
    "y": 333.37677097320557,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "65be0cd2.03f094"
      ]
    ]
  },
  {
    "id": "65be0cd2.03f094",
    "type": "set",
    "name": "set ipAddress",
    "xml": "<set>\n<parameter name='prop.wan.ipAddress' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1179.2295608520508,
    "y": 331.8380317687988,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "937e7e7c.abe2b",
    "type": "switchNode",
    "name": "switch providerIpAddress",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'providerIpAddress'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 864.895565032959,
    "y": 367.3767442703247,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "d6c02774.fd7328"
      ]
    ]
  },
  {
    "id": "d6c02774.fd7328",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1040.8958168029785,
    "y": 367.3766899108887,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "86d16286.a90f7"
      ]
    ]
  },
  {
    "id": "86d16286.a90f7",
    "type": "set",
    "name": "set providerIpAddress",
    "xml": "<set>\n<parameter name='prop.wan.providerIpAddress' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1207.2294006347656,
    "y": 367.8378715515137,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "dd33b364.8ca5b",
    "type": "switchNode",
    "name": "switch inputBandwidth",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'inputBandwidth'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 855.8953742980957,
    "y": 479.3765506744385,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "8c8b118b.1a16e"
      ]
    ]
  },
  {
    "id": "8c8b118b.1a16e",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1032.8955726623535,
    "y": 478.376615524292,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "52559144.3d725"
      ]
    ]
  },
  {
    "id": "52559144.3d725",
    "type": "set",
    "name": "set inputBandwidth",
    "xml": "<set>\n<parameter name='prop.wan.inputBandwidth' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1240.2293224334717,
    "y": 472.8377799987793,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "edbcab35.7a44e8",
    "type": "switchNode",
    "name": "switch outputBandwidth",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'outputBandwidth'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 861.8953742980957,
    "y": 518.3765506744385,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "9785a401.84f478"
      ]
    ]
  },
  {
    "id": "9785a401.84f478",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1045.8955707550049,
    "y": 518.3766593933105,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "29877f00.328f52"
      ]
    ]
  },
  {
    "id": "29877f00.328f52",
    "type": "set",
    "name": "set outputBandwidth",
    "xml": "<set>\n<parameter name='prop.wan.outputBandwidth' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1242.2293453216553,
    "y": 511.8377628326416,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "19863ae8.c2ed05",
    "type": "switchNode",
    "name": "switch description",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'description'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 840.8953132629395,
    "y": 183.3767032623291,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "c907441.ebe9bb8"
      ]
    ]
  },
  {
    "id": "c907441.ebe9bb8",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1032.8955574035645,
    "y": 184.3767328262329,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "1126e041.4a24d"
      ]
    ]
  },
  {
    "id": "1126e041.4a24d",
    "type": "set",
    "name": "set description",
    "xml": "<set>\n<parameter name='prop.wan.description' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1183.2295608520508,
    "y": 183.8379421234131,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "743ccae1.1d4ed4",
    "type": "switchNode",
    "name": "switch portNumber",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'portNumber'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 844.228572845459,
    "y": 291.9943332672119,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "ebcd50b1.0b3d6"
      ]
    ]
  },
  {
    "id": "ebcd50b1.0b3d6",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1035.228744506836,
    "y": 294.9943628311157,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "a1a449ce.d26a18"
      ]
    ]
  },
  {
    "id": "a1a449ce.d26a18",
    "type": "set",
    "name": "set portNumber",
    "xml": "<set>\n<parameter name='prop.wan.portNumber' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1189.2290725708008,
    "y": 294.5943775177002,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "40a2ce76.5acb8",
    "type": "switchNode",
    "name": "switch portType",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'portType'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 834.1236763000488,
    "y": 255.96763801574707,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "6ea5c966.7c8868"
      ]
    ]
  },
  {
    "id": "6ea5c966.7c8868",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1029.123764038086,
    "y": 255.96766757965088,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "f40a6475.4548d8"
      ]
    ]
  },
  {
    "id": "f40a6475.4548d8",
    "type": "set",
    "name": "set portType",
    "xml": "<set>\n<parameter name='prop.wan.portType' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1176.1240921020508,
    "y": 256.56768226623535,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "90cd2791.ea5778",
    "type": "set",
    "name": "set transportnetworkName",
    "xml": "<set>\n<parameter name='prop.wan.transportNetworkName' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1288.9998302459717,
    "y": 437.38701152801514,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "c9247859.1c5528",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1077.6659240722656,
    "y": 438.92592906951904,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "90cd2791.ea5778"
      ]
    ]
  },
  {
    "id": "52f8113f.08404",
    "type": "switchNode",
    "name": "switch transportnetworkName",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'transportNetworkName'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 878.6657485961914,
    "y": 442.9256591796875,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "c9247859.1c5528"
      ]
    ]
  },
  {
    "id": "f51dc11b.c63d",
    "type": "switchNode",
    "name": "switch id",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'id'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 825.999340057373,
    "y": 117.38670539855957,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "ebf6555a.abbb88"
      ]
    ]
  },
  {
    "id": "ebf6555a.abbb88",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1026.9994812011719,
    "y": 115.3867359161377,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "1a802dda.2caca2"
      ]
    ]
  },
  {
    "id": "1a802dda.2caca2",
    "type": "set",
    "name": "set id",
    "xml": "<set>\n<parameter name='prop.wan.id' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1168.999828338623,
    "y": 110.98684310913086,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "d34e678f.eeed98",
    "type": "switchNode",
    "name": "switch devicePortId",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'devicePortId'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 847.0000610351562,
    "y": 563.0000381469727,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "67b4d68f.872058"
      ]
    ]
  },
  {
    "id": "67b4d68f.872058",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1046.0002269744873,
    "y": 557.000114440918,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "8e605ff5.22a2d"
      ]
    ]
  },
  {
    "id": "8e605ff5.22a2d",
    "type": "set",
    "name": "set devicePortId",
    "xml": "<set>\n<parameter name='prop.wan.devicePortId' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1245.3339710235596,
    "y": 556.4612121582031,
    "z": "1a0d2992.253ae6",
    "wires": []
  },
  {
    "id": "54c67966.b6a9c8",
    "type": "switchNode",
    "name": "switch wanPortId",
    "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'wanPortId'`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 837.0000610351562,
    "y": 599.0000400543213,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "cda45636.504778"
      ]
    ]
  },
  {
    "id": "cda45636.504778",
    "type": "outcomeTrue",
    "name": "true",
    "xml": "<outcome value='true'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1048.0002250671387,
    "y": 592.0001173019409,
    "z": "1a0d2992.253ae6",
    "wires": [
      [
        "651ea7f2.7fd2a8"
      ]
    ]
  },
  {
    "id": "651ea7f2.7fd2a8",
    "type": "set",
    "name": "set wanPortId",
    "xml": "<set>\n<parameter name='prop.wan.wanPortId' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
    "comments": "",
    "x": 1245.3339710235596,
    "y": 596.4612121582031,
    "z": "1a0d2992.253ae6",
    "wires": []
  }
]