[
{
- "id": "1ac00e46.c3e9e2",
+ "id": "39b306a6.ed3522",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 114,
- "y": 47,
- "z": "143c1488.728ec3",
+ "x": 100,
+ "y": 63.57143306732178,
+ "z": "1e0169fe.460196",
"wires": [
[
- "52295e06.9cc6c"
+ "79f0b111.72d778"
]
]
},
{
- "id": "df5325d5.fd4748",
+ "id": "1b629c80.7881d4",
"type": "method",
- "name": "method self-serve-netbox-ip-assignment",
- "xml": "<method rpc='self-serve-netbox-ip-assignment' mode='sync'>\n",
+ "name": "method self-serve-netbox-ip-assign",
+ "xml": "<method rpc='self-serve-netbox-ip-assign' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 249.7857208251953,
- "y": 104.1269884109497,
- "z": "143c1488.728ec3",
+ "x": 235.7857208251953,
+ "y": 120.69842147827148,
+ "z": "1e0169fe.460196",
"wires": [
[
- "63c730e0.c25018"
+ "56a052c7.058c9c"
]
]
},
{
- "id": "63c730e0.c25018",
+ "id": "56a052c7.058c9c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 143.32144165039062,
- "y": 190.4286069869995,
- "z": "143c1488.728ec3",
+ "x": 129.32144165039062,
+ "y": 207.0000400543213,
+ "z": "1e0169fe.460196",
"wires": [
[
- "5df07877.d41d48",
- "317924e0.177cf4",
- "66e86dab.782c14",
- "fe9daa10.860a48",
- "cd60dd04.3a49e"
+ "90086e75.cd6fc",
+ "3efa365b.993a9a",
+ "7e104793.732a5",
+ "f91de1d4.ae1798",
+ "2734c8ea.c23828"
]
]
},
{
- "id": "52295e06.9cc6c",
+ "id": "79f0b111.72d778",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
"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": 386.8571472167969,
- "y": 46.42856693267822,
- "z": "143c1488.728ec3",
+ "x": 372.8571472167969,
+ "y": 63,
+ "z": "1e0169fe.460196",
"wires": [
[
- "df5325d5.fd4748"
+ "1b629c80.7881d4"
]
]
},
{
- "id": "5df07877.d41d48",
+ "id": "90086e75.cd6fc",
"type": "switchNode",
"name": "switch: ss.capability-name",
"xml": "<switch test='`$ss.capability-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 401.4999694824219,
- "y": 194.25000858306885,
- "z": "143c1488.728ec3",
+ "x": 387.4999694824219,
+ "y": 210.82144165039062,
+ "z": "1e0169fe.460196",
"wires": [
[
- "1172f991.e8e1ce"
+ "b10180d1.330c9"
]
]
},
{
- "id": "1172f991.e8e1ce",
+ "id": "b10180d1.330c9",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"outputs": 1,
- "x": 626.4999923706055,
- "y": 194.75000715255737,
- "z": "143c1488.728ec3",
+ "x": 612.4999923706055,
+ "y": 211.32144021987915,
+ "z": "1e0169fe.460196",
"wires": [
[
- "788ea450.d0af24"
+ "66f17fa3.bde278"
]
]
},
{
- "id": "788ea450.d0af24",
+ "id": "66f17fa3.bde278",
"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\t<parameter name=\"error-message\" value=\"ss.capability-name is null\" />\n",
"comments": "",
- "x": 786.4166641235352,
- "y": 194.86110591888428,
- "z": "143c1488.728ec3",
+ "x": 772.4166641235352,
+ "y": 211.43253898620605,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "317924e0.177cf4",
+ "id": "3efa365b.993a9a",
"type": "switchNode",
"name": "switch: ss.capability-action",
"xml": "<switch test='`$ss.capability-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 404.74996185302734,
- "y": 270.25000381469727,
- "z": "143c1488.728ec3",
+ "x": 390.74996185302734,
+ "y": 286.82143688201904,
+ "z": "1e0169fe.460196",
"wires": [
[
- "ef7a453e.505a28"
+ "8acb2cf7.4ff328"
]
]
},
{
- "id": "ef7a453e.505a28",
+ "id": "8acb2cf7.4ff328",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 628.2499618530273,
- "y": 270.50000381469727,
- "z": "143c1488.728ec3",
+ "x": 614.2499618530273,
+ "y": 287.07143688201904,
+ "z": "1e0169fe.460196",
"wires": [
[
- "2cd2be60.fa73d2"
+ "307ed0c1.fb7998"
]
]
},
{
- "id": "2cd2be60.fa73d2",
+ "id": "307ed0c1.fb7998",
"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\t<parameter name=\"error-message\" value=\"ss.capability-action is null\" />\n",
"comments": "",
- "x": 788.166633605957,
- "y": 270.61110258102417,
- "z": "143c1488.728ec3",
+ "x": 774.166633605957,
+ "y": 287.18253564834595,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "dd9f2f74.302358",
- "type": "outcome",
- "name": "unassign",
- "xml": "<outcome value='unassign'>",
- "comments": "",
- "outputs": 1,
- "x": 908.8930053710938,
- "y": 1550.9286060333252,
- "z": "143c1488.728ec3",
- "wires": [
- [
- "d2384164.43d4b8"
- ]
- ]
- },
- {
- "id": "fe9daa10.860a48",
+ "id": "7e104793.732a5",
"type": "call",
- "name": "call self-service-capability-param-resolution",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-service-capability-param-resolution' mode='sync' >\n",
+ "name": "call self-serve-capability-param-resolution",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 455.41680908203125,
- "y": 345.250039100647,
- "z": "143c1488.728ec3",
+ "x": 441.41680908203125,
+ "y": 361.82147216796875,
+ "z": "1e0169fe.460196",
"wires": [
[
- "6271ac3c.dbb524"
+ "47c181e5.fedda"
]
]
},
{
- "id": "6271ac3c.dbb524",
+ "id": "47c181e5.fedda",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 759.6667060852051,
- "y": 347.25004291534424,
- "z": "143c1488.728ec3",
+ "x": 745.6667060852051,
+ "y": 363.821475982666,
+ "z": "1e0169fe.460196",
"wires": [
[
- "6983c90c.9f085"
+ "fe0e4241.5b80e8"
]
]
},
{
- "id": "6983c90c.9f085",
+ "id": "fe0e4241.5b80e8",
"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\t<parameter name=\"error-message\" value=\"`'Not all assignments are resolved' + $error-message`\" />\n",
"comments": "",
- "x": 918.4166870117188,
- "y": 347.250039100647,
- "z": "143c1488.728ec3",
+ "x": 904.4166870117188,
+ "y": 363.82147216796875,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "a1557c8b.0af52",
+ "id": "a92c49b1.faf6c",
"type": "set",
"name": "set tmp.ss.param.capability-name",
"xml": "<set>\n<parameter name='tmp.ss.param.capability-name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.capability-name`' />\n",
"comments": "",
- "x": 918.5634307861328,
- "y": 403.0317540168762,
- "z": "143c1488.728ec3",
+ "x": 1187.0635833740234,
+ "y": 1973.7697825431824,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "dcc3036b.be682",
+ "id": "ca92a840.cb9a5",
"type": "for",
"name": "for pidx in param_length",
"xml": "<for index=\"pidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`\">",
"comments": "",
"outputs": 1,
- "x": 628.7776565551758,
- "y": 403.10322427749634,
- "z": "143c1488.728ec3",
+ "x": 897.2778091430664,
+ "y": 1973.8412528038025,
+ "z": "1e0169fe.460196",
"wires": [
[
- "ac1bc695.ba30f8",
- "a1557c8b.0af52",
- "a8c879d0.2e224"
+ "864a8266.73cc7",
+ "b15a003.31b4b",
+ "a92c49b1.faf6c"
]
]
},
{
- "id": "ac1bc695.ba30f8",
+ "id": "b15a003.31b4b",
"type": "switchNode",
"name": "switch: capability-name - ss vs param",
"xml": "<switch test='`$tmp.ss.param.capability-name == $ss.capability-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 931.6388931274414,
- "y": 484.3810067176819,
- "z": "143c1488.728ec3",
+ "x": 1200.139045715332,
+ "y": 2055.119035243988,
+ "z": "1e0169fe.460196",
"wires": [
[
- "95d45cef.739a4"
+ "5f27f686.c72e78"
]
]
},
{
- "id": "95d45cef.739a4",
+ "id": "5f27f686.c72e78",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1170.388900756836,
- "y": 484.1310067176819,
- "z": "143c1488.728ec3",
+ "x": 1438.8890533447266,
+ "y": 2054.869035243988,
+ "z": "1e0169fe.460196",
"wires": [
[
- "58a7e2ac.369edc"
+ "b6e45a86.008848"
]
]
},
{
- "id": "ae0c0642.b8f398",
+ "id": "52a3fa95.c6446c",
"type": "switchNode",
"name": "switch: resource-key[].name",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1357.778221130371,
- "y": 804.4249711036682,
- "z": "143c1488.728ec3",
+ "x": 1688.7783126831055,
+ "y": 2305.1630301475525,
+ "z": "1e0169fe.460196",
"wires": [
[
- "30dba812.eebad",
- "9ccc6ec3.307098",
- "17e282ca.caa0c5",
- "79d8a08e.f34778",
- "a090c1a0.159c8"
+ "12d1fbad.020824",
+ "31df3307.8fd214",
+ "8556b639.07cc4",
+ "32ab7f7f.33dea",
+ "28ed7d99.2fd922"
]
]
},
{
- "id": "9ccc6ec3.307098",
+ "id": "31df3307.8fd214",
"type": "outcome",
"name": "service-instance-id",
"xml": "<outcome value='service-instance-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1629.1671295166016,
- "y": 803.897189617157,
- "z": "143c1488.728ec3",
+ "x": 1960.167221069336,
+ "y": 2304.6352486610413,
+ "z": "1e0169fe.460196",
"wires": [
[
- "c862bfff.9602c"
+ "15e0f6f3.464d99"
]
]
},
{
- "id": "c862bfff.9602c",
+ "id": "15e0f6f3.464d99",
"type": "set",
"name": "set tmp.ss.service-instance-id",
"xml": "<set>\n<parameter name='tmp.ss.service-instance-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 1895.4171295166016,
- "y": 803.647189617157,
- "z": "143c1488.728ec3",
+ "x": 2226.417221069336,
+ "y": 2304.3852486610413,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "ae459d03.790da",
+ "id": "702f24b8.ab2b14",
"type": "set",
"name": "set service-data...param[].value = ip-address",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].value' \n\tvalue='`$self_serve_netbox_ip_assignement.ip-address`' />\n",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].value' \n\tvalue='`$ip[0]`' />\n",
"comments": "",
- "x": 2387.3892211914062,
- "y": 1346.746416091919,
- "z": "143c1488.728ec3",
+ "x": 3014.388885498047,
+ "y": 2875.3416357040405,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "e576077c.d41a68",
- "type": "for",
- "name": "for pidx in param_length",
- "xml": "<for index=\"pidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`\">",
- "comments": "",
- "outputs": 1,
- "x": 1363.7142944335938,
- "y": 1345.6789722442627,
- "z": "143c1488.728ec3",
- "wires": [
- [
- "b57441f1.40176"
- ]
- ]
- },
- {
- "id": "b57441f1.40176",
- "type": "switchNode",
- "name": "switch: param[].name",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1609.4920043945312,
- "y": 1345.4289112091064,
- "z": "143c1488.728ec3",
- "wires": [
- [
- "afe763c2.be4ad"
- ]
- ]
- },
- {
- "id": "8b2de334.ba017",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2117.5001945495605,
- "y": 1347.6076221466064,
- "z": "143c1488.728ec3",
- "wires": [
- [
- "ae459d03.790da",
- "2123959.27e4fea"
- ]
- ]
- },
- {
- "id": "bd927868.04ca28",
+ "id": "daef3d9b.976aa",
"type": "update",
"name": "get-resource IPAM_IP_ASSIGNEMENT",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n\tkey='SELECT * from IPAM_IP_ASSIGNEMENT \n\t\tWHERE external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id' >",
"comments": "",
"outputs": 1,
- "x": 1384.3770751953125,
- "y": 1549.7500171661377,
- "z": "143c1488.728ec3",
+ "x": 2188.472640991211,
+ "y": 2976.2020263671875,
+ "z": "1e0169fe.460196",
"wires": [
[
- "97c050e3.e78ef8",
- "fcaae989.8a065"
+ "c57f67d2.fa9d8",
+ "b7a6dad5.6dc8c"
]
]
},
{
- "id": "97c050e3.e78ef8",
+ "id": "c57f67d2.fa9d8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1678.964412689209,
- "y": 1550.7500503063202,
- "z": "143c1488.728ec3",
- "wires": [
- [
- "e707327c.c14c1"
- ]
- ]
- },
- {
- "id": "e707327c.c14c1",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1849.1072213309153,
- "y": 1551.1786281040736,
- "z": "143c1488.728ec3",
- "wires": [
- []
- ]
- },
- {
- "id": "fcaae989.8a065",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1675.6785583496094,
- "y": 1598.4643630981445,
- "z": "143c1488.728ec3",
+ "x": 2483.0599784851074,
+ "y": 2977.20205950737,
+ "z": "1e0169fe.460196",
"wires": [
[
- "1905e389.47be1c"
+ "e5ae09f3.4e9b7"
]
]
},
{
- "id": "d2384164.43d4b8",
+ "id": "9e365126.584608",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1078.214370727539,
- "y": 1551.3929615020752,
- "z": "143c1488.728ec3",
+ "x": 1882.3099365234375,
+ "y": 2977.844970703125,
+ "z": "1e0169fe.460196",
"wires": [
[
- "bd927868.04ca28",
- "8b0e1626.d5a95"
+ "daef3d9b.976aa"
]
]
},
{
- "id": "dd1d0acb.f3d9f",
+ "id": "b0815fb0.6c8c58",
"type": "for",
"name": "for kidx in resource-key_length",
"xml": "<for index=\"kidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key_length`\">",
"comments": "",
"outputs": 1,
- "x": 1074.639305114746,
- "y": 802.2860550880432,
- "z": "143c1488.728ec3",
+ "x": 1405.6393966674805,
+ "y": 2303.0241141319275,
+ "z": "1e0169fe.460196",
"wires": [
[
- "ae0c0642.b8f398"
+ "52a3fa95.c6446c"
]
]
},
{
- "id": "cd60dd04.3a49e",
+ "id": "9d646260.b0f88",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 345.03570556640625,
- "y": 401.22620487213135,
- "z": "143c1488.728ec3",
+ "x": 613.5358581542969,
+ "y": 1971.9642333984375,
+ "z": "1e0169fe.460196",
"wires": [
[
- "dcc3036b.be682",
- "8f13f8ba.2b7f7"
+ "ca92a840.cb9a5",
+ "dddd3293.e9766"
]
]
},
{
- "id": "66e86dab.782c14",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss.eipam.log' />\n",
- "comments": "",
- "outputs": 1,
- "x": 143.5833740234375,
- "y": 1909.6664819717407,
- "z": "143c1488.728ec3",
- "wires": [
- []
- ]
- },
- {
- "id": "178de813.ea0878",
+ "id": "12508de3.d24ce2",
"type": "update",
"name": "update IPAM_IP_ASSIGNEMENT to PENDING_DELETE...",
"xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\n\tkey=\"UPDATE IPAM_IP_ASSIGNEMENT set ip_status = $tmp.status \n\t\tWHERE external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id\" >",
"comments": "",
"outputs": 1,
- "x": 2207.2740478515625,
- "y": 1641.4287281036377,
- "z": "143c1488.728ec3",
+ "x": 3011.369613647461,
+ "y": 3067.8807373046875,
+ "z": "1e0169fe.460196",
"wires": [
[
- "22ea54b4.9a4a5c"
+ "e08179b3.30edc"
]
]
},
{
- "id": "c8aa945e.cb553",
+ "id": "86f22edb.c1e37",
"type": "set",
"name": "set status = PENDING_DELETE",
"xml": "<set>\n<parameter name='tmp.status' value=\"PENDING_DELETE\" />\n",
"comments": "",
- "x": 2117.1905517578125,
- "y": 1599.7619800567627,
- "z": "143c1488.728ec3",
+ "x": 2921.286117553711,
+ "y": 3026.2139892578125,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "22ea54b4.9a4a5c",
+ "id": "e08179b3.30edc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2514.9405059814453,
- "y": 1642.0120515823364,
- "z": "143c1488.728ec3",
+ "x": 3319.0360717773438,
+ "y": 3068.4640607833862,
+ "z": "1e0169fe.460196",
"wires": [
[
- "29d7a55a.db16a2"
+ "a80cdb69.81f35"
]
]
},
{
- "id": "29d7a55a.db16a2",
+ "id": "a80cdb69.81f35",
"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=\"`'Error updating NETBOX_IP_ASSIGNMENTS table to unassign ip with external_key=' + $tmp.ss.external-key + ' and service_instance_id=' + $tmp.ss.service-instance-id`\" />\n",
"comments": "",
- "x": 2693.9407958984375,
- "y": 1641.8216724395752,
- "z": "143c1488.728ec3",
+ "x": 3498.036361694336,
+ "y": 3068.273681640625,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "e13d8645.38dff8",
+ "id": "2ba87204.72c89e",
"type": "execute",
"name": "execute Netbox unassign IP addresses",
"xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"unassignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external-key`\" />",
"comments": "",
"outputs": 1,
- "x": 2137.27392578125,
- "y": 1687.678789138794,
- "z": "143c1488.728ec3",
+ "x": 2941.3694915771484,
+ "y": 3114.1307983398438,
+ "z": "1e0169fe.460196",
"wires": [
[
- "8a2f8559.485e"
+ "d761dd7d.5daac",
+ "70a92bf3.d01214"
]
]
},
{
- "id": "8a2f8559.485e",
+ "id": "d761dd7d.5daac",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2380.607192993164,
- "y": 1687.6787385940552,
- "z": "143c1488.728ec3",
+ "x": 3184.7027587890625,
+ "y": 3114.130747795105,
+ "z": "1e0169fe.460196",
"wires": [
[
- "745a09ce.fc0c18"
+ "ac3185a3.0297d8"
]
]
},
{
- "id": "745a09ce.fc0c18",
+ "id": "ac3185a3.0297d8",
"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=\"`'Error in NetboxClient#unassignIPAddress with external-key='+ $tmp.ss.external-key`\" />\n",
"comments": "",
- "x": 2542.607219696045,
- "y": 1687.488473892212,
- "z": "143c1488.728ec3",
+ "x": 3346.7027854919434,
+ "y": 3113.9404830932617,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "1905e389.47be1c",
+ "id": "9487046d.9fad68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1857.8929595947266,
- "y": 1599.1786079406738,
- "z": "143c1488.728ec3",
+ "x": 2661.988525390625,
+ "y": 3025.6306171417236,
+ "z": "1e0169fe.460196",
"wires": [
[
- "c8aa945e.cb553",
- "178de813.ea0878",
- "e13d8645.38dff8"
+ "86f22edb.c1e37",
+ "12508de3.d24ce2",
+ "2ba87204.72c89e"
]
]
},
{
- "id": "8f13f8ba.2b7f7",
+ "id": "dddd3293.e9766",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'SS: pidx: ' + $pidx`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 580.84130859375,
- "y": 458.170693397522,
- "z": "143c1488.728ec3",
+ "x": 849.3414611816406,
+ "y": 2028.9087219238281,
+ "z": "1e0169fe.460196",
"wires": [
[]
]
},
{
- "id": "30dba812.eebad",
+ "id": "12d1fbad.020824",
"type": "outcome",
"name": "vf-module-id",
"xml": "<outcome value='vf-module-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1611.0001373291016,
- "y": 850.1471285820007,
- "z": "143c1488.728ec3",
+ "x": 1942.000228881836,
+ "y": 2350.885187625885,
+ "z": "1e0169fe.460196",
"wires": [
[
- "c1e7f26f.85c74"
+ "e91a4a82.52be28"
]
]
},
{
- "id": "c1e7f26f.85c74",
+ "id": "e91a4a82.52be28",
"type": "set",
"name": "set tmp.ss.vf-module-id",
"xml": "<set>\n<parameter name='tmp.ss.vf-module-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 1877.000259399414,
- "y": 850.1471285820007,
- "z": "143c1488.728ec3",
+ "x": 2208.0003509521484,
+ "y": 2350.885187625885,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "8b0e1626.d5a95",
- "type": "for",
- "name": "for pidx in param_length",
- "xml": "<for index=\"pidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`\">",
- "comments": "",
- "outputs": 1,
- "x": 1345.6429443359375,
- "y": 1789.9999961853027,
- "z": "143c1488.728ec3",
- "wires": [
- [
- "81010aef.f49a18"
- ]
- ]
- },
- {
- "id": "81010aef.f49a18",
- "type": "switchNode",
- "name": "switch: param[].name",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1593.6429443359375,
- "y": 1789.7499961853027,
- "z": "143c1488.728ec3",
- "wires": [
- [
- "e1dfefe2.393f88"
- ]
- ]
- },
- {
- "id": "e1dfefe2.393f88",
- "type": "outcome",
- "name": "ip-address",
- "xml": "<outcome value='ip-address'>",
- "comments": "",
- "outputs": 1,
- "x": 1838.178695678711,
- "y": 1789.9285697937012,
- "z": "143c1488.728ec3",
- "wires": [
- [
- "e87a20cc.b590a8"
- ]
- ]
- },
- {
- "id": "e87a20cc.b590a8",
+ "id": "ae56d16c.edce5",
"type": "set",
"name": "set resource-resolution-data.status = DELETED",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' \n\tvalue='DELETED' />\n",
"comments": "",
- "x": 2160.3572998046875,
- "y": 1790.1429615020752,
- "z": "143c1488.728ec3",
+ "x": 3451.595443725586,
+ "y": 3169.4514989852905,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "17e282ca.caa0c5",
+ "id": "8556b639.07cc4",
"type": "outcome",
"name": "prefix-id",
"xml": "<outcome value='prefix-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1600.0558013916016,
- "y": 894.3971590995789,
- "z": "143c1488.728ec3",
+ "x": 1931.055892944336,
+ "y": 2395.135218143463,
+ "z": "1e0169fe.460196",
"wires": [
[
- "d72c0767.d2203"
+ "246a1d6a.080fa2"
]
]
},
{
- "id": "d72c0767.d2203",
+ "id": "246a1d6a.080fa2",
"type": "set",
"name": "set prefix-id",
"xml": "<set>\n<parameter name='tmp.ss.prefix-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 1846.5558013916016,
- "y": 894.6471285820007,
- "z": "143c1488.728ec3",
+ "x": 2177.555892944336,
+ "y": 2395.385187625885,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "e8bdbae6.040f1",
+ "id": "d994622b.100b98",
"type": "execute",
"name": "execute NetboxClient assignIpAddress",
"xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"assignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"vf_module_id\" value=\"`$tmp.ss.vf-module-id`\" />\n<parameter name=\"prefix_id\" value=\"`$tmp.ss.prefix-id`\" />\n<parameter name=\"resource_name\" value=\"`$tmp.ss.param.name`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external-key`\" />",
"comments": "",
"outputs": 1,
- "x": 1381.9525756835938,
- "y": 1208.9170093536377,
- "z": "143c1488.728ec3",
+ "x": 2204.38134765625,
+ "y": 2695.3692626953125,
+ "z": "1e0169fe.460196",
"wires": [
[
- "6e70c100.8f1ee"
+ "5fcd5073.23e8c8",
+ "1a67a440.ccf65c"
]
]
},
{
- "id": "6e70c100.8f1ee",
+ "id": "5fcd5073.23e8c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1698.9525756835938,
- "y": 1210.9169483184814,
- "z": "143c1488.728ec3",
+ "x": 2521.38134765625,
+ "y": 2697.3692016601562,
+ "z": "1e0169fe.460196",
"wires": [
[
- "1439cf99.003e9"
+ "b53fc0c4.6e6db"
]
]
},
{
- "id": "1439cf99.003e9",
+ "id": "b53fc0c4.6e6db",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1906.9525756835938,
- "y": 1214.9169483184814,
- "z": "143c1488.728ec3",
+ "x": 2729.38134765625,
+ "y": 2701.3692016601562,
+ "z": "1e0169fe.460196",
"wires": [
[
- "2738f77e.bc5c7",
- "663a6846.85cae8"
+ "aefd9233.639b38",
+ "5924f9f1.b07eb"
]
]
},
{
- "id": "2738f77e.bc5c7",
+ "id": "aefd9233.639b38",
"type": "set",
"name": "set resource-resolution-data.status = FAILED",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' value='FAILED' />\n",
"comments": "",
- "x": 2223.95263671875,
- "y": 1218.9169178009033,
- "z": "143c1488.728ec3",
+ "x": 3046.3814086914062,
+ "y": 2705.369171142578,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "663a6846.85cae8",
+ "id": "5924f9f1.b07eb",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 2125.6190795898438,
- "y": 1272.8058032989502,
- "z": "143c1488.728ec3",
+ "x": 2943.7622680664062,
+ "y": 2754.9724340438843,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "2123959.27e4fea",
+ "id": "8459943a.0741",
"type": "set",
"name": "set resource-resolution-data.status = SUCCESS",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' \n\tvalue='SUCCESS' />\n",
"comments": "",
- "x": 2408.750160217285,
- "y": 1404.6076169013977,
- "z": "143c1488.728ec3",
+ "x": 3031.4644470214844,
+ "y": 2926.059958457947,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "79d8a08e.f34778",
+ "id": "32ab7f7f.33dea",
"type": "outcome",
"name": "ip-address-id",
"xml": "<outcome value='ip-address-id'>\n",
"comments": "",
"outputs": 1,
- "x": 1613.9369506835938,
- "y": 939.2542328834534,
- "z": "143c1488.728ec3",
+ "x": 1944.9370422363281,
+ "y": 2439.9922919273376,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e3ef613a.32a62"
+ "1be9a0f0.cb1137"
]
]
},
{
- "id": "e3ef613a.32a62",
+ "id": "1be9a0f0.cb1137",
"type": "set",
"name": "ip-address-id",
"xml": "<set>\n<parameter name='tmp.ss.ip-address-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 1848.9368286132812,
- "y": 939.2542939186096,
- "z": "143c1488.728ec3",
+ "x": 2179.9369201660156,
+ "y": 2439.992352962494,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "a090c1a0.159c8",
+ "id": "28ed7d99.2fd922",
"type": "outcome",
"name": "external_key",
"xml": "<outcome value='external_key'>\n",
"comments": "",
"outputs": 1,
- "x": 1601.5559692382812,
- "y": 984.9685273170471,
- "z": "143c1488.728ec3",
+ "x": 1932.5560607910156,
+ "y": 2485.7065863609314,
+ "z": "1e0169fe.460196",
"wires": [
[
- "5e668590.73215c"
+ "e3062b19.33e69"
]
]
},
{
- "id": "5e668590.73215c",
+ "id": "e3062b19.33e69",
"type": "set",
"name": "set external-key",
"xml": "<set>\n<parameter name='tmp.ss.external-key' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
"comments": "",
- "x": 1850.1273803710938,
- "y": 984.9685883522034,
- "z": "143c1488.728ec3",
+ "x": 2181.127471923828,
+ "y": 2485.7066473960876,
+ "z": "1e0169fe.460196",
"wires": []
},
{
- "id": "afe763c2.be4ad",
- "type": "outcome",
- "name": "tmp.ss.param.name",
- "xml": "<outcome value='`$tmp.ss.param.name`'>\n",
+ "id": "864a8266.73cc7",
+ "type": "set",
+ "name": "set tmp.ss.param.name",
+ "xml": "<set>\n<parameter name='tmp.ss.param.name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].name`' />\n",
+ "comments": "",
+ "x": 1158.8495254516602,
+ "y": 2013.9602675437927,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "b6e45a86.008848",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1894.7621459960938,
- "y": 1346.7146167755127,
- "z": "143c1488.728ec3",
+ "x": 1154.1429138183594,
+ "y": 2299.9287719726562,
+ "z": "1e0169fe.460196",
"wires": [
[
- "8b2de334.ba017"
+ "b0815fb0.6c8c58",
+ "ea11f211.eef478"
]
]
},
{
- "id": "a8c879d0.2e224",
- "type": "set",
- "name": "set tmp.ss.param.name",
- "xml": "<set>\n<parameter name='tmp.ss.param.name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].name`' />\n",
+ "id": "ea11f211.eef478",
+ "type": "switchNode",
+ "name": "switch: ss.capability-action",
+ "xml": "<switch test='`$ss.capability-action`'>\n",
"comments": "",
- "x": 890.3493728637695,
- "y": 443.2222390174866,
- "z": "143c1488.728ec3",
- "wires": []
+ "outputs": 1,
+ "x": 976.0000305175781,
+ "y": 2705.738320350647,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "398f1da9.7fc262",
+ "c615cc08.6cc77"
+ ]
+ ]
},
{
- "id": "58a7e2ac.369edc",
- "type": "switchNode",
- "name": "switch: resource-resolution-data.status",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",
+ "id": "b4174ab1.8632e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 430.2855224609375,
- "y": 779.1906518936157,
- "z": "143c1488.728ec3",
+ "x": 1878.8573608398438,
+ "y": 2694.3097534179688,
+ "z": "1e0169fe.460196",
"wires": [
[
- "9a3a9127.28a32",
- "1a31fbda.d127d4"
+ "d994622b.100b98"
]
]
},
{
- "id": "9a3a9127.28a32",
- "type": "not-found",
- "name": "FAILED",
- "xml": "<outcome value='FAILED'>\n",
+ "id": "b7a6dad5.6dc8c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 661.7143249511719,
- "y": 775.1906976699829,
- "z": "143c1488.728ec3",
+ "x": 2479.774124145508,
+ "y": 3024.9163722991943,
+ "z": "1e0169fe.460196",
"wires": [
[
- "b5c2d57.1e7f9a8"
+ "9487046d.9fad68"
]
]
},
{
- "id": "1a31fbda.d127d4",
+ "id": "1a67a440.ccf65c",
"type": "success",
- "name": "PENDING",
- "xml": "<outcome value='PENDING'>\n",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 668.4285011291504,
- "y": 826.9050257205963,
- "z": "143c1488.728ec3",
+ "x": 2529.4287719726562,
+ "y": 2760.880820274353,
+ "z": "1e0169fe.460196",
"wires": [
[
- "b5c2d57.1e7f9a8"
+ "6b7d48cd.fe82"
]
]
},
{
- "id": "b5c2d57.1e7f9a8",
+ "id": "e5ae09f3.4e9b7",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2653.2027871268137,
+ "y": 2977.6306373051234,
+ "z": "1e0169fe.460196",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b7d48cd.fe82",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 823.142822265625,
- "y": 799.190712928772,
- "z": "143c1488.728ec3",
+ "x": 2723.7144165039062,
+ "y": 2840.8809423446655,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "8459943a.0741",
+ "702f24b8.ab2b14",
+ "722fee02.ac2218"
+ ]
+ ]
+ },
+ {
+ "id": "70a92bf3.d01214",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3189.667465209961,
+ "y": 3168.023398399353,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "ae56d16c.edce5"
+ ]
+ ]
+ },
+ {
+ "id": "612ded0b.7aa5c4",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 588.4285583496094,
+ "y": 451.4284896850586,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "c436ca39.dad55"
+ ]
+ ]
+ },
+ {
+ "id": "f91de1d4.ae1798",
+ "type": "switchNode",
+ "name": "switch capability-type. vnf",
+ "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 385,
+ "y": 452.14276123046875,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "612ded0b.7aa5c4"
+ ]
+ ]
+ },
+ {
+ "id": "2734c8ea.c23828",
+ "type": "switchNode",
+ "name": "switch capability-type vf-module",
+ "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 407.28582763671875,
+ "y": 1837.6666259765625,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "76727ba.3b8bb04"
+ ]
+ ]
+ },
+ {
+ "id": "76727ba.3b8bb04",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 626.2858276367188,
+ "y": 1838.6666870117188,
+ "z": "1e0169fe.460196",
"wires": [
[
- "dd1d0acb.f3d9f",
- "1ab3438e.44fb7c"
+ "9d646260.b0f88"
]
]
},
{
- "id": "efe3d3a6.f63418",
+ "id": "74139423.e17614",
"type": "outcome",
- "name": "assign",
- "xml": "<outcome value='assign'>",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1177.5833129882812,
+ "y": 1389.8692016601562,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "e51b7888.989928"
+ ]
+ ]
+ },
+ {
+ "id": "b8362705.36557",
+ "type": "set",
+ "name": "set tmp.ss.param.capability-name",
+ "xml": "<set>\n<parameter name='tmp.ss.param.capability-name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.capability-name`' />\n",
+ "comments": "",
+ "x": 1210.1705474853516,
+ "y": 547.4722971916199,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "37af35ce.c8f9aa",
+ "type": "for",
+ "name": "for pidx in param_length",
+ "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 880.9999389648438,
- "y": 1207.0002613067627,
- "z": "143c1488.728ec3",
+ "x": 920.3847732543945,
+ "y": 547.54376745224,
+ "z": "1e0169fe.460196",
"wires": [
[
- "f69c94df.b1d828"
+ "f4266bba.68463",
+ "ea3f1334.a266f8",
+ "b8362705.36557"
]
]
},
{
- "id": "1ab3438e.44fb7c",
+ "id": "ea3f1334.a266f8",
"type": "switchNode",
- "name": "switch: ss.capability-action",
- "xml": "<switch test='`$ss.capability-action`'>\n",
+ "name": "switch: capability-name - ss vs param",
+ "xml": "<switch test='`$tmp.ss.param.capability-name == $ss.capability-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 644.9999389648438,
- "y": 1205.0002613067627,
- "z": "143c1488.728ec3",
+ "x": 1223.2460098266602,
+ "y": 628.8215498924255,
+ "z": "1e0169fe.460196",
"wires": [
[
- "efe3d3a6.f63418",
- "dd9f2f74.302358"
+ "d7993c29.a6c5f8"
]
]
},
{
- "id": "f69c94df.b1d828",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "d7993c29.a6c5f8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1461.9960174560547,
+ "y": 628.5715498924255,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "35313136.60f71e"
+ ]
+ ]
+ },
+ {
+ "id": "85af5a4b.a2187",
+ "type": "switchNode",
+ "name": "switch: resource-key[].name",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1650.2185287475586,
+ "y": 820.8654227256775,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "6c06e68b.da7eb8",
+ "8b40c4df.047c2",
+ "5bcfaea0.c0c0f8",
+ "714a9ad3.25a814"
+ ]
+ ]
+ },
+ {
+ "id": "8b40c4df.047c2",
+ "type": "outcome",
+ "name": "service-instance-id",
+ "xml": "<outcome value='service-instance-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1921.607437133789,
+ "y": 820.3376412391663,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "ee744de2.8b10f8"
+ ]
+ ]
+ },
+ {
+ "id": "ee744de2.8b10f8",
+ "type": "set",
+ "name": "set tmp.ss.service-instance-id",
+ "xml": "<set>\n<parameter name='tmp.ss.service-instance-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
+ "comments": "",
+ "x": 2187.857437133789,
+ "y": 820.0876412391663,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "53877355.ae41ac",
+ "type": "update",
+ "name": "get-resource IPAM_IP_ASSIGNEMENT",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n\tkey='SELECT * from IPAM_IP_ASSIGNEMENT \n\t\tWHERE external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 2175.3888549804688,
+ "y": 1491.9048852920532,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "1455e2db.491d8d",
+ "f61d39ca.54246"
+ ]
+ ]
+ },
+ {
+ "id": "1455e2db.491d8d",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.9761924743652,
+ "y": 1492.9049184322357,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "4d3d930a.c74edc"
+ ]
+ ]
+ },
+ {
+ "id": "2e96e14a.d8a666",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1872.9761352539062,
+ "y": 1408.5477905273438,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "53877355.ae41ac"
+ ]
+ ]
+ },
+ {
+ "id": "8b797c86.449c88",
+ "type": "for",
+ "name": "for kidx in resource-key_length",
+ "xml": "<for index=\"kidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1367.0796127319336,
+ "y": 818.7265067100525,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "85af5a4b.a2187"
+ ]
+ ]
+ },
+ {
+ "id": "c436ca39.dad55",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 636.642822265625,
+ "y": 545.666748046875,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "37af35ce.c8f9aa",
+ "419443bc.89754c"
+ ]
+ ]
+ },
+ {
+ "id": "7d36e25f.6ea3f4",
+ "type": "update",
+ "name": "update IPAM_IP_ASSIGNEMENT to PENDING_DELETE...",
+ "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\n\tkey=\"UPDATE IPAM_IP_ASSIGNEMENT set ip_status = $tmp.status \n\t\tWHERE external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 2998.2858276367188,
+ "y": 1583.5835962295532,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "ca94a980.5b06e"
+ ]
+ ]
+ },
+ {
+ "id": "954b1950.33da8",
+ "type": "set",
+ "name": "set status = PENDING_DELETE",
+ "xml": "<set>\n<parameter name='tmp.status' value=\"PENDING_DELETE\" />\n",
+ "comments": "",
+ "x": 2908.2023315429688,
+ "y": 1541.9168481826782,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "ca94a980.5b06e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3305.9522857666016,
+ "y": 1584.166919708252,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "ddd93d50.c85558"
+ ]
+ ]
+ },
+ {
+ "id": "ddd93d50.c85558",
+ "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=\"`'Error updating NETBOX_IP_ASSIGNMENTS table to unassign ip with external_key=' + $tmp.ss.external-key + ' and service_instance_id=' + $tmp.ss.service-instance-id`\" />\n",
+ "comments": "",
+ "x": 3484.9525756835938,
+ "y": 1583.9765405654907,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "d3428a19.b74a38",
+ "type": "execute",
+ "name": "execute Netbox unassign IP addresses",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"unassignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external-key`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2928.2857055664062,
+ "y": 1629.8336572647095,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "a11ee488.c69c1",
+ "bacc37f5.251158"
+ ]
+ ]
+ },
+ {
+ "id": "a11ee488.c69c1",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3171.6189727783203,
+ "y": 1629.8336067199707,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "727fae.421bc054"
+ ]
+ ]
+ },
+ {
+ "id": "727fae.421bc054",
+ "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=\"`'Error in NetboxClient#unassignIPAddress with external-key='+ $tmp.ss.external-key`\" />\n",
+ "comments": "",
+ "x": 3333.618999481201,
+ "y": 1629.6433420181274,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "199cb084.41994f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2648.904739379883,
+ "y": 1541.3334760665894,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "954b1950.33da8",
+ "7d36e25f.6ea3f4",
+ "d3428a19.b74a38"
+ ]
+ ]
+ },
+ {
+ "id": "419443bc.89754c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'SS: pidx: ' + $pidx`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 872.4484252929688,
+ "y": 602.6112365722656,
+ "z": "1e0169fe.460196",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c06e68b.da7eb8",
+ "type": "outcome",
+ "name": "vnf-id",
+ "xml": "<outcome value='vnf-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1903.440444946289,
+ "y": 866.58758020401,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "48b45ebc.19189"
+ ]
+ ]
+ },
+ {
+ "id": "48b45ebc.19189",
+ "type": "set",
+ "name": "set tmp.ss.vnf-id",
+ "xml": "<set>\n<parameter name='tmp.ss.vnf-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
+ "comments": "",
+ "x": 2169.4405670166016,
+ "y": 866.58758020401,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "4c0830f.966f55",
+ "type": "set",
+ "name": "set resource-resolution-data.status = DELETED",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' \n\tvalue='DELETED' />\n",
+ "comments": "",
+ "x": 3438.5116577148438,
+ "y": 1685.1543579101562,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "5bcfaea0.c0c0f8",
+ "type": "outcome",
+ "name": "prefix-id",
+ "xml": "<outcome value='prefix-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1892.496109008789,
+ "y": 910.8376107215881,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "dd169952.c2ddc8"
+ ]
+ ]
+ },
+ {
+ "id": "dd169952.c2ddc8",
+ "type": "set",
+ "name": "set prefix-id",
+ "xml": "<set>\n<parameter name='tmp.ss.prefix-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
+ "comments": "",
+ "x": 2138.996109008789,
+ "y": 911.08758020401,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "3246d2cf.e446ce",
+ "type": "execute",
+ "name": "execute NetboxClient assignIpAddress",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"assignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"vf_module_id\" value=\"`$tmp.ss.vnf-id`\" />\n<parameter name=\"prefix_id\" value=\"`$tmp.ss.prefix-id`\" />\n<parameter name=\"resource_name\" value=\"`$tmp.ss.param.name`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external-key`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2200.1068725585938,
+ "y": 1209.6432886123657,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "bc02f9c5.d3009",
+ "5a42ccdf.863d7c"
+ ]
+ ]
+ },
+ {
+ "id": "bc02f9c5.d3009",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2517.1068725585938,
+ "y": 1211.6432275772095,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "9be2285f.3688f8"
+ ]
+ ]
+ },
+ {
+ "id": "9be2285f.3688f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2725.1068725585938,
+ "y": 1215.6432275772095,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "be8fa4c5.70a7a",
+ "742a806a.1c8b48"
+ ]
+ ]
+ },
+ {
+ "id": "be8fa4c5.70a7a",
+ "type": "set",
+ "name": "set resource-resolution-data.status = FAILED",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' value='FAILED' />\n",
+ "comments": "",
+ "x": 3042.10693359375,
+ "y": 1219.6431970596313,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "742a806a.1c8b48",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2939.48779296875,
+ "y": 1269.2464599609375,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "291a0f5b.065428",
+ "type": "set",
+ "name": "set resource-resolution-data.status = SUCCESS",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' \n\tvalue='SUCCESS' />\n",
+ "comments": "",
+ "x": 3019.1900634765625,
+ "y": 1414.3340454101562,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "714a9ad3.25a814",
+ "type": "outcome",
+ "name": "external_key",
+ "xml": "<outcome value='external_key'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1915.246337890625,
+ "y": 961.4089965820312,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "bc0a0828.40d9d8"
+ ]
+ ]
+ },
+ {
+ "id": "bc0a0828.40d9d8",
+ "type": "set",
+ "name": "set external-key",
+ "xml": "<set>\n<parameter name='tmp.ss.external-key' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
+ "comments": "",
+ "x": 2163.8177490234375,
+ "y": 961.4090576171875,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "f4266bba.68463",
+ "type": "set",
+ "name": "set tmp.ss.param.name",
+ "xml": "<set>\n<parameter name='tmp.ss.param.name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].name`' />\n",
+ "comments": "",
+ "x": 1181.9564895629883,
+ "y": 587.6627821922302,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "35313136.60f71e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115.5831298828125,
+ "y": 815.6311645507812,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "8b797c86.449c88",
+ "f17ee439.871ec"
+ ]
+ ]
+ },
+ {
+ "id": "3ab742ab.07506e",
+ "type": "outcome",
+ "name": "assign",
+ "xml": "<outcome value='assign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1172.190185546875,
+ "y": 1227.190673828125,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "ac9eaafc.1d31a"
+ ]
+ ]
+ },
+ {
+ "id": "f17ee439.871ec",
+ "type": "switchNode",
+ "name": "switch: ss.capability-action",
+ "xml": "<switch test='`$ss.capability-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 934.9402770996094,
+ "y": 1232.690673828125,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "3ab742ab.07506e",
+ "74139423.e17614"
+ ]
+ ]
+ },
+ {
+ "id": "26e5147.b2e3b6c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1920.8328857421875,
+ "y": 1214.8339233398438,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "3246d2cf.e446ce"
+ ]
+ ]
+ },
+ {
+ "id": "f61d39ca.54246",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2466.6903381347656,
+ "y": 1540.61923122406,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "199cb084.41994f"
+ ]
+ ]
+ },
+ {
+ "id": "5a42ccdf.863d7c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2525.154296875,
+ "y": 1275.154846191406,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "82bf193e.1c3e9"
+ ]
+ ]
+ },
+ {
+ "id": "4d3d930a.c74edc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2640.1190011160716,
+ "y": 1493.3334962299891,
+ "z": "1e0169fe.460196",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82bf193e.1c3e9",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2719.43994140625,
+ "y": 1355.1549682617188,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "291a0f5b.065428",
+ "ddc0044e.197a88",
+ "96318d27.c30ac8"
+ ]
+ ]
+ },
+ {
+ "id": "bacc37f5.251158",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3176.5836791992188,
+ "y": 1683.7262573242188,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "4c0830f.966f55"
+ ]
+ ]
+ },
+ {
+ "id": "96318d27.c30ac8",
+ "type": "set",
+ "name": "set service-data...param[].value = ip-address",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].value' \n\tvalue='`$ip[0]`' />\n",
+ "comments": "",
+ "x": 3008.7139892578125,
+ "y": 1374.2858276367188,
+ "z": "1e0169fe.460196",
+ "wires": []
+ },
+ {
+ "id": "ddc0044e.197a88",
+ "type": "execute",
+ "name": "SliStringUtils - split subnet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"original_string\" value=\"`$self_serve_netbox_ip_assignement.ip-address`\" />\n <parameter name=\"regex\" value=\"/\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"ip\" />\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2952.7139892578125,
+ "y": 1334.2858276367188,
+ "z": "1e0169fe.460196",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "722fee02.ac2218",
+ "type": "execute",
+ "name": "SliStringUtils - split subnet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"original_string\" value=\"`$self_serve_netbox_ip_assignement.ip-address`\" />\n <parameter name=\"regex\" value=\"/\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"ip\" />\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2960.428680419922,
+ "y": 2824.7141942977905,
+ "z": "1e0169fe.460196",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac9eaafc.1d31a",
+ "type": "switchNode",
+ "name": "switch: resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1408.392822265625,
+ "y": 1221.9642944335938,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "e91661da.3b8608",
+ "bf37d131.8b2478"
+ ]
+ ]
+ },
+ {
+ "id": "e91661da.3b8608",
+ "type": "not-found",
+ "name": "FAILED",
+ "xml": "<outcome value='FAILED'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1694.643310546875,
+ "y": 1191.53564453125,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "26e5147.b2e3b6c"
+ ]
+ ]
+ },
+ {
+ "id": "bf37d131.8b2478",
+ "type": "success",
+ "name": "PENDING",
+ "xml": "<outcome value='PENDING'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1693.678466796875,
+ "y": 1235.3931274414062,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "26e5147.b2e3b6c"
+ ]
+ ]
+ },
+ {
+ "id": "e51b7888.989928",
+ "type": "switchNode",
+ "name": "switch: resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1431.249755859375,
+ "y": 1393.750244140625,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "26889fb2.5ce19"
+ ]
+ ]
+ },
+ {
+ "id": "26889fb2.5ce19",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1688.678466796875,
+ "y": 1393.9644775390625,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "2e96e14a.d8a666"
+ ]
+ ]
+ },
+ {
+ "id": "c615cc08.6cc77",
+ "type": "outcome",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1181.428466796875,
+ "y": 2975.71435546875,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "5bd2efc8.0cc53"
+ ]
+ ]
+ },
+ {
+ "id": "398f1da9.7fc262",
+ "type": "outcome",
+ "name": "assign",
+ "xml": "<outcome value='assign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1181.749755859375,
+ "y": 2705.8930053710938,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "71585e8c.8a959"
+ ]
+ ]
+ },
+ {
+ "id": "71585e8c.8a959",
+ "type": "switchNode",
+ "name": "switch: resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1417.952392578125,
+ "y": 2700.6666259765625,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "83c2a9a4.58aa98",
+ "bd2c6000.241588"
+ ]
+ ]
+ },
+ {
+ "id": "83c2a9a4.58aa98",
+ "type": "not-found",
+ "name": "FAILED",
+ "xml": "<outcome value='FAILED'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1704.202880859375,
+ "y": 2670.2379760742188,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "b4174ab1.8632e"
+ ]
+ ]
+ },
+ {
+ "id": "bd2c6000.241588",
+ "type": "success",
+ "name": "PENDING",
+ "xml": "<outcome value='PENDING'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1703.238037109375,
+ "y": 2714.095458984375,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "b4174ab1.8632e"
+ ]
+ ]
+ },
+ {
+ "id": "5bd2efc8.0cc53",
+ "type": "switchNode",
+ "name": "switch: resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1435.0949096679688,
+ "y": 2979.5953979492188,
+ "z": "1e0169fe.460196",
+ "wires": [
+ [
+ "9c7404ad.aa898"
+ ]
+ ]
+ },
+ {
+ "id": "9c7404ad.aa898",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
"comments": "",
"outputs": 1,
- "x": 1056.4285888671875,
- "y": 1207.857500076294,
- "z": "143c1488.728ec3",
+ "x": 1692.5236206054688,
+ "y": 2979.8096313476562,
+ "z": "1e0169fe.460196",
"wires": [
[
- "e8bdbae6.040f1",
- "e576077c.d41a68"
+ "9e365126.584608"
]
]
}
-]
\ No newline at end of file
+]