[
  {
    "id": "42b2c3b5.1de40c",
    "type": "dgstart",
    "name": "DGSTART",
    "outputs": 1,
    "x": 164,
    "y": 153.7469038963318,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "26ae5f8e.852bd"
      ]
    ]
  },
  {
    "id": "26ae5f8e.852bd",
    "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": 293.2857208251953,
    "y": 248.9849772453308,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "9c9331e1.ef348"
      ]
    ]
  },
  {
    "id": "9c9331e1.ef348",
    "type": "method",
    "name": "method validate-connection-attachment-input",
    "xml": "<method rpc='validate-connection-attachment-input' mode='sync'>\n",
    "comments": "",
    "outputs": 1,
    "x": 289.91668701171875,
    "y": 344.99993228912354,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "e30434d.72586c8"
      ]
    ]
  },
  {
    "id": "e30434d.72586c8",
    "type": "block",
    "name": "block : atomic",
    "xml": "<block atomic=\"true\">",
    "atomic": "true",
    "outputs": 1,
    "x": 637.9167785644531,
    "y": 344,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "a24e3968.f0f898",
        "213180a5.dcdf2",
        "6da46309.e8b25c",
        "97be0dfc.a49b"
      ]
    ]
  },
  {
    "id": "a24e3968.f0f898",
    "type": "switchNode",
    "name": "switch  svc-action",
    "xml": "<switch test='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1011.9167556762695,
    "y": 93.99999618530273,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "1a960cf7.459883"
      ]
    ]
  },
  {
    "id": "1a960cf7.459883",
    "type": "outcome",
    "name": "NULL",
    "xml": "<outcome value=''>",
    "comments": "",
    "outputs": 1,
    "x": 1221.631118774414,
    "y": 93.00000762939453,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "87e1fc25.19dd7"
      ]
    ]
  },
  {
    "id": "87e1fc25.19dd7",
    "type": "returnFailure",
    "name": "return failure",
    "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=\"sdnc-request-header.svc-request-id is a required input\" />\n",
    "comments": "",
    "x": 1396.059669494629,
    "y": 92,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "213180a5.dcdf2",
    "type": "switchNode",
    "name": "switch svc-action",
    "xml": "<switch test='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`'>\n",
    "comments": "",
    "outputs": 1,
    "x": 816.9165649414062,
    "y": 625.9999570846558,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "2a3d4b0.69b81b6",
        "38a5e948.46f696",
        "249ed1d3.9ca2fe",
        "7a022b30.b2a354",
        "675a28ba.66ea98"
      ]
    ]
  },
  {
    "id": "2a3d4b0.69b81b6",
    "type": "outcome",
    "name": "create",
    "xml": "<outcome value='create'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1054.416690826416,
    "y": 374.99999380111694,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "eb01319b.f11ab"
      ]
    ]
  },
  {
    "id": "38a5e948.46f696",
    "type": "outcome",
    "name": "delete",
    "xml": "<outcome value='delete'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1059.428897857666,
    "y": 923.890193939209,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "ae84fe26.14305"
      ]
    ]
  },
  {
    "id": "249ed1d3.9ca2fe",
    "type": "other",
    "name": "other",
    "xml": "<outcome value='Other'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1056.1906623840332,
    "y": 996.3186483383179,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "a59dcb2c.5f74a8"
      ]
    ]
  },
  {
    "id": "a59dcb2c.5f74a8",
    "type": "returnFailure",
    "name": "return failure",
    "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.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
    "comments": "",
    "x": 1239.7621955871582,
    "y": 996.9377889633179,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "ae84fe26.14305",
    "type": "block",
    "name": "block : atomic",
    "xml": "<block atomic=\"true\">",
    "atomic": "true",
    "outputs": 1,
    "x": 1241.5717239379883,
    "y": 924.5566444396973,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "c8402cf9.c3498"
      ]
    ]
  },
  {
    "id": "e9d0bfa.0872f4",
    "type": "other",
    "name": "DeleteSOTNAttachmentInstance",
    "xml": "<outcome value='DeleteSOTNAttachmentInstance'>",
    "comments": "",
    "outputs": 1,
    "x": 1706.286205291748,
    "y": 893.556661605835,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "c007bb78.bad198"
      ]
    ]
  },
  {
    "id": "a0c47385.decaa",
    "type": "other",
    "name": "Other",
    "xml": "<outcome value='Other'>",
    "comments": "",
    "outputs": 1,
    "x": 1629.2864608764648,
    "y": 974.5568246841431,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "e6af92d5.15652"
      ]
    ]
  },
  {
    "id": "e6af92d5.15652",
    "type": "returnFailure",
    "name": "return failure",
    "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=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=delete\" />\n",
    "comments": "",
    "x": 1816.2864608764648,
    "y": 975.5568246841431,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "c007bb78.bad198",
    "type": "block",
    "name": "block : atomic",
    "xml": "<block atomic=\"true\">",
    "atomic": "true",
    "outputs": 1,
    "x": 2097.2862243652344,
    "y": 716.5566501617432,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "52c40ba.0b16af4",
        "eaa23038.207b"
      ]
    ]
  },
  {
    "id": "52c40ba.0b16af4",
    "type": "switchNode",
    "name": "switch allotted-resource-id",
    "xml": "<switch test='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n",
    "comments": "",
    "outputs": 1,
    "x": 2320.2857990264893,
    "y": 715.5565738677979,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "5a95e1d3.c70c9"
      ]
    ]
  },
  {
    "id": "5a95e1d3.c70c9",
    "type": "outcome",
    "name": "NULL",
    "xml": "<outcome value=''>",
    "comments": "",
    "outputs": 1,
    "x": 2500.285861968994,
    "y": 714.5565891265869,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "21b4438a.8ae7ac"
      ]
    ]
  },
  {
    "id": "21b4438a.8ae7ac",
    "type": "returnFailure",
    "name": "return failure",
    "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-request-input.network-input-parameters.name is a required input\" />\n",
    "comments": "",
    "x": 2532.714515686035,
    "y": 770.5566053390503,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "eaa23038.207b",
    "type": "execute",
    "name": "execute requiredParameter",
    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id\" value=\"$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id\"/>\n\n",
    "comments": "",
    "outputs": 1,
    "x": 2324.0002784729004,
    "y": 677.6994247436523,
    "z": "d21b8423.410b48",
    "wires": [
      []
    ]
  },
  {
    "id": "6da46309.e8b25c",
    "type": "switchNode",
    "name": "switch service-instance-id",
    "xml": "<switch test='`$connection-attachment-topology-operation-input.service-information.service-instance-id`'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1035.0000915527344,
    "y": 136.70971393585205,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "9eae7e15.c32b3"
      ]
    ]
  },
  {
    "id": "9eae7e15.c32b3",
    "type": "other",
    "name": "NULL",
    "xml": "<outcome value=''>",
    "comments": "",
    "outputs": 1,
    "x": 1251.4286804199219,
    "y": 137.70971393585205,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "1cff38a0.3251b7"
      ]
    ]
  },
  {
    "id": "1cff38a0.3251b7",
    "type": "returnFailure",
    "name": "return failure",
    "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-information.service-instance-id is a required input\" />\n",
    "comments": "",
    "x": 1409.8572082519531,
    "y": 136.70971393585205,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "eb01319b.f11ab",
    "type": "block",
    "name": "block : atomic",
    "xml": "<block atomic=\"true\">",
    "atomic": "true",
    "outputs": 1,
    "x": 1219.2223320007324,
    "y": 372.7096724510193,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "2a814298.4379ee"
      ]
    ]
  },
  {
    "id": "2a814298.4379ee",
    "type": "switchNode",
    "name": "switch request-action",
    "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1409.4578552246094,
    "y": 374.214870929718,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "9a24d7c1.7f41b8",
        "31edce78.f55fe2",
        "76132be7.8874c4"
      ]
    ]
  },
  {
    "id": "9a24d7c1.7f41b8",
    "type": "outcome",
    "name": "CreateSOTNAttachmentInstance",
    "xml": "<outcome value='CreateSOTNAttachmentInstance'>",
    "comments": "",
    "outputs": 1,
    "x": 1690.7911376953125,
    "y": 353.21460008621216,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "ddc52a14.b68028"
      ]
    ]
  },
  {
    "id": "31edce78.f55fe2",
    "type": "outcome",
    "name": "other",
    "xml": "<outcome value='other'>",
    "comments": "",
    "outputs": 1,
    "x": 1609.7912330627441,
    "y": 442.88133573532104,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "a1422df.b222fd"
      ]
    ]
  },
  {
    "id": "a1422df.b222fd",
    "type": "returnFailure",
    "name": "return failure",
    "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=\"sdnc-request-header.request-action is invalid\" />\n",
    "comments": "",
    "x": 1808.347068786621,
    "y": 442.3259925842285,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "ddc52a14.b68028",
    "type": "block",
    "name": "block : atomic",
    "xml": "<block atomic=\"true\">",
    "atomic": "true",
    "outputs": 1,
    "x": 1922.6665000915527,
    "y": 355.59849977493286,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "4d02f123.5c1cd"
      ]
    ]
  },
  {
    "id": "4d02f123.5c1cd",
    "type": "for",
    "name": "for loop i - Sotn input param",
    "xml": "<for index=\"i\" start=\"0\" end=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param_length`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 2145.297737121582,
    "y": 259.89916610717773,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "3c0f8442.38d8dc"
      ]
    ]
  },
  {
    "id": "3c0f8442.38d8dc",
    "type": "block",
    "name": "block",
    "xml": "<block>\n",
    "atomic": "false",
    "comments": "",
    "outputs": 1,
    "x": 2336.3809661865234,
    "y": 258.6460943222046,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "d39cca26.839578",
        "16b1f4f7.435bcb",
        "1d34c439.601edc"
      ]
    ]
  },
  {
    "id": "d39cca26.839578",
    "type": "set",
    "name": "clear tmp-data",
    "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
    "comments": "",
    "x": 2495.381072998047,
    "y": 212.88420391082764,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "16b1f4f7.435bcb",
    "type": "set",
    "name": "set tmp-data",
    "xml": "<set>\n<parameter name='tmp.name' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].name`\"/>\n<parameter name='tmp.value' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].value`\"/>\n",
    "comments": "",
    "x": 2493.380947113037,
    "y": 244.8842067718506,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "1d34c439.601edc",
    "type": "switchNode",
    "name": "switch name",
    "xml": "<switch test=\"`$tmp.name`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 2490.3810691833496,
    "y": 284.8842124938965,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "a88c8435.38b638",
        "3bbf5338.a951ec",
        "1635afc2.b6de7",
        "cff6db4f.b87538",
        "9335d38b.7ca52",
        "f2781f65.360cc",
        "6bb67fb6.e8d0c",
        "497eac21.19f344"
      ]
    ]
  },
  {
    "id": "a88c8435.38b638",
    "type": "outcome",
    "name": "NULL",
    "xml": "<outcome value=''>",
    "comments": "",
    "outputs": 1,
    "x": 2697.4454765319824,
    "y": 422.7098865509033,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "f001e245.7813a"
      ]
    ]
  },
  {
    "id": "f001e245.7813a",
    "type": "returnFailure",
    "name": "return failure",
    "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-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
    "comments": "",
    "x": 2849.445686340332,
    "y": 417.7099189758301,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "c8402cf9.c3498",
    "type": "switchNode",
    "name": "switch request-action",
    "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1439.6670150756836,
    "y": 926.7097959518433,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "e9d0bfa.0872f4",
        "a0c47385.decaa",
        "9e1c0985.ac54a8"
      ]
    ]
  },
  {
    "id": "3bbf5338.a951ec",
    "type": "other",
    "name": "sotnVpnName",
    "xml": "<outcome value='sotnVpnName'>",
    "comments": "",
    "outputs": 1,
    "x": 2717.4447526931763,
    "y": 166.90960216522217,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "524ca1b7.a929c"
      ]
    ]
  },
  {
    "id": "524ca1b7.a929c",
    "type": "switchNode",
    "name": "switch value",
    "xml": "<switch test=\"`$tmp.value`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 2980.3616256713867,
    "y": 281.9245433807373,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "76a5bf3b.12c31"
      ]
    ]
  },
  {
    "id": "76a5bf3b.12c31",
    "type": "outcome",
    "name": "NULL",
    "xml": "<outcome value=''>",
    "comments": "",
    "outputs": 1,
    "x": 3118.3615951538086,
    "y": 276.92456340789795,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "6d73498b.516f18"
      ]
    ]
  },
  {
    "id": "6d73498b.516f18",
    "type": "returnFailure",
    "name": "return failure",
    "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=\"`'$tmp.name +' is a required input'`\" />\n",
    "comments": "",
    "x": 3240.7903060913086,
    "y": 313.9245414733887,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "1635afc2.b6de7",
    "type": "other",
    "name": "clientSignal",
    "xml": "<outcome value='clientSignal'>",
    "comments": "",
    "outputs": 1,
    "x": 2710.444923400879,
    "y": 203.90962409973145,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "524ca1b7.a929c"
      ]
    ]
  },
  {
    "id": "cff6db4f.b87538",
    "type": "other",
    "name": "access-provider-id",
    "xml": "<outcome value='access-provider-id'>",
    "comments": "",
    "outputs": 1,
    "x": 2730.333869934082,
    "y": 239.90957164764404,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "524ca1b7.a929c"
      ]
    ]
  },
  {
    "id": "9335d38b.7ca52",
    "type": "other",
    "name": "access-client-id",
    "xml": "<outcome value='access-client-id'>",
    "comments": "",
    "outputs": 1,
    "x": 2719.3337745666504,
    "y": 278.9095993041992,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "524ca1b7.a929c"
      ]
    ]
  },
  {
    "id": "f2781f65.360cc",
    "type": "other",
    "name": "access-topology-id",
    "xml": "<outcome value='access-topology-id'>",
    "comments": "",
    "outputs": 1,
    "x": 2728.3338661193848,
    "y": 313.9095706939697,
    "z": "d21b8423.410b48",
    "wires": [
      []
    ]
  },
  {
    "id": "6bb67fb6.e8d0c",
    "type": "other",
    "name": "access-node-id",
    "xml": "<outcome value='access-node-id'>",
    "comments": "",
    "outputs": 1,
    "x": 2719.333869934082,
    "y": 349.9096088409424,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "524ca1b7.a929c"
      ]
    ]
  },
  {
    "id": "497eac21.19f344",
    "type": "other",
    "name": "cVLAN",
    "xml": "<outcome value='cVLAN'>",
    "comments": "",
    "outputs": 1,
    "x": 2694.33438873291,
    "y": 385.465350151062,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "524ca1b7.a929c"
      ]
    ]
  },
  {
    "id": "7a022b30.b2a354",
    "type": "outcome",
    "name": "activate",
    "xml": "<outcome value='activate'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1058.4999771118164,
    "y": 563.2469110488892,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "69f0bb77.157344"
      ]
    ]
  },
  {
    "id": "69f0bb77.157344",
    "type": "block",
    "name": "block : atomic",
    "xml": "<block atomic=\"true\">",
    "atomic": "true",
    "outputs": 1,
    "x": 1239.305648803711,
    "y": 563.9566278457642,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "18ee795e.66d7e7"
      ]
    ]
  },
  {
    "id": "18ee795e.66d7e7",
    "type": "switchNode",
    "name": "switch request-action",
    "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1427.541130065918,
    "y": 565.4617948532104,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "e08a9821.e97b18",
        "ee585f2d.5f4db",
        "e7496e1a.f100e"
      ]
    ]
  },
  {
    "id": "e08a9821.e97b18",
    "type": "outcome",
    "name": "ActivateSOTNAttachmentInstance",
    "xml": "<outcome value='ActivateSOTNAttachmentInstance'>",
    "comments": "",
    "outputs": 1,
    "x": 1696.8744087219238,
    "y": 539.4615068435669,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "c007bb78.bad198"
      ]
    ]
  },
  {
    "id": "ee585f2d.5f4db",
    "type": "outcome",
    "name": "other",
    "xml": "<outcome value='other'>",
    "comments": "",
    "outputs": 1,
    "x": 1612.874210357666,
    "y": 620.1283292770386,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "f1ebc9ca.bda2a8"
      ]
    ]
  },
  {
    "id": "f1ebc9ca.bda2a8",
    "type": "returnFailure",
    "name": "return failure",
    "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=\"sdnc-request-header.request-action is invalid\" />\n",
    "comments": "",
    "x": 1752.4301681518555,
    "y": 623.5729856491089,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "675a28ba.66ea98",
    "type": "outcome",
    "name": "deactivate",
    "xml": "<outcome value='deactivate'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1074.5,
    "y": 734.2469053268433,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "fd017ad9.8950a8"
      ]
    ]
  },
  {
    "id": "fd017ad9.8950a8",
    "type": "block",
    "name": "block : atomic",
    "xml": "<block atomic=\"true\">",
    "atomic": "true",
    "outputs": 1,
    "x": 1256.6428260803223,
    "y": 734.9133558273315,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "6e494400.e2627c"
      ]
    ]
  },
  {
    "id": "4445cab3.35a8c4",
    "type": "other",
    "name": "DeactivateSDWANAttachmentInstance",
    "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
    "comments": "",
    "outputs": 1,
    "x": 1718.3572616577148,
    "y": 705.9133615493774,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "c007bb78.bad198"
      ]
    ]
  },
  {
    "id": "6c144aae.b65964",
    "type": "other",
    "name": "Other",
    "xml": "<outcome value='Other'>",
    "comments": "",
    "outputs": 1,
    "x": 1621.357566833496,
    "y": 781.9135341644287,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "d4bf5522.da0cd8"
      ]
    ]
  },
  {
    "id": "d4bf5522.da0cd8",
    "type": "returnFailure",
    "name": "return failure",
    "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=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=delete\" />\n",
    "comments": "",
    "x": 1779.3575057983398,
    "y": 784.9135570526123,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "6e494400.e2627c",
    "type": "switchNode",
    "name": "switch request-action",
    "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1443.7381401062012,
    "y": 734.066478729248,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "4445cab3.35a8c4",
        "6c144aae.b65964",
        "adb5b0a4.b36d9"
      ]
    ]
  },
  {
    "id": "97be0dfc.a49b",
    "type": "switchNode",
    "name": "switch parent-service-instance-id",
    "xml": "<switch test='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n",
    "comments": "",
    "outputs": 1,
    "x": 1050.9792175292969,
    "y": 182.7261381149292,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "97c55ba1.1ffe98"
      ]
    ]
  },
  {
    "id": "97c55ba1.1ffe98",
    "type": "other",
    "name": "NULL",
    "xml": "<outcome value=''>",
    "comments": "",
    "outputs": 1,
    "x": 1257.4077835083008,
    "y": 186.72613048553467,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "18a36e30.d0c222"
      ]
    ]
  },
  {
    "id": "18a36e30.d0c222",
    "type": "returnFailure",
    "name": "return failure",
    "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-information.parent-service-instance-id is a required input\" />\n",
    "comments": "",
    "x": 1415.836311340332,
    "y": 185.72613048553467,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "76132be7.8874c4",
    "type": "outcome",
    "name": "CreateSDWANAttachmentInstance",
    "xml": "<outcome value='CreateSDWANAttachmentInstance'>",
    "comments": "",
    "outputs": 1,
    "x": 1700.4999694824219,
    "y": 400.75078296661377,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "9256a59d.20fae8"
      ]
    ]
  },
  {
    "id": "9256a59d.20fae8",
    "type": "block",
    "name": "block : atomic",
    "xml": "<block atomic=\"true\">",
    "atomic": "true",
    "outputs": 1,
    "x": 1932.375331878662,
    "y": 403.1346826553345,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "6c1d4efc.ef28b"
      ]
    ]
  },
  {
    "id": "e7496e1a.f100e",
    "type": "outcome",
    "name": "ActivateSDWANAttachmentInstance",
    "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
    "comments": "",
    "outputs": 1,
    "x": 1696.4999694824219,
    "y": 579.7507829666138,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "c007bb78.bad198"
      ]
    ]
  },
  {
    "id": "adb5b0a4.b36d9",
    "type": "other",
    "name": "DeactivateSOTNAttachmentInstance",
    "xml": "<outcome value='DeactivateSOTNAttachmentInstance'>",
    "comments": "",
    "outputs": 1,
    "x": 1719.4999694824219,
    "y": 743.7507829666138,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "c007bb78.bad198"
      ]
    ]
  },
  {
    "id": "9e1c0985.ac54a8",
    "type": "other",
    "name": "DeleteSDWANAttachmentInstance",
    "xml": "<outcome value='DeleteSDWANAttachmentInstance'>",
    "comments": "",
    "outputs": 1,
    "x": 1714.4999694824219,
    "y": 937.7507829666138,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "c007bb78.bad198"
      ]
    ]
  },
  {
    "id": "6c1d4efc.ef28b",
    "type": "for",
    "name": "for loop i - sdwan input param",
    "xml": "<for index=\"i\" start=\"0\" end=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param_length`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 2126.250068664551,
    "y": 496.75078296661377,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "71678c48.443894"
      ]
    ]
  },
  {
    "id": "71678c48.443894",
    "type": "block",
    "name": "block",
    "xml": "<block>\n",
    "atomic": "false",
    "comments": "",
    "outputs": 1,
    "x": 2324.333263397217,
    "y": 496.497745513916,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "e79077b3.099788",
        "a4baf31b.1b5de",
        "210d76b8.7beafa"
      ]
    ]
  },
  {
    "id": "e79077b3.099788",
    "type": "set",
    "name": "clear tmp-data",
    "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
    "comments": "",
    "x": 2493.333393096924,
    "y": 473.7358207702637,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "a4baf31b.1b5de",
    "type": "set",
    "name": "set tmp-data",
    "xml": "<set>\n<parameter name='tmp.name' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].name`\"/>\n<parameter name='tmp.value' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].value`\"/>\n",
    "comments": "",
    "x": 2491.333267211914,
    "y": 505.7358236312866,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "210d76b8.7beafa",
    "type": "switchNode",
    "name": "switch name",
    "xml": "<switch test=\"`$tmp.name`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 2488.3333892822266,
    "y": 545.7358293533325,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "abd03293.cd18",
        "7be5406a.1ccb4",
        "47286f93.87dbf"
      ]
    ]
  },
  {
    "id": "abd03293.cd18",
    "type": "outcome",
    "name": "NULL",
    "xml": "<outcome value=''>",
    "comments": "",
    "outputs": 1,
    "x": 2722.3977546691895,
    "y": 559.5615439414978,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "968ac01f.99f6c"
      ]
    ]
  },
  {
    "id": "968ac01f.99f6c",
    "type": "returnFailure",
    "name": "return failure",
    "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-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
    "comments": "",
    "x": 2887.3979988098145,
    "y": 722.5615291595459,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "7be5406a.1ccb4",
    "type": "other",
    "name": "sdwanVpnName",
    "xml": "<outcome value='sdwanVpnName'>",
    "comments": "",
    "outputs": 1,
    "x": 2755.3970651626587,
    "y": 471.761212348938,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "a3e64284.5a573"
      ]
    ]
  },
  {
    "id": "a3e64284.5a573",
    "type": "switchNode",
    "name": "switch value",
    "xml": "<switch test=\"`$tmp.value`\">\n",
    "comments": "",
    "outputs": 1,
    "x": 2933.3140869140625,
    "y": 502.77617168426514,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "fe0135a8.011198"
      ]
    ]
  },
  {
    "id": "fe0135a8.011198",
    "type": "outcome",
    "name": "NULL",
    "xml": "<outcome value=''>",
    "comments": "",
    "outputs": 1,
    "x": 3085.3139991760254,
    "y": 502.77619457244873,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "f390d6c6.2ff848"
      ]
    ]
  },
  {
    "id": "f390d6c6.2ff848",
    "type": "returnFailure",
    "name": "return failure",
    "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=\"`'$tmp.name +' is a required input'`\" />\n",
    "comments": "",
    "x": 3229.7427139282227,
    "y": 501.7762041091919,
    "z": "d21b8423.410b48",
    "wires": []
  },
  {
    "id": "47286f93.87dbf",
    "type": "other",
    "name": "role",
    "xml": "<outcome value='role'>",
    "comments": "",
    "outputs": 1,
    "x": 2725.397331237793,
    "y": 511.7612247467041,
    "z": "d21b8423.410b48",
    "wires": [
      [
        "a3e64284.5a573"
      ]
    ]
  }
]