aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json
diff options
context:
space:
mode:
authorGaurav Agrawal <gaurav.agrawal@huawei.com>2017-10-05 19:55:42 +0530
committerGaurav Agrawal <gaurav.agrawal@huawei.com>2017-10-05 14:35:45 +0000
commita26adc924eba86198fbf91e0932023fb2f79bb0d (patch)
tree774a7d766b48e272d09c76ffca4e92fc6dc08a3c /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json
parenta673f0efbde4ded7a48722aaa85b01775fb2dd95 (diff)
Deactivate flow modification for DCI
Changes includes: 1) Save network information SDNC's MD-SAL data store 2) Send network-id & network-object-path in network-topology-operation-output 3) Deactivation based on stored network-id Change-Id: I4498d33e9e7921e047bfe9dff8c9801153f5f5f4 Issue-Id: SDNC-113 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 4d38cecf0f03e1244ca0c605c5802632b36f3b82
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json642
1 files changed, 321 insertions, 321 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json
index 41243f3b..7d572f9c 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json
@@ -1,20 +1,20 @@
[
{
- "id":"85a3d498.ee70b8",
+ "id":"f7054ab9.c750e8",
"type":"dgstart",
"name":"DGSTART",
"outputs":1,
- "x":467.0155944824219,
- "y":473.0155944824219,
- "z":"be8f5eb6.ea882",
+ "x":120.66666412353516,
+ "y":100.41365557909012,
+ "z":"d739160d.215ac8",
"wires":[
[
- "484faa8a.853654"
+ "c424c6c5.ae02a8"
]
]
},
{
- "id":"484faa8a.853654",
+ "id":"c424c6c5.ae02a8",
"type":"service-logic",
"name":"GENERIC-RESOURCE-API ${project.version}",
"module":"GENERIC-RESOURCE-API",
@@ -22,140 +22,140 @@
"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":548.9679565429688,
- "y":513.2537069320679,
- "z":"be8f5eb6.ea882",
+ "x":202.61902618408203,
+ "y":140.65176802873611,
+ "z":"d739160d.215ac8",
"wires":[
[
- "577e559b.5bf3fc"
+ "293d1a40.e88a76"
]
]
},
{
- "id":"577e559b.5bf3fc",
+ "id":"293d1a40.e88a76",
"type":"method",
"name":"network-topology-operation",
"xml":"<method rpc='network-topology-operation' mode='sync'>\n",
"comments":"",
"outputs":1,
- "x":545.444221496582,
- "y":553.015588760376,
- "z":"be8f5eb6.ea882",
+ "x":199.0952911376953,
+ "y":180.41364985704422,
+ "z":"d739160d.215ac8",
"wires":[
[
- "d89fb108.c15da"
+ "6c71864c.68b0b8"
]
]
},
{
- "id":"ac32132a.0500d",
+ "id":"6808a800.72f6b8",
"type":"comment",
"name":" NETWORK-TOPOLOGY-OPERATION ",
"info":"",
"comments":"",
- "x":861.3604507446289,
- "y":420.60193824768066,
- "z":"be8f5eb6.ea882",
+ "x":515.0115203857422,
+ "y":47.99999934434891,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"d89fb108.c15da",
+ "id":"6c71864c.68b0b8",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":581.015625,
- "y":636.459077835083,
- "z":"be8f5eb6.ea882",
+ "x":234.66669464111328,
+ "y":263.85713893175125,
+ "z":"d739160d.215ac8",
"wires":[
[
- "e42a6d76.72f57",
- "6e4d7ebf.93e81",
- "ae97e5fa.ddc148",
- "879a69b3.6edd88"
+ "a683a74d.bbfcd8",
+ "ec781a98.809e88",
+ "d4adb7b5.a74888",
+ "a12d09b7.6dc858"
]
]
},
{
- "id":"e42a6d76.72f57",
+ "id":"a683a74d.bbfcd8",
"type":"returnSuccess",
"name":"return success",
"xml":"<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments":"",
- "x":811.0989837646484,
- "y":1260.3017139434814,
- "z":"be8f5eb6.ea882",
+ "x":464.7500534057617,
+ "y":887.6997750401497,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"6e4d7ebf.93e81",
+ "id":"ec781a98.809e88",
"type":"switchNode",
"name":"switch svc-action",
"xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments":"",
"outputs":1,
- "x":807.7298583984375,
- "y":866.8727722167969,
- "z":"be8f5eb6.ea882",
+ "x":461.3809280395508,
+ "y":494.2708333134651,
+ "z":"d739160d.215ac8",
"wires":[
[
- "f25f7aea.b8fbf8",
- "5b25cfb0.9dc3",
- "ce4f0e34.637f",
- "554ed162.fdbc2",
- "9c1f95f4.d32d48",
- "b361fb8f.196518",
- "e0127b7f.249248"
+ "4dfadbed.777bc4",
+ "55daa54f.4836ec",
+ "5c025596.ae8c5c",
+ "67e93f6e.2c897",
+ "24132a9d.396786",
+ "29d750bd.02a64",
+ "e6eca3d3.abe59"
]
]
},
{
- "id":"f25f7aea.b8fbf8",
+ "id":"4dfadbed.777bc4",
"type":"other",
"name":"assign",
"xml":"<outcome value='assign'>\n",
"comments":"",
"outputs":1,
- "x":1028.2060546875,
- "y":643.1584224700928,
- "z":"be8f5eb6.ea882",
+ "x":681.8571243286133,
+ "y":270.556483566761,
+ "z":"d739160d.215ac8",
"wires":[
[
- "9ca02c4f.ecd52"
+ "fc28dd4a.e1c57"
]
]
},
{
- "id":"9ca02c4f.ecd52",
+ "id":"fc28dd4a.e1c57",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":1209.4442138671875,
- "y":644.1585445404053,
- "z":"be8f5eb6.ea882",
+ "x":863.0952835083008,
+ "y":271.5566056370735,
+ "z":"d739160d.215ac8",
"wires":[
[
- "e222c594.de61b8"
+ "82d45ba2.1d8bc8"
]
]
},
{
- "id":"ae97e5fa.ddc148",
+ "id":"d4adb7b5.a74888",
"type":"call",
"name":"call GENERIC-RESOURCE-API:validate-network-input",
"xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
"comments":"",
"outputs":1,
- "x":940.0156097412109,
- "y":579.0156707763672,
- "z":"be8f5eb6.ea882",
+ "x":593.6666793823242,
+ "y":206.41373187303543,
+ "z":"d739160d.215ac8",
"wires":[
[
@@ -163,15 +163,15 @@
]
},
{
- "id":"e222c594.de61b8",
+ "id":"82d45ba2.1d8bc8",
"type":"call",
"name":"call GENERIC-RESOURCE-API:network-topology-operation-assign",
"xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n",
"comments":"",
"outputs":1,
- "x":1581.0155639648438,
- "y":641.0156002044678,
- "z":"be8f5eb6.ea882",
+ "x":1234.666633605957,
+ "y":268.413661301136,
+ "z":"d739160d.215ac8",
"wires":[
[
@@ -179,48 +179,48 @@
]
},
{
- "id":"5b25cfb0.9dc3",
+ "id":"55daa54f.4836ec",
"type":"other",
"name":"activate",
"xml":"<outcome value='activate'>\n",
"comments":"",
"outputs":1,
- "x":1030.0155944824219,
- "y":817.0155944824219,
- "z":"be8f5eb6.ea882",
+ "x":683.6666641235352,
+ "y":444.4136555790901,
+ "z":"d739160d.215ac8",
"wires":[
[
- "a2f3df33.c4b68"
+ "67566173.45c4c"
]
]
},
{
- "id":"922d755b.661638",
+ "id":"627cdb56.3b7234",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":1567.2537536621094,
- "y":814.0158309936523,
- "z":"be8f5eb6.ea882",
+ "x":1220.9048233032227,
+ "y":441.4138920903206,
+ "z":"d739160d.215ac8",
"wires":[
[
- "c5274c8f.1721b",
- "3b322ad5.66cb26"
+ "2132e234.e510ce",
+ "a3ddfe15.bee34"
]
]
},
{
- "id":"7c5eb492.d1272c",
+ "id":"6e5c6d24.81c194",
"type":"call",
"name":"call GENERIC-RESOURCE-API:network-topology-operation-activate",
"xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
"comments":"",
"outputs":1,
- "x":2612.825164794922,
- "y":942.872766494751,
- "z":"be8f5eb6.ea882",
+ "x":2266.476234436035,
+ "y":570.2708275914192,
+ "z":"d739160d.215ac8",
"wires":[
[
@@ -228,48 +228,48 @@
]
},
{
- "id":"ce4f0e34.637f",
+ "id":"5c025596.ae8c5c",
"type":"other",
"name":"deactivate",
"xml":"<outcome value='deactivate'>\n",
"comments":"",
"outputs":1,
- "x":1019.0155944824219,
- "y":977.0156192779541,
- "z":"be8f5eb6.ea882",
+ "x":672.6666641235352,
+ "y":604.4136803746223,
+ "z":"d739160d.215ac8",
"wires":[
[
- "4fa02a57.55a214"
+ "2deb4375.385a5c"
]
]
},
{
- "id":"9c0934a4.38d8c8",
+ "id":"2deb4375.385a5c",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":1571.2537994384766,
- "y":1080.0159301757812,
- "z":"be8f5eb6.ea882",
+ "x":860.9050216674805,
+ "y":603.4140033721924,
+ "z":"d739160d.215ac8",
"wires":[
[
- "c5274c8f.1721b",
- "a31ca188.c32d7"
+ "2132e234.e510ce",
+ "1d159242.42217e"
]
]
},
{
- "id":"61181d4d.3f9f64",
+ "id":"d02489f7.8cbe58",
"type":"call",
"name":"call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
"xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
"comments":"",
"outputs":1,
- "x":2611.3250732421875,
- "y":1114.622766494751,
- "z":"be8f5eb6.ea882",
+ "x":2458.9762954711914,
+ "y":734.0208568572998,
+ "z":"d739160d.215ac8",
"wires":[
[
@@ -277,48 +277,48 @@
]
},
{
- "id":"554ed162.fdbc2",
+ "id":"67e93f6e.2c897",
"type":"other",
"name":"unassign",
"xml":"<outcome value='unassign'>\n",
"comments":"",
"outputs":1,
- "x":1027.0155944824219,
- "y":1042.015619277954,
- "z":"be8f5eb6.ea882",
+ "x":680.6666641235352,
+ "y":669.4136803746223,
+ "z":"d739160d.215ac8",
"wires":[
[
- "babe1e.7216b1e"
+ "a5a4cbe4.928108"
]
]
},
{
- "id":"babe1e.7216b1e",
+ "id":"a5a4cbe4.928108",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":1208.2537536621094,
- "y":1043.0157413482666,
- "z":"be8f5eb6.ea882",
+ "x":861.9048233032227,
+ "y":670.4138024449348,
+ "z":"d739160d.215ac8",
"wires":[
[
- "c5274c8f.1721b",
- "a93ebb11.5112b8"
+ "2132e234.e510ce",
+ "8cb9d01a.01cbb"
]
]
},
{
- "id":"98390811.bf3d38",
+ "id":"76ad4a39.0cc194",
"type":"call",
"name":"call GENERIC-RESOURCE-API:network-topology-operation-unassign",
"xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
"comments":"",
"outputs":1,
- "x":2360.0750732421875,
- "y":1208.372766494751,
- "z":"be8f5eb6.ea882",
+ "x":2013.7261428833008,
+ "y":835.7708275914192,
+ "z":"d739160d.215ac8",
"wires":[
[
@@ -326,535 +326,535 @@
]
},
{
- "id":"9c1f95f4.d32d48",
+ "id":"24132a9d.396786",
"type":"other",
"name":"other",
"xml":"<outcome value='Other'>\n",
"comments":"",
"outputs":1,
- "x":1018.0155982971191,
- "y":1102.015609741211,
- "z":"be8f5eb6.ea882",
+ "x":671.6666679382324,
+ "y":729.4136708378792,
+ "z":"d739160d.215ac8",
"wires":[
[
- "b64c1d1.5a772e"
+ "e05b3a0e.6b2cf8"
]
]
},
{
- "id":"b64c1d1.5a772e",
+ "id":"e05b3a0e.6b2cf8",
"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-action is a required input\" />\n",
"comments":"",
- "x":1200.0155944824219,
- "y":1101.015619277954,
- "z":"be8f5eb6.ea882",
+ "x":853.6666641235352,
+ "y":728.4136803746223,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"879a69b3.6edd88",
+ "id":"a12d09b7.6dc858",
"type":"set",
"name":"Set final indicator to Y",
"xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
"comments":"",
- "x":830.1266784667969,
- "y":1219.4600524902344,
- "z":"be8f5eb6.ea882",
+ "x":483.77774810791016,
+ "y":846.8581135869026,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"8945700c.0d991",
+ "id":"9acad2b9.f0834",
"type":"for",
"name":"for nidx..service-data.networks.network[]",
"xml":"<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
"comments":"",
"outputs":1,
- "x":2566.7459564208984,
- "y":852.7775211334229,
- "z":"be8f5eb6.ea882",
+ "x":2220.3970260620117,
+ "y":480.1755822300911,
+ "z":"d739160d.215ac8",
"wires":[
[
- "63bd9e68.829b4"
+ "329c7937.b6a136"
]
]
},
{
- "id":"c5274c8f.1721b",
+ "id":"2132e234.e510ce",
"type":"switchNode",
"name":"switch service-data.networks.network_length",
"xml":"<switch test='`$service-data.networks.network_length`'>\n",
"comments":"",
"outputs":1,
- "x":1873.4600524902344,
- "y":812.3489017486572,
- "z":"be8f5eb6.ea882",
+ "x":1527.1111221313477,
+ "y":439.74696284532547,
+ "z":"d739160d.215ac8",
"wires":[
[
- "aeada561.cc58d8",
- "7091af2b.522e4"
+ "4172c482.3f5a6c",
+ "d4b9b393.99ada"
]
]
},
{
- "id":"aeada561.cc58d8",
+ "id":"4172c482.3f5a6c",
"type":"other",
"name":"outcome Null",
"xml":"<outcome value=''>\n",
"comments":"",
"outputs":1,
- "x":2146.460090637207,
- "y":811.3489665985107,
- "z":"be8f5eb6.ea882",
+ "x":1800.1111602783203,
+ "y":438.747027695179,
+ "z":"d739160d.215ac8",
"wires":[
[
- "ed06878e.3cab58"
+ "29641469.ee90fc"
]
]
},
{
- "id":"7091af2b.522e4",
+ "id":"d4b9b393.99ada",
"type":"other",
"name":"other",
"xml":"<outcome value='Other'>\n",
"comments":"",
"outputs":1,
- "x":2126.4604148864746,
- "y":851.3489713668823,
- "z":"be8f5eb6.ea882",
+ "x":1780.111484527588,
+ "y":478.74703246355057,
+ "z":"d739160d.215ac8",
"wires":[
[
- "ab947f5a.5f651"
+ "1bb6dea1.ed18f1"
]
]
},
{
- "id":"63bd9e68.829b4",
+ "id":"329c7937.b6a136",
"type":"switchNode",
"name":"switch networkid found",
"xml":"<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
"comments":"",
"outputs":1,
- "x":2857.1745071411133,
- "y":852.0276050567627,
- "z":"be8f5eb6.ea882",
+ "x":2510.8255767822266,
+ "y":479.42566615343094,
+ "z":"d739160d.215ac8",
"wires":[
[
- "3695eb78.874394"
+ "af5c385d.aaa198"
]
]
},
{
- "id":"3695eb78.874394",
+ "id":"af5c385d.aaa198",
"type":"outcomeTrue",
"name":"true",
"xml":"<outcome value='true'>\n",
"comments":"",
"outputs":1,
- "x":3046.1268615722656,
- "y":852.9203433990479,
- "z":"be8f5eb6.ea882",
+ "x":2699.777931213379,
+ "y":480.3184044957161,
+ "z":"d739160d.215ac8",
"wires":[
[
- "674767aa.48a638"
+ "7a7e1001.3b10e"
]
]
},
{
- "id":"674767aa.48a638",
+ "id":"7a7e1001.3b10e",
"type":"set",
"name":"set tmp.nidx and ctx.network-data",
"xml":"<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
"comments":"",
- "x":3279.6586303710938,
- "y":851.6703510284424,
- "z":"be8f5eb6.ea882",
+ "x":2933.309700012207,
+ "y":479.0684121251106,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"6fdacf7d.b32fb",
+ "id":"a849a7c.367a458",
"type":"comment",
"name":"Find the index to service data for this network - save id in tmp.nidx, save service-data",
"info":"",
"comments":"",
- "x":1819.571388244629,
- "y":776.3489632606506,
- "z":"be8f5eb6.ea882",
+ "x":1473.2224578857422,
+ "y":403.7470243573189,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"f5085beb.082298",
+ "id":"be0b87cc.facda8",
"type":"comment",
"name":"service-data will not be stored until we have a network-id",
"info":"",
"comments":"",
- "x":1548.6821899414062,
- "y":609.237829208374,
- "z":"be8f5eb6.ea882",
+ "x":1202.3332595825195,
+ "y":236.63589030504227,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"ed06878e.3cab58",
+ "id":"29641469.ee90fc",
"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.network-request-input.network-id not found in service-data\" />\n",
"comments":"",
- "x":2308.237548828125,
- "y":812.2379093170166,
- "z":"be8f5eb6.ea882",
+ "x":1961.8886184692383,
+ "y":439.63597041368484,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"ab947f5a.5f651",
+ "id":"1bb6dea1.ed18f1",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":2264.7299880981445,
- "y":851.9035091400146,
- "z":"be8f5eb6.ea882",
+ "x":1918.3810577392578,
+ "y":479.3015702366829,
+ "z":"d739160d.215ac8",
"wires":[
[
- "8945700c.0d991",
- "61e26d45.4186e4"
+ "9acad2b9.f0834",
+ "cf1a68d3.1547a8"
]
]
},
{
- "id":"61e26d45.4186e4",
+ "id":"cf1a68d3.1547a8",
"type":"switchNode",
"name":"switch tmp.nidx ",
"xml":"<switch test=\"`$tmp.nidx`\">\n\n",
"comments":"",
"outputs":1,
- "x":2485.0473861694336,
- "y":894.7607278823853,
- "z":"be8f5eb6.ea882",
+ "x":2138.698455810547,
+ "y":522.1587889790535,
+ "z":"d739160d.215ac8",
"wires":[
[
- "b746b314.6a6bb"
+ "5e666501.228a8c"
]
]
},
{
- "id":"ebd0f10f.cbf66",
+ "id":"b312a9fc.605418",
"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.network-request-input.network-id not found in service-data\" />\n",
"comments":"",
- "x":2837.904369354248,
- "y":890.4749698638916,
- "z":"be8f5eb6.ea882",
+ "x":2491.5554389953613,
+ "y":517.8730309605598,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"b746b314.6a6bb",
+ "id":"5e666501.228a8c",
"type":"outcome",
"name":"NULL",
"xml":"<outcome value=''>\n",
"comments":"",
"outputs":1,
- "x":2656.4759216308594,
- "y":893.3321132659912,
- "z":"be8f5eb6.ea882",
+ "x":2310.1269912719727,
+ "y":520.7301743626595,
+ "z":"d739160d.215ac8",
"wires":[
[
- "ebd0f10f.cbf66"
+ "b312a9fc.605418"
]
]
},
{
- "id":"3b322ad5.66cb26",
+ "id":"a3ddfe15.bee34",
"type":"switchNode",
"name":"switch network-level-oper-status",
"xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
"comments":"",
"outputs":1,
- "x":1825.7933959960938,
- "y":942.8241672515869,
- "z":"be8f5eb6.ea882",
+ "x":1479.444465637207,
+ "y":570.2222283482552,
+ "z":"d739160d.215ac8",
"wires":[
[
- "4168b97e.614508",
- "648208ba.c9c398"
+ "671fe44a.883fcc",
+ "619f5c4e.da9664"
]
]
},
{
- "id":"4168b97e.614508",
+ "id":"671fe44a.883fcc",
"type":"outcome",
"name":"outcome PendingCreate",
"xml":"<outcome value='PendingCreate'>\n",
"comments":"",
"outputs":1,
- "x":2190.793375651041,
- "y":942.8241519927977,
- "z":"be8f5eb6.ea882",
+ "x":1844.4444452921543,
+ "y":570.222213089466,
+ "z":"d739160d.215ac8",
"wires":[
[
- "7c5eb492.d1272c"
+ "6e5c6d24.81c194"
]
]
},
{
- "id":"648208ba.c9c398",
+ "id":"619f5c4e.da9664",
"type":"other",
"name":"other",
"xml":"<outcome value='Other'>\n",
"comments":"",
"outputs":1,
- "x":2140.7934226989746,
- "y":982.824182510376,
- "z":"be8f5eb6.ea882",
+ "x":1794.444492340088,
+ "y":610.2222436070442,
+ "z":"d739160d.215ac8",
"wires":[
[
- "cd47365a.985768"
+ "ddaa51b4.1a3e6"
]
]
},
{
- "id":"cd47365a.985768",
+ "id":"ddaa51b4.1a3e6",
"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 is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
"comments":"",
- "x":2310.7934226989746,
- "y":982.824182510376,
- "z":"be8f5eb6.ea882",
+ "x":1964.444492340088,
+ "y":610.2222436070442,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"a31ca188.c32d7",
+ "id":"1d159242.42217e",
"type":"switchNode",
"name":"switch network-level-oper-status",
"xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
"comments":"",
"outputs":1,
- "x":1825.0948791503906,
- "y":1114.7755680084229,
- "z":"be8f5eb6.ea882",
+ "x":1225.7460136413574,
+ "y":670.1736888885498,
+ "z":"d739160d.215ac8",
"wires":[
[
- "e33c6a6c.b344c8",
- "aa28812e.314c3"
+ "666ae4b6.332edc",
+ "a7398342.dc0f5"
]
]
},
{
- "id":"e33c6a6c.b344c8",
+ "id":"666ae4b6.332edc",
"type":"outcome",
"name":"outcome Created",
"xml":"<outcome value='Created'>\n",
"comments":"",
"outputs":1,
- "x":2188.0948486328125,
- "y":1114.775598526001,
- "z":"be8f5eb6.ea882",
+ "x":1588.7459831237793,
+ "y":670.1737194061279,
+ "z":"d739160d.215ac8",
"wires":[
[
- "61181d4d.3f9f64"
+ "fc61673.76cb698"
]
]
},
{
- "id":"aa28812e.314c3",
+ "id":"a7398342.dc0f5",
"type":"other",
"name":"other",
"xml":"<outcome value='Other'>\n",
"comments":"",
"outputs":1,
- "x":2158.0948486328125,
- "y":1154.775598526001,
- "z":"be8f5eb6.ea882",
+ "x":1558.7459831237793,
+ "y":710.1737194061279,
+ "z":"d739160d.215ac8",
"wires":[
[
- "deb09c1d.1e536"
+ "6900f252.7fffdc"
]
]
},
{
- "id":"deb09c1d.1e536",
+ "id":"6900f252.7fffdc",
"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 is not in appropriate state for deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
"comments":"",
- "x":2324.0948486328125,
- "y":1156.775598526001,
- "z":"be8f5eb6.ea882",
+ "x":1724.7459831237793,
+ "y":712.1737194061279,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"a93ebb11.5112b8",
+ "id":"8cb9d01a.01cbb",
"type":"switchNode",
"name":"switch network-level-oper-status",
"xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
"comments":"",
"outputs":1,
- "x":1566.8964538574219,
- "y":1209.9769687652588,
- "z":"be8f5eb6.ea882",
+ "x":1220.5475234985352,
+ "y":837.375029861927,
+ "z":"d739160d.215ac8",
"wires":[
[
- "b6998c15.248c1",
- "86ffd64.1d13d28",
- "90e3f2b9.f7fb8"
+ "c260be3c.787a4",
+ "3745164.07306ea",
+ "aa12305c.9840f"
]
]
},
{
- "id":"b6998c15.248c1",
+ "id":"c260be3c.787a4",
"type":"outcome",
"name":"outcome PendingCreate",
"xml":"<outcome value='PendingCreate'>\n",
"comments":"",
"outputs":1,
- "x":1926.8964233398438,
- "y":1209.976999282837,
- "z":"be8f5eb6.ea882",
+ "x":1580.547492980957,
+ "y":837.3750603795052,
+ "z":"d739160d.215ac8",
"wires":[
[
- "98390811.bf3d38"
+ "76ad4a39.0cc194"
]
]
},
{
- "id":"86ffd64.1d13d28",
+ "id":"3745164.07306ea",
"type":"other",
"name":"other",
"xml":"<outcome value='Other'>\n",
"comments":"",
"outputs":1,
- "x":1883.8963623046875,
- "y":1293.977014541626,
- "z":"be8f5eb6.ea882",
+ "x":1537.5474319458008,
+ "y":921.3750756382942,
+ "z":"d739160d.215ac8",
"wires":[
[
- "38a0884b.706138"
+ "609493c3.1dc45c"
]
]
},
{
- "id":"38a0884b.706138",
+ "id":"609493c3.1dc45c",
"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 is not in appropriate state for unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
"comments":"",
- "x":2075.229782104492,
- "y":1292.6436433792114,
- "z":"be8f5eb6.ea882",
+ "x":1728.8808517456055,
+ "y":920.0417044758797,
+ "z":"d739160d.215ac8",
"wires":[
]
},
{
- "id":"90e3f2b9.f7fb8",
+ "id":"aa12305c.9840f",
"type":"outcome",
"name":"outcome PendingDelete",
"xml":"<outcome value='PendingDelete'>\n",
"comments":"",
"outputs":1,
- "x":1930.1266479492188,
- "y":1247.824167251587,
- "z":"be8f5eb6.ea882",
+ "x":1583.777717590332,
+ "y":875.2222283482552,
+ "z":"d739160d.215ac8",
"wires":[
[
- "98390811.bf3d38"
+ "76ad4a39.0cc194"
]
]
},
{
- "id":"b361fb8f.196518",
+ "id":"29d750bd.02a64",
"type":"other",
"name":"create",
"xml":"<outcome value='create'>\n",
"comments":"",
"outputs":1,
- "x":1015.4679565429688,
- "y":1161.6019382476807,
- "z":"be8f5eb6.ea882",
+ "x":669.119026184082,
+ "y":788.9999993443489,
+ "z":"d739160d.215ac8",
"wires":[
[
- "870ebc3.cf39e4"
+ "8872f98e.6acb58"
]
]
},
{
- "id":"e0127b7f.249248",
+ "id":"e6eca3d3.abe59",
"type":"other",
"name":"delete",
"xml":"<outcome value='delete'>\n",
"comments":"",
"outputs":1,
- "x":1018.4679565429688,
- "y":1214.6019382476807,
- "z":"be8f5eb6.ea882",
+ "x":672.119026184082,
+ "y":841.9999993443489,
+ "z":"d739160d.215ac8",
"wires":[
[
- "997e78db.545078"
+ "9bd83beb.090958"
]
]
},
{
- "id":"870ebc3.cf39e4",
+ "id":"8872f98e.6acb58",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":1204.4679565429688,
- "y":1167.6019382476807,
- "z":"be8f5eb6.ea882",
+ "x":858.119026184082,
+ "y":794.9999993443489,
+ "z":"d739160d.215ac8",
"wires":[
[
- "3c97679a.62e2f8"
+ "1974de99.132ea1"
]
]
},
{
- "id":"997e78db.545078",
+ "id":"9bd83beb.090958",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"outputs":1,
- "x":1203.4679565429688,
- "y":1226.6019382476807,
- "z":"be8f5eb6.ea882",
+ "x":857.119026184082,
+ "y":853.9999993443489,
+ "z":"d739160d.215ac8",
"wires":[
[
- "54f0a399.e0516c"
+ "bedc898b.68ec58"
]
]
},
{
- "id":"3c97679a.62e2f8",
+ "id":"1974de99.132ea1",
"type":"call",
"name":"call GENERIC-RESOURCE-API:network-topology-operation-create",
"xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n",
"comments":"",
"outputs":1,
- "x":1612.4679565429688,
- "y":1352.6019382476807,
- "z":"be8f5eb6.ea882",
+ "x":1266.119026184082,
+ "y":979.9999993443489,
+ "z":"d739160d.215ac8",
"wires":[
[
@@ -862,15 +862,15 @@
]
},
{
- "id":"54f0a399.e0516c",
+ "id":"bedc898b.68ec58",
"type":"call",
"name":"call GENERIC-RESOURCE-API:network-topology-operation-delete",
"xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
"comments":"",
"outputs":1,
- "x":1618.4679565429688,
- "y":1435.6019382476807,
- "z":"be8f5eb6.ea882",
+ "x":1272.119026184082,
+ "y":1062.999999344349,
+ "z":"d739160d.215ac8",
"wires":[
[
@@ -878,64 +878,64 @@
]
},
{
- "id":"a2f3df33.c4b68",
+ "id":"67566173.45c4c",
"type":"switchNode",
"name":"switch request-action",
"xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments":"",
"outputs":1,
- "x":1214.6668243408203,
- "y":797.3333606719971,
- "z":"be8f5eb6.ea882",
+ "x":868.3178939819336,
+ "y":424.7314217686653,
+ "z":"d739160d.215ac8",
"wires":[
[
- "4eb93a4e.82ca64",
- "7ad79299.e126cc"
+ "18ffc8df.333407",
+ "4f680131.8475e"
]
]
},
{
- "id":"4eb93a4e.82ca64",
+ "id":"18ffc8df.333407",
"type":"outcome",
"name":"ActivateDCINetworkInstance",
"xml":"<outcome value='ActivateDCINetworkInstance'>",
"comments":"",
"outputs":1,
- "x":1457.0000915527344,
- "y":719.333173751831,
- "z":"be8f5eb6.ea882",
+ "x":1110.6511611938477,
+ "y":346.7312348484993,
+ "z":"d739160d.215ac8",
"wires":[
[
- "564c81e9.848b9"
+ "73585281.0c5d0c"
]
]
},
{
- "id":"7ad79299.e126cc",
+ "id":"4f680131.8475e",
"type":"outcome",
"name":"other",
"xml":"<outcome value='other'>",
"comments":"",
"outputs":1,
- "x":1387.0000839233398,
- "y":844.999870300293,
- "z":"be8f5eb6.ea882",
+ "x":1040.6511535644531,
+ "y":472.3979313969612,
+ "z":"d739160d.215ac8",
"wires":[
[
- "922d755b.661638"
+ "627cdb56.3b7234"
]
]
},
{
- "id":"564c81e9.848b9",
+ "id":"73585281.0c5d0c",
"type":"call",
"name":"call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate",
"xml":"<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n",
"comments":"",
"outputs":1,
- "x":1881.0001068115234,
- "y":719.0000429153442,
- "z":"be8f5eb6.ea882",
+ "x":1534.6511764526367,
+ "y":346.3981040120125,
+ "z":"d739160d.215ac8",
"wires":[
[
@@ -943,48 +943,48 @@
]
},
{
- "id":"4fa02a57.55a214",
+ "id":"fc61673.76cb698",
"type":"switchNode",
"name":"switch request-action",
"xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments":"",
"outputs":1,
- "x":1227.6666259765625,
- "y":975,
- "z":"be8f5eb6.ea882",
+ "x":1863.333251953125,
+ "y":668.3333129882812,
+ "z":"d739160d.215ac8",
"wires":[
[
- "bcde7f7f.e235b",
- "55dafa1.c389f04"
+ "96fbac31.d3f4f",
+ "3bd184d4.cd8cbc"
]
]
},
{
- "id":"bcde7f7f.e235b",
+ "id":"96fbac31.d3f4f",
"type":"outcome",
"name":"DeActivateDCINetworkInstance",
"xml":"<outcome value='DeActivateDCINetworkInstance'>",
"comments":"",
"outputs":1,
- "x":1497.9998779296875,
- "y":984.9998912811279,
- "z":"be8f5eb6.ea882",
+ "x":2133.66650390625,
+ "y":678.3332042694092,
+ "z":"d739160d.215ac8",
"wires":[
[
- "efb1ed02.23fdf"
+ "5f435227.66b5dc"
]
]
},
{
- "id":"efb1ed02.23fdf",
+ "id":"5f435227.66b5dc",
"type":"call",
"name":"call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate",
"xml":"<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n",
"comments":"",
"outputs":1,
- "x":1964.999900817871,
- "y":1041.6667194366455,
- "z":"be8f5eb6.ea882",
+ "x":2608.6667251586914,
+ "y":677.0000224113464,
+ "z":"d739160d.215ac8",
"wires":[
[
@@ -992,18 +992,18 @@
]
},
{
- "id":"55dafa1.c389f04",
- "type":"outcome",
+ "id":"3bd184d4.cd8cbc",
+ "type":"other",
"name":"other",
- "xml":"<outcome value='other'>",
+ "xml":"<outcome value='Other'>\n",
"comments":"",
"outputs":1,
- "x":1422.9998817443848,
- "y":1080.6665649414062,
- "z":"be8f5eb6.ea882",
+ "x":2056.3333435058594,
+ "y":736.3333549499512,
+ "z":"d739160d.215ac8",
"wires":[
[
- "9c0934a4.38d8c8"
+ "d02489f7.8cbe58"
]
]
}