+ "id": "b6297fef.ebefb",
+ "type": "set",
+ "name": "set vrf1_id",
+ "xml": "<set>\n<parameter name='prop.l3vpn.vrf1-id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1829.9999389648438,
+ "y": 383.5999755859375,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "b6b8b28d.368718",
+ "type": "set",
+ "name": "set vrf2_id",
+ "xml": "<set>\n<parameter name='prop.l3vpn.vrf2-id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1848,
+ "y": 439.8890075683594,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "4cb232f8.ebf31c",
+ "type": "outcome",
+ "name": "0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1263,
+ "y": 20,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "55192e25.8885f"
+ ]
+ ]
+ },
+ {
+ "id": "c820d47.424eda8",
+ "type": "set",
+ "name": "set output to api handler",
+ "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'` \" />\n \n",
+ "comments": "",
+ "x": 831,
+ "y": 1126,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "68e3068e.972fd8",
+ "type": "switchNode",
+ "name": "switch $service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 895,
+ "y": 980,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "cabb40c6.f63f28",
+ "d81def66.527288"
+ ]
+ ]
+ },
+ {
+ "id": "bb92afab.51f5a",
+ "type": "comment",
+ "name": "Remove network from service data",
+ "info": "",
+ "comments": "",
+ "x": 879.2342529296875,
+ "y": 936.991943359375,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "9977e826.19c58",
+ "type": "comment",
+ "name": "If only one remove all networks",
+ "info": "",
+ "comments": "",
+ "x": 1269.4179611206055,
+ "y": 941.2592601776123,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "cabb40c6.f63f28",
+ "type": "outcome",
+ "name": "1",
+ "xml": "<outcome value='1'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1198.0475997924805,
+ "y": 976.6664867401123,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "fbcf7a1e.85d56"
+ ]
+ ]
+ },
+ {
+ "id": "fbcf7a1e.85d56",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1377.3809127807617,
+ "y": 977.370283126831,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "2a5e806c.406808",
+ "4e176ca1.1f7854"
+ ]
+ ]
+ },
+ {
+ "id": "d81def66.527288",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1164.4285507202148,
+ "y": 1128.9998044967651,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "eec0d25e.96de08"
+ ]
+ ]
+ },
+ {
+ "id": "eec0d25e.96de08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1386.4284286499023,
+ "y": 1128.9998044967651,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "30d886fb.de580a",
+ "4f8e70aa.dbe688",
+ "1413b75.f99b949",
+ "ec576987.8b044"
+ ]
+ ]
+ },
+ {
+ "id": "2a5e806c.406808",
+ "type": "set",
+ "name": "Remove networks",
+ "xml": "<set>\n\t<parameter name=\"service-data.networks.\" value=\"\"/>\n\n",
+ "comments": "",
+ "x": 1630.66650390625,
+ "y": 980.3333129882812,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "4e176ca1.1f7854",
+ "type": "set",
+ "name": "set new network length",
+ "xml": "<set>\n\t<parameter name=\"service-data.networks.network_length\" value=\"0\"/>\n\n\t\n",
+ "comments": "",
+ "x": 1646.9998779296875,
+ "y": 1015.0369710922241,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "ec576987.8b044",
+ "type": "set",
+ "name": "Set new network length",
+ "xml": "<set>\n\t<parameter name=\"tmp.new_length\" value=\"`$service-data.networks.network_length - 1`\"/>\n\t\n\t\n",
+ "comments": "",
+ "x": 1653.1322021484375,
+ "y": 1066.2591552734375,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "30d886fb.de580a",
+ "type": "for",
+ "name": "for snidx..service-data.networks.network[]",
+ "xml": "<for silentFailure='true' index='snidx' start='`$tmp.nidx + 1`' end='`$service-data.networks.network_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1701.83740234375,
+ "y": 1118.5631103515625,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "161f519b.8ac7e6"
+ ]
+ ]
+ },
+ {
+ "id": "1413b75.f99b949",
+ "type": "set",
+ "name": "set new network length",
+ "xml": "<set>\n\t<parameter name=\"service-data.networks.network_length\" value=\"`$service-data.networks.network_length - 1`\"/>\n\n\t\n",
+ "comments": "",
+ "x": 1660.296272277832,
+ "y": 1162.333369255066,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "4f8e70aa.dbe688",
+ "type": "set",
+ "name": "Remove networks",
+ "xml": "<set>\n\t<parameter name=\"service-data.networks.network[$tmp.new_length].\" value=\"\"/>\n\n",
+ "comments": "",
+ "x": 1640.1427383422852,
+ "y": 1200.3013143539429,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "161f519b.8ac7e6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",