[
{
- "id":"da317618.54edf8",
+ "id":"fa4ef6c1.4eb578",
"type":"dgstart",
"name":"DGSTART",
"outputs":1,
- "x":102.515625,
- "y":113.04766654968262,
- "z":"bc976c53.f1a79",
+ "x":79.66666412353516,
+ "y":118.0478286743164,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "20ee17f7.cfbc68"
+ "ca5f7f5c.05d2"
]
]
},
{
- "id":"20ee17f7.cfbc68",
+ "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.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}'>",
+ "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":347.8013381958008,
- "y":112.28574562072754,
- "z":"bc976c53.f1a79",
+ "x":324.95237731933594,
+ "y":117.28590774536133,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "5a68f7e0.593d38"
+ "8645455c.b98c28"
]
]
},
{
- "id":"5a68f7e0.593d38",
+ "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":305.43231201171875,
- "y":187.30068397521973,
- "z":"bc976c53.f1a79",
+ "x":282.5833511352539,
+ "y":192.30084609985352,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "df4d604e.2ca72"
+ "9b7f7c48.ea161"
]
]
},
{
- "id":"df4d604e.2ca72",
+ "id":"9b7f7c48.ea161",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":589.4323196411133,
- "y":175.30070877075195,
- "z":"bc976c53.f1a79",
+ "x":566.5833587646484,
+ "y":180.30087089538574,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "638c95bd.8f466c",
- "420ecc0a.f3f174"
+ "e6ff88ab.904e18",
+ "ddfba2e8.a63b3"
]
]
},
{
- "id":"638c95bd.8f466c",
+ "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":870.4323196411133,
- "y":170.3006944656372,
- "z":"bc976c53.f1a79",
+ "x":847.5833587646484,
+ "y":175.300856590271,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "66d387c4.23de98"
+ "4f39bff8.da67"
]
]
},
{
- "id":"66d387c4.23de98",
+ "id":"4f39bff8.da67",
"type":"outcome",
"name":"NULL",
"xml":"<outcome value=''>",
"comments":"",
"outputs":1,
- "x":1061.1466217041016,
- "y":171.30069541931152,
- "z":"bc976c53.f1a79",
+ "x":1038.2976608276367,
+ "y":176.3008575439453,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "a7efa050.0eb13"
+ "a348b04f.fc644"
]
]
},
{
- "id":"a7efa050.0eb13",
+ "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":1235.5751724243164,
- "y":170.300687789917,
- "z":"bc976c53.f1a79",
+ "x":1212.7262115478516,
+ "y":175.30084991455078,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"420ecc0a.f3f174",
+ "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":171.43226623535156,
- "y":446.30070877075195,
- "z":"bc976c53.f1a79",
+ "x":148.58330535888672,
+ "y":451.30087089538574,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "a1c81a08.4a4658",
- "35262124.49e2ee",
- "8db39207.9cf42",
- "ac1f4d45.6379a",
- "50f9a48d.e072dc"
+ "6e77eb2e.738e04",
+ "e71878f5.f29958",
+ "9addc920.903ef8",
+ "428444e0.ca842c",
+ "55e08239.49f15c"
]
]
},
{
- "id":"a1c81a08.4a4658",
+ "id":"6e77eb2e.738e04",
"type":"outcome",
- "name":"assign",
- "xml":"<outcome value='assign'>\n",
+ "name":"create",
+ "xml":"<outcome value='create'>\n",
"comments":"",
"outputs":1,
- "x":372.9323501586914,
- "y":446.30070877075195,
- "z":"bc976c53.f1a79",
+ "x":350.08338928222656,
+ "y":451.30087089538574,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "7802f1ec.ca7d8"
+ "89568ddf.5b471"
]
]
},
{
- "id":"7802f1ec.ca7d8",
+ "id":"89568ddf.5b471",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":538.9323577880859,
- "y":446.30070877075195,
- "z":"bc976c53.f1a79",
+ "x":516.0833969116211,
+ "y":451.30087089538574,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "ea0957a5.857bf8"
+ "f6c08df5.6fb1"
]
]
},
{
- "id":"ef18ce39.3e51e",
+ "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":1738.146499633789,
- "y":110.01497840881348,
- "z":"bc976c53.f1a79",
+ "x":1715.2975387573242,
+ "y":115.01514053344727,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "80257d50.3b4d4"
+ "e6126a8f.3bd648"
]
]
},
{
- "id":"4a695b88.fdc594",
+ "id":"29338172.3d043e",
"type":"switchNode",
"name":"switch value",
"xml":"<switch test=\"`$tmp.value`\">\n",
"comments":"",
"outputs":1,
- "x":2591.7178497314453,
- "y":364.01495361328125,
- "z":"bc976c53.f1a79",
+ "x":2568.8688888549805,
+ "y":369.01511573791504,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "9ba44b0.d83ecb8"
+ "612b673.300ba98"
]
]
},
{
- "id":"9ba44b0.d83ecb8",
+ "id":"612b673.300ba98",
"type":"outcome",
"name":"NULL",
"xml":"<outcome value=''>",
"comments":"",
"outputs":1,
- "x":2808.7178230285645,
- "y":363.01495933532715,
- "z":"bc976c53.f1a79",
+ "x":2785.8688621520996,
+ "y":368.01512145996094,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "b0753bf8.b88448"
+ "7afa06c2.9e5448"
]
]
},
{
- "id":"b0753bf8.b88448",
+ "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.name is a required input\" />\n",
+ "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":2987.1465377807617,
- "y":364.01495933532715,
- "z":"bc976c53.f1a79",
+ "x":2964.297576904297,
+ "y":369.01512145996094,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"35262124.49e2ee",
+ "id":"e71878f5.f29958",
"type":"outcome",
"name":"deactivate",
"xml":"<outcome value='deactivate'>\n",
"comments":"",
"outputs":1,
- "x":375.2299041748047,
- "y":604.4762363433838,
- "z":"bc976c53.f1a79",
+ "x":352.38094329833984,
+ "y":609.4763984680176,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "e5333ad2.88c6a8"
+ "239b0e93.1dcdc2"
]
]
},
{
- "id":"8db39207.9cf42",
+ "id":"9addc920.903ef8",
"type":"outcome",
"name":"delete",
"xml":"<outcome value='delete'>\n",
"comments":"",
"outputs":1,
- "x":378.94428634643555,
- "y":931.1907939910889,
- "z":"bc976c53.f1a79",
+ "x":356.0953254699707,
+ "y":780.1909561157227,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "69b449f8.e0c4f8"
+ "f1a885d0.8cce28"
]
]
},
{
- "id":"ac1f4d45.6379a",
+ "id":"428444e0.ca842c",
"type":"other",
"name":"other",
"xml":"<outcome value='Other'>\n",
"comments":"",
"outputs":1,
- "x":376.7061653137207,
- "y":885.619062423706,
- "z":"bc976c53.f1a79",
+ "x":353.85720443725586,
+ "y":734.6192245483398,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "c57b3d6b.428a1"
+ "e64ba27d.4c375"
]
]
},
{
- "id":"c57b3d6b.428a1",
+ "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":530.2777404785156,
- "y":888.2382063865662,
- "z":"bc976c53.f1a79",
+ "x":507.4287796020508,
+ "y":737.2383685112,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"80257d50.3b4d4",
+ "id":"e6126a8f.3bd648",
"type":"block",
"name":"block",
"xml":"<block>\n",
"atomic":"false",
"comments":"",
"outputs":1,
- "x":1616.2298736572266,
- "y":256.761926651001,
- "z":"bc976c53.f1a79",
+ "x":1593.3809127807617,
+ "y":261.76208877563477,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "50315017.56b56",
- "1ffb5b62.b458c5",
- "846be723.9405f8"
+ "ccd87bc0.9164f8",
+ "cb2894ec.bd74d8",
+ "6058dc0f.f41074"
]
]
},
{
- "id":"ea0957a5.857bf8",
+ "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":864.5156402587891,
- "y":335.7143363952637,
- "z":"bc976c53.f1a79",
+ "x":841.6666793823242,
+ "y":340.71449851989746,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "6458f4b.5fda60c",
- "7c5ea13d.5b8e"
+ "a05b6ee5.e1145",
+ "5ba95b98.5de334"
]
]
},
{
- "id":"6458f4b.5fda60c",
+ "id":"a05b6ee5.e1145",
"type":"other",
"name":"CreateNetworkInstance",
"xml":"<outcome value='CreateNetworkInstance'>",
"comments":"",
"outputs":1,
- "x":1130.515640258789,
- "y":294.7143363952637,
- "z":"bc976c53.f1a79",
+ "x":1107.6666793823242,
+ "y":299.71449851989746,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "84eb81e3.dcb2d"
+ "90527be5.0854c8"
]
]
},
{
- "id":"7c5ea13d.5b8e",
+ "id":"5ba95b98.5de334",
"type":"other",
"name":"Other",
"xml":"<outcome value='Other'>",
"comments":"",
"outputs":1,
- "x":1084.515640258789,
- "y":344.7143363952637,
- "z":"bc976c53.f1a79",
+ "x":1061.6666793823242,
+ "y":349.71449851989746,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "f6d144fc.f801f8"
+ "df81cf43.83855"
]
]
},
{
- "id":"f6d144fc.f801f8",
+ "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=assign\" />\n",
+ "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":1253.515640258789,
- "y":344.7143363952637,
- "z":"bc976c53.f1a79",
+ "x":1230.6666793823242,
+ "y":349.71449851989746,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"84eb81e3.dcb2d",
+ "id":"90527be5.0854c8",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":1355.515640258789,
- "y":283.7143363952637,
- "z":"bc976c53.f1a79",
+ "x":1332.6666793823242,
+ "y":288.71449851989746,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "ef18ce39.3e51e"
+ "6c4b1b37.01f564"
]
]
},
{
- "id":"e0b5f19f.d9b45",
- "type":"comment",
- "name":"TODO: need to identify underlay or overlay",
- "info":"",
- "comments":"",
- "x":1100.087142944336,
- "y":243.42859649658203,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"50315017.56b56",
+ "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":1808.2299346923828,
- "y":211.00002479553223,
- "z":"bc976c53.f1a79",
+ "x":1785.380973815918,
+ "y":216.00018692016602,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"1ffb5b62.b458c5",
+ "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":1797.2299346923828,
- "y":301.0000247955322,
- "z":"bc976c53.f1a79",
+ "x":1774.380973815918,
+ "y":306.000186920166,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"846be723.9405f8",
+ "id":"6058dc0f.f41074",
"type":"switchNode",
"name":"switch name",
"xml":"<switch test=\"'$tmp.name'\">\n",
"comments":"",
"outputs":1,
- "x":1776.2299346923828,
- "y":395.0000247955322,
- "z":"bc976c53.f1a79",
+ "x":1753.380973815918,
+ "y":400.000186920166,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "45932bf.e6c01d4",
- "39a76082.5cc54",
- "6eae96bd.b54598",
- "fa0caaec.e45618",
- "ca5c1826.4817d8",
- "7792e369.1908ac",
- "13678c40.7cc714",
- "a2732629.f76cc8",
- "f2c5c3f2.76097",
- "54ca3e0b.56d18",
- "681149f1.d61ef8",
- "4bc98b71.a2aa84",
- "aff0f172.9ddbc",
- "d8ad234.fa86ce",
- "705971b7.939b3",
- "c8386139.7bc31",
- "382fe5b2.be669a"
+ "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":"45932bf.e6c01d4",
+ "id":"225fa6e2.e42a6a",
"type":"outcome",
"name":"NULL",
"xml":"<outcome value=''>",
"comments":"",
"outputs":1,
- "x":2315.801223754883,
- "y":898,
- "z":"bc976c53.f1a79",
+ "x":2292.952262878418,
+ "y":903.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "6a1da75c.dff4f8"
+ "9eb7590.5f32fa8"
]
]
},
{
- "id":"6a1da75c.dff4f8",
+ "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":2490.801223754883,
- "y":897,
- "z":"bc976c53.f1a79",
+ "x":2467.952262878418,
+ "y":902.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"39a76082.5cc54",
+ "id":"b1cea899.45bb78",
"type":"other",
"name":"name",
"xml":"<outcome value='name'>",
"comments":"",
"outputs":1,
- "x":2292.801223754883,
- "y":20,
- "z":"bc976c53.f1a79",
+ "x":2269.952262878418,
+ "y":25.00016212463379,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"6eae96bd.b54598",
+ "id":"b9c18c6.d77387",
"type":"other",
"name":"service-type",
"xml":"<outcome value='service-type'>",
"comments":"",
"outputs":1,
- "x":2295.801223754883,
- "y":87,
- "z":"bc976c53.f1a79",
+ "x":2272.952262878418,
+ "y":92.00016212463379,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"13678c40.7cc714",
+ "id":"c510015f.64592",
"type":"other",
"name":"sna2_name",
"xml":"<outcome value='sna2_name'>",
"comments":"",
"outputs":1,
- "x":2299.801223754883,
- "y":316,
- "z":"bc976c53.f1a79",
+ "x":2276.952262878418,
+ "y":321.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"fa0caaec.e45618",
+ "id":"3d722919.f81306",
"type":"other",
"name":"site1-name",
"xml":"<outcome value='site1-name'>",
"comments":"",
"outputs":1,
- "x":2296.801223754883,
- "y":148,
- "z":"bc976c53.f1a79",
+ "x":2273.952262878418,
+ "y":153.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"ca5c1826.4817d8",
+ "id":"7b7495f0.75885c",
"type":"other",
"name":"site2-name",
"xml":"<outcome value='site2-name'>",
"comments":"",
"outputs":1,
- "x":2292.801223754883,
- "y":205,
- "z":"bc976c53.f1a79",
+ "x":2269.952262878418,
+ "y":210.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"7792e369.1908ac",
+ "id":"588a0bcd.6eb034",
"type":"other",
"name":"sna1_name",
"xml":"<outcome value='sna1_name'>",
"comments":"",
"outputs":1,
- "x":2295.801223754883,
- "y":262,
- "z":"bc976c53.f1a79",
+ "x":2272.952262878418,
+ "y":267.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"a2732629.f76cc8",
+ "id":"2187bd96.9aa5b2",
"type":"other",
"name":"pe1_id",
"xml":"<outcome value='pe1_id'>",
"comments":"",
"outputs":1,
- "x":2299.801223754883,
- "y":367,
- "z":"bc976c53.f1a79",
+ "x":2276.952262878418,
+ "y":372.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"f2c5c3f2.76097",
+ "id":"10a4fa76.533046",
"type":"other",
"name":"pe2_id",
"xml":"<outcome value='pe2_id'>",
"comments":"",
"outputs":1,
- "x":2302.801223754883,
- "y":415,
- "z":"bc976c53.f1a79",
+ "x":2279.952262878418,
+ "y":420.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"54ca3e0b.56d18",
+ "id":"f5abb1ff.c1ae",
"type":"other",
"name":"ac1-id",
"xml":"<outcome value='ac1-id'>",
"comments":"",
"outputs":1,
- "x":2307.801223754883,
- "y":464,
- "z":"bc976c53.f1a79",
+ "x":2284.952262878418,
+ "y":469.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"681149f1.d61ef8",
+ "id":"a7b43175.17a1e",
"type":"other",
"name":"ac2-id",
"xml":"<outcome value='ac2-id'>",
"comments":"",
"outputs":1,
- "x":2309.801223754883,
- "y":519,
- "z":"bc976c53.f1a79",
+ "x":2286.952262878418,
+ "y":524.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"4bc98b71.a2aa84",
+ "id":"7088b07a.e19a",
"type":"other",
"name":"ac1-ip",
"xml":"<outcome value='ac1-ip'>",
"comments":"",
"outputs":1,
- "x":2309.801223754883,
- "y":571,
- "z":"bc976c53.f1a79",
+ "x":2286.952262878418,
+ "y":576.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"aff0f172.9ddbc",
+ "id":"6b511ebf.25f2b",
"type":"other",
"name":"ac2-ip",
"xml":"<outcome value='ac2-ip'>",
"comments":"",
"outputs":1,
- "x":2311.801223754883,
- "y":632,
- "z":"bc976c53.f1a79",
+ "x":2288.952262878418,
+ "y":637.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"d8ad234.fa86ce",
+ "id":"77d1b8f5.2028a8",
"type":"other",
"name":"ac1_peer_ip",
"xml":"<outcome value='ac1_peer_ip'>",
"comments":"",
"outputs":1,
- "x":2313.801223754883,
- "y":682,
- "z":"bc976c53.f1a79",
+ "x":2290.952262878418,
+ "y":687.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"705971b7.939b3",
+ "id":"e96ec4f5.f46868",
"type":"other",
"name":"ac2_peer_ip",
"xml":"<outcome value='ac2_peer_ip'>",
"comments":"",
"outputs":1,
- "x":2309.801223754883,
- "y":730,
- "z":"bc976c53.f1a79",
+ "x":2286.952262878418,
+ "y":735.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"c8386139.7bc31",
+ "id":"25d82e93.97f172",
"type":"other",
"name":"ac1_svlan",
"xml":"<outcome value='ac1_svlan'>",
"comments":"",
"outputs":1,
- "x":2311.801223754883,
- "y":783,
- "z":"bc976c53.f1a79",
+ "x":2288.952262878418,
+ "y":788.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"382fe5b2.be669a",
+ "id":"2c0ed5ac.b6f0aa",
"type":"other",
"name":"ac2_svlan",
"xml":"<outcome value='ac2_svlan'>",
"comments":"",
"outputs":1,
- "x":2313.801223754883,
- "y":844,
- "z":"bc976c53.f1a79",
+ "x":2290.952262878418,
+ "y":849.0001621246338,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "4a695b88.fdc594"
+ "29338172.3d043e"
]
]
},
{
- "id":"69b449f8.e0c4f8",
+ "id":"f1a885d0.8cce28",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":310.0870590209961,
- "y":1012.8572435379028,
- "z":"bc976c53.f1a79",
+ "x":287.23809814453125,
+ "y":861.8574056625366,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "d5f90944.52fe68",
- "f019a10f.84bba"
+ "53246327.3f169c",
+ "4ad8f670.2e7cb8"
]
]
},
{
- "id":"d5f90944.52fe68",
+ "id":"53246327.3f169c",
"type":"other",
"name":"DeleteNetworkInstance",
"xml":"<outcome value='DeleteNetworkInstance'>",
"comments":"",
"outputs":1,
- "x":325.8013496398926,
- "y":1068.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":302.95238876342773,
+ "y":917.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "1ad15265.c666ae"
+ "b6255d3e.ce53d"
]
]
},
{
- "id":"f019a10f.84bba",
+ "id":"4ad8f670.2e7cb8",
"type":"other",
"name":"Other",
"xml":"<outcome value='Other'>",
"comments":"",
"outputs":1,
- "x":279.8013496398926,
- "y":1118.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":256.95238876342773,
+ "y":967.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "b5aedf37.5b6ec"
+ "5f2c6750.3bbae8"
]
]
},
{
- "id":"b5aedf37.5b6ec",
+ "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 CreateNetworkInstance for svc-action=assign\" />\n",
+ "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":448.8013496398926,
- "y":1118.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":425.95238876342773,
+ "y":967.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"1ad15265.c666ae",
+ "id":"b6255d3e.ce53d",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":550.8013496398926,
- "y":1057.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":527.9523887634277,
+ "y":906.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "916b52b.b2dacb"
+ "6d8480b4.bbdb8"
]
]
},
{
- "id":"916b52b.b2dacb",
+ "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":372.8013496398926,
- "y":1212.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":349.95238876342773,
+ "y":1061.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "48a15b4b.da9c94"
+ "30a4ecd8.0d1034"
]
]
},
{
- "id":"48a15b4b.da9c94",
+ "id":"30a4ecd8.0d1034",
"type":"block",
"name":"block",
"xml":"<block>\n",
"atomic":"false",
"comments":"",
"outputs":1,
- "x":365.8013496398926,
- "y":1297.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":342.95238876342773,
+ "y":1146.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "c6022f0d.42d06"
+ "c6454200.70fda"
]
]
},
{
- "id":"c6022f0d.42d06",
+ "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":548.8013496398926,
- "y":1290.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":525.9523887634277,
+ "y":1139.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "235fbeb1.629a02"
+ "f7a7412d.0d646"
]
]
},
{
- "id":"235fbeb1.629a02",
+ "id":"f7a7412d.0d646",
"type":"outcomeTrue",
"name":"true",
"xml":"<outcome value='true'>\n",
"comments":"",
"outputs":1,
- "x":729.8013496398926,
- "y":1289.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":706.9523887634277,
+ "y":1138.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "9c3a3b86.66d288"
+ "8bfc5d6c.baf0e"
]
]
},
{
- "id":"9c3a3b86.66d288",
+ "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":893.8013496398926,
- "y":1289.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":870.9523887634277,
+ "y":1138.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "7bc8b1f4.9d2b8"
+ "6c6337cf.113798"
]
]
},
{
- "id":"7bc8b1f4.9d2b8",
+ "id":"6c6337cf.113798",
"type":"outcome",
"name":"NULL",
"xml":"<outcome value=''>",
"comments":"",
"outputs":1,
- "x":762.8013496398926,
- "y":1413.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":739.9523887634277,
+ "y":1262.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "457d6f04.16b53"
+ "e60613b0.6ba12"
]
]
},
{
- "id":"457d6f04.16b53",
+ "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":941.2300643920898,
- "y":1414.8572072982788,
- "z":"bc976c53.f1a79",
+ "x":918.381103515625,
+ "y":1263.8573694229126,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"50f9a48d.e072dc",
+ "id":"55e08239.49f15c",
"type":"outcome",
"name":"activate",
"xml":"<outcome value='activate'>\n",
"comments":"",
"outputs":1,
- "x":373.9441947937012,
- "y":538.7619791030884,
- "z":"bc976c53.f1a79",
+ "x":351.0952339172363,
+ "y":543.7621412277222,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "90da72db.f3e38"
+ "b69a14cd.1d3d68"
]
]
},
{
- "id":"90da72db.f3e38",
+ "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":556.8013610839844,
- "y":535.9048290252686,
- "z":"bc976c53.f1a79",
+ "x":533.9524002075195,
+ "y":540.9049911499023,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "e1518316.05556",
- "e5ae8d2b.cedcd"
+ "d54c9f22.ae97d",
+ "b12bd94e.696e48"
]
]
},
{
- "id":"e1518316.05556",
+ "id":"d54c9f22.ae97d",
"type":"other",
- "name":"ActivateNetworkInstance",
- "xml":"<outcome value='ActivateNetworkInstance'>",
+ "name":"ActivateDCINetworkInstance",
+ "xml":"<outcome value='ActivateDCINetworkInstance'>",
"comments":"",
"outputs":1,
- "x":822.8013610839844,
- "y":494.90482902526855,
- "z":"bc976c53.f1a79",
+ "x":799.9524002075195,
+ "y":499.90499114990234,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "d9a3c7f4.4c0498"
+ "cf772b80.a4cba8"
]
]
},
{
- "id":"e5ae8d2b.cedcd",
+ "id":"b12bd94e.696e48",
"type":"other",
"name":"Other",
"xml":"<outcome value='Other'>",
"comments":"",
"outputs":1,
- "x":776.8013610839844,
- "y":544.9048290252686,
- "z":"bc976c53.f1a79",
+ "x":753.9524002075195,
+ "y":549.9049911499023,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "ca95078e.01fd58"
+ "bef2ee40.874af"
]
]
},
{
- "id":"ca95078e.01fd58",
+ "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":945.8013610839844,
- "y":544.9048290252686,
- "z":"bc976c53.f1a79",
+ "x":922.9524002075195,
+ "y":549.9049911499023,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"d9a3c7f4.4c0498",
+ "id":"cf772b80.a4cba8",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":1047.8013610839844,
- "y":483.90482902526855,
- "z":"bc976c53.f1a79",
+ "x":1024.9524002075195,
+ "y":488.90499114990234,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "de9d0bad.f413c8"
+ "36dbd61d.c5357a"
]
]
},
{
- "id":"e5333ad2.88c6a8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":542.515625,
- "y":608.7620029449463,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "22ce90c5.e5b49",
- "52bb2fe2.e66a7"
- ]
- ]
- },
- {
- "id":"22ce90c5.e5b49",
+ "id":"8b8b3296.f79f8",
"type":"other",
- "name":"DeactivateNetworkInstance",
- "xml":"<outcome value='DeactivateNetworkInstance'>",
+ "name":"DeActivateDCINetworkInstance",
+ "xml":"<outcome value='DeActivateDCINetworkInstance'>",
"comments":"",
"outputs":1,
- "x":639.6585159301758,
- "y":686.1905641555786,
- "z":"bc976c53.f1a79",
+ "x":795.8095703125,
+ "y":611.1907920837402,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "53c38c61.a27c24"
+
]
]
},
{
- "id":"52bb2fe2.e66a7",
+ "id":"c54688aa.82e958",
"type":"other",
"name":"Other",
"xml":"<outcome value='Other'>",
"comments":"",
"outputs":1,
- "x":593.6585159301758,
- "y":736.1905641555786,
- "z":"bc976c53.f1a79",
+ "x":710.8095626831055,
+ "y":680.1907997131348,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "d9cf8575.0f9368"
+ "d62ac2c7.17544"
]
]
},
{
- "id":"d9cf8575.0f9368",
+ "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 CreateNetworkInstance for svc-action=assign\" />\n",
+ "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":762.6585159301758,
- "y":736.1905641555786,
- "z":"bc976c53.f1a79",
+ "x":891.8095779418945,
+ "y":681.1907997131348,
+ "z":"85858cc8.f3e21",
"wires":[
]
},
{
- "id":"53c38c61.a27c24",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":864.6585159301758,
- "y":675.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "a4cdd306.8c69b"
- ]
- ]
- },
- {
- "id":"a4cdd306.8c69b",
- "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":686.6585159301758,
- "y":830.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "864af6c.1a7ea08"
- ]
- ]
- },
- {
- "id":"864af6c.1a7ea08",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":968.2299575805664,
- "y":803.7619962692261,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "d3a2495e.6d4c48"
- ]
- ]
- },
- {
- "id":"d3a2495e.6d4c48",
- "type":"switchNode",
- "name":"switch id",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].id == 'id'`\">\n",
- "comments":"",
- "outputs":1,
- "x":984.0871505737305,
- "y":859.6191473007202,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "bb342c57.b05fa"
- ]
- ]
- },
- {
- "id":"bb342c57.b05fa",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
+ "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":1165.0871505737305,
- "y":858.6191473007202,
- "z":"bc976c53.f1a79",
+ "x":1332.8177337646484,
+ "y":490.333514213562,
+ "z":"85858cc8.f3e21",
"wires":[
[
- "552390de.1e8c"
+
]
]
},
{
- "id":"552390de.1e8c",
+ "id":"239b0e93.1dcdc2",
"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":1241.9442596435547,
- "y":937.1905860900879,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "6d879fa9.4e09f"
- ]
- ]
- },
- {
- "id":"6d879fa9.4e09f",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":1150.9442024230957,
- "y":1021.1905422210693,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "70a14092.36e2f"
- ]
- ]
- },
- {
- "id":"70a14092.36e2f",
- "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":1329.372917175293,
- "y":1022.1905422210693,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"de9d0bad.f413c8",
- "type":"call",
- "name":"call validate-overlay-network-input-parameters",
- "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments":"",
"outputs":1,
- "x":1355.6666946411133,
- "y":485.3333520889282,
- "z":"bc976c53.f1a79",
+ "x":532.6666259765625,
+ "y":611.6666259765625,
+ "z":"85858cc8.f3e21",
"wires":[
[
-
+ "8b8b3296.f79f8",
+ "c54688aa.82e958"
]
]
}