[
{
- "id": "12b79dd.fcf1ae2",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 80,
- "y": 85.76192092895508,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"fa4ef6c1.4eb578",
+ "type":"dgstart",
+ "name":"DGSTART",
+ "outputs":1,
+ "x":79.66666412353516,
+ "y":118.0478286743164,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "45289095.8730c"
+ "ca5f7f5c.05d2"
]
]
},
{
- "id": "45289095.8730c",
- "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": 325.2857131958008,
- "y": 85,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"ca5f7f5c.05d2",
+ "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":324.95237731933594,
+ "y":117.28590774536133,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "54e5c542.fd5504"
+ "8645455c.b98c28"
]
]
},
{
- "id": "54e5c542.fd5504",
- "type": "method",
- "name": "method validate-network-input-parameters",
- "xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 282.91668701171875,
- "y": 160.0149383544922,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"8645455c.b98c28",
+ "type":"method",
+ "name":"method validate-network-input-parameters",
+ "xml":"<method rpc='validate-network-input-parameters' mode='sync'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":282.5833511352539,
+ "y":192.30084609985352,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "4aa39923.928d98"
+ "9b7f7c48.ea161"
]
]
},
{
- "id": "4aa39923.928d98",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 566.9166946411133,
- "y": 148.0149631500244,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"9b7f7c48.ea161",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":566.5833587646484,
+ "y":180.30087089538574,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "588fd95a.bd649",
- "3dc5112.e6e5c6e"
+ "e6ff88ab.904e18",
+ "ddfba2e8.a63b3"
]
]
},
{
- "id": "588fd95a.bd649",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 847.9166946411133,
- "y": 143.01494884490967,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"e6ff88ab.904e18",
+ "type":"switchNode",
+ "name":"switch svc-action",
+ "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":847.5833587646484,
+ "y":175.300856590271,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "bea9cc02.adf488"
+ "4f39bff8.da67"
]
]
},
{
- "id": "bea9cc02.adf488",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1038.6309967041016,
- "y": 144.01494979858398,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"4f39bff8.da67",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":1038.2976608276367,
+ "y":176.3008575439453,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "c0743608.2f921"
+ "a348b04f.fc644"
]
]
},
{
- "id": "c0743608.2f921",
- "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": 1213.0595474243164,
- "y": 143.01494216918945,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"a348b04f.fc644",
+ "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":1212.7262115478516,
+ "y":175.30084991455078,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
},
{
- "id": "3dc5112.e6e5c6e",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 148.91664123535156,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"ddfba2e8.a63b3",
+ "type":"switchNode",
+ "name":"switch svc-action",
+ "xml":"<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":148.58330535888672,
+ "y":451.30087089538574,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "3acc66b9.f1e56a",
- "69b2a932.e384a",
- "48c30fe1.37ee2",
- "3a0a08f8.ab065"
+ "6e77eb2e.738e04",
+ "e71878f5.f29958",
+ "9addc920.903ef8",
+ "428444e0.ca842c",
+ "55e08239.49f15c"
]
]
},
{
- "id": "3acc66b9.f1e56a",
- "type": "outcome",
- "name": "assign",
- "xml": "<outcome value='assign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 350.4167251586914,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"6e77eb2e.738e04",
+ "type":"outcome",
+ "name":"create",
+ "xml":"<outcome value='create'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":350.08338928222656,
+ "y":451.30087089538574,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "3f05f182.7a112e"
+ "89568ddf.5b471"
]
]
},
{
- "id": "3f05f182.7a112e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 516.4167327880859,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"89568ddf.5b471",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":516.0833969116211,
+ "y":451.30087089538574,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "4000702f.bf217"
+ "f6c08df5.6fb1"
]
]
},
{
- "id": "b0353d83.d95fc8",
- "type": "for",
- "name": "for loop i - Network input parameters",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 839.9165649414062,
- "y": 457.01495361328125,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"6c4b1b37.01f564",
+ "type":"for",
+ "name":"for loop i - Network input parameters",
+ "xml":"<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
+ "comments":"",
+ "outputs":1,
+ "x":1715.2975387573242,
+ "y":115.01514053344727,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "4b65836a.da71a4"
+ "e6126a8f.3bd648"
]
]
},
{
- "id": "314ef392.5c55f4",
- "type": "switchNode",
- "name": "switch value",
- "xml": "<switch test=\"`$tmp.value`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1434.9166259765625,
- "y": 831.0149536132812,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"29338172.3d043e",
+ "type":"switchNode",
+ "name":"switch value",
+ "xml":"<switch test=\"`$tmp.value`\">\n",
+ "comments":"",
+ "outputs":1,
+ "x":2568.8688888549805,
+ "y":369.01511573791504,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "43c9362d.7e85f8"
+ "612b673.300ba98"
]
]
},
{
- "id": "43c9362d.7e85f8",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1651.9165992736816,
- "y": 830.0149593353271,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"612b673.300ba98",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":2785.8688621520996,
+ "y":368.01512145996094,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "ca90525c.72c9e"
+ "7afa06c2.9e5448"
]
]
},
{
- "id": "ca90525c.72c9e",
- "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": 1830.345314025879,
- "y": 831.0149593353271,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"7afa06c2.9e5448",
+ "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.param '+ $tmp.name +' is a required input'\" />\n",
+ "comments":"",
+ "x":2964.297576904297,
+ "y":369.01512145996094,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
},
{
- "id": "69b2a932.e384a",
- "type": "outcome",
- "name": "deactivate",
- "xml": "<outcome value='deactivate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 356.9999771118164,
- "y": 495.76191806793213,
- "z": "c6f0d3f1.455d9",
- "wires": [
- []
+ "id":"e71878f5.f29958",
+ "type":"outcome",
+ "name":"deactivate",
+ "xml":"<outcome value='deactivate'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":352.38094329833984,
+ "y":609.4763984680176,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "239b0e93.1dcdc2"
+ ]
+ ]
+ },
+ {
+ "id":"9addc920.903ef8",
+ "type":"outcome",
+ "name":"delete",
+ "xml":"<outcome value='delete'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":356.0953254699707,
+ "y":780.1909561157227,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "f1a885d0.8cce28"
+ ]
]
},
{
- "id": "48c30fe1.37ee2",
- "type": "outcome",
- "name": "delete",
- "xml": "<outcome value='delete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 343.5715103149414,
- "y": 551.0478391647339,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"428444e0.ca842c",
+ "type":"other",
+ "name":"other",
+ "xml":"<outcome value='Other'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":353.85720443725586,
+ "y":734.6192245483398,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "519b9637.7e3388"
+ "e64ba27d.4c375"
]
]
},
{
- "id": "3a0a08f8.ab065",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 345.6190757751465,
- "y": 606.9047303199768,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"e64ba27d.4c375",
+ "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":507.4287796020508,
+ "y":737.2383685112,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"e6126a8f.3bd648",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":1593.3809127807617,
+ "y":261.76208877563477,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "1c01820.787e0fe"
+ "ccd87bc0.9164f8",
+ "cb2894ec.bd74d8",
+ "6058dc0f.f41074"
]
]
},
{
- "id": "1c01820.787e0fe",
- "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": 499.1906509399414,
- "y": 609.5238742828369,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"f6c08df5.6fb1",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":841.6666793823242,
+ "y":340.71449851989746,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "a05b6ee5.e1145",
+ "5ba95b98.5de334"
+ ]
+ ]
},
{
- "id": "4b65836a.da71a4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 717.9999389648438,
- "y": 603.7619018554688,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"a05b6ee5.e1145",
+ "type":"other",
+ "name":"CreateNetworkInstance",
+ "xml":"<outcome value='CreateNetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":1107.6666793823242,
+ "y":299.71449851989746,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "c0a12daa.de711",
- "79c7c0f2.75db1",
- "70c07e94.b958b"
+ "90527be5.0854c8"
]
]
},
{
- "id": "4000702f.bf217",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 472,
- "y": 307,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"5ba95b98.5de334",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":1061.6666793823242,
+ "y":349.71449851989746,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "7fc21ed9.84ecc",
- "2b594f42.596858"
+ "df81cf43.83855"
]
]
},
{
- "id": "7fc21ed9.84ecc",
- "type": "other",
- "name": "CreateNetworkInstance",
- "xml": "<outcome value='CreateNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 738,
- "y": 266,
- "z": "c6f0d3f1.455d9",
- "wires": [
- [
- "b93efadc.2a7b98"
- ]
- ]
- },
- {
- "id": "2b594f42.596858",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 692,
- "y": 316,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"df81cf43.83855",
+ "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 CreateNetworkInstance for svc-action=create\" />\n",
+ "comments":"",
+ "x":1230.6666793823242,
+ "y":349.71449851989746,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"90527be5.0854c8",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":1332.6666793823242,
+ "y":288.71449851989746,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "38f5f946.300656"
+ "6c4b1b37.01f564"
]
]
},
{
- "id": "38f5f946.300656",
- "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 CreateNetworkInstance for svc-action=assign\" />\n",
- "comments": "",
- "x": 861,
- "y": 316,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"ccd87bc0.9164f8",
+ "type":"set",
+ "name":"clear tmp-data",
+ "xml":"<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
+ "comments":"",
+ "x":1785.380973815918,
+ "y":216.00018692016602,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"cb2894ec.bd74d8",
+ "type":"set",
+ "name":"set tmp-data",
+ "xml":"<set>\n<parameter name='tmp.name' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'\"/>\n<parameter name='tmp.value' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'\"/>\n",
+ "comments":"",
+ "x":1774.380973815918,
+ "y":306.000186920166,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"6058dc0f.f41074",
+ "type":"switchNode",
+ "name":"switch name",
+ "xml":"<switch test=\"'$tmp.name'\">\n",
+ "comments":"",
+ "outputs":1,
+ "x":1753.380973815918,
+ "y":400.000186920166,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "225fa6e2.e42a6a",
+ "b1cea899.45bb78",
+ "b9c18c6.d77387",
+ "3d722919.f81306",
+ "7b7495f0.75885c",
+ "588a0bcd.6eb034",
+ "c510015f.64592",
+ "2187bd96.9aa5b2",
+ "10a4fa76.533046",
+ "f5abb1ff.c1ae",
+ "a7b43175.17a1e",
+ "7088b07a.e19a",
+ "6b511ebf.25f2b",
+ "77d1b8f5.2028a8",
+ "e96ec4f5.f46868",
+ "25d82e93.97f172",
+ "2c0ed5ac.b6f0aa"
+ ]
+ ]
+ },
+ {
+ "id":"225fa6e2.e42a6a",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":2292.952262878418,
+ "y":903.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "9eb7590.5f32fa8"
+ ]
+ ]
+ },
+ {
+ "id":"9eb7590.5f32fa8",
+ "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":2467.952262878418,
+ "y":902.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"b1cea899.45bb78",
+ "type":"other",
+ "name":"name",
+ "xml":"<outcome value='name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2269.952262878418,
+ "y":25.00016212463379,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "29338172.3d043e"
+ ]
+ ]
},
{
- "id": "b93efadc.2a7b98",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 963,
- "y": 255,
- "z": "c6f0d3f1.455d9",
- "wires": [
- [
- "b0353d83.d95fc8"
- ]
- ]
- },
- {
- "id": "2b9e6137.bb0cbe",
- "type": "comment",
- "name": "TODO: need to identify underlay or overlay",
- "info": "",
- "comments": "",
- "x": 969,
- "y": 219,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"b9c18c6.d77387",
+ "type":"other",
+ "name":"service-type",
+ "xml":"<outcome value='service-type'>",
+ "comments":"",
+ "outputs":1,
+ "x":2272.952262878418,
+ "y":92.00016212463379,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "29338172.3d043e"
+ ]
+ ]
},
{
- "id": "c0a12daa.de711",
- "type": "set",
- "name": "clear tmp-data",
- "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
- "comments": "",
- "x": 910,
- "y": 558,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"c510015f.64592",
+ "type":"other",
+ "name":"sna2_name",
+ "xml":"<outcome value='sna2_name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2276.952262878418,
+ "y":321.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "29338172.3d043e"
+ ]
+ ]
},
{
- "id": "79c7c0f2.75db1",
- "type": "set",
- "name": "set tmp-data",
- "xml": "<set>\n<parameter name='tmp.name' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'\"/>\n<parameter name='tmp.value' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'\"/>\n",
- "comments": "",
- "x": 899,
- "y": 648,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"3d722919.f81306",
+ "type":"other",
+ "name":"site1-name",
+ "xml":"<outcome value='site1-name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2273.952262878418,
+ "y":153.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "29338172.3d043e"
+ ]
+ ]
},
{
- "id": "70c07e94.b958b",
- "type": "switchNode",
- "name": "switch name",
- "xml": "<switch test=\"'$tmp.name'\">\n",
- "comments": "",
- "outputs": 1,
- "x": 878,
- "y": 742,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"7b7495f0.75885c",
+ "type":"other",
+ "name":"site2-name",
+ "xml":"<outcome value='site2-name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2269.952262878418,
+ "y":210.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "b4dc69ff.a7ed1",
- "bbb21dd0.0748a",
- "646ea6b1.a2f9c8",
- "439d167a.8c5ac",
- "c1518ab4.108de8",
- "b9d1292c.a326b",
- "2a37f01.a563d1",
- "1df27ff7.9e57b8",
- "eb7c110.2f93df",
- "f3eead68.9da5e",
- "6b17cb91.28e614",
- "3b3dd1c9.f1275e",
- "6e7d7d1.8e50d04",
- "e757b031.dd60f8",
- "c7f4e328.7b4c7",
- "55fe09c4.76bd78",
- "5b95ca17.0b84a4"
+ "29338172.3d043e"
]
]
},
{
- "id": "b4dc69ff.a7ed1",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1159,
- "y": 1365,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"588a0bcd.6eb034",
+ "type":"other",
+ "name":"sna1_name",
+ "xml":"<outcome value='sna1_name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2272.952262878418,
+ "y":267.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "72bd50f1.643c"
+ "29338172.3d043e"
]
]
},
{
- "id": "72bd50f1.643c",
- "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": 1334,
- "y": 1364,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"2187bd96.9aa5b2",
+ "type":"other",
+ "name":"pe1_id",
+ "xml":"<outcome value='pe1_id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2276.952262878418,
+ "y":372.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "29338172.3d043e"
+ ]
+ ]
},
{
- "id": "bbb21dd0.0748a",
- "type": "other",
- "name": "name",
- "xml": "<outcome value='name'>",
- "comments": "",
- "outputs": 1,
- "x": 1136,
- "y": 487,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"10a4fa76.533046",
+ "type":"other",
+ "name":"pe2_id",
+ "xml":"<outcome value='pe2_id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2279.952262878418,
+ "y":420.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "29338172.3d043e"
]
]
},
{
- "id": "646ea6b1.a2f9c8",
- "type": "other",
- "name": "service-type",
- "xml": "<outcome value='service-type'>",
- "comments": "",
- "outputs": 1,
- "x": 1139,
- "y": 554,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"f5abb1ff.c1ae",
+ "type":"other",
+ "name":"ac1-id",
+ "xml":"<outcome value='ac1-id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2284.952262878418,
+ "y":469.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "29338172.3d043e"
]
]
},
{
- "id": "2a37f01.a563d1",
- "type": "other",
- "name": "sna2_name",
- "xml": "<outcome value='sna2_name'>",
- "comments": "",
- "outputs": 1,
- "x": 1143,
- "y": 783,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"a7b43175.17a1e",
+ "type":"other",
+ "name":"ac2-id",
+ "xml":"<outcome value='ac2-id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2286.952262878418,
+ "y":524.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "29338172.3d043e"
]
]
},
{
- "id": "439d167a.8c5ac",
- "type": "other",
- "name": "site1-name",
- "xml": "<outcome value='site1-name'>",
- "comments": "",
- "outputs": 1,
- "x": 1140,
- "y": 615,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"7088b07a.e19a",
+ "type":"other",
+ "name":"ac1-ip",
+ "xml":"<outcome value='ac1-ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2286.952262878418,
+ "y":576.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "29338172.3d043e"
]
]
},
{
- "id": "c1518ab4.108de8",
- "type": "other",
- "name": "site2-name",
- "xml": "<outcome value='site2-name'>",
- "comments": "",
- "outputs": 1,
- "x": 1136,
- "y": 672,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"6b511ebf.25f2b",
+ "type":"other",
+ "name":"ac2-ip",
+ "xml":"<outcome value='ac2-ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2288.952262878418,
+ "y":637.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "29338172.3d043e"
]
]
},
{
- "id": "b9d1292c.a326b",
- "type": "other",
- "name": "sna1_name",
- "xml": "<outcome value='sna1_name'>",
- "comments": "",
- "outputs": 1,
- "x": 1139,
- "y": 729,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"77d1b8f5.2028a8",
+ "type":"other",
+ "name":"ac1_peer_ip",
+ "xml":"<outcome value='ac1_peer_ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2290.952262878418,
+ "y":687.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "29338172.3d043e"
]
]
},
{
- "id": "1df27ff7.9e57b8",
- "type": "other",
- "name": "pe1_id",
- "xml": "<outcome value='pe1_id'>",
- "comments": "",
- "outputs": 1,
- "x": 1143,
- "y": 834,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"e96ec4f5.f46868",
+ "type":"other",
+ "name":"ac2_peer_ip",
+ "xml":"<outcome value='ac2_peer_ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2286.952262878418,
+ "y":735.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "29338172.3d043e"
]
]
},
{
- "id": "eb7c110.2f93df",
- "type": "other",
- "name": "pe2_id",
- "xml": "<outcome value='pe2_id'>",
- "comments": "",
- "outputs": 1,
- "x": 1146,
- "y": 882,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"25d82e93.97f172",
+ "type":"other",
+ "name":"ac1_svlan",
+ "xml":"<outcome value='ac1_svlan'>",
+ "comments":"",
+ "outputs":1,
+ "x":2288.952262878418,
+ "y":788.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "29338172.3d043e"
]
]
},
{
- "id": "f3eead68.9da5e",
- "type": "other",
- "name": "ac1-id",
- "xml": "<outcome value='ac1-id'>",
- "comments": "",
- "outputs": 1,
- "x": 1151,
- "y": 931,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"2c0ed5ac.b6f0aa",
+ "type":"other",
+ "name":"ac2_svlan",
+ "xml":"<outcome value='ac2_svlan'>",
+ "comments":"",
+ "outputs":1,
+ "x":2290.952262878418,
+ "y":849.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "29338172.3d043e"
]
]
},
{
- "id": "6b17cb91.28e614",
- "type": "other",
- "name": "ac2-id",
- "xml": "<outcome value='ac2-id'>",
- "comments": "",
- "outputs": 1,
- "x": 1153,
- "y": 986,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"f1a885d0.8cce28",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":287.23809814453125,
+ "y":861.8574056625366,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "53246327.3f169c",
+ "4ad8f670.2e7cb8"
]
]
},
{
- "id": "3b3dd1c9.f1275e",
- "type": "other",
- "name": "ac1-ip",
- "xml": "<outcome value='ac1-ip'>",
- "comments": "",
- "outputs": 1,
- "x": 1153,
- "y": 1038,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"53246327.3f169c",
+ "type":"other",
+ "name":"DeleteNetworkInstance",
+ "xml":"<outcome value='DeleteNetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":302.95238876342773,
+ "y":917.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "b6255d3e.ce53d"
]
]
},
{
- "id": "6e7d7d1.8e50d04",
- "type": "other",
- "name": "ac2-ip",
- "xml": "<outcome value='ac2-ip'>",
- "comments": "",
- "outputs": 1,
- "x": 1155,
- "y": 1099,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"4ad8f670.2e7cb8",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":256.95238876342773,
+ "y":967.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "5f2c6750.3bbae8"
]
]
},
{
- "id": "e757b031.dd60f8",
- "type": "other",
- "name": "ac1_peer_ip",
- "xml": "<outcome value='ac1_peer_ip'>",
- "comments": "",
- "outputs": 1,
- "x": 1157,
- "y": 1149,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"5f2c6750.3bbae8",
+ "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":425.95238876342773,
+ "y":967.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"b6255d3e.ce53d",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":527.9523887634277,
+ "y":906.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "6d8480b4.bbdb8"
]
]
},
{
- "id": "c7f4e328.7b4c7",
- "type": "other",
- "name": "ac2_peer_ip",
- "xml": "<outcome value='ac2_peer_ip'>",
- "comments": "",
- "outputs": 1,
- "x": 1153,
- "y": 1197,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"6d8480b4.bbdb8",
+ "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",
+ "comments":"",
+ "outputs":1,
+ "x":349.95238876342773,
+ "y":1061.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "30a4ecd8.0d1034"
]
]
},
{
- "id": "55fe09c4.76bd78",
- "type": "other",
- "name": "ac1_svlan",
- "xml": "<outcome value='ac1_svlan'>",
- "comments": "",
- "outputs": 1,
- "x": 1155,
- "y": 1250,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"30a4ecd8.0d1034",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":342.95238876342773,
+ "y":1146.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "c6454200.70fda"
]
]
},
{
- "id": "5b95ca17.0b84a4",
- "type": "other",
- "name": "ac2_svlan",
- "xml": "<outcome value='ac2_svlan'>",
- "comments": "",
- "outputs": 1,
- "x": 1157,
- "y": 1311,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"c6454200.70fda",
+ "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":525.9523887634277,
+ "y":1139.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "314ef392.5c55f4"
+ "f7a7412d.0d646"
]
]
},
{
- "id": "519b9637.7e3388",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 259,
- "y": 787,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"f7a7412d.0d646",
+ "type":"outcomeTrue",
+ "name":"true",
+ "xml":"<outcome value='true'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":706.9523887634277,
+ "y":1138.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "6d7e792f.c1a048",
- "39ec9624.c1c9f2"
+ "8bfc5d6c.baf0e"
]
]
},
{
- "id": "6d7e792f.c1a048",
- "type": "other",
- "name": "DeleteNetworkInstance",
- "xml": "<outcome value='DeleteNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 269,
- "y": 943,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"8bfc5d6c.baf0e",
+ "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":870.9523887634277,
+ "y":1138.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "7a441aab.52e274"
+ "6c6337cf.113798"
]
]
},
{
- "id": "39ec9624.c1c9f2",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 223,
- "y": 993,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"6c6337cf.113798",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":739.9523887634277,
+ "y":1262.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "a475643c.1d776"
+ "e60613b0.6ba12"
]
]
},
{
- "id": "a475643c.1d776",
- "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 CreateNetworkInstance for svc-action=assign\" />\n",
- "comments": "",
- "x": 392,
- "y": 993,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"e60613b0.6ba12",
+ "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":918.381103515625,
+ "y":1263.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
},
{
- "id": "7a441aab.52e274",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 494,
- "y": 932,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"55e08239.49f15c",
+ "type":"outcome",
+ "name":"activate",
+ "xml":"<outcome value='activate'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":351.0952339172363,
+ "y":543.7621412277222,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "b0dc9dd7.cd7488"
+ "b69a14cd.1d3d68"
]
]
},
{
- "id": "b0dc9dd7.cd7488",
- "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",
- "comments": "",
- "outputs": 1,
- "x": 316,
- "y": 1087,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"b69a14cd.1d3d68",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":533.9524002075195,
+ "y":540.9049911499023,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "89793fd8.cbbfd8"
+ "d54c9f22.ae97d",
+ "b12bd94e.696e48"
]
]
},
{
- "id": "89793fd8.cbbfd8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 309,
- "y": 1172,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"d54c9f22.ae97d",
+ "type":"other",
+ "name":"ActivateDCINetworkInstance",
+ "xml":"<outcome value='ActivateDCINetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":799.9524002075195,
+ "y":499.90499114990234,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "43f4742.1d37e0c"
+ "cf772b80.a4cba8"
]
]
},
{
- "id": "43f4742.1d37e0c",
- "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": 492,
- "y": 1165,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"b12bd94e.696e48",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":753.9524002075195,
+ "y":549.9049911499023,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "a693d56e.072fb"
+ "bef2ee40.874af"
]
]
},
{
- "id": "a693d56e.072fb",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 673,
- "y": 1164,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"bef2ee40.874af",
+ "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 ActivateNetworkInstance for svc-action=activate\" />\n",
+ "comments":"",
+ "x":922.9524002075195,
+ "y":549.9049911499023,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"cf772b80.a4cba8",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":1024.9524002075195,
+ "y":488.90499114990234,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "41bb92ce.69dfe4"
+ "36dbd61d.c5357a"
]
]
},
{
- "id": "41bb92ce.69dfe4",
- "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": 837,
- "y": 1164,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"8b8b3296.f79f8",
+ "type":"other",
+ "name":"DeActivateDCINetworkInstance",
+ "xml":"<outcome value='DeActivateDCINetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":795.8095703125,
+ "y":611.1907920837402,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "659b92d9.633a14"
+
]
]
},
{
- "id": "659b92d9.633a14",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 706,
- "y": 1288,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"c54688aa.82e958",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":710.8095626831055,
+ "y":680.1907997131348,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "7bbbb2a1.5d8cb4"
+ "d62ac2c7.17544"
]
]
},
{
- "id": "7bbbb2a1.5d8cb4",
- "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": 884.4287147521973,
- "y": 1289,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"d62ac2c7.17544",
+ "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 DeactivateNetworkInstance for svc-action=deactivate\" />\n",
+ "comments":"",
+ "x":891.8095779418945,
+ "y":681.1907997131348,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"36dbd61d.c5357a",
+ "type":"call",
+ "name":"call validate-overlay-network-input-parameters",
+ "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
+ "comments":"",
+ "outputs":1,
+ "x":1332.8177337646484,
+ "y":490.333514213562,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"239b0e93.1dcdc2",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":532.6666259765625,
+ "y":611.6666259765625,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "8b8b3296.f79f8",
+ "c54688aa.82e958"
+ ]
+ ]
}
-]
+]
\ No newline at end of file