diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-overlay-network-input-parameters.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-overlay-network-input-parameters.json | 1512 |
1 files changed, 1512 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-overlay-network-input-parameters.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-overlay-network-input-parameters.json new file mode 100644 index 00000000..7ebf552e --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-overlay-network-input-parameters.json @@ -0,0 +1,1512 @@ +[ + { + "id":"9fbc00bc.c5915", + "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":692.6666564941406, + "y":154.83338117599487, + "z":"47ab735d.a7360c", + "wires":[ + [ + "a976418d.bf0e8" + ] + ] + }, + { + "id":"bd4a5cad.24385", + "type":"block", + "name":"block", + "xml":"<block>\n", + "atomic":"false", + "comments":"", + "outputs":1, + "x":915.6666793823242, + "y":284.8333406448364, + "z":"47ab735d.a7360c", + "wires":[ + [ + "baeb18be.64e288", + "ebc31264.45c9c", + "6dd687c5.d25178", + "4aa7ce12.c2c5c", + "8d91f51f.010838", + "a564bd41.e58b8", + "dfd01ad4.2d6c58", + "9f877a62.41f918", + "a1c6afab.017d9", + "18c864fe.2d77ab", + "f8675cad.a9a8b", + "c93315a.3d905e8", + "5e4cd98f.ace3e8" + ] + ] + }, + { + "id":"1f0e911e.e29fcf", + "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":729.3334350585938, + "y":422.333349943161, + "z":"47ab735d.a7360c", + "wires":[ + [ + + ] + ] + }, + { + "id":"e94160.d414eea", + "type":"dgstart", + "name":"DGSTART", + "outputs":1, + "x":87.66666412353516, + "y":81.66666412353516, + "z":"47ab735d.a7360c", + "wires":[ + [ + "e29a088c.48c7f8" + ] + ] + }, + { + "id":"e29a088c.48c7f8", + "type":"service-logic", + "name":"GENERIC-RESOURCE-API ${project.version}", + "module":"GENERIC-RESOURCE-API", + "version":"${project.version}", + "comments":"", + "xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>", + "outputs":1, + "x":332.95237731933594, + "y":80.90474319458008, + "z":"47ab735d.a7360c", + "wires":[ + [ + "5a029ef9.54fab" + ] + ] + }, + { + "id":"5a029ef9.54fab", + "type":"method", + "name":"method validate-network-input-parameters", + "xml":"<method rpc='validate-overlay-network-input-parameters' mode='sync'>\n", + "comments":"", + "outputs":1, + "x":290.5833511352539, + "y":155.91968154907227, + "z":"47ab735d.a7360c", + "wires":[ + [ + "9fbc00bc.c5915" + ] + ] + }, + { + "id":"f2681b3f.65fb58", + "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":869.6666870117188, + "y":517.6666526794434, + "z":"47ab735d.a7360c", + "wires":[ + [ + + ] + ] + }, + { + "id":"23001689.a4dc8a", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.tunnelType`\">\n", + "comments":"", + "outputs":1, + "x":468.6666717529297, + "y":580.666618347168, + "z":"47ab735d.a7360c", + "wires":[ + [ + "a5c0553.c8c39a8", + "a1b97140.efa03", + "49ee51a5.f039a" + ] + ] + }, + { + "id":"a5c0553.c8c39a8", + "type":"outcome", + "name":"L3-DCI", + "xml":"<outcome value='L3-DCI'>", + "comments":"", + "outputs":1, + "x":649.0000076293945, + "y":516.6664600372314, + "z":"47ab735d.a7360c", + "wires":[ + [ + "f2681b3f.65fb58" + ] + ] + }, + { + "id":"a1b97140.efa03", + "type":"outcome", + "name":"L2-DCI", + "xml":"<outcome value='L2-DCI'>", + "comments":"", + "outputs":1, + "x":646.9998931884766, + "y":589.6664056777954, + "z":"47ab735d.a7360c", + "wires":[ + [ + + ] + ] + }, + { + "id":"49ee51a5.f039a", + "type":"outcome", + "name":"other", + "xml":"<outcome value='other'>", + "comments":"", + "outputs":1, + "x":645.0000095367432, + "y":671.3330984115601, + "z":"47ab735d.a7360c", + "wires":[ + [ + "fba967af.e87968" + ] + ] + }, + { + "id":"fba967af.e87968", + "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":858.4285316467285, + "y":671.3331251144409, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"baeb18be.64e288", + "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":1202.6669235229492, + "y":170.83347511291504, + "z":"47ab735d.a7360c", + "wires":[ + [ + "2ad98395.e759ac" + ] + ] + }, + { + "id":"ebc31264.45c9c", + "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":1236.6191329956055, + "y":955.1194496154785, + "z":"47ab735d.a7360c", + "wires":[ + [ + "f0e05479.676558" + ] + ] + }, + { + "id":"6dd687c5.d25178", + "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":1234.619213104248, + "y":1197.119421005249, + "z":"47ab735d.a7360c", + "wires":[ + [ + "261269c8.cc3de6" + ] + ] + }, + { + "id":"4aa7ce12.c2c5c", + "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":1214.6191482543945, + "y":1446.1195335388184, + "z":"47ab735d.a7360c", + "wires":[ + [ + "8460bab.5cb4748" + ] + ] + }, + { + "id":"2ad98395.e759ac", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1417.6669235229492, + "y":169.83347511291504, + "z":"47ab735d.a7360c", + "wires":[ + [ + "4e98bbb2.6da394", + "7d1e7107.e98d7" + ] + ] + }, + { + "id":"f0e05479.676558", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1438.6191329956055, + "y":954.1194496154785, + "z":"47ab735d.a7360c", + "wires":[ + [ + "979386d3.b24028", + "26bcb080.9de85" + ] + ] + }, + { + "id":"261269c8.cc3de6", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1430.619213104248, + "y":1194.119421005249, + "z":"47ab735d.a7360c", + "wires":[ + [ + "7a713e79.f07e5", + "cc5ed7e8.5ea2b8" + ] + ] + }, + { + "id":"8460bab.5cb4748", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1413.6191444396973, + "y":1446.1195526123047, + "z":"47ab735d.a7360c", + "wires":[ + [ + "6a2f200.8e65de", + "4214073.a9e53f8" + ] + ] + }, + { + "id":"8d91f51f.010838", + "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":1199.8334884643555, + "y":112.00010681152344, + "z":"47ab735d.a7360c", + "wires":[ + [ + "c02bf1f3.bbbf4" + ] + ] + }, + { + "id":"c02bf1f3.bbbf4", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1411.8334579467773, + "y":112.00010681152344, + "z":"47ab735d.a7360c", + "wires":[ + [ + "25b2958.f7a656a", + "9b6f27eb.9ced48" + ] + ] + }, + { + "id":"25b2958.f7a656a", + "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":1597.8335075378418, + "y":49.000104904174805, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"a564bd41.e58b8", + "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":1239.9998664855957, + "y":450.00013637542725, + "z":"47ab735d.a7360c", + "wires":[ + [ + "fa867ada.bd0d38" + ] + ] + }, + { + "id":"fa867ada.bd0d38", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1437.9998664855957, + "y":450.00013637542725, + "z":"47ab735d.a7360c", + "wires":[ + [ + "431614dd.2bc43c", + "44ab7436.2e79fc" + ] + ] + }, + { + "id":"9b6f27eb.9ced48", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.name`\">\n", + "comments":"", + "outputs":1, + "x":1608.3333549499512, + "y":108.66667079925537, + "z":"47ab735d.a7360c", + "wires":[ + [ + "a83b8d69.c7d06" + ] + ] + }, + { + "id":"a83b8d69.c7d06", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1775.3334617614746, + "y":107.52376461029053, + "z":"47ab735d.a7360c", + "wires":[ + [ + "d8d1825d.06b8d" + ] + ] + }, + { + "id":"d8d1825d.06b8d", + "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":1947.7621879577637, + "y":107.52376365661621, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"4e98bbb2.6da394", + "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":1599.6667251586914, + "y":173.66665601730347, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"7d1e7107.e98d7", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site1_id`\">\n", + "comments":"", + "outputs":1, + "x":1604.6666259765625, + "y":239.66665649414062, + "z":"47ab735d.a7360c", + "wires":[ + [ + "fa0cb448.d0c078" + ] + ] + }, + { + "id":"fa0cb448.d0c078", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1771.666732788086, + "y":238.52375030517578, + "z":"47ab735d.a7360c", + "wires":[ + [ + "41562682.d2bfb8" + ] + ] + }, + { + "id":"41562682.d2bfb8", + "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":1944.095458984375, + "y":238.52374935150146, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"dfd01ad4.2d6c58", + "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":1206.6666259765625, + "y":305.6666564941406, + "z":"47ab735d.a7360c", + "wires":[ + [ + "fcbf7abe.141ca8" + ] + ] + }, + { + "id":"fcbf7abe.141ca8", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1421.6666259765625, + "y":304.6666564941406, + "z":"47ab735d.a7360c", + "wires":[ + [ + "6b022b57.4ad064", + "8a3f337.89f0bd" + ] + ] + }, + { + "id":"6b022b57.4ad064", + "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":1603.6664276123047, + "y":308.49983739852905, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"8a3f337.89f0bd", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site2_id`\">\n", + "comments":"", + "outputs":1, + "x":1608.6663284301758, + "y":374.4998378753662, + "z":"47ab735d.a7360c", + "wires":[ + [ + "b06be411.9d3b28" + ] + ] + }, + { + "id":"b06be411.9d3b28", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1775.6664352416992, + "y":373.35693168640137, + "z":"47ab735d.a7360c", + "wires":[ + [ + "64843880.ff2538" + ] + ] + }, + { + "id":"64843880.ff2538", + "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":1948.0951614379883, + "y":373.35693073272705, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"431614dd.2bc43c", + "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":1641, + "y":450.6666564941406, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"44ab7436.2e79fc", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site1_networkName`\">\n", + "comments":"", + "outputs":1, + "x":1605.999900817871, + "y":516.6666569709778, + "z":"47ab735d.a7360c", + "wires":[ + [ + "d2b45562.0c7fc8" + ] + ] + }, + { + "id":"d2b45562.0c7fc8", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1773.0000076293945, + "y":515.5237507820129, + "z":"47ab735d.a7360c", + "wires":[ + [ + "61b1e1a0.11314" + ] + ] + }, + { + "id":"61b1e1a0.11314", + "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":1945.4287338256836, + "y":515.5237498283386, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"9f877a62.41f918", + "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":1240, + "y":578.6666259765625, + "z":"47ab735d.a7360c", + "wires":[ + [ + "f79dec8d.61c58" + ] + ] + }, + { + "id":"f79dec8d.61c58", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1438, + "y":578.6666259765625, + "z":"47ab735d.a7360c", + "wires":[ + [ + "1658307e.f7c1e", + "d3a1f175.6b3b3" + ] + ] + }, + { + "id":"1658307e.f7c1e", + "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":1641.0001335144043, + "y":579.3331460952759, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"d3a1f175.6b3b3", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site2_networkName`\">\n", + "comments":"", + "outputs":1, + "x":1606.0000343322754, + "y":645.333146572113, + "z":"47ab735d.a7360c", + "wires":[ + [ + "c14e96c.8f5af68" + ] + ] + }, + { + "id":"c14e96c.8f5af68", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1773.0001411437988, + "y":644.1902403831482, + "z":"47ab735d.a7360c", + "wires":[ + [ + "d3b1b6c2.9459b8" + ] + ] + }, + { + "id":"d3b1b6c2.9459b8", + "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":1945.428867340088, + "y":644.1902394294739, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"a1c6afab.017d9", + "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":1225.3333282470703, + "y":710.83371925354, + "z":"47ab735d.a7360c", + "wires":[ + [ + "a9bc0844.f2eaf8" + ] + ] + }, + { + "id":"a9bc0844.f2eaf8", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1430.3333282470703, + "y":709.83371925354, + "z":"47ab735d.a7360c", + "wires":[ + [ + "5bbbca15.5f16f4", + "51615f09.7cd5" + ] + ] + }, + { + "id":"5bbbca15.5f16f4", + "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":1618.333251953125, + "y":711, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"51615f09.7cd5", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site1_routerId`\">\n", + "comments":"", + "outputs":1, + "x":1603.333152770996, + "y":777.0000004768372, + "z":"47ab735d.a7360c", + "wires":[ + [ + "5c8e20c7.731dc" + ] + ] + }, + { + "id":"5c8e20c7.731dc", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1770.3332595825195, + "y":775.8570942878723, + "z":"47ab735d.a7360c", + "wires":[ + [ + "dc036fc4.b3148" + ] + ] + }, + { + "id":"dc036fc4.b3148", + "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":1942.7619857788086, + "y":775.857093334198, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"ca9364d2.2f4418", + "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":1231.333251953125, + "y":833, + "z":"47ab735d.a7360c", + "wires":[ + [ + "3ff6c495.85cb0c" + ] + ] + }, + { + "id":"3ff6c495.85cb0c", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1436.333251953125, + "y":832, + "z":"47ab735d.a7360c", + "wires":[ + [ + "22ffcf96.237c7", + "5abc130e.c8a7ec" + ] + ] + }, + { + "id":"22ffcf96.237c7", + "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":1624.3331756591797, + "y":833.16628074646, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"5abc130e.c8a7ec", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site2_routerId`\">\n", + "comments":"", + "outputs":1, + "x":1609.3330764770508, + "y":899.1662812232971, + "z":"47ab735d.a7360c", + "wires":[ + [ + "11b34474.2a006c" + ] + ] + }, + { + "id":"11b34474.2a006c", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1776.3331832885742, + "y":898.0233750343323, + "z":"47ab735d.a7360c", + "wires":[ + [ + "3492baf9.c74166" + ] + ] + }, + { + "id":"3492baf9.c74166", + "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":1948.7619094848633, + "y":898.023374080658, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"979386d3.b24028", + "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":1622.333251953125, + "y":955, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"26bcb080.9de85", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site1_importRT1`\">\n", + "comments":"", + "outputs":1, + "x":1607.333152770996, + "y":1021.0000004768372, + "z":"47ab735d.a7360c", + "wires":[ + [ + "ef415eca.43e4c" + ] + ] + }, + { + "id":"ef415eca.43e4c", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1774.3332595825195, + "y":1019.8570942878723, + "z":"47ab735d.a7360c", + "wires":[ + [ + "86ecacf6.62cbf" + ] + ] + }, + { + "id":"86ecacf6.62cbf", + "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":1946.7619857788086, + "y":1019.857093334198, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"18c864fe.2d77ab", + "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":1234, + "y":1073.333251953125, + "z":"47ab735d.a7360c", + "wires":[ + [ + "ed82852f.fe5c18" + ] + ] + }, + { + "id":"ed82852f.fe5c18", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1436, + "y":1072.333251953125, + "z":"47ab735d.a7360c", + "wires":[ + [ + "d6046005.c3e8f", + "f99cbbe6.ae2498" + ] + ] + }, + { + "id":"d6046005.c3e8f", + "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":1619.7141189575195, + "y":1073.2138023376465, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"f99cbbe6.ae2498", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site2_importRT1`\">\n", + "comments":"", + "outputs":1, + "x":1604.7140197753906, + "y":1139.2138028144836, + "z":"47ab735d.a7360c", + "wires":[ + [ + "8c236b10.143bc8" + ] + ] + }, + { + "id":"8c236b10.143bc8", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1771.714126586914, + "y":1138.0708966255188, + "z":"47ab735d.a7360c", + "wires":[ + [ + "bea6a75d.110d08" + ] + ] + }, + { + "id":"bea6a75d.110d08", + "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":1944.1428527832031, + "y":1138.0708956718445, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"7a713e79.f07e5", + "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":1628, + "y":1194.6666259765625, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"cc5ed7e8.5ea2b8", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site1_exportRT1`\">\n", + "comments":"", + "outputs":1, + "x":1612.999900817871, + "y":1260.6666264533997, + "z":"47ab735d.a7360c", + "wires":[ + [ + "86630450.14c6c8" + ] + ] + }, + { + "id":"86630450.14c6c8", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1780.0000076293945, + "y":1259.5237202644348, + "z":"47ab735d.a7360c", + "wires":[ + [ + "468368dd.119d68" + ] + ] + }, + { + "id":"468368dd.119d68", + "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":1952.4287338256836, + "y":1259.5237193107605, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"f8675cad.a9a8b", + "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":1234, + "y":1322.6666259765625, + "z":"47ab735d.a7360c", + "wires":[ + [ + "7c5b768c.6c5ba8" + ] + ] + }, + { + "id":"7c5b768c.6c5ba8", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1430, + "y":1319.6666259765625, + "z":"47ab735d.a7360c", + "wires":[ + [ + "632409be.2fe268", + "ac332471.3b3248" + ] + ] + }, + { + "id":"632409be.2fe268", + "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":1627.380786895752, + "y":1320.213830947876, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"ac332471.3b3248", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site1_exportRT2`\">\n", + "comments":"", + "outputs":1, + "x":1612.380687713623, + "y":1386.2138314247131, + "z":"47ab735d.a7360c", + "wires":[ + [ + "aa9c2541.4a4bd8" + ] + ] + }, + { + "id":"aa9c2541.4a4bd8", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1779.3807945251465, + "y":1385.0709252357483, + "z":"47ab735d.a7360c", + "wires":[ + [ + "b786e793.f56c18" + ] + ] + }, + { + "id":"b786e793.f56c18", + "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":1951.8095207214355, + "y":1385.070924282074, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"6a2f200.8e65de", + "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":1621.333251953125, + "y":1451, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"4214073.a9e53f8", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site1_vni`\">\n", + "comments":"", + "outputs":1, + "x":1606.333152770996, + "y":1517.0000004768372, + "z":"47ab735d.a7360c", + "wires":[ + [ + "83c7c713.88af68" + ] + ] + }, + { + "id":"83c7c713.88af68", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1773.3332595825195, + "y":1515.8570942878723, + "z":"47ab735d.a7360c", + "wires":[ + [ + "a4f203d2.7ca8" + ] + ] + }, + { + "id":"a4f203d2.7ca8", + "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":1945.7619857788086, + "y":1515.857093334198, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"c93315a.3d905e8", + "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":1219.0001831054688, + "y":1579.0001740455627, + "z":"47ab735d.a7360c", + "wires":[ + [ + "ef47961a.8fd608" + ] + ] + }, + { + "id":"ef47961a.8fd608", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1418.0001792907715, + "y":1579.000193119049, + "z":"47ab735d.a7360c", + "wires":[ + [ + "7976c64e.576738", + "835fae91.9704a" + ] + ] + }, + { + "id":"7976c64e.576738", + "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":1625.7142868041992, + "y":1583.8806405067444, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"835fae91.9704a", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.site2_vni`\">\n", + "comments":"", + "outputs":1, + "x":1610.7141876220703, + "y":1649.8806409835815, + "z":"47ab735d.a7360c", + "wires":[ + [ + "88d0a6fa.f7ddb8" + ] + ] + }, + { + "id":"88d0a6fa.f7ddb8", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1777.7142944335938, + "y":1648.7377347946167, + "z":"47ab735d.a7360c", + "wires":[ + [ + "4e2d2d8e.6e8494" + ] + ] + }, + { + "id":"4e2d2d8e.6e8494", + "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":1950.1430206298828, + "y":1648.7377338409424, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"5e4cd98f.ace3e8", + "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":1227.4997482299805, + "y":1704.5002737045288, + "z":"47ab735d.a7360c", + "wires":[ + [ + "60d09a1d.8eacd4" + ] + ] + }, + { + "id":"60d09a1d.8eacd4", + "type":"outcomeTrue", + "name":"true", + "xml":"<outcome value='true'>\n", + "comments":"", + "outputs":1, + "x":1433.4997482299805, + "y":1704.5002737045288, + "z":"47ab735d.a7360c", + "wires":[ + [ + "39b6c0a.d67614", + "8a998b80.e315c8" + ] + ] + }, + { + "id":"39b6c0a.d67614", + "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":1620.499771118164, + "y":1705.5004272460938, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"8a998b80.e315c8", + "type":"switchNode", + "name":"switch value", + "xml":"<switch test=\"`$validate.dci-connects.tunnelType`\">\n", + "comments":"", + "outputs":1, + "x":1613, + "y":1775, + "z":"47ab735d.a7360c", + "wires":[ + [ + "bdc574b6.8b53a8" + ] + ] + }, + { + "id":"bdc574b6.8b53a8", + "type":"outcome", + "name":"NULL", + "xml":"<outcome value=''>", + "comments":"", + "outputs":1, + "x":1780.0001068115234, + "y":1773.8570938110352, + "z":"47ab735d.a7360c", + "wires":[ + [ + "97d6982d.d730f8" + ] + ] + }, + { + "id":"97d6982d.d730f8", + "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":1952.4288330078125, + "y":1773.8570928573608, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"f21b1a5d.f4c3d8", + "type":"comment", + "name":"TODO: optimize the activate by using parameter assignment here", + "info":"", + "comments":"", + "x":1065.6666870117188, + "y":45.666683197021484, + "z":"47ab735d.a7360c", + "wires":[ + + ] + }, + { + "id":"a976418d.bf0e8", + "type":"block", + "name":"block validate", + "xml":"<block atomic=\"true\">\n", + "atomic":"false", + "comments":"", + "outputs":1, + "x":540.6666793823242, + "y":287.666672706604, + "z":"47ab735d.a7360c", + "wires":[ + [ + "bd4a5cad.24385", + "1f0e911e.e29fcf", + "23001689.a4dc8a" + ] + ] + } +]
\ No newline at end of file |