+ },
+ {
+ "id": "394f9ac2.7c54d6",
+ "type": "outcome",
+ "name": "DeactivateSDWANAttachmentInstance",
+ "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1399.4729766845703,
+ "y": 2065.8022890090942,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "a489ec70.35a57"
+ ]
+ ]
+ },
+ {
+ "id": "f104a03c.3d9ea",
+ "type": "set",
+ "name": "set input parameter length -1",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length - 1`' />\n\n\n\n\n",
+ "comments": "",
+ "x": 1876.6665344238281,
+ "y": 2062.33353805542,
+ "z": "816d5e60.eba45",
+ "wires": []
+ },
+ {
+ "id": "f8e23d7f.b3d02",
+ "type": "comment",
+ "name": "Get route routes IDs",
+ "info": "",
+ "comments": "",
+ "x": 3416.333251953125,
+ "y": 2268.6666259765625,
+ "z": "816d5e60.eba45",
+ "wires": []
+ },
+ {
+ "id": "c043509c.599d6",
+ "type": "set",
+ "name": "set underlay route ids to service data",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1`' />\n\n\n\n\n",
+ "comments": "",
+ "x": 1917.333480834961,
+ "y": 2011.666579246521,
+ "z": "816d5e60.eba45",
+ "wires": []
+ },
+ {
+ "id": "af0af852.8614c8",
+ "type": "for",
+ "name": "for jidx paramidx - Get topology from servicedata",
+ "xml": "<for index=\"jidx\" start=\"0\" end=\"`$prop.underlay.routeIds_length`\">\n \n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2006.3334045410156,
+ "y": 1558.333351135254,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "96c0f1e3.46564"
+ ]
+ ]
+ },
+ {
+ "id": "71e83fcd.3926a",
+ "type": "execute",
+ "name": "execute concat",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n <parameter name=\"source\" value='`$tmp.concat`'/>\n <parameter name=\"outputPath\" value=\"tmp.concat1\"/>\n <parameter name=\"target\" value='`$prop.underlay.routeIds[$jidx].hubRouteId`'/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2190.333740234375,
+ "y": 1692.0005540847778,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b1d10b7.e85ce",
+ "type": "execute",
+ "name": "execute concat",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n <parameter name=\"source\" value='`$prop.underlay.routeIds[$jidx].hubSiteId`'/>\n <parameter name=\"outputPath\" value=\"tmp.concat\"/>\n <parameter name=\"target\" value=\",\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2200.3337326049805,
+ "y": 1644.6668920516968,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96c0f1e3.46564",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1913.333423614502,
+ "y": 1743.6666812896729,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "5b1d10b7.e85ce",
+ "71e83fcd.3926a",
+ "4f918e1e.65c27",
+ "743189f.b107678",
+ "a740f981.130cb8",
+ "7f673568.55d36c"
+ ]
+ ]
+ },
+ {
+ "id": "4f918e1e.65c27",
+ "type": "execute",
+ "name": "execute concat",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n <parameter name=\"source\" value='`$tmp.concat1`'/>\n <parameter name=\"outputPath\" value=\"tmp.concat2\"/>\n <parameter name=\"target\" value=\",\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2197.3334426879883,
+ "y": 1731.6667852401733,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "743189f.b107678",
+ "type": "execute",
+ "name": "execute concat",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n <parameter name=\"source\" value='`$tmp.concat2`'/>\n <parameter name=\"outputPath\" value=\"tmp.concat3\"/>\n <parameter name=\"target\" value='`$prop.underlay.routeIds[$jidx].spokeRouteId`'/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2197.3334426879883,
+ "y": 1767.6667852401733,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a740f981.130cb8",
+ "type": "execute",
+ "name": "execute concat",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n <parameter name=\"source\" value='`$tmp.concat3`'/>\n <parameter name=\"outputPath\" value=\"tmp.concat4\"/>\n <parameter name=\"target\" value=\" | \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2190.3334426879883,
+ "y": 1808.0001592636108,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7f673568.55d36c",
+ "type": "execute",
+ "name": "execute concat",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n <parameter name=\"source\" value='`$tmp.routeString`'/>\n <parameter name=\"outputPath\" value=\"tmp.routeString\"/>\n <parameter name=\"target\" value='`$tmp.concat4`'/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2193.333381652832,
+ "y": 1862.6666984558105,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "879d0a95.c86bf8",
+ "type": "set",
+ "name": "Set tmp.routeString",
+ "xml": "<set>\n<parameter name='tmp.routeString' value=\"\" />\n\n",
+ "comments": "",
+ "x": 1910.3334045410156,
+ "y": 1499.6666822433472,
+ "z": "816d5e60.eba45",
+ "wires": []
+ },
+ {
+ "id": "b91a3e00.56049",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3799.0002250671387,
+ "y": 623.0000381469727,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "e6b57715.d86fd8",
+ "4cfad752.b82ab8"
+ ]
+ ]
+ },
+ {
+ "id": "4cfad752.b82ab8",
+ "type": "execute",
+ "name": "execute split |",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.underlay.routeIdsString`'/>\n<parameter name=\"regex\" value=\" | \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.underlay.routeIdsValue\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3977.0002365112305,
+ "y": 643.0000381469727,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "18dab504.682e9b",
+ "e6713c9a.ccf4e"
+ ]
+ ]
+ },
+ {
+ "id": "e6713c9a.ccf4e",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4154.0002517700195,
+ "y": 624.0000371932983,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "f6d503b7.ca422"
+ ]
+ ]
+ },
+ {
+ "id": "18dab504.682e9b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4143.0002517700195,
+ "y": 672.000039100647,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "24d2d870.cadd68"
+ ]
+ ]
+ },
+ {
+ "id": "a99b2248.b5ad4",
+ "type": "set",
+ "name": "set ipAddress prefixLength",
+ "xml": "<set>\n<parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].hubSiteId' value='`$prop.underlay.routeIdsValues[0]`' />\n<parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].hubRouteId' value='`$prop.underlay.routeIdsValues[1]`' />\n<parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].spokeRouteId' value='`$prop.underlay.routeIdsValues[2]`' />",
+ "comments": "",
+ "x": 5340.001117706299,
+ "y": 558.0002794265747,
+ "z": "816d5e60.eba45",
+ "wires": []
+ },
+ {
+ "id": "24d2d870.cadd68",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4273.000255584717,
+ "y": 672.000039100647,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6d503b7.ca422",
+ "type": "for",
+ "name": "for loop ridx ",
+ "xml": "<for index=\"ridx\" start=\"0\" end=\"`$prop.underlay.routeIdsValue_length`\">\n \n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4299.999938964844,
+ "y": 622.0000371932983,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "d316c9fd.2bfac8"
+ ]
+ ]
+ },
+ {
+ "id": "d316c9fd.2bfac8",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4478.332950592041,
+ "y": 619.0000381469727,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "cc212d5d.4ecc7"
+ ]
+ ]
+ },
+ {
+ "id": "cc212d5d.4ecc7",
+ "type": "execute",
+ "name": "execute split ,",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.underlay.routeIdsValue[$ridx]`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.underlay.routeIdsValues\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4653.332962036133,
+ "y": 618.000036239624,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "a41a70c9.992e7",
+ "4e196c9a.1ec4e4"
+ ]
+ ]
+ },
+ {
+ "id": "a41a70c9.992e7",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4810.33296585083,
+ "y": 595.0000438690186,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "29342783.705ee8"
+ ]
+ ]
+ },
+ {
+ "id": "4e196c9a.1ec4e4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4799.33296585083,
+ "y": 643.0000457763672,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "31dadcd0.9c88f4"
+ ]
+ ]
+ },
+ {
+ "id": "31dadcd0.9c88f4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4929.332969665527,
+ "y": 643.0000457763672,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c309d201.f689a",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5132.665496826172,
+ "y": 574.0001978874207,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "a99b2248.b5ad4",
+ "d11539fc.77a698"
+ ]
+ ]
+ },
+ {
+ "id": "d11539fc.77a698",
+ "type": "set",
+ "name": "set ipAddress prefixLength",
+ "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='`$prop.underlay.routeIds_length + 1`' />\n",
+ "comments": "",
+ "x": 5332.333156585693,
+ "y": 600.000075340271,
+ "z": "816d5e60.eba45",
+ "wires": []
+ },
+ {
+ "id": "29342783.705ee8",
+ "type": "switchNode",
+ "name": "switch prop.underlay.routeIdsValues_length",
+ "xml": "<switch test='`$prop.underlay.routeIdsValues_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5008.667121887207,
+ "y": 476.0000686645508,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "4afb066.ff7c6f8",
+ "6e26a8d2.50c7d8"
+ ]
+ ]
+ },
+ {
+ "id": "4afb066.ff7c6f8",
+ "type": "outcome",
+ "name": "3",
+ "xml": "<outcome value='3'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5243.636054992676,
+ "y": 512.9687957763672,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "c309d201.f689a"
+ ]
+ ]
+ },
+ {
+ "id": "6e26a8d2.50c7d8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5260.666980743408,
+ "y": 395.00000953674316,
+ "z": "816d5e60.eba45",
+ "wires": [
+ [
+ "cde0413a.7980f"
+ ]
+ ]
+ },
+ {
+ "id": "cde0413a.7980f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5421.66650390625,
+ "y": 435,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61955a75.34d004",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n \n",
+ "comments": "",
+ "x": 2901.006446838379,
+ "y": 1008.3067564964294,
+ "z": "816d5e60.eba45",
+ "wires": []
+ },
+ {
+ "id": "5e3a3525.ed601c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2887.0059547424316,
+ "y": 956.9731774330139,
+ "z": "816d5e60.eba45",
+ "wires": [
+ []
+ ]