NonRT-RIC A1 Northbound API
[nonrtric.git] / sdnc-a1-controller / oam / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-overlay-network-input-parameters.json
diff --git a/sdnc-a1-controller/oam/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-overlay-network-input-parameters.json b/sdnc-a1-controller/oam/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-overlay-network-input-parameters.json
new file mode 100644 (file)
index 0000000..18620a0
--- /dev/null
@@ -0,0 +1,1125 @@
+[
+  {
+    "id": "9f219372.913768",
+    "type": "for",
+    "name": "for each network-input-parameters",
+    "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 668.4999923706055,
+    "y": 168.1666979789734,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "c6e32fd5.f0b0e8"
+      ]
+    ]
+  },
+  {
+    "id": "9a6aa573.d146f8",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 891.5000152587891,
+    "y": 298.16665744781494,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "3a308602.317a3a",
+        "7cd5cf0f.95b3f",
+        "45a9c65b.98f57",
+        "4bd8b08b.c1b738",
+        "9a98ee2f.fae35",
+        "dcb54754.c1fae",
+        "5c71ff90.d2893",
+        "8d7e8ee4.f68c68",
+        "6c08b0b1.cee048",
+        "e9f73529.8b85b",
+        "c3f8c7a7.7f35b",
+        "d4c4bfc9.13974",
+        "91da961a.6a0548",
+        "a53aefb0.e64608"
+      ]
+    ]
+  },
+  {
+    "id": "b85e62e3.2a64b",
+    "type": "execute",
+    "name": "checkRequiredL2Parameters",
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"`$validate.dci-connects.name`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_id`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_id`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_networkName`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_networkName`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_importRT1`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_importRT1`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_exportRT1`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_exportRT1`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_vni`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_vni`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.tunnelType`\" value=\"\"/>\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 705.1667709350586,
+    "y": 435.6666667461395,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      []
+    ]
+  },
+  {
+    "id": "df5ee9c0.82be5",
+    "type": "dgstart",
+    "name": "DGSTART",
+    "outputs": 1,
+    "x": 97.5,
+    "y": 80.99998474121094,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "75544d6c.5343cc"
+      ]
+    ]
+  },
+  {
+    "id": "75544d6c.5343cc",
+    "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": 403.78570556640625,
+    "y": 90.23806762695312,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "b5a29630.ea65"
+      ]
+    ]
+  },
+  {
+    "id": "b5a29630.ea65",
+    "type": "method",
+    "name": "method validate-overlay-network-input-parameters",
+    "xml": "<method rpc='validate-overlay-network-input-parameters' mode='sync'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 266.41668701171875,
+    "y": 169.25299835205078,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "9f219372.913768"
+      ]
+    ]
+  },
+  {
+    "id": "f8089d03.596d98",
+    "type": "execute",
+    "name": "checkAdditionalL3Parameters",
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"`$network-topology-operation-input.network-request-input.network-input-parameters.site1_routerId`\" value=\"\"/>\n<parameter name=\"`$network-topology-operation-input.network-request-input.network-input-parameters.site2_routerId`\" value=\"\"/>\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 845.5000228881836,
+    "y": 530.9999694824219,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      []
+    ]
+  },
+  {
+    "id": "17ab0223.d06dfe",
+    "type": "switchNode",
+    "name": "switch value",
+    "xml": "<switch test=\"`$validate.dci-connects.tunnelType`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 444.50000762939453,
+    "y": 593.9999351501465,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "9fd00c16.5964d8",
+        "7a55ea17.14f894",
+        "cf1a5339.585298"
+      ]
+    ]
+  },
+  {
+    "id": "9fd00c16.5964d8",
+    "type": "outcome",
+    "name": "L3-DCI",
+    "xml": "<outcome value='L3-DCI'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 624.8333435058594,
+    "y": 529.99977684021,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "f8089d03.596d98"
+      ]
+    ]
+  },
+  {
+    "id": "7a55ea17.14f894",
+    "type": "outcome",
+    "name": "L2-DCI",
+    "xml": "<outcome value='L2-DCI'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 622.8332290649414,
+    "y": 602.9997224807739,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      []
+    ]
+  },
+  {
+    "id": "cf1a5339.585298",
+    "type": "outcome",
+    "name": "other",
+    "xml": "<outcome value='other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 620.833345413208,
+    "y": 684.6664152145386,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "63752135.dc4c5"
+      ]
+    ]
+  },
+  {
+    "id": "63752135.dc4c5",
+    "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": 834.2618675231934,
+    "y": 684.6664419174194,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "3a308602.317a3a",
+    "type": "switchNode",
+    "name": "switch site1_id",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_id'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1178.500259399414,
+    "y": 184.16679191589355,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "31a93e6d.2e7752"
+      ]
+    ]
+  },
+  {
+    "id": "7cd5cf0f.95b3f",
+    "type": "switchNode",
+    "name": "switch site1_importRT1",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_importRT1'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1180.1448783874512,
+    "y": 592.2989673614502,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "2cd0c93b.b6480e"
+      ]
+    ]
+  },
+  {
+    "id": "45a9c65b.98f57",
+    "type": "switchNode",
+    "name": "switch site1_exportRT1",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT1'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1175.067985534668,
+    "y": 728.9144258499146,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "8fb3fb93.820628"
+      ]
+    ]
+  },
+  {
+    "id": "4bd8b08b.c1b738",
+    "type": "switchNode",
+    "name": "switch site1_vni",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_vni'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1147.3758239746094,
+    "y": 847.9145526885986,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "df9c18d3.30517"
+      ]
+    ]
+  },
+  {
+    "id": "31a93e6d.2e7752",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1393.500259399414,
+    "y": 183.16679191589355,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "d34f2601.68068"
+      ]
+    ]
+  },
+  {
+    "id": "2cd0c93b.b6480e",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1382.1448783874512,
+    "y": 591.2989673614502,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "93ca887a.7521e"
+      ]
+    ]
+  },
+  {
+    "id": "8fb3fb93.820628",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1371.067985534668,
+    "y": 725.9144258499146,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "3466521c.eba27e"
+      ]
+    ]
+  },
+  {
+    "id": "df9c18d3.30517",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1346.375820159912,
+    "y": 847.914571762085,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "db8cdcad.df6ab"
+      ]
+    ]
+  },
+  {
+    "id": "9a98ee2f.fae35",
+    "type": "switchNode",
+    "name": "switch name",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1175.6668243408203,
+    "y": 125.33342361450195,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "256e4cfe.021fac"
+      ]
+    ]
+  },
+  {
+    "id": "256e4cfe.021fac",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1395.3594131469727,
+    "y": 124.56419563293457,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "7c5aad0d.29a82c"
+      ]
+    ]
+  },
+  {
+    "id": "83313a72.423f8",
+    "type": "set",
+    "name": "set name",
+    "xml": "<set>\n<parameter name='validate.dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1783.667137145996,
+    "y": 125.41035079956055,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "dcb54754.c1fae",
+    "type": "switchNode",
+    "name": "switch site1_networkName",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_networkName'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1211.217830657959,
+    "y": 313.3334674835205,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "a3f3c6f5.a3b188"
+      ]
+    ]
+  },
+  {
+    "id": "a3f3c6f5.a3b188",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1409.217830657959,
+    "y": 313.3334674835205,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "18eaf51a.eed2f3"
+      ]
+    ]
+  },
+  {
+    "id": "5dc2f27e.565d54",
+    "type": "switchNode",
+    "name": "switch value",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2039.55126953125,
+    "y": 557.3846913799644,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "30db59f5.f579be"
+      ]
+    ]
+  },
+  {
+    "id": "30db59f5.f579be",
+    "type": "outcome",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2206.5514755249023,
+    "y": 557.0110122188926,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "1746319b.debb2e"
+      ]
+    ]
+  },
+  {
+    "id": "1746319b.debb2e",
+    "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": 2374.364845275879,
+    "y": 557.0109936222434,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "bf0183c0.c3f948",
+    "type": "set",
+    "name": "set site1_id",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1792.4232940673828,
+    "y": 182.6922788619995,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "5c71ff90.d2893",
+    "type": "switchNode",
+    "name": "switch site2_id",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1177.1154899597168,
+    "y": 246.692289352417,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "7d482c7a.518ac4"
+      ]
+    ]
+  },
+  {
+    "id": "7d482c7a.518ac4",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1392.1154899597168,
+    "y": 245.692289352417,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "ebf7b268.e89158"
+      ]
+    ]
+  },
+  {
+    "id": "57f3029c.b145e4",
+    "type": "set",
+    "name": "set site2_id",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1784.1155433654785,
+    "y": 244.14089107513428,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "8f2baefa.0b0398",
+    "type": "set",
+    "name": "set site1_networkName",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site1_networkName' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1815.2951431274414,
+    "y": 317.0769100189209,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "8d7e8ee4.f68c68",
+    "type": "switchNode",
+    "name": "switch site2_networkName",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1202.7564010620117,
+    "y": 378.153790473938,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "8aa85325.daef28"
+      ]
+    ]
+  },
+  {
+    "id": "8aa85325.daef28",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1400.7564010620117,
+    "y": 378.153790473938,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "e0ee66d1.d362e8"
+      ]
+    ]
+  },
+  {
+    "id": "8af7e0d6.1420c8",
+    "type": "set",
+    "name": "set site1_networkName",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site2_networkName' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1809.141014099121,
+    "y": 378.8202781677246,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "6c08b0b1.cee048",
+    "type": "switchNode",
+    "name": "switch site1_routerId",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_routerId'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1179.628028869629,
+    "y": 443.3978147506714,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "9ed44258.9c6b6"
+      ]
+    ]
+  },
+  {
+    "id": "9ed44258.9c6b6",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1384.628028869629,
+    "y": 442.3978147506714,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "80d0f7bd.e811b8"
+      ]
+    ]
+  },
+  {
+    "id": "99f4b465.d49818",
+    "type": "set",
+    "name": "set site1_routerId",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site1_routerId' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1788.781852722168,
+    "y": 441.2564105987549,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "a53aefb0.e64608",
+    "type": "switchNode",
+    "name": "switch site2_routerId",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1177.1668319702148,
+    "y": 514.7949352264404,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "66d18baa.c968bc"
+      ]
+    ]
+  },
+  {
+    "id": "66d18baa.c968bc",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1382.1668319702148,
+    "y": 513.7949352264404,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "380642df.690c06"
+      ]
+    ]
+  },
+  {
+    "id": "b7d41b0c.08bfa8",
+    "type": "set",
+    "name": "set site2_routerId",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site2_routerId' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1810.1674194335938,
+    "y": 514.1921005249023,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "1ca7dab1.a54e05",
+    "type": "set",
+    "name": "set site2_routerId",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site1_importRT1' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1802.0130996704102,
+    "y": 591.410285949707,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "e9f73529.8b85b",
+    "type": "switchNode",
+    "name": "switch site2_importRT1",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1179.8333358764648,
+    "y": 660.5128269195557,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "a58493be.2ce148"
+      ]
+    ]
+  },
+  {
+    "id": "a58493be.2ce148",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1381.8333358764648,
+    "y": 659.5128269195557,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "a43a1ae.20bc9e8"
+      ]
+    ]
+  },
+  {
+    "id": "1e7c8c00.4966a4",
+    "type": "set",
+    "name": "set site2_importRT1",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site2_importRT1' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1804.0088500976562,
+    "y": 659.6240797042847,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "de34e1a6.830c3",
+    "type": "set",
+    "name": "set site1_exportRT1",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site1_exportRT1' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1786.1411018371582,
+    "y": 721.8463268280029,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "c3f8c7a7.7f35b",
+    "type": "switchNode",
+    "name": "switch site1_exportRT2",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT2'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1172.1412353515625,
+    "y": 786.7693099975586,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "92633b48.8edfc8"
+      ]
+    ]
+  },
+  {
+    "id": "92633b48.8edfc8",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1368.1412353515625,
+    "y": 783.7693099975586,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "e12fce67.94699"
+      ]
+    ]
+  },
+  {
+    "id": "a36a5b8d.4b041",
+    "type": "set",
+    "name": "set site1_exportRT2",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site1_exportRT2' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1781.6761322021484,
+    "y": 779.7011775970459,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "b733fef3.0537f8",
+    "type": "set",
+    "name": "set site1_vni",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site1_vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1754.0899047851562,
+    "y": 846.6412315368652,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "d4c4bfc9.13974",
+    "type": "switchNode",
+    "name": "switch site2_vni",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1144.8335037231445,
+    "y": 912.3337364196777,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "47be4985.18f7a"
+      ]
+    ]
+  },
+  {
+    "id": "47be4985.18f7a",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1343.8334999084473,
+    "y": 912.3337554931641,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "2db61809.1d037"
+      ]
+    ]
+  },
+  {
+    "id": "1f72f8d2.8122a7",
+    "type": "set",
+    "name": "set site2_vni",
+    "xml": "<set>\n<parameter name='validate.dci-connects.site2_vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1748.470832824707,
+    "y": 910.2911982536316,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "91da961a.6a0548",
+    "type": "switchNode",
+    "name": "switch tunnelType",
+    "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1148.7178955078125,
+    "y": 979.372227191925,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "def5c126.9ef6f8"
+      ]
+    ]
+  },
+  {
+    "id": "def5c126.9ef6f8",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1354.7178955078125,
+    "y": 979.372227191925,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "ba2db426.9389f"
+      ]
+    ]
+  },
+  {
+    "id": "3ad5245d.41b07c",
+    "type": "set",
+    "name": "set tunnelType",
+    "xml": "<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+    "comments": "",
+    "x": 1754.0254669189453,
+    "y": 974.9876976013184,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "cf5014dc.f97bc8",
+    "type": "comment",
+    "name": "TODO: optimize the activate by using parameter assignment here",
+    "info": "",
+    "comments": "",
+    "x": 1041.5000228881836,
+    "y": 59,
+    "z": "351ad0a0.4f274",
+    "wires": []
+  },
+  {
+    "id": "c6e32fd5.f0b0e8",
+    "type": "block",
+    "name": "block validate",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 516.5000152587891,
+    "y": 300.9999895095825,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "9a6aa573.d146f8",
+        "17ab0223.d06dfe"
+      ]
+    ]
+  },
+  {
+    "id": "7c5aad0d.29a82c",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1566.1923294067383,
+    "y": 125.55049514770508,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "83313a72.423f8",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "d34f2601.68068",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1565.422966003418,
+    "y": 183.2427978515625,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "bf0183c0.c3f948",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "ebf7b268.e89158",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1557.7308769226074,
+    "y": 244.78127479553223,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "57f3029c.b145e4",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "18eaf51a.eed2f3",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1556.1923599243164,
+    "y": 314.78126430511475,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "8f2baefa.0b0398",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "e0ee66d1.d362e8",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1547.7307968139648,
+    "y": 377.858193397522,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "8af7e0d6.1420c8",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "80d0f7bd.e811b8",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1537.7305221557617,
+    "y": 442.1658983230591,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "99f4b465.d49818",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "380642df.690c06",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1528.500114440918,
+    "y": 516.3197727203369,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "b7d41b0c.08bfa8",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "93ca887a.7521e",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1529.2691841125488,
+    "y": 592.8582248687744,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "1ca7dab1.a54e05",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "a43a1ae.20bc9e8",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1533.884635925293,
+    "y": 660.5506038665771,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "1e7c8c00.4966a4",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "3466521c.eba27e",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1523.884593963623,
+    "y": 725.166033744812,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "de34e1a6.830c3",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "e12fce67.94699",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1525.4232482910156,
+    "y": 783.6275215148926,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "a36a5b8d.4b041",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "db8cdcad.df6ab",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1515.423210144043,
+    "y": 852.8583087921143,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "b733fef3.0537f8",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "2db61809.1d037",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1508.499855041504,
+    "y": 918.243043422699,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "1f72f8d2.8122a7",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  },
+  {
+    "id": "ba2db426.9389f",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1515.4232559204102,
+    "y": 978.2429823875427,
+    "z": "351ad0a0.4f274",
+    "wires": [
+      [
+        "3ad5245d.41b07c",
+        "5dc2f27e.565d54"
+      ]
+    ]
+  }
+]