aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json')
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json6239
1 files changed, 3447 insertions, 2792 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json
index 97404397..ab685311 100755
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.json
@@ -1,20 +1,20 @@
[
{
- "id": "3c926793.88f8e8",
+ "id": "b9191fa3.7ca61",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 112,
- "y": 77.02430057525635,
- "z": "112fab3d.a10d2d",
+ "x": 156.2630157470703,
+ "y": 88.76301574707031,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8e22c419.c359c8"
+ "dd8ef904.2a0718"
]
]
},
{
- "id": "8e22c419.c359c8",
+ "id": "dd8ef904.2a0718",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,6496 +22,7151 @@
"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='1-4-2-20181108R1'>",
"outputs": 1,
- "x": 225.85713577270508,
- "y": 116.83383846282959,
- "z": "112fab3d.a10d2d",
+ "x": 270.1201515197754,
+ "y": 128.57255363464355,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5f18dcaf.1733e4"
+ "79e996c5.93c4a8"
]
]
},
{
- "id": "5f18dcaf.1733e4",
+ "id": "79e996c5.93c4a8",
"type": "method",
"name": "method vf-module-topology-operation-assign",
"xml": "<method rpc='vf-module-topology-operation-assign' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 225.42862701416016,
- "y": 157.02430057525635,
- "z": "112fab3d.a10d2d",
+ "x": 269.69164276123047,
+ "y": 168.7630157470703,
+ "z": "565447bf.1f1598",
"wires": [
[
- "bfee1c79.25f4d"
+ "fb67aa4b.8284f8"
]
]
},
{
- "id": "fd852c3d.9d104",
+ "id": "f89d4b47.20f5c8",
"type": "comment",
"name": "vf-module-topology-operation-assign",
"info": "",
"comments": "",
- "x": 517.3210983276367,
- "y": 20,
- "z": "112fab3d.a10d2d",
+ "x": 561.584114074707,
+ "y": 31.738715171813965,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "5621ecb6.141394",
+ "id": "5d7e2c45.4ebe34",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 517.1905097961426,
- "y": 332.548122882843,
- "z": "112fab3d.a10d2d",
+ "x": 562.7035369873047,
+ "y": 365.53680992126465,
+ "z": "565447bf.1f1598",
"wires": [
[
- "27ea8761.a38d7",
- "39338a50.ba0c9e"
+ "d3c6b720.c14d58",
+ "9bb35c39.b1fef"
]
]
},
{
- "id": "27ea8761.a38d7",
+ "id": "d3c6b720.c14d58",
"type": "outcome",
"name": "CreateVfModuleInstance",
"xml": "<outcome value='CreateVfModuleInstance'>\n",
"comments": "",
"outputs": 1,
- "x": 779.2381248474121,
- "y": 309.6910090446472,
- "z": "112fab3d.a10d2d",
+ "x": 833.5011749267578,
+ "y": 333.92968559265137,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e24ff94b.792af8"
+ "a73a78b9.a830b8"
]
]
},
{
- "id": "39338a50.ba0c9e",
+ "id": "9bb35c39.b1fef",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 722.9047698974609,
- "y": 355.07199811935425,
- "z": "112fab3d.a10d2d",
+ "x": 768.417797088623,
+ "y": 398.06068897247314,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d1fcb1c9.df0ba"
+ "3e5eb577.046eda"
]
]
},
{
- "id": "e24ff94b.792af8",
+ "id": "a73a78b9.a830b8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 969.0952892303467,
- "y": 309.69104051589966,
- "z": "112fab3d.a10d2d",
+ "x": 1023.3583393096924,
+ "y": 333.9297170639038,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "d1fcb1c9.df0ba",
- "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=\"If svc-action is 'assign' then request-action must be 'CreateVfModuleInstance'\" />\n",
- "comments": "",
- "x": 987.9047775268555,
- "y": 355.40531063079834,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "b13c4350.370938",
+ "id": "48e25fc2.52f7",
"type": "get-resource",
"name": "get-resource VF_MODULE_MODEL",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODULE_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid'\n pfx='db.vf-module-model'>\n\n",
"comments": "",
"outputs": 1,
- "x": 564.5237770080566,
- "y": 423.6910729408264,
- "z": "112fab3d.a10d2d",
+ "x": 610.0368041992188,
+ "y": 466.6797637939453,
+ "z": "565447bf.1f1598",
"wires": [
[
- "571b8345.3afedc",
- "dee1e46d.9ae7c8"
+ "c0e16531.bf13d8",
+ "3ed7b745.5102d8"
]
]
},
{
- "id": "e0e2e8ab.4a9f9",
- "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=\"`'No model found for VF module customization UUID ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />\n",
- "comments": "",
- "x": 1005.9521980285645,
- "y": 448.1195454597473,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "571b8345.3afedc",
+ "id": "c0e16531.bf13d8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 830.3094673156738,
- "y": 404.0719037055969,
- "z": "112fab3d.a10d2d",
+ "x": 875.8224945068359,
+ "y": 447.0605945587158,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a50bc128.476618"
+ "2172bacb.fd1c86"
]
]
},
{
- "id": "dee1e46d.9ae7c8",
+ "id": "3ed7b745.5102d8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 838.8808975219727,
- "y": 448.3576169013977,
- "z": "112fab3d.a10d2d",
+ "x": 884.3939247131348,
+ "y": 491.3463077545166,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e0e2e8ab.4a9f9"
+ "c639de59.ae251"
]
]
},
{
- "id": "a50bc128.476618",
- "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 reading VF_MODULE_MODEL table\" />\n",
- "comments": "",
- "x": 1005.309398651123,
- "y": 403.21480417251587,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "fe2663d3.ad286",
+ "id": "9d5245b6.abb4e8",
"type": "switchNode",
"name": "switch service-data.vnfs.vnf_length",
"xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 559.6190414428711,
- "y": 632.2624082565308,
- "z": "112fab3d.a10d2d",
+ "x": 603.8820571899414,
+ "y": 644.0011234283447,
+ "z": "565447bf.1f1598",
"wires": [
[
- "c2c56698.b84c38",
- "69d3fcd2.10cc54"
+ "128f7183.82d7ae",
+ "6a25eddf.15bb44"
]
]
},
{
- "id": "c2c56698.b84c38",
+ "id": "128f7183.82d7ae",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 800.3333129882812,
- "y": 609.4051485061646,
- "z": "112fab3d.a10d2d",
+ "x": 844.5963287353516,
+ "y": 620.1438636779785,
+ "z": "565447bf.1f1598",
"wires": [
[
- "71fe3c04.e95c14"
+ "dbfaf511.5478b8"
]
]
},
{
- "id": "69d3fcd2.10cc54",
+ "id": "6a25eddf.15bb44",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 800.0951538085938,
- "y": 650.3576669692993,
- "z": "112fab3d.a10d2d",
+ "x": 844.3581695556641,
+ "y": 662.0963821411133,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f260a284.46dcc"
+ "7ef59497.ea72ec"
]
]
},
{
- "id": "72f655d6.4f3d74",
+ "id": "94a28d82.4f01d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 138.19043731689453,
- "y": 3113.92930662632,
- "z": "112fab3d.a10d2d",
- "wires": [
- [
- "32d3cb49.a3ac2c",
- "bd2a2adb.54955",
- "47c04218.47c91c",
- "5d68b4f6.9bd994",
- "4cbe79da.e231f8",
- "2b324bfd.26e0fc",
- "ed77dce7.269d88",
- "62ca20ce.f4db7",
- "cd265369.c8e4",
- "4772b1e6.c27368",
- "533af805.057888",
- "acb49220.447a5",
- "7f55025b.b643ec",
- "87463151.06bbf8",
- "5dbea689.bf65d8",
- "b96e4724.95afc",
- "9aa91724.bae38",
- "1a40ee60.b28b3a",
- "beb8db1.da0a8a8",
- "d321cb9d.153fd8",
- "ed92ecd.0ad519",
- "1d19c87b.60a2d",
- "e7b2dbd5.bd9e",
- "facd6ff7.1eed9",
- "f10f9580.1e0308",
- "e7fac88.832d038",
- "def45b38.4bd55",
- "7f309670.a38298",
- "b80a89b3.da4648",
- "1781a3e7.247ed4",
- "69eb61e5.2ebc48"
- ]
- ]
- },
- {
- "id": "71fe3c04.e95c14",
- "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=\"There are no VNFs defined in MD-SAL\" />\n",
- "comments": "",
- "x": 966.999927520752,
- "y": 608.6909036636353,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "f260a284.46dcc",
+ "x": 182.45345306396484,
+ "y": 3125.668021798134,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "1c68463e.c02a4a",
+ "135adbdd.c9ef24",
+ "86ef2c44.55f05",
+ "e4caf1eb.a8b9f",
+ "7c9996aa.a5c0f8",
+ "e1558384.bfa8e",
+ "b08a4dbf.cf985",
+ "f888462e.a53c78",
+ "7293e3b2.a19a7c",
+ "2a3992a0.134e1e",
+ "2162f1f4.5f96fe",
+ "ff74ebeb.c5ffd8",
+ "489025cd.dbd3ac",
+ "59bf9724.469638",
+ "474227b8.b83ae8",
+ "1d003263.e8205e",
+ "75a8181a.0cae18",
+ "35a859e5.3e7c46",
+ "24109bc2.4c9eb4",
+ "c7aef34d.6997b",
+ "7ffbcb4d.5fb274",
+ "779079fc.7d1618",
+ "494a4418.4600ec",
+ "88b43b76.6a75d8",
+ "bb67c127.33c7c",
+ "67fa2696.640ed8",
+ "fcaf9b9.f1d4568",
+ "9926c7ad.248aa8",
+ "7b6a70b.67d389",
+ "42e09bf7.400e44",
+ "d9542f83.7d0bb",
+ "e283e90a.9eb6c8",
+ "50d368a6.9adce8"
+ ]
+ ]
+ },
+ {
+ "id": "7ef59497.ea72ec",
"type": "for",
"name": "for each vnf",
"xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 962.3332977294922,
- "y": 650.0242853164673,
- "z": "112fab3d.a10d2d",
+ "x": 1006.5963134765625,
+ "y": 661.7630004882812,
+ "z": "565447bf.1f1598",
"wires": [
[
- "7deaebc4.ac7614"
+ "988df689.061cb8"
]
]
},
{
- "id": "7deaebc4.ac7614",
+ "id": "988df689.061cb8",
"type": "switchNode",
"name": "switch service data vnf == input vnf",
"xml": "<switch test='`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 1213.6665954589844,
- "y": 649.6910133361816,
- "z": "112fab3d.a10d2d",
+ "x": 1257.9296112060547,
+ "y": 661.4297285079956,
+ "z": "565447bf.1f1598",
"wires": [
[
- "51d14b17.854d7c"
+ "c657ad4a.55c47"
]
]
},
{
- "id": "51d14b17.854d7c",
+ "id": "c657ad4a.55c47",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1443.6666069030762,
- "y": 649.0243263244629,
- "z": "112fab3d.a10d2d",
+ "x": 1487.9296226501465,
+ "y": 660.7630414962769,
+ "z": "565447bf.1f1598",
"wires": [
[
- "77c2e270.ed179c"
+ "ae39954d.b28168"
]
]
},
{
- "id": "b064f8ff.c2b5c",
+ "id": "9974cb16.902fe8",
"type": "set",
"name": "set vnf-index to -1",
"xml": "<set>\n<parameter name='vnf-index' value='-1' />\n",
"comments": "",
- "x": 508.66666412353516,
- "y": 563.6909074783325,
- "z": "112fab3d.a10d2d",
+ "x": 552.9296798706055,
+ "y": 575.4296226501465,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "d54d91d7.8b3e78",
+ "id": "57723ef9.ea31c",
"type": "set",
"name": "set vnf-index to idx",
"xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
"comments": "",
- "x": 1765.3332443237305,
- "y": 620.024284362793,
- "z": "112fab3d.a10d2d",
+ "x": 1809.5962600708008,
+ "y": 631.7629995346069,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "a5f7f097.af8f7",
+ "id": "540a131f.3d7bec",
"type": "switchNode",
"name": "switch vnf-index",
"xml": "<switch test='`$vnf-index`'>\n",
"comments": "",
"outputs": 1,
- "x": 498.6666717529297,
- "y": 700.3576040267944,
- "z": "112fab3d.a10d2d",
+ "x": 541.6797027587891,
+ "y": 727.5963125228882,
+ "z": "565447bf.1f1598",
"wires": [
[
- "be112994.00d4d8"
+ "ca6ccba1.61a798"
]
]
},
{
- "id": "be112994.00d4d8",
+ "id": "ca6ccba1.61a798",
"type": "outcome",
"name": "-1",
"xml": "<outcome value='-1'>\n",
"comments": "",
"outputs": 1,
- "x": 677.000057220459,
- "y": 699.6909799575806,
- "z": "112fab3d.a10d2d",
+ "x": 720.0130882263184,
+ "y": 726.9296884536743,
+ "z": "565447bf.1f1598",
"wires": [
[
- "470db32f.b4b60c"
+ "792ace51.b15ed"
]
]
},
{
- "id": "470db32f.b4b60c",
- "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=\"`'Unable to find VNF ID ' + $vf-module-topology-operation-input.vnf-information.vnf-id + ' in MD-SAL'`\" />\n",
- "comments": "",
- "x": 836.9999656677246,
- "y": 699.0242834091187,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "32d3cb49.a3ac2c",
+ "id": "1c68463e.c02a4a",
"type": "switchNode",
"name": "switch vf-module_length",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 515.3333930969238,
- "y": 1330.3578004837036,
- "z": "112fab3d.a10d2d",
+ "x": 559.5964088439941,
+ "y": 1342.0965156555176,
+ "z": "565447bf.1f1598",
"wires": [
[
- "7ab560e4.1a6d38",
- "5f6aa735.a00798"
+ "7203a6bd.008058",
+ "1ce0b519.1ca75b"
]
]
},
{
- "id": "7ab560e4.1a6d38",
+ "id": "7203a6bd.008058",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 772.7143478393555,
- "y": 1297.5005741119385,
- "z": "112fab3d.a10d2d",
+ "x": 816.9773635864258,
+ "y": 1309.2392892837524,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a613543c.e2cc28"
+ "1d2df677.49743a"
]
]
},
{
- "id": "a613543c.e2cc28",
+ "id": "1d2df677.49743a",
"type": "set",
"name": "set vf-module-index=0",
"xml": "<set>\n<parameter name='vf-module-index' value='0' />\n",
"comments": "",
- "x": 960.3333854675293,
- "y": 1298.1673488616943,
- "z": "112fab3d.a10d2d",
+ "x": 1004.5964012145996,
+ "y": 1309.9060640335083,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "5f6aa735.a00798",
+ "id": "1ce0b519.1ca75b",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 773.1428909301758,
- "y": 1361.7864322662354,
- "z": "112fab3d.a10d2d",
+ "x": 817.4059066772461,
+ "y": 1373.5251474380493,
+ "z": "565447bf.1f1598",
"wires": [
[
- "b60fe042.ca106"
+ "7b5c967b.5645e8"
]
]
},
{
- "id": "da90dded.536778",
+ "id": "3d0e8775.38d2b8",
"type": "set",
"name": "set vf-module-index = vf-module_length",
"xml": "<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",
"comments": "",
- "x": 1158.3334312438965,
- "y": 1341.97682762146,
- "z": "112fab3d.a10d2d",
+ "x": 1202.5964469909668,
+ "y": 1353.715542793274,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "d9bea081.a8647",
+ "id": "f4745546.3c76c8",
"type": "for",
"name": "for each existing VF module",
"xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1117.428524017334,
- "y": 1386.072057723999,
- "z": "112fab3d.a10d2d",
+ "x": 1161.6915397644043,
+ "y": 1397.810772895813,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1df57378.738945"
+ "38be826c.5042de"
]
]
},
{
- "id": "b60fe042.ca106",
+ "id": "7b5c967b.5645e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 909.8571701049805,
- "y": 1361.7863578796387,
- "z": "112fab3d.a10d2d",
+ "x": 954.1201858520508,
+ "y": 1373.5250730514526,
+ "z": "565447bf.1f1598",
"wires": [
[
- "da90dded.536778",
- "d9bea081.a8647"
+ "3d0e8775.38d2b8",
+ "f4745546.3c76c8"
]
]
},
{
- "id": "1df57378.738945",
+ "id": "38be826c.5042de",
"type": "switchNode",
"name": "switch vf-module-information.vf-module-id == service-data.vnfs.vnf[].vf-modules.vf-module[].vf-module-id",
"xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 1621.0476264953613,
- "y": 1385.6434688568115,
- "z": "112fab3d.a10d2d",
+ "x": 1665.3106422424316,
+ "y": 1397.3821840286255,
+ "z": "565447bf.1f1598",
"wires": [
[
- "885ce266.411c5"
+ "5b65413c.247c9"
]
]
},
{
- "id": "885ce266.411c5",
+ "id": "5b65413c.247c9",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2063.666675567627,
- "y": 1385.2149200439453,
- "z": "112fab3d.a10d2d",
+ "x": 2107.9296913146973,
+ "y": 1396.9536352157593,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1d1cc66f.ea78a2"
+ "cdf91b0.174e5e8"
]
]
},
{
- "id": "1d1cc66f.ea78a2",
- "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=\"`'VF module id ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id\n + ' already exists, and status is ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-level-oper-status.order-status`\" />\n",
- "comments": "",
- "x": 2215.5715560913086,
- "y": 1385.2149066925049,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "a40536a4.046de8",
+ "id": "2eae9b0c.edb3d4",
"type": "comment",
"name": "make sure this VF module doesn't exist already",
"info": "",
"comments": "",
- "x": 1647.4999732971191,
- "y": 1340.2709608078003,
- "z": "112fab3d.a10d2d",
+ "x": 1691.7629890441895,
+ "y": 1352.0096759796143,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "bd2a2adb.54955",
+ "id": "135adbdd.c9ef24",
"type": "set",
"name": "set new vf-module_length",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",
"comments": "",
- "x": 525.9999732971191,
- "y": 1441.3576555252075,
- "z": "112fab3d.a10d2d",
+ "x": 570.2629890441895,
+ "y": 1453.0963706970215,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "47c04218.47c91c",
+ "id": "86ef2c44.55f05",
"type": "set",
"name": "set vf-module-topology data",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-type' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='tmp.vf-module-topology.tenant' value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='tmp.vf-module-topology.aic-cloud-region' value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n",
"comments": "",
- "x": 532.4999923706055,
- "y": 1553.857762336731,
- "z": "112fab3d.a10d2d",
+ "x": 576.7630081176758,
+ "y": 1565.596477508545,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "b167e5bd.dfc368",
+ "id": "77cfe613.fc65c8",
"type": "set",
"name": "set aic-clli",
"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.aic-clli'\n value='`$aai-uid-split[$aai-uid-split_length - 1]`' />\n",
"comments": "",
- "x": 1293.4522514343262,
- "y": 1713.0956888198853,
- "z": "112fab3d.a10d2d",
+ "x": 1337.7152671813965,
+ "y": 1724.8344039916992,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "5d68b4f6.9bd994",
+ "id": "e4caf1eb.a8b9f",
"type": "switchNode",
"name": "switch aic-clli",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli`'>\n",
"comments": "",
"outputs": 1,
- "x": 492.4999122619629,
- "y": 1827.0480289459229,
- "z": "112fab3d.a10d2d",
+ "x": 536.7629280090332,
+ "y": 1838.7867441177368,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8b438660.c4b018"
+ "81ee85e4.dedbf8"
]
]
},
{
- "id": "8b438660.c4b018",
+ "id": "81ee85e4.dedbf8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 637.7856025695801,
- "y": 1827.0480976104736,
- "z": "112fab3d.a10d2d",
+ "x": 682.0486183166504,
+ "y": 1838.7868127822876,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a98150bd.2afc08"
+ "ec2aeced.650af"
]
]
},
{
- "id": "a98150bd.2afc08",
- "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=\"`'Unable to find aic-clli in AAI for aic-cloud-region ' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`\" />\n",
- "comments": "",
- "x": 784.9284629821777,
- "y": 1826.6195316314697,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "4cbe79da.e231f8",
+ "id": "7c9996aa.a5c0f8",
"type": "get-resource",
"name": "get-resource cloud region",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"cloud-region\" \n\t\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner AND \n\t\t cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\"\n pfx='aai.cloud-region' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 531.3571281433105,
- "y": 1627.1913003921509,
- "z": "112fab3d.a10d2d",
+ "x": 575.6201438903809,
+ "y": 1638.9300155639648,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a77893f2.866208",
- "54a4425.3eaf1bc"
+ "6f3a4d5a.8ebfd4",
+ "9660a46b.1c9ce8"
]
]
},
{
- "id": "54a4425.3eaf1bc",
+ "id": "9660a46b.1c9ce8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 745.6033210754395,
- "y": 1645.3421564102173,
- "z": "112fab3d.a10d2d",
+ "x": 789.8663368225098,
+ "y": 1657.0808715820312,
+ "z": "565447bf.1f1598",
"wires": [
[
- "ba04d0eb.3dae9"
+ "7adbe623.7575f8"
]
]
},
{
- "id": "ba04d0eb.3dae9",
- "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 retrieving cloud region from AAI\" />\n",
- "comments": "",
- "x": 920.6032943725586,
- "y": 1645.3421926498413,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "a77893f2.866208",
+ "id": "6f3a4d5a.8ebfd4",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 754.5319175720215,
- "y": 1603.6278896331787,
- "z": "112fab3d.a10d2d",
+ "x": 798.7949333190918,
+ "y": 1614.3666048049927,
+ "z": "565447bf.1f1598",
"wires": [
[
- "234062c6.8fefc6"
+ "799eaa32.6fe824"
]
]
},
{
- "id": "234062c6.8fefc6",
- "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=\"Cloud region not found in AAI\" />\n",
- "comments": "",
- "x": 920.8811950683594,
- "y": 1602.933466911316,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "77c2e270.ed179c",
+ "id": "ae39954d.b28168",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1592.0000686645508,
- "y": 647.9440250396729,
- "z": "112fab3d.a10d2d",
+ "x": 1636.263084411621,
+ "y": 659.6827402114868,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d54d91d7.8b3e78",
- "bfe3038c.a182"
+ "57723ef9.ea31c",
+ "c07cd07d.0c75a"
]
]
},
{
- "id": "bfe3038c.a182",
+ "id": "c07cd07d.0c75a",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 1727.0000343322754,
- "y": 669.6106109619141,
- "z": "112fab3d.a10d2d",
+ "x": 1771.2630500793457,
+ "y": 681.349326133728,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "904b2f3e.415788",
+ "id": "952256ff.21f9a8",
"type": "set",
"name": "set from DB",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$db.vf-module-model.invariant-uuid`' />\n",
"comments": "",
- "x": 906.833251953125,
- "y": 1868.44402217865,
- "z": "112fab3d.a10d2d",
+ "x": 951.0962677001953,
+ "y": 1880.1827373504639,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "2b324bfd.26e0fc",
+ "id": "e1558384.bfa8e",
"type": "switchNode",
"name": "switch input model-invariant-uuid",
"xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",
"comments": "",
"outputs": 1,
- "x": 550.6903266906738,
- "y": 1891.2684659957886,
- "z": "112fab3d.a10d2d",
+ "x": 594.9533424377441,
+ "y": 1903.0071811676025,
+ "z": "565447bf.1f1598",
"wires": [
[
- "385357de.ea8398",
- "299c303.4cf2ad"
+ "cd2324fc.034808",
+ "38df22f.16dd4de"
]
]
},
{
- "id": "385357de.ea8398",
+ "id": "cd2324fc.034808",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 756.3569984436035,
- "y": 1868.4114294052124,
- "z": "112fab3d.a10d2d",
+ "x": 800.6200141906738,
+ "y": 1880.1501445770264,
+ "z": "565447bf.1f1598",
"wires": [
[
- "904b2f3e.415788"
+ "952256ff.21f9a8"
]
]
},
{
- "id": "299c303.4cf2ad",
+ "id": "38df22f.16dd4de",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 757.7855949401855,
- "y": 1912.6970205307007,
- "z": "112fab3d.a10d2d",
+ "x": 802.0486106872559,
+ "y": 1924.4357357025146,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f7953ce0.dfc7c"
+ "cb5b92dd.63cc2"
]
]
},
{
- "id": "f7953ce0.dfc7c",
+ "id": "cb5b92dd.63cc2",
"type": "set",
"name": "set from input",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-invariant-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",
"comments": "",
- "x": 912.0713310241699,
- "y": 1912.1255927085876,
- "z": "112fab3d.a10d2d",
+ "x": 956.3343467712402,
+ "y": 1923.8643078804016,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "733eafb4.30c8d",
+ "id": "9d20a066.9a052",
"type": "set",
"name": "set from DB",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-uuid'\n value='`$db.vf-module-model.uuid`' />\n",
"comments": "",
- "x": 907.7855224609375,
- "y": 1956.9826984405518,
- "z": "112fab3d.a10d2d",
+ "x": 952.0485382080078,
+ "y": 1968.7214136123657,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "ed77dce7.269d88",
+ "id": "b08a4dbf.cf985",
"type": "switchNode",
"name": "switch input model-uuid",
"xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",
"comments": "",
"outputs": 1,
- "x": 523.3093452453613,
- "y": 1979.8072032928467,
- "z": "112fab3d.a10d2d",
+ "x": 567.5723609924316,
+ "y": 1991.5459184646606,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9008b525.6a4788",
- "f3c2a46.0aaa8d8"
+ "c7ed7b53.7dd0f8",
+ "778bc2b7.d82bbc"
]
]
},
{
- "id": "9008b525.6a4788",
+ "id": "c7ed7b53.7dd0f8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 757.3093185424805,
- "y": 1956.950135231018,
- "z": "112fab3d.a10d2d",
+ "x": 801.5723342895508,
+ "y": 1968.688850402832,
+ "z": "565447bf.1f1598",
"wires": [
[
- "733eafb4.30c8d"
+ "9d20a066.9a052"
]
]
},
{
- "id": "f3c2a46.0aaa8d8",
+ "id": "778bc2b7.d82bbc",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 758.7379150390625,
- "y": 2001.2357263565063,
- "z": "112fab3d.a10d2d",
+ "x": 803.0009307861328,
+ "y": 2012.9744415283203,
+ "z": "565447bf.1f1598",
"wires": [
[
- "c4a21df.1175a6"
+ "f7d52f4a.cdff6"
]
]
},
{
- "id": "c4a21df.1175a6",
+ "id": "f7d52f4a.cdff6",
"type": "set",
"name": "set from input",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",
"comments": "",
- "x": 913.0236511230469,
- "y": 2000.6642985343933,
- "z": "112fab3d.a10d2d",
+ "x": 957.2866668701172,
+ "y": 2012.4030137062073,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "1f38b7fe.ab1b8",
+ "id": "dac6c331.68c42",
"type": "set",
"name": "set from DB",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-version'\n value='`$db.vf-module-model.version`' />\n",
"comments": "",
- "x": 904.9284553527832,
- "y": 2045.8399057388306,
- "z": "112fab3d.a10d2d",
+ "x": 949.1914710998535,
+ "y": 2057.5786209106445,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "62ca20ce.f4db7",
+ "id": "f888462e.a53c78",
"type": "switchNode",
"name": "switch input model-version",
"xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",
"comments": "",
"outputs": 1,
- "x": 531.4522171020508,
- "y": 2068.6643505096436,
- "z": "112fab3d.a10d2d",
+ "x": 575.7152328491211,
+ "y": 2080.4030656814575,
+ "z": "565447bf.1f1598",
"wires": [
[
- "41183df5.95a124",
- "87e93be5.4c098"
+ "9c31df03.57fb6",
+ "9f5a3e1a.3ae01"
]
]
},
{
- "id": "41183df5.95a124",
+ "id": "9c31df03.57fb6",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 754.4522018432617,
- "y": 2045.807312965393,
- "z": "112fab3d.a10d2d",
+ "x": 798.715217590332,
+ "y": 2057.546028137207,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1f38b7fe.ab1b8"
+ "dac6c331.68c42"
]
]
},
{
- "id": "87e93be5.4c098",
+ "id": "9f5a3e1a.3ae01",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 755.8807983398438,
- "y": 2090.0929040908813,
- "z": "112fab3d.a10d2d",
+ "x": 800.1438140869141,
+ "y": 2101.8316192626953,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5cce1634.662ce8"
+ "886a096e.cd9ed8"
]
]
},
{
- "id": "5cce1634.662ce8",
+ "id": "886a096e.cd9ed8",
"type": "set",
"name": "set from input",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-version'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",
"comments": "",
- "x": 910.1665344238281,
- "y": 2089.5214762687683,
- "z": "112fab3d.a10d2d",
+ "x": 954.4295501708984,
+ "y": 2101.2601914405823,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "c2177442.81abc",
+ "id": "f162ec13.2ea9e",
"type": "set",
"name": "set from DB",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-name'\n value='`$db.vf-module-model.name`' />\n",
"comments": "",
- "x": 904.9284553527832,
- "y": 2132.9827280044556,
- "z": "112fab3d.a10d2d",
+ "x": 949.1914710998535,
+ "y": 2144.7214431762695,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "cd265369.c8e4",
+ "id": "7293e3b2.a19a7c",
"type": "switchNode",
"name": "switch input model-name",
"xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 526.4522171020508,
- "y": 2155.8071727752686,
- "z": "112fab3d.a10d2d",
+ "x": 570.7152328491211,
+ "y": 2167.5458879470825,
+ "z": "565447bf.1f1598",
"wires": [
[
- "68b6f8a8.a68c3",
- "4f8262ee.1ebcac"
+ "fec48afa.f578f8",
+ "84aba209.b7386"
]
]
},
{
- "id": "68b6f8a8.a68c3",
+ "id": "fec48afa.f578f8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 754.4522018432617,
- "y": 2132.950135231018,
- "z": "112fab3d.a10d2d",
+ "x": 798.715217590332,
+ "y": 2144.688850402832,
+ "z": "565447bf.1f1598",
"wires": [
[
- "c2177442.81abc"
+ "f162ec13.2ea9e"
]
]
},
{
- "id": "4f8262ee.1ebcac",
+ "id": "84aba209.b7386",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 755.8807983398438,
- "y": 2177.2357263565063,
- "z": "112fab3d.a10d2d",
+ "x": 800.1438140869141,
+ "y": 2188.9744415283203,
+ "z": "565447bf.1f1598",
"wires": [
[
- "2f3b60e4.144198"
+ "fef7c2e3.5fc15"
]
]
},
{
- "id": "2f3b60e4.144198",
+ "id": "fef7c2e3.5fc15",
"type": "set",
"name": "set from input",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-name'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",
"comments": "",
- "x": 910.1665344238281,
- "y": 2176.6642985343933,
- "z": "112fab3d.a10d2d",
+ "x": 954.4295501708984,
+ "y": 2188.4030137062073,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "4772b1e6.c27368",
+ "id": "2a3992a0.134e1e",
"type": "set",
"name": "set model-customization-uuid",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-customization-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",
"comments": "",
- "x": 540.9045524597168,
- "y": 2228.316162109375,
- "z": "112fab3d.a10d2d",
+ "x": 585.1675682067871,
+ "y": 2240.054877281189,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "533af805.057888",
+ "id": "2162f1f4.5f96fe",
"type": "set",
"name": "set vf-module-id",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",
"comments": "",
- "x": 494.09519958496094,
- "y": 1497.0393381118774,
- "z": "112fab3d.a10d2d",
+ "x": 538.3582153320312,
+ "y": 1508.7780532836914,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "acb49220.447a5",
+ "id": "ff74ebeb.c5ffd8",
"type": "for",
"name": "for each cloud-region relationship",
"xml": "<for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 553.6109428405762,
- "y": 1715.6979837417603,
- "z": "112fab3d.a10d2d",
+ "x": 597.8739585876465,
+ "y": 1727.4366989135742,
+ "z": "565447bf.1f1598",
"wires": [
[
- "59afb518.40828c"
+ "6dfb70e4.99bce"
]
]
},
{
- "id": "59afb518.40828c",
+ "id": "6dfb70e4.99bce",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 801.2894859313965,
- "y": 1715.4479131698608,
- "z": "112fab3d.a10d2d",
+ "x": 845.5525016784668,
+ "y": 1727.1866283416748,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5978af5d.b1d4a"
+ "8d3e1649.827698"
]
]
},
{
- "id": "5978af5d.b1d4a",
+ "id": "8d3e1649.827698",
"type": "outcome",
"name": "complex",
"xml": "<outcome value='complex'>\n",
"comments": "",
"outputs": 1,
- "x": 970.7538070678711,
- "y": 1714.8407354354858,
- "z": "112fab3d.a10d2d",
+ "x": 1015.0168228149414,
+ "y": 1726.5794506072998,
+ "z": "565447bf.1f1598",
"wires": [
[
- "7b948c9e.d27a6c"
+ "89cc33ca.87336"
]
]
},
{
- "id": "2a23b2e8.9b4796",
+ "id": "f7308857.ab0638",
"type": "execute",
"name": "split related-link",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='aai-uid-split' />\n <parameter name='original_string' value='`$aai.cloud-region.relationship-list.relationship[$idx].related-link`' />\n <parameter name='regex' value='/' />\n",
"comments": "",
"outputs": 1,
- "x": 1310.848964691162,
- "y": 1669.269310951233,
- "z": "112fab3d.a10d2d",
+ "x": 1355.1119804382324,
+ "y": 1681.0080261230469,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "7b948c9e.d27a6c",
+ "id": "89cc33ca.87336",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1130.51566696167,
- "y": 1715.9360990524292,
- "z": "112fab3d.a10d2d",
+ "x": 1174.7786827087402,
+ "y": 1727.6748142242432,
+ "z": "565447bf.1f1598",
"wires": [
[
- "2a23b2e8.9b4796",
- "d28b8bb2.cca418",
- "b167e5bd.dfc368"
+ "f7308857.ab0638",
+ "f22bbebf.cf96a",
+ "77cfe613.fc65c8"
]
]
},
{
- "id": "d28b8bb2.cca418",
+ "id": "f22bbebf.cf96a",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 1280.5156288146973,
- "y": 1759.269395828247,
- "z": "112fab3d.a10d2d",
+ "x": 1324.7786445617676,
+ "y": 1771.008111000061,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "c4f07890.7e2328",
+ "id": "f4d050b1.8b4c3",
"type": "execute",
"name": "execute PropertiesNode",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 531.0476226806641,
- "y": 186.5481081008911,
- "z": "112fab3d.a10d2d",
+ "x": 575.3106384277344,
+ "y": 198.28682327270508,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "beb8db1.da0a8a8",
+ "id": "24109bc2.4c9eb4",
"type": "set",
"name": "set order-status to PendingCreate",
"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-level-oper-status.order-status'\n value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",
"comments": "",
- "x": 436.2622375488281,
- "y": 7324.904296875,
- "z": "112fab3d.a10d2d",
+ "x": 480.52525329589844,
+ "y": 7336.643012046814,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "ed92ecd.0ad519",
+ "id": "c7aef34d.6997b",
"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": 375.8335418701172,
- "y": 7438.522626876831,
- "z": "112fab3d.a10d2d",
+ "x": 421.52514266967773,
+ "y": 7741.690473556519,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "1a40ee60.b28b3a",
+ "id": "35a859e5.3e7c46",
"type": "set",
"name": "copy input data",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n value='$vf-module-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.'\n value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n value='$vf-module-topology-operation-input.vf-module-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.'\n value='$vf-module-topology-operation-input.vf-module-request-input.' />\n\n",
"comments": "",
- "x": 392.11924743652344,
- "y": 7181.252753674984,
- "z": "112fab3d.a10d2d",
+ "x": 436.38226318359375,
+ "y": 7192.991468846798,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "9aa91724.bae38",
+ "id": "75a8181a.0cae18",
"type": "set",
"name": "copy vf-module-topology data",
"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.' value='tmp.vf-module-topology.' />\n",
"comments": "",
- "x": 437.00025177001953,
- "y": 7133.038265645504,
- "z": "112fab3d.a10d2d",
+ "x": 481.26326751708984,
+ "y": 7144.776980817318,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "d321cb9d.153fd8",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmodule.log' />\n",
- "comments": "",
- "outputs": 1,
- "x": 370.71449279785156,
- "y": 7390.752443313599,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "87463151.06bbf8",
+ "id": "59bf9724.469638",
"type": "save",
"name": "update vf-module",
"xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"vf-module\"\n key=\"vf-module.vf-module-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id\n AND generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"vf-module-name\" value=\"`$tmp.vf-module-topology.vf-module-topology-identifier.vf-module-name`\" />\n<parameter name=\"model-invariant-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-customization-uuid`\" />\n<parameter name=\"selflink\" value=\"`$vf-module-object-path`\" />\n<parameter name=\"automated-assignment\" value=\"`$automated-assignment`\" />",
"comments": "",
"outputs": 1,
- "x": 456.1429786682129,
- "y": 4335.039919495583,
- "z": "112fab3d.a10d2d",
+ "x": 500.4059944152832,
+ "y": 4346.778634667397,
+ "z": "565447bf.1f1598",
"wires": [
[
- "87a0c83.d4f18b8",
- "2196c18e.80b246"
+ "d74196bc.6b97c8",
+ "6e6f18d0.9bdfe8"
]
]
},
{
- "id": "e5deac0d.5b71f8",
- "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=\"`'No vf-module found in AAI for vf module ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\" />\n",
- "comments": "",
- "x": 961.1906547546387,
- "y": 4369.801350176334,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "87a0c83.d4f18b8",
+ "id": "d74196bc.6b97c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 631.2146186828613,
- "y": 4303.420541405678,
- "z": "112fab3d.a10d2d",
+ "x": 675.4776344299316,
+ "y": 4315.159256577492,
+ "z": "565447bf.1f1598",
"wires": [
[
- "c70cad3e.594bf8"
+ "7f9d44fc.3db7bc"
]
]
},
{
- "id": "2196c18e.80b246",
+ "id": "6e6f18d0.9bdfe8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 639.7859916687012,
- "y": 4372.039631426334,
- "z": "112fab3d.a10d2d",
+ "x": 684.0490074157715,
+ "y": 4383.778346598148,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1eb8d0e0.ac8f6f"
+ "94bb0c2d.81fb6"
]
]
},
{
- "id": "d82a525d.d6db7",
- "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 vf-module in AAI\" />\n",
- "comments": "",
- "x": 966.2145729064941,
- "y": 4321.564098000526,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "7f55025b.b643ec",
+ "id": "489025cd.dbd3ac",
"type": "set",
"name": "set vf-module-object-path",
"xml": "<set>\n<parameter name='vf-module-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",
"comments": "",
- "x": 479.80978775024414,
- "y": 4210.564148545265,
- "z": "112fab3d.a10d2d",
+ "x": 524.0728034973145,
+ "y": 4222.302863717079,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "79853c6f.4b0794",
+ "id": "fb74751e.022f18",
"type": "save",
"name": "save vf-module relationships",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"vf-module:relationship-list\"\n key=\"vf-module.vf-module-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id\n AND generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1249.8335342407227,
- "y": 5893.192313909531,
- "z": "112fab3d.a10d2d",
+ "x": 1294.096549987793,
+ "y": 5904.931029081345,
+ "z": "565447bf.1f1598",
"wires": [
[
- "ac4bfc2f.5cef8",
- "85becea2.445cd8"
+ "6418f89e.efde28",
+ "3c5f7fe1.c5c95"
]
]
},
{
- "id": "ac4bfc2f.5cef8",
+ "id": "6418f89e.efde28",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1469.666877746582,
- "y": 5864.064058065414,
- "z": "112fab3d.a10d2d",
+ "x": 1513.9298934936523,
+ "y": 5875.802773237228,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f57dfbe7.74b008"
+ "b4477865.f6c3d8"
]
]
},
{
- "id": "85becea2.445cd8",
+ "id": "3c5f7fe1.c5c95",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1478.238410949707,
- "y": 5916.683202505112,
- "z": "112fab3d.a10d2d",
+ "x": 1522.5014266967773,
+ "y": 5928.421917676926,
+ "z": "565447bf.1f1598",
"wires": [
[
- "85b716e7.f0d18"
+ "a8844fc9.d802f"
]
]
},
{
- "id": "d4f9dca3.c75278",
- "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 vf-module relationships in AAI\" />\n",
- "comments": "",
- "x": 1804.6670112609863,
- "y": 5883.873954534531,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "5dbea689.bf65d8",
+ "id": "474227b8.b83ae8",
"type": "for",
"name": "for each vm-type",
"xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 429.50025939941406,
- "y": 5658.5258667469025,
- "z": "112fab3d.a10d2d",
+ "x": 473.7632751464844,
+ "y": 5670.264581918716,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f3590468.ca37a8"
+ "3890cbf7.238894"
]
]
},
{
- "id": "7375d6bd.7dd03",
+ "id": "28b6a2fd.61312e",
"type": "for",
"name": "for each vm-network",
"xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 826.5002708435059,
- "y": 6077.192698955536,
- "z": "112fab3d.a10d2d",
+ "x": 870.7632865905762,
+ "y": 6088.93141412735,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9c50ae11.ecd5d8"
+ "4bd4ba04.8daa14"
]
]
},
{
- "id": "da118248.b8eea8",
- "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=\"`'No l3-network found in AAI for network ID '\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`\" />\n",
- "comments": "",
- "x": 1806.5003852844238,
- "y": 5933.858495473862,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "b96e4724.95afc",
+ "id": "1d003263.e8205e",
"type": "for",
"name": "for each vm-type",
"xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 403.92879486083984,
- "y": 7025.571922242641,
- "z": "112fab3d.a10d2d",
+ "x": 448.19181060791016,
+ "y": 7037.310637414455,
+ "z": "565447bf.1f1598",
"wires": [
[
- "3aa89432.ca7a1c"
+ "c9fac662.7812b8"
]
]
},
{
- "id": "3aa89432.ca7a1c",
+ "id": "c9fac662.7812b8",
"type": "for",
"name": "for each vm",
"xml": "<for index='vm-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-count`' >\n",
"comments": "",
"outputs": 1,
- "x": 598.928825378418,
- "y": 7024.904930055141,
- "z": "112fab3d.a10d2d",
+ "x": 643.1918411254883,
+ "y": 7036.643645226955,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8a1e25bc.ee0138"
+ "207acffa.3abd1"
]
]
},
{
- "id": "f7264697.889458",
+ "id": "138fc2c6.5fd4fd",
"type": "save",
"name": "save VIPR_CONFIGURATION",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\nkey=\"INSERT INTO VIPR_CONFIGURATION (vnf_id, vnf_name, ecomp_service_instance_id, vm_name, cloud_region_id, cloud_owner) VALUES ( $service-data.vnfs.vnf[$vnf-index].vnf-id , $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name , $service-data.service-information.service-instance-id , $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-index] , $tmp.vf-module-topology.aic-cloud-region , $prop.cloud-region.cloud-owner )\" >",
"comments": "",
"outputs": 1,
- "x": 990.5955276489258,
- "y": 7047.57258027792,
- "z": "112fab3d.a10d2d",
+ "x": 1034.858543395996,
+ "y": 7059.311295449734,
+ "z": "565447bf.1f1598",
"wires": [
[
- "ebadf32a.3c0bf"
+ "ad9e155d.1028f8"
]
]
},
{
- "id": "903c2202.9792d",
+ "id": "71743690.584d78",
"type": "comment",
"name": "Not a failure",
"info": "",
"comments": "",
- "x": 1510.5954284667969,
- "y": 7047.572585046291,
- "z": "112fab3d.a10d2d",
+ "x": 1554.8584442138672,
+ "y": 7059.311300218105,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "ebadf32a.3c0bf",
+ "id": "ad9e155d.1028f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1200.5955123901367,
- "y": 7047.572730004787,
- "z": "112fab3d.a10d2d",
+ "x": 1244.858528137207,
+ "y": 7059.311445176601,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5ca4a5a3.8a7004"
+ "2b130462.23f28c"
]
]
},
{
- "id": "5ca4a5a3.8a7004",
+ "id": "2b130462.23f28c",
"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=\"GENERIC-RESOURCE-API.vf-module-topology-operation-assign:REQID\"/>\n<parameter name=\"field3\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Failed to insert VIPR_CONFIGURATION record\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1343.928955078125,
- "y": 7047.572567880154,
- "z": "112fab3d.a10d2d",
+ "x": 1388.1919708251953,
+ "y": 7059.311283051968,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "d3f1c108.98d52",
+ "id": "da21eac5.eb6e48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1373.9290771484375,
- "y": 6998.904281556606,
- "z": "112fab3d.a10d2d",
+ "x": 1418.1920928955078,
+ "y": 7010.64299672842,
+ "z": "565447bf.1f1598",
"wires": [
[
- "cf4b2a0c.51aca"
+ "4475a7ad.750578"
]
]
},
{
- "id": "2661f5f7.f49d62",
+ "id": "248ddcf1.40e1a4",
"type": "comment",
"name": "Not a failure",
"info": "",
"comments": "",
- "x": 1697.2621307373047,
- "y": 6997.2381038069725,
- "z": "112fab3d.a10d2d",
+ "x": 1741.525146484375,
+ "y": 7008.9768189787865,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "cf4b2a0c.51aca",
+ "id": "4475a7ad.750578",
"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=\"GENERIC-RESOURCE-API.vf-module-topology-operation-assign:REQID\"/>\n<parameter name=\"field3\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Failed to insert VIPR_CONFIGURATION record\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1519.929012298584,
- "y": 6998.904914796352,
- "z": "112fab3d.a10d2d",
+ "x": 1564.1920280456543,
+ "y": 7010.643629968166,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "8a1e25bc.ee0138",
+ "id": "207acffa.3abd1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 767.2622184753418,
- "y": 7023.904774606228,
- "z": "112fab3d.a10d2d",
+ "x": 811.5252342224121,
+ "y": 7035.643489778042,
+ "z": "565447bf.1f1598",
"wires": [
[
- "b143aaa7.b261e",
- "f7264697.889458"
+ "23b5f46a.84a14c",
+ "138fc2c6.5fd4fd"
]
]
},
{
- "id": "b143aaa7.b261e",
+ "id": "23b5f46a.84a14c",
"type": "delete",
"name": "delete any pre-existing records in VIPR_CONFIGURATION",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='DELETE from VIPR_CONFIGURATION WHERE vnf_id = $service-data.vnfs.vnf[$vnf-index].vnf-id\n AND ecomp_service_instance_id = $service-data.service-information.service-instance-id\n AND vm_name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-index]' >",
"comments": "",
"outputs": 1,
- "x": 1080.5955429077148,
- "y": 6999.238914430141,
- "z": "112fab3d.a10d2d",
+ "x": 1124.8585586547852,
+ "y": 7010.977629601955,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d3f1c108.98d52"
+ "da21eac5.eb6e48"
]
]
},
{
- "id": "c70cad3e.594bf8",
+ "id": "7f9d44fc.3db7bc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 789.500186920166,
- "y": 4303.191212296486,
- "z": "112fab3d.a10d2d",
+ "x": 833.7632026672363,
+ "y": 4314.9299274683,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d82a525d.d6db7",
- "8a1998a9.fb5c4"
+ "18d43b0c.816ff5",
+ "1254304a.7d8a4"
]
]
},
{
- "id": "1eb8d0e0.ac8f6f",
+ "id": "94bb0c2d.81fb6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 790.5001029968262,
- "y": 4369.857502520084,
- "z": "112fab3d.a10d2d",
+ "x": 834.7631187438965,
+ "y": 4381.596217691898,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e5deac0d.5b71f8",
- "8a1998a9.fb5c4"
+ "d3b91e2a.6658a"
]
]
},
{
- "id": "f57dfbe7.74b008",
+ "id": "b4477865.f6c3d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1638.1668815612793,
- "y": 5863.858327627182,
- "z": "112fab3d.a10d2d",
+ "x": 1682.4298973083496,
+ "y": 5875.597042798996,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d4f9dca3.c75278",
- "751caeb9.f5faf"
+ "a1d9fe5d.0f695",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "85b716e7.f0d18",
+ "id": "a8844fc9.d802f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1633.1668815612793,
- "y": 5916.85817027092,
- "z": "112fab3d.a10d2d",
+ "x": 1677.4298973083496,
+ "y": 5928.596885442734,
+ "z": "565447bf.1f1598",
"wires": [
[
- "da118248.b8eea8",
- "751caeb9.f5faf"
+ "e64793d7.bf627",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "9c7304a7.47b438",
+ "id": "755e8713.bcc1c8",
"type": "execute",
"name": "execute RestApiCallNode - get preload-list",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value=\"`$prop.controller.url + $prop.restapi.preloadinformation + $vf-module-topology-operation-input.vf-module-request-input.vf-module-name + '/vf-module'`\" />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-preload\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 975.3333778381348,
- "y": 2373.1915349960327,
- "z": "112fab3d.a10d2d",
+ "x": 1043.3463745117188,
+ "y": 2452.429780960083,
+ "z": "565447bf.1f1598",
"wires": [
[
- "688ed38d.1404a4",
- "97bc7502.9be918"
+ "68e62acd.729e34",
+ "a47c9360.b9478"
]
]
},
{
- "id": "688ed38d.1404a4",
+ "id": "68e62acd.729e34",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1238.6666933695474,
- "y": 2336.524751345316,
- "z": "112fab3d.a10d2d",
+ "x": 1311.6796073913574,
+ "y": 2410.763111114502,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5a744c0f.0a917c"
+ "7b583f75.7c5be"
]
]
},
{
- "id": "97bc7502.9be918",
+ "id": "a47c9360.b9478",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1241.9999809265137,
- "y": 2411.5247468948364,
- "z": "112fab3d.a10d2d",
+ "x": 1310.0129623413086,
+ "y": 2485.7632598876953,
+ "z": "565447bf.1f1598",
"wires": [
[
- "432a7e86.1cf1f"
+ "acc728a8.eedfa8"
]
]
},
{
- "id": "5a744c0f.0a917c",
+ "id": "7b583f75.7c5be",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1400.333381652832,
- "y": 2334.8580360412598,
- "z": "112fab3d.a10d2d",
+ "x": 1468.346363067627,
+ "y": 2409.0965490341187,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e468489c.39809"
+ "cec2f13d.67a37"
]
]
},
{
- "id": "432a7e86.1cf1f",
+ "id": "acc728a8.eedfa8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1396.9999885559082,
- "y": 2411.5245885849,
- "z": "112fab3d.a10d2d",
+ "x": 1465.0129699707031,
+ "y": 2485.763101577759,
+ "z": "565447bf.1f1598",
"wires": [
[
- "3588e36f.27b7f4"
+ "3983f41d.db452c"
]
]
},
{
- "id": "e468489c.39809",
+ "id": "cec2f13d.67a37",
"type": "switchNode",
"name": "switch mdsal-preload.response-code",
"xml": "<switch test='`$mdsal-preload.response-code`'>\n",
"comments": "",
"outputs": 1,
- "x": 1628.6666831970215,
- "y": 2334.8580770492554,
- "z": "112fab3d.a10d2d",
+ "x": 1696.6796646118164,
+ "y": 2409.0965900421143,
+ "z": "565447bf.1f1598",
"wires": [
[
- "62edebed.7913a4",
- "37d8f344.138aec"
+ "e8950979.22bb18",
+ "b6c25b1e.892808"
]
]
},
{
- "id": "62edebed.7913a4",
+ "id": "e8950979.22bb18",
"type": "outcome",
"name": "404 (not found)",
"xml": "<outcome value='404'>\n",
"comments": "",
"outputs": 1,
- "x": 1880.3334197998047,
- "y": 2298.191451072693,
- "z": "112fab3d.a10d2d",
+ "x": 1979.5963668823242,
+ "y": 2363.6796340942383,
+ "z": "565447bf.1f1598",
"wires": [
[
- "eae1dfc6.c9a018"
+ "1c4c53fe.44b0dc"
]
]
},
{
- "id": "eae1dfc6.c9a018",
+ "id": "1c4c53fe.44b0dc",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign-no-preload",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-no-preload' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2276.9998893737793,
- "y": 2296.5245790481567,
- "z": "112fab3d.a10d2d",
+ "x": 2382.512939453125,
+ "y": 2277.013102531433,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8901225d.847b7"
+ "cc34b72d.383738"
]
]
},
{
- "id": "8901225d.847b7",
+ "id": "cc34b72d.383738",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2647.0000381469727,
- "y": 2294.858115196228,
- "z": "112fab3d.a10d2d",
+ "x": 2771.2629013061523,
+ "y": 2277.846981048584,
+ "z": "565447bf.1f1598",
"wires": [
[
- "aa023fe5.47b5f8"
+ "c1b24090.d49b8"
]
]
},
{
- "id": "d0aa2f4d.891c28",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2955.3334159851074,
- "y": 2326.5248517990112,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "37d8f344.138aec",
+ "id": "b6c25b1e.892808",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1855.3334999084473,
- "y": 2354.8579416275024,
- "z": "112fab3d.a10d2d",
+ "x": 1945.8463287353516,
+ "y": 2427.8464183807373,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e944765.ab28a88"
+ "d759206d.14388"
]
]
},
{
- "id": "bcf4c56.2e632b8",
- "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 retrieving preload-information\" />\n",
- "comments": "",
- "x": 2168.666404724121,
- "y": 2371.52436542511,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "3588e36f.27b7f4",
+ "id": "3983f41d.db452c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign-preload",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-preload' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1760.3332786560059,
- "y": 2413.191336631775,
- "z": "112fab3d.a10d2d",
+ "x": 1828.3462600708008,
+ "y": 2487.429849624634,
+ "z": "565447bf.1f1598",
"wires": [
[
- "20ee04ba.8175bc"
+ "90d09a92.2d1cc8"
]
]
},
{
- "id": "20ee04ba.8175bc",
+ "id": "90d09a92.2d1cc8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2116.000141143799,
- "y": 2411.5249547958374,
- "z": "112fab3d.a10d2d",
+ "x": 2184.0131225585938,
+ "y": 2485.7634677886963,
+ "z": "565447bf.1f1598",
"wires": [
[
- "589f1683.8c95c"
+ "76721fa9.6f7a7"
]
]
},
{
- "id": "b1df2727.b9c3d",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2424.333393096924,
- "y": 2433.191849708557,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "f3590468.ca37a8",
+ "id": "3890cbf7.238894",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 620.0003280639648,
- "y": 5659.35910153389,
- "z": "112fab3d.a10d2d",
+ "x": 664.2633438110352,
+ "y": 5671.097816705704,
+ "z": "565447bf.1f1598",
"wires": [
[
- "7375d6bd.7dd03",
- "d5512709.6a25b8"
+ "28b6a2fd.61312e",
+ "eeca3ef7.08f31"
]
]
},
{
- "id": "d5512709.6a25b8",
+ "id": "eeca3ef7.08f31",
"type": "for",
"name": "for each vnfc",
"xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 871.0003776550293,
- "y": 4864.025192737579,
- "z": "112fab3d.a10d2d",
+ "x": 915.2633934020996,
+ "y": 4875.763907909393,
+ "z": "565447bf.1f1598",
"wires": [
[
- "753035d1.1e8274"
+ "59778d60.c86b24"
]
]
},
{
- "id": "ce29a815.f5683",
+ "id": "9b23e63c.8ba5d8",
"type": "save",
"name": "save vnfc to A&AI",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vnfc\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\" >\n<parameter name=\"vnfc-name\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n<parameter name=\"nfc-naming-code\" value=\"`$tmp.nfc-naming-code`\" />\n<parameter name=\"nfc-function\" value=\"`$tmp.nfc-function`\" />\n<parameter name=\"model-invariant-id\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].model-customization-uuid`\" />\n<parameter name=\"orchestration-status\" value=\"`PendingCreate`\" />\n<parameter name=\"in-maint\" value=\"true\" />\n<parameter name=\"prov-status\" value=\"`PREPROV`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1597.00044631958,
- "y": 4672.3591232299805,
- "z": "112fab3d.a10d2d",
+ "x": 1641.2634620666504,
+ "y": 4684.097838401794,
+ "z": "565447bf.1f1598",
"wires": [
[
- "b05fd296.8c44d8",
- "9ce78c9c.21d2e"
+ "8c17d99f.3ce5f8",
+ "b50cee13.b9a08"
]
]
},
{
- "id": "753035d1.1e8274",
+ "id": "59778d60.c86b24",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1039.3336791992188,
- "y": 4864.692019939423,
- "z": "112fab3d.a10d2d",
+ "x": 1083.596694946289,
+ "y": 4876.430735111237,
+ "z": "565447bf.1f1598",
"wires": [
[
- "2b20b1ce.c729ce",
- "d7c01db4.00c9a",
- "2fb493e6.57a1c4",
- "8ca3ab85.032598",
- "805bb33d.dc18f",
- "57662986.d12c8"
+ "2ee1ddb7.3ce5a2",
+ "63a7631.9e7f99c",
+ "e77ee371.ca79f",
+ "a45139cd.c06788",
+ "d5639dcc.50d87",
+ "3291e6ae.85f8ba"
]
]
},
{
- "id": "b05fd296.8c44d8",
+ "id": "8c17d99f.3ce5f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1788.0004844665527,
- "y": 4624.692457199097,
- "z": "112fab3d.a10d2d",
+ "x": 1832.263500213623,
+ "y": 4636.431172370911,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f1e503ea.34a2d8"
+ "fc84df82.5bc09"
]
]
},
{
- "id": "d42c0b98.75f36",
- "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 saving vnfc to AAI\" />\n",
- "comments": "",
- "x": 2127.0006370544434,
- "y": 4658.835712790489,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "f1e503ea.34a2d8",
+ "id": "fc84df82.5bc09",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1953.1671714782715,
- "y": 4638.820290505886,
- "z": "112fab3d.a10d2d",
+ "x": 1997.4301872253418,
+ "y": 4650.5590056777,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d42c0b98.75f36",
- "6cb8c914.ed3b6"
+ "30bee8c0.434ad8",
+ "1254304a.7d8a4"
]
]
},
{
- "id": "2fb493e6.57a1c4",
+ "id": "e77ee371.ca79f",
"type": "save",
"name": "save vnfc relationships",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"vnfc:relationship-list\"\n key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/generic-vnfs/generic-vnf/' +\n $vf-module-topology-operation-input.vnf-information.vnf-id`\" />\n <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vf-module\" />\n <parameter name=\"relationship-list.relationship[1].related-link\"\n value=\"`'/aai/v$/network/generic-vnfs/generic-vnf/' +\n $vf-module-topology-operation-input.vnf-information.vnf-id +\n '/vf-modules/vf-module/' +\n $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1263.9049644470215,
- "y": 4772.978354930878,
- "z": "112fab3d.a10d2d",
+ "x": 1308.1679801940918,
+ "y": 4784.717070102692,
+ "z": "565447bf.1f1598",
"wires": [
[
- "90db0abc.901b8",
- "5dbb78a0.db6928"
+ "b41f1fa4.6a16e",
+ "c5bf9d82.77072"
]
]
},
{
- "id": "29cef8c8.08702",
- "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 vnfc relationships in AAI\" />\n",
- "comments": "",
- "x": 1773.904899597168,
- "y": 4764.64519071579,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "ee073caa.2c8978",
- "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=\"Not-found error updating vnfc relationships\" />\n",
- "comments": "",
- "x": 1769.0718078613281,
- "y": 4816.296397686005,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "60b5b7f4.1931b",
+ "id": "36f8149b.0100dc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1595.7381553649902,
- "y": 4746.29597902298,
- "z": "112fab3d.a10d2d",
+ "x": 1640.0011711120605,
+ "y": 4758.034694194794,
+ "z": "565447bf.1f1598",
"wires": [
[
- "29cef8c8.08702",
- "6cb8c914.ed3b6"
+ "17b97fa6.0b332",
+ "1254304a.7d8a4"
]
]
},
{
- "id": "1c2653f1.974004",
+ "id": "138ca4b2.cb534b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1595.7382316589355,
- "y": 4799.295737743378,
- "z": "112fab3d.a10d2d",
+ "x": 1640.0012474060059,
+ "y": 4811.034452915192,
+ "z": "565447bf.1f1598",
"wires": [
[
- "ee073caa.2c8978",
- "6cb8c914.ed3b6"
+ "43b53fc.f18d2c",
+ "1254304a.7d8a4"
]
]
},
{
- "id": "90db0abc.901b8",
+ "id": "b41f1fa4.6a16e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1438.9050407409668,
- "y": 4746.311648845673,
- "z": "112fab3d.a10d2d",
+ "x": 1483.168056488037,
+ "y": 4758.050364017487,
+ "z": "565447bf.1f1598",
"wires": [
[
- "60b5b7f4.1931b"
+ "36f8149b.0100dc"
]
]
},
{
- "id": "5dbb78a0.db6928",
+ "id": "c5bf9d82.77072",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1447.4765739440918,
- "y": 4798.93079328537,
- "z": "112fab3d.a10d2d",
+ "x": 1491.739589691162,
+ "y": 4810.669508457184,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1c2653f1.974004"
+ "138ca4b2.cb534b"
]
]
},
{
- "id": "2b20b1ce.c729ce",
+ "id": "2ee1ddb7.3ce5a2",
"type": "for",
"name": "for each vnfc-network-role",
"xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1261.3810844421387,
- "y": 5189.834763050079,
- "z": "112fab3d.a10d2d",
+ "x": 1305.644100189209,
+ "y": 5201.573478221893,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8ef35028.d3c7d8"
+ "52bb6b86.aae8d4"
]
]
},
{
- "id": "1d19c87b.60a2d",
+ "id": "7ffbcb4d.5fb274",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmoduleb.log' />\n",
"comments": "",
"outputs": 1,
- "x": 481.9999885559082,
- "y": 2497.73858499527,
- "z": "112fab3d.a10d2d",
+ "x": 526.2630043029785,
+ "y": 2509.4773001670837,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "c587555a.9764c8",
+ "id": "3ff39820.94ba88",
"type": "for",
"name": "for each vnfc-subnetwork-role",
"xml": "<for silentFailure='true' index='subnet-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1717.3336219787598,
- "y": 5153.025196552277,
- "z": "112fab3d.a10d2d",
+ "x": 1761.59663772583,
+ "y": 5164.763911724091,
+ "z": "565447bf.1f1598",
"wires": [
[
- "646ce656.488b28"
+ "bae62f0f.f599"
]
]
},
{
- "id": "646ce656.488b28",
+ "id": "bae62f0f.f599",
"type": "for",
"name": "for each vnfc-address-family",
"xml": "<for silentFailure='true' index='address-family-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1984.6669654846191,
- "y": 5152.025684833527,
- "z": "112fab3d.a10d2d",
+ "x": 2028.9299812316895,
+ "y": 5163.764400005341,
+ "z": "565447bf.1f1598",
"wires": [
[
- "830c0220.91b9c"
+ "83b71d8.34202e"
]
]
},
{
- "id": "cdc035b3.67e6e8",
+ "id": "9893ef44.5c929",
"type": "for",
"name": "for each vnfc-ip-address",
"xml": "<for silentFailure='true' index='address-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2416.666576385498,
- "y": 5218.691384315491,
- "z": "112fab3d.a10d2d",
+ "x": 2460.9295921325684,
+ "y": 5230.430099487305,
+ "z": "565447bf.1f1598",
"wires": [
[
- "4ac2f856.4d21a"
+ "4955053a.cc8cec"
]
]
},
{
- "id": "830c0220.91b9c",
+ "id": "83b71d8.34202e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2195.666736602783,
- "y": 5152.025141239166,
- "z": "112fab3d.a10d2d",
+ "x": 2239.9297523498535,
+ "y": 5163.76385641098,
+ "z": "565447bf.1f1598",
"wires": [
[
- "dcce10c4.7be118",
- "cdc035b3.67e6e8"
+ "bd1ac39a.c86f3",
+ "9893ef44.5c929"
]
]
},
{
- "id": "dcce10c4.7be118",
+ "id": "bd1ac39a.c86f3",
"type": "set",
"name": "set tmp.address-family",
"xml": "<set>\n<parameter name='tmp.address-family'\n value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-address-family`' />\n",
"comments": "",
- "x": 2415.667064666748,
- "y": 5072.025038719177,
- "z": "112fab3d.a10d2d",
+ "x": 2459.9300804138184,
+ "y": 5083.763753890991,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "4ac2f856.4d21a",
+ "id": "4955053a.cc8cec",
"type": "switchNode",
"name": "switch address family",
"xml": "<switch test='`$tmp.address-family`'>\n",
"comments": "",
"outputs": 1,
- "x": 2655.6666679382324,
- "y": 5217.025206565857,
- "z": "112fab3d.a10d2d",
+ "x": 2699.9296836853027,
+ "y": 5228.763921737671,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d2b5d9a8.4fd5e8",
- "24a90faa.98e37"
+ "df6d826a.602a2",
+ "b4544053.188e9"
]
]
},
{
- "id": "d2b5d9a8.4fd5e8",
+ "id": "df6d826a.602a2",
"type": "outcome",
"name": "ipv4",
"xml": "<outcome value='ipv4'>\n",
"comments": "",
"outputs": 1,
- "x": 2852.809673309326,
- "y": 5120.596467018127,
- "z": "112fab3d.a10d2d",
+ "x": 2897.0726890563965,
+ "y": 5132.335182189941,
+ "z": "565447bf.1f1598",
"wires": [
[
- "422e7141.76707"
+ "78841d68.5129e4"
]
]
},
{
- "id": "24a90faa.98e37",
+ "id": "b4544053.188e9",
"type": "outcome",
"name": "ipv6",
"xml": "<outcome value='ipv6'>\n",
"comments": "",
"outputs": 1,
- "x": 2850.4287452697754,
- "y": 5300.358498573303,
- "z": "112fab3d.a10d2d",
+ "x": 2894.6917610168457,
+ "y": 5312.097213745117,
+ "z": "565447bf.1f1598",
"wires": [
[
- "644b913f.522e68"
+ "133e1aca.140a05"
]
]
},
{
- "id": "63f4b67.4ec08c8",
+ "id": "82d4dce2.8069",
"type": "comment",
"name": "Fixed IPs",
"info": "",
"comments": "",
- "x": 1734.3336372375488,
- "y": 5114.692573547363,
- "z": "112fab3d.a10d2d",
+ "x": 1778.5966529846191,
+ "y": 5126.431288719177,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "1637640f.3b1ca4",
+ "id": "ae224e40.c6874",
"type": "save",
"name": "save l3-interface-ipv4-address-list object to A&AI",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"l3-interface-ipv4-address-list\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t AND cp.cp-instance-id = $cp-instance-id\n\t AND l3-interface-ipv4-address-list.l3-interface-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\" >\n<parameter name=\"l3-interface-ipv4-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address`\" />\n<parameter name=\"l3-interface-ipv4-prefix-length\" value=\"32\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",
"comments": "",
"outputs": 1,
- "x": 3296.1428031921387,
- "y": 5068.929546991985,
- "z": "112fab3d.a10d2d",
+ "x": 3340.405818939209,
+ "y": 5080.668262163799,
+ "z": "565447bf.1f1598",
"wires": [
[
- "516f7849.a1f358"
+ "929637d6.457068"
]
]
},
{
- "id": "422e7141.76707",
+ "id": "78841d68.5129e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3002.809673309326,
- "y": 5120.59638563792,
- "z": "112fab3d.a10d2d",
+ "x": 3047.0726890563965,
+ "y": 5132.335100809734,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1637640f.3b1ca4",
- "d964b923.e557d"
+ "ae224e40.c6874",
+ "8bea43e3.8116"
]
]
},
{
- "id": "29157e1f.b307d2",
- "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 creating l3-interface-ipv4-address-list object in AAI\" />\n",
- "comments": "",
- "x": 3879.4763221740723,
- "y": 5087.263206164043,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "8892b8a2.cfbe48",
+ "id": "36922023.99beb",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3709.642677307129,
- "y": 5068.914039293926,
- "z": "112fab3d.a10d2d",
+ "x": 3753.905693054199,
+ "y": 5080.65275446574,
+ "z": "565447bf.1f1598",
"wires": [
[
- "29157e1f.b307d2",
- "ab19f58c.bd384"
+ "cc682bd5.2eb5c8",
+ "11d81f8a.7859d"
]
]
},
{
- "id": "516f7849.a1f358",
+ "id": "929637d6.457068",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3552.8095626831055,
- "y": 5068.929709116619,
- "z": "112fab3d.a10d2d",
+ "x": 3597.072578430176,
+ "y": 5080.668424288433,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8892b8a2.cfbe48"
+ "36922023.99beb"
]
]
},
{
- "id": "d964b923.e557d",
+ "id": "8bea43e3.8116",
"type": "save",
"name": "save l3-interface-ipv4-address-list relationships",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"l3-interface-ipv4-address-list:relationship-list\"\n key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t AND cp.cp-instance-id = $cp-instance-id\n\t AND l3-interface-ipv4-address-list.l3-interface-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id`\" />\n <parameter name=\"relationship-list.relationship[1].related-to\" value=\"subnet\" />\n <parameter name=\"relationship-list.relationship[1].related-link\"\n value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id +\n '/subnets/subnet/' +\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3291.1430473327637,
- "y": 5167.262965838116,
- "z": "112fab3d.a10d2d",
+ "x": 3335.406063079834,
+ "y": 5179.00168100993,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8ae58a30.bea5e",
- "c00d26fd.0b7fa8"
+ "2e1bef20.bf0fd",
+ "5d3ca55b.b0a96c"
]
]
},
{
- "id": "a4c2dc75.a86138",
- "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 l3-interface-ipv4-address-list relationships in AAI\" />\n",
- "comments": "",
- "x": 3877.809429168701,
- "y": 5158.929637591045,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "623384cf.019e64",
- "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=\"Not-found error updating l3-interface-ipv4-address-list relationships\" />\n",
- "comments": "",
- "x": 3877.976291656494,
- "y": 5208.914095560711,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "c225d55b.e00f4",
+ "id": "aa9b6876.841938",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3711.309299468994,
- "y": 5138.914010683697,
- "z": "112fab3d.a10d2d",
+ "x": 3755.5723152160645,
+ "y": 5150.652725855511,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a4c2dc75.a86138",
- "ab19f58c.bd384"
+ "1499e507.42f6db",
+ "11d81f8a.7859d"
]
]
},
{
- "id": "fa08395c.d3bfd",
+ "id": "670834a7.3d263c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3711.3093757629395,
- "y": 5191.913769404095,
- "z": "112fab3d.a10d2d",
+ "x": 3755.5723915100098,
+ "y": 5203.652484575909,
+ "z": "565447bf.1f1598",
"wires": [
[
- "623384cf.019e64",
- "ab19f58c.bd384"
+ "dac8db15.74e098",
+ "11d81f8a.7859d"
]
]
},
{
- "id": "8ae58a30.bea5e",
+ "id": "2e1bef20.bf0fd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3554.4761848449707,
- "y": 5138.92968050639,
- "z": "112fab3d.a10d2d",
+ "x": 3598.739200592041,
+ "y": 5150.6683956782035,
+ "z": "565447bf.1f1598",
"wires": [
[
- "c225d55b.e00f4"
+ "aa9b6876.841938"
]
]
},
{
- "id": "c00d26fd.0b7fa8",
+ "id": "5d3ca55b.b0a96c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3563.0477180480957,
- "y": 5191.548824946087,
- "z": "112fab3d.a10d2d",
+ "x": 3607.310733795166,
+ "y": 5203.287540117901,
+ "z": "565447bf.1f1598",
"wires": [
[
- "fa08395c.d3bfd"
+ "670834a7.3d263c"
]
]
},
{
- "id": "9f97d2b1.490b88",
+ "id": "f5cbef76.ec89e",
"type": "save",
"name": "save l3-interface-ipv6-address-list object to A&AI",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"l3-interface-ipv6-address-list\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t AND cp.cp-instance-id = $cp-instance-id\n\t AND l3-interface-ipv6-address-list.l3-interface-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\" >\n<parameter name=\"l3-interface-ipv6-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address`\" />\n<parameter name=\"l3-interface-ipv6-prefix-length\" value=\"128\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",
"comments": "",
"outputs": 1,
- "x": 3294.9525413513184,
- "y": 5247.977602958679,
- "z": "112fab3d.a10d2d",
+ "x": 3339.2155570983887,
+ "y": 5259.716318130493,
+ "z": "565447bf.1f1598",
"wires": [
[
- "575beeb7.db0eb8"
+ "f2553d5e.abe0f"
]
]
},
{
- "id": "644b913f.522e68",
+ "id": "133e1aca.140a05",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3001.619411468506,
- "y": 5299.644441604614,
- "z": "112fab3d.a10d2d",
+ "x": 3045.882427215576,
+ "y": 5311.383156776428,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9f97d2b1.490b88",
- "1c9488a1.dbf7bf"
+ "f5cbef76.ec89e",
+ "81cd3242.fe0b"
]
]
},
{
- "id": "1b3c364b.f4083a",
- "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 creating l3-interface-ipv6-address-list object in AAI\" />\n",
- "comments": "",
- "x": 3878.286060333252,
- "y": 5266.311262130737,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "55bcda47.670024",
+ "id": "51b65599.0e89cc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3708.4524154663086,
- "y": 5247.96209526062,
- "z": "112fab3d.a10d2d",
+ "x": 3752.715431213379,
+ "y": 5259.700810432434,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1b3c364b.f4083a",
- "ab19f58c.bd384"
+ "97323f99.6212d",
+ "11d81f8a.7859d"
]
]
},
{
- "id": "575beeb7.db0eb8",
+ "id": "f2553d5e.abe0f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3551.619300842285,
- "y": 5247.977765083313,
- "z": "112fab3d.a10d2d",
+ "x": 3595.8823165893555,
+ "y": 5259.716480255127,
+ "z": "565447bf.1f1598",
"wires": [
[
- "55bcda47.670024"
+ "51b65599.0e89cc"
]
]
},
{
- "id": "1c9488a1.dbf7bf",
+ "id": "81cd3242.fe0b",
"type": "save",
"name": "save l3-interface-ipv6-address-list relationships",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"l3-interface-ipv6-address-list:relationship-list\"\n key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t AND cp.cp-instance-id = $cp-instance-id\n\t AND l3-interface-ipv6-address-list.l3-interface-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id`\" />\n <parameter name=\"relationship-list.relationship[1].related-to\" value=\"subnet\" />\n <parameter name=\"relationship-list.relationship[1].related-link\"\n value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id +\n '/subnets/subnet/' +\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3289.9527854919434,
- "y": 5346.31102180481,
- "z": "112fab3d.a10d2d",
+ "x": 3334.2158012390137,
+ "y": 5358.0497369766235,
+ "z": "565447bf.1f1598",
"wires": [
[
- "3f5a76d4.d0b6ca",
- "a74ee1d6.e4ad68"
+ "cd0e04b7.a88538",
+ "2202ffa2.d2838"
]
]
},
{
- "id": "b0e3be9c.c1618",
- "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 l3-interface-ipv6-address-list relationships in AAI\" />\n",
- "comments": "",
- "x": 3876.619167327881,
- "y": 5337.977693557739,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "66075d54.cd658c",
- "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=\"Not-found error updating l3-interface-ipv6-address-list relationships\" />\n",
- "comments": "",
- "x": 3880.1193885803223,
- "y": 5384.628710031509,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "24ecf111.9044a6",
+ "id": "973eecbd.3a12f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3710.119037628174,
- "y": 5317.962066650391,
- "z": "112fab3d.a10d2d",
+ "x": 3754.382053375244,
+ "y": 5329.700781822205,
+ "z": "565447bf.1f1598",
"wires": [
[
- "b0e3be9c.c1618",
- "ab19f58c.bd384"
+ "2f312957.2b15e6",
+ "11d81f8a.7859d"
]
]
},
{
- "id": "1cf894fa.a3757b",
+ "id": "41ca4b49.e89434",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3710.119113922119,
- "y": 5370.961825370789,
- "z": "112fab3d.a10d2d",
+ "x": 3754.3821296691895,
+ "y": 5382.7005405426025,
+ "z": "565447bf.1f1598",
"wires": [
[
- "66075d54.cd658c",
- "ab19f58c.bd384"
+ "9f878bec.0f8958",
+ "11d81f8a.7859d"
]
]
},
{
- "id": "3f5a76d4.d0b6ca",
+ "id": "cd0e04b7.a88538",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3553.2859230041504,
- "y": 5317.9777364730835,
- "z": "112fab3d.a10d2d",
+ "x": 3597.5489387512207,
+ "y": 5329.7164516448975,
+ "z": "565447bf.1f1598",
"wires": [
[
- "24ecf111.9044a6"
+ "973eecbd.3a12f"
]
]
},
{
- "id": "a74ee1d6.e4ad68",
+ "id": "2202ffa2.d2838",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3561.8574562072754,
- "y": 5370.596880912781,
- "z": "112fab3d.a10d2d",
+ "x": 3606.1204719543457,
+ "y": 5382.335596084595,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1cf894fa.a3757b"
+ "41ca4b49.e89434"
]
]
},
{
- "id": "9c50ae11.ecd5d8",
+ "id": "4bd4ba04.8daa14",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1016.3335914611816,
- "y": 6076.692138195038,
- "z": "112fab3d.a10d2d",
+ "x": 1060.596607208252,
+ "y": 6088.430853366852,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f765dfab.5a8ab8",
- "79853c6f.4b0794",
- "7d3563ad.bafe6c",
- "eb32fc41.713248"
+ "39f74881.371fb8",
+ "fb74751e.022f18",
+ "12eb0afe.678335",
+ "43f00c8e.4c60b4"
]
]
},
{
- "id": "be8fcb49.a0ce6",
+ "id": "d2a87a71.553fc8",
"type": "for",
"name": "for each vnfc",
"xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1664.3337669372559,
- "y": 6199.025886058807,
- "z": "112fab3d.a10d2d",
+ "x": 1708.5967826843262,
+ "y": 6210.764601230621,
+ "z": "565447bf.1f1598",
"wires": [
[
- "bc8c9230.4f5cf8"
+ "316d52f.75519ae"
]
]
},
{
- "id": "18f68602.60a112",
+ "id": "9dd5477e.b61ec8",
"type": "save",
"name": "save vip-ipv4-address-list object to A&AI",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vip-ipv4-address-list\" \n\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\" >\n<parameter name=\"vip-ipv4-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]`\" />\n<parameter name=\"vip-ipv4-prefix-length\" value=\"32\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",
"comments": "",
"outputs": 1,
- "x": 1747.3336219787598,
- "y": 6030.358897686005,
- "z": "112fab3d.a10d2d",
+ "x": 1791.59663772583,
+ "y": 6042.097612857819,
+ "z": "565447bf.1f1598",
"wires": [
[
- "15b4c37c.7ee625",
- "f6385911.c3478"
+ "5a0f98fa.d60308",
+ "17b6d486.2926eb"
]
]
},
{
- "id": "7d3563ad.bafe6c",
+ "id": "12eb0afe.678335",
"type": "for",
"name": "for each floating ipv4 address",
"xml": "<for silentFailure='true' index='ipv4-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1255.3336143493652,
- "y": 6088.358970165253,
- "z": "112fab3d.a10d2d",
+ "x": 1299.5966300964355,
+ "y": 6100.097685337067,
+ "z": "565447bf.1f1598",
"wires": [
[
- "643639b2.a807b8"
+ "686b5e11.422ff"
]
]
},
{
- "id": "643639b2.a807b8",
+ "id": "686b5e11.422ff",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1481.3336143493652,
- "y": 6086.358970165253,
- "z": "112fab3d.a10d2d",
+ "x": 1525.5966300964355,
+ "y": 6098.097685337067,
+ "z": "565447bf.1f1598",
"wires": [
[
- "18f68602.60a112",
- "79481073.dabf6",
- "be8fcb49.a0ce6"
+ "9dd5477e.b61ec8",
+ "9094ce2c.0f237",
+ "d2a87a71.553fc8"
]
]
},
{
- "id": "4f4eea49.69364c",
- "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 saving vip-ipv4-address-list in AAI\" />\n",
- "comments": "",
- "x": 2309.3336219787598,
- "y": 6020.358897686005,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "87cb782b.0a68b8",
- "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=\"Not-found error saving vip-ipv4-address-list\" />\n",
- "comments": "",
- "x": 2309.5004844665527,
- "y": 6070.34335565567,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "1002735d.48782d",
+ "id": "aefdf6d5.094438",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2142.8334922790527,
- "y": 6000.343270778656,
- "z": "112fab3d.a10d2d",
+ "x": 2187.096508026123,
+ "y": 6012.08198595047,
+ "z": "565447bf.1f1598",
"wires": [
[
- "4f4eea49.69364c",
- "7d8d801d.5aba58"
+ "d7673076.3ac06",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "9394e2e6.c9ed4",
+ "id": "8aa6fe69.46205",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2142.833568572998,
- "y": 6053.343029499054,
- "z": "112fab3d.a10d2d",
+ "x": 2187.0965843200684,
+ "y": 6065.081744670868,
+ "z": "565447bf.1f1598",
"wires": [
[
- "87cb782b.0a68b8",
- "7d8d801d.5aba58"
+ "34a07ec7.5c1d72",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "15b4c37c.7ee625",
+ "id": "5a0f98fa.d60308",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1986.0003776550293,
- "y": 6000.358940601349,
- "z": "112fab3d.a10d2d",
+ "x": 2030.2633934020996,
+ "y": 6012.097655773163,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1002735d.48782d"
+ "aefdf6d5.094438"
]
]
},
{
- "id": "f6385911.c3478",
+ "id": "17b6d486.2926eb",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1994.5719108581543,
- "y": 6052.978085041046,
- "z": "112fab3d.a10d2d",
+ "x": 2038.8349266052246,
+ "y": 6064.71680021286,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9394e2e6.c9ed4"
+ "8aa6fe69.46205"
]
]
},
{
- "id": "1f81499d.5e5af6",
+ "id": "c0647bff.dcfb98",
"type": "save",
"name": "save vip-ipv4-address-list relationships",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"vip-ipv4-address-list:relationship-list\"\n key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"subnet\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/l3-networks/l3-network/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].network-id\n + '/subnets/subnet/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.ipv4-subnet-id`\" />\n <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vnfc\" />\n <parameter name=\"relationship-list.relationship[1].related-link\"\n value=\"`'/aai/v$/network/vnfcs/vnfc/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2083.000217437744,
- "y": 6143.0255608558655,
- "z": "112fab3d.a10d2d",
+ "x": 2127.2632331848145,
+ "y": 6154.764276027679,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9402f7a2.c004f8",
- "43ffb8db.dfd838"
+ "f0cfd83.86b5328",
+ "f315ed94.7bfc9"
]
]
},
{
- "id": "a145395d.8e9c88",
- "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 vip-ipv4-address-list relationships in AAI\" />\n",
- "comments": "",
- "x": 2652.6666259765625,
- "y": 6135.025530397892,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "f29625da.c7a2a",
- "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=\"Not-found error updating vip-ipv4-address-list relationships\" />\n",
- "comments": "",
- "x": 2652.833595275879,
- "y": 6185.009704113007,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "3507458.c6c0fba",
+ "id": "fd3e62f.a29bea",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2486.1664962768555,
- "y": 6115.009903490543,
- "z": "112fab3d.a10d2d",
+ "x": 2530.429512023926,
+ "y": 6126.748618662357,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a145395d.8e9c88",
- "7d8d801d.5aba58"
+ "38cb90b2.4e39c",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "2bfcdbd8.b2861c",
+ "id": "5997fd18.c16ad4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2486.166572570801,
- "y": 6168.009662210941,
- "z": "112fab3d.a10d2d",
+ "x": 2530.429588317871,
+ "y": 6179.748377382755,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f29625da.c7a2a",
- "7d8d801d.5aba58"
+ "8d6accf1.493c8",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "9402f7a2.c004f8",
+ "id": "f0cfd83.86b5328",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2329.333381652832,
- "y": 6115.025573313236,
- "z": "112fab3d.a10d2d",
+ "x": 2373.5963973999023,
+ "y": 6126.76428848505,
+ "z": "565447bf.1f1598",
"wires": [
[
- "3507458.c6c0fba"
+ "fd3e62f.a29bea"
]
]
},
{
- "id": "43ffb8db.dfd838",
+ "id": "f315ed94.7bfc9",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2337.904914855957,
- "y": 6167.6447177529335,
- "z": "112fab3d.a10d2d",
+ "x": 2382.1679306030273,
+ "y": 6179.3834329247475,
+ "z": "565447bf.1f1598",
"wires": [
[
- "2bfcdbd8.b2861c"
+ "5997fd18.c16ad4"
]
]
},
{
- "id": "5f93b476.1dc79c",
+ "id": "783e4357.c986ec",
"type": "save",
"name": "save vip-ipv6-address-list object to A&AI",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vip-ipv6-address-list\" \n\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\" >\n<parameter name=\"vip-ipv6-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]`\" />\n<parameter name=\"vip-ipv6-prefix-length\" value=\"128\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",
"comments": "",
"outputs": 1,
- "x": 1750.66695022583,
- "y": 6353.691581249237,
- "z": "112fab3d.a10d2d",
+ "x": 1794.9299659729004,
+ "y": 6365.430296421051,
+ "z": "565447bf.1f1598",
"wires": [
[
- "67236f18.227f98",
- "c2a53df.84d114"
+ "1d38b1dd.61e89e",
+ "6176025c.2ad73c"
]
]
},
{
- "id": "eb32fc41.713248",
+ "id": "43f00c8e.4c60b4",
"type": "for",
"name": "for each floating ipv6 address",
"xml": "<for silentFailure='true' index='ipv6-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1258.6669425964355,
- "y": 6410.691653728485,
- "z": "112fab3d.a10d2d",
+ "x": 1302.9299583435059,
+ "y": 6422.430368900299,
+ "z": "565447bf.1f1598",
"wires": [
[
- "78198d85.1f46bc"
+ "299ac4c9.b765dc"
]
]
},
{
- "id": "78198d85.1f46bc",
+ "id": "299ac4c9.b765dc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1484.6669425964355,
- "y": 6409.691653728485,
- "z": "112fab3d.a10d2d",
+ "x": 1528.9299583435059,
+ "y": 6421.430368900299,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5f93b476.1dc79c",
- "cde033d4.f6fd",
- "b51d7c07.17b7c"
+ "783e4357.c986ec",
+ "3d0b5fc0.1aec4",
+ "1976134f.84b09d"
]
]
},
{
- "id": "6d658b88.2e8a3c",
- "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 saving vip-ipv6-address-list in AAI\" />\n",
- "comments": "",
- "x": 2312.66695022583,
- "y": 6343.691581249237,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "3a7db074.96feb8",
- "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=\"Not-found error saving vip-ipv6-address-list\" />\n",
- "comments": "",
- "x": 2312.833812713623,
- "y": 6393.676039218903,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "7b77c41a.48512c",
+ "id": "9dec848e.b51528",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2146.166820526123,
- "y": 6323.675954341888,
- "z": "112fab3d.a10d2d",
+ "x": 2190.4298362731934,
+ "y": 6335.414669513702,
+ "z": "565447bf.1f1598",
"wires": [
[
- "6d658b88.2e8a3c",
- "7d8d801d.5aba58"
+ "ec585839.cf03a8",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "fb34c0be.1fb228",
+ "id": "cc9a9082.df9ad",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2146.1668968200684,
- "y": 6376.675713062286,
- "z": "112fab3d.a10d2d",
+ "x": 2190.4299125671387,
+ "y": 6388.4144282341,
+ "z": "565447bf.1f1598",
"wires": [
[
- "3a7db074.96feb8",
- "7d8d801d.5aba58"
+ "dc08e935.aa2128",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "67236f18.227f98",
+ "id": "1d38b1dd.61e89e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1989.3337059020996,
- "y": 6323.691624164581,
- "z": "112fab3d.a10d2d",
+ "x": 2033.59672164917,
+ "y": 6335.430339336395,
+ "z": "565447bf.1f1598",
"wires": [
[
- "7b77c41a.48512c"
+ "9dec848e.b51528"
]
]
},
{
- "id": "c2a53df.84d114",
+ "id": "6176025c.2ad73c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1997.9052391052246,
- "y": 6376.310768604279,
- "z": "112fab3d.a10d2d",
+ "x": 2042.168254852295,
+ "y": 6388.0494837760925,
+ "z": "565447bf.1f1598",
"wires": [
[
- "fb34c0be.1fb228"
+ "cc9a9082.df9ad"
]
]
},
{
- "id": "31f35206.0f932e",
- "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 vip-ipv6-address-list relationships in AAI\" />\n",
- "comments": "",
- "x": 2646.0002059936523,
- "y": 6456.6916318535805,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "132ba90c.08b887",
- "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=\"Not-found error updating vip-ipv6-address-list relationships\" />\n",
- "comments": "",
- "x": 2646.1670684814453,
- "y": 6506.676089823246,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "de40c9e6.508858",
+ "id": "82969649.e96bb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2479.5000762939453,
- "y": 6436.676004946232,
- "z": "112fab3d.a10d2d",
+ "x": 2523.7630920410156,
+ "y": 6448.414720118046,
+ "z": "565447bf.1f1598",
"wires": [
[
- "31f35206.0f932e",
- "7d8d801d.5aba58"
+ "9303413c.a15fb",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "44d321f1.eca488",
+ "id": "a4127791.07e268",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2479.5001525878906,
- "y": 6489.67576366663,
- "z": "112fab3d.a10d2d",
+ "x": 2523.763168334961,
+ "y": 6501.414478838444,
+ "z": "565447bf.1f1598",
"wires": [
[
- "132ba90c.08b887",
- "7d8d801d.5aba58"
+ "41362899.a075b8",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "535c2132.4b5b3",
+ "id": "79c39cc4.e386e4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2322.666961669922,
- "y": 6436.691674768925,
- "z": "112fab3d.a10d2d",
+ "x": 2366.929977416992,
+ "y": 6448.430389940739,
+ "z": "565447bf.1f1598",
"wires": [
[
- "de40c9e6.508858"
+ "82969649.e96bb8"
]
]
},
{
- "id": "8380291.86ec7d8",
+ "id": "a282925a.d9e0c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2331.238494873047,
- "y": 6489.310819208622,
- "z": "112fab3d.a10d2d",
+ "x": 2375.501510620117,
+ "y": 6501.049534380436,
+ "z": "565447bf.1f1598",
"wires": [
[
- "44d321f1.eca488"
+ "a4127791.07e268"
]
]
},
{
- "id": "47c03850.21f5a",
+ "id": "bdb5121f.d0648",
"type": "save",
"name": "save vip-ipv6-address-list relationships",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"vip-ipv6-address-list:relationship-list\"\n key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"subnet\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/l3-networks/l3-network/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].network-id\n + '/subnets/subnet/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.ipv6-subnet-id`\" />\n <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vnfc\" />\n <parameter name=\"relationship-list.relationship[1].related-link\"\n value=\"`'/aai/v$/network/vnfcs/vnfc/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2078.3338050842285,
- "y": 6465.358093738556,
- "z": "112fab3d.a10d2d",
+ "x": 2122.596820831299,
+ "y": 6477.09680891037,
+ "z": "565447bf.1f1598",
"wires": [
[
- "535c2132.4b5b3",
- "8380291.86ec7d8"
+ "79c39cc4.e386e4",
+ "a282925a.d9e0c"
]
]
},
{
- "id": "8a1998a9.fb5c4",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1134.3334770202637,
- "y": 4273.691486895084,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "6cb8c914.ed3b6",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2299.0004234313965,
- "y": 4611.692221999168,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "751caeb9.f5faf",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2007.6670036315918,
- "y": 5828.6920592188835,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "7d8d801d.5aba58",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2956.667133331299,
- "y": 5947.691905498505,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "ab19f58c.bd384",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 4276.0001220703125,
- "y": 4995.357985436916,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "d7c01db4.00c9a",
+ "id": "63a7631.9e7f99c",
"type": "set",
"name": "set created_flag",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].created_flag' value='true' />\n",
"comments": "",
- "x": 1241.0002479553223,
- "y": 4712.691877782345,
- "z": "112fab3d.a10d2d",
+ "x": 1285.2632637023926,
+ "y": 4724.430592954159,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "f765dfab.5a8ab8",
+ "id": "39f74881.371fb8",
"type": "set",
"name": "set created-flag",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].created-flag' value='true' />\n",
"comments": "",
- "x": 1211.6670036315918,
- "y": 5960.6920592188835,
- "z": "112fab3d.a10d2d",
+ "x": 1255.930019378662,
+ "y": 5972.4307743906975,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "79481073.dabf6",
+ "id": "9094ce2c.0f237",
"type": "set",
"name": "set created-ipv4-flag",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv4-flag' value='true' />\n",
"comments": "",
- "x": 1684.6669692993164,
- "y": 6088.6921390891075,
- "z": "112fab3d.a10d2d",
+ "x": 1728.9299850463867,
+ "y": 6100.4308542609215,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "cde033d4.f6fd",
+ "id": "3d0b5fc0.1aec4",
"type": "set",
"name": "set created-ipv6-flag",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv6-flag' value='true' />\n",
"comments": "",
- "x": 1690.0003051757812,
- "y": 6414.691742360592,
- "z": "112fab3d.a10d2d",
+ "x": 1734.2633209228516,
+ "y": 6426.430457532406,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "9ce78c9c.21d2e",
+ "id": "b50cee13.b9a08",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1791.0004234313965,
- "y": 4672.692116677761,
- "z": "112fab3d.a10d2d",
+ "x": 1835.2634391784668,
+ "y": 4684.430831849575,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f1e503ea.34a2d8"
+ "fc84df82.5bc09"
]
]
},
{
- "id": "e7b2dbd5.bd9e",
+ "id": "779079fc.7d1618",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vf-module-topology-vlan-tagging-assign",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-vlan-tagging-assign' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 574.6667823791504,
- "y": 6752.691919803619,
- "z": "112fab3d.a10d2d",
+ "x": 618.9297981262207,
+ "y": 6764.430634975433,
+ "z": "565447bf.1f1598",
"wires": [
[
- "acea42fa.fe209"
+ "9bf7c5a4.dd9598"
]
]
},
{
- "id": "acea42fa.fe209",
+ "id": "9bf7c5a4.dd9598",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 919.0001983642578,
- "y": 6752.025414943695,
- "z": "112fab3d.a10d2d",
+ "x": 963.2632141113281,
+ "y": 6763.764130115509,
+ "z": "565447bf.1f1598",
"wires": [
[
- "bb8b3ecf.0d4b8"
+ "471e8c34.437354"
]
]
},
{
- "id": "bb8b3ecf.0d4b8",
+ "id": "471e8c34.437354",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1074.000072479248,
- "y": 6752.025210857391,
- "z": "112fab3d.a10d2d",
+ "x": 1118.2630882263184,
+ "y": 6763.763926029205,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8d4ed162.86b8b8",
- "277ec139.1f8766",
- "4bc02c78.2ff744"
+ "3ca8387c.2993a8",
+ "ddd8fcd8.b0fa8"
]
]
},
{
- "id": "8d4ed162.86b8b8",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1422.3333625793457,
- "y": 6697.025630712509,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "277ec139.1f8766",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1250.6668014526367,
- "y": 6795.358858704567,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "4bc02c78.2ff744",
+ "id": "3ca8387c.2993a8",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vlantaggingfailure.log' />\n",
"comments": "",
"outputs": 1,
- "x": 1245.6666984558105,
- "y": 6748.691714763641,
- "z": "112fab3d.a10d2d",
+ "x": 1299.0367050170898,
+ "y": 6736.501932144165,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "bfee1c79.25f4d",
+ "id": "fb67aa4b.8284f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 212.8928680419922,
- "y": 508.5714416503906,
- "z": "112fab3d.a10d2d",
+ "x": 257.1558837890625,
+ "y": 520.3101568222046,
+ "z": "565447bf.1f1598",
"wires": [
[
- "c4f07890.7e2328",
- "5621ecb6.141394",
- "b13c4350.370938",
- "b064f8ff.c2b5c",
- "fe2663d3.ad286",
- "a5f7f097.af8f7",
- "498f5a29.9e1ca4",
- "f0c546c1.be6dc",
- "40af7b28.67ea64"
+ "f4d050b1.8b4c3",
+ "5d7e2c45.4ebe34",
+ "48e25fc2.52f7",
+ "9974cb16.902fe8",
+ "9d5245b6.abb4e8",
+ "540a131f.3d7bec",
+ "d0321bc2.4f6358",
+ "348782c.04c017e",
+ "bceb88ad.260758"
]
]
},
{
- "id": "b80a89b3.da4648",
+ "id": "9926c7ad.248aa8",
"type": "switchNode",
"name": "switch from-preload",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.from-preload`'>\n",
"comments": "",
"outputs": 1,
- "x": 503.90471267700195,
- "y": 2564.1672048568726,
- "z": "112fab3d.a10d2d",
+ "x": 548.1677284240723,
+ "y": 2575.9059200286865,
+ "z": "565447bf.1f1598",
"wires": [
[
- "3b57b841.e4ee",
- "5c063e0d.485f8"
+ "9e164e02.d239",
+ "44723a81.45b694"
]
]
},
{
- "id": "3b57b841.e4ee",
+ "id": "9e164e02.d239",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 675.8094444274902,
- "y": 2541.548225402832,
- "z": "112fab3d.a10d2d",
+ "x": 720.0724601745605,
+ "y": 2553.286940574646,
+ "z": "565447bf.1f1598",
"wires": [
[
- "2b41d2.bfd34e2e"
+ "3590eb8.88aec14"
]
]
},
{
- "id": "5c063e0d.485f8",
+ "id": "44723a81.45b694",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 677.4760971069336,
- "y": 2586.5480642318726,
- "z": "112fab3d.a10d2d",
+ "x": 721.7391128540039,
+ "y": 2598.2867794036865,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9acd2d4c.7f4f58"
+ "9742bfa8.39e3a"
]
]
},
{
- "id": "2b41d2.bfd34e2e",
+ "id": "3590eb8.88aec14",
"type": "set",
"name": "set automated-assignment to true",
"xml": "<set>\n<parameter name='automated-assignment' value='true' />\n",
"comments": "",
- "x": 890.8094291687012,
- "y": 2539.88139629364,
- "z": "112fab3d.a10d2d",
+ "x": 935.0724449157715,
+ "y": 2551.620111465454,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "9acd2d4c.7f4f58",
+ "id": "9742bfa8.39e3a",
"type": "set",
"name": "set automated-assignment to false",
"xml": "<set>\n<parameter name='automated-assignment' value='false' />\n",
"comments": "",
- "x": 889.142749786377,
- "y": 2584.8813161849976,
- "z": "112fab3d.a10d2d",
+ "x": 933.4057655334473,
+ "y": 2596.6200313568115,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "b51d7c07.17b7c",
+ "id": "1976134f.84b09d",
"type": "for",
"name": "for each vnfc",
"xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1665.4288368225098,
- "y": 6513.572165966034,
- "z": "112fab3d.a10d2d",
+ "x": 1709.69185256958,
+ "y": 6525.310881137848,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5f97f00c.f2f7a"
+ "24db1747.589188"
]
]
},
{
- "id": "bc7a6a83.8ca178",
- "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=\"Test return\" />\n",
- "comments": "",
- "x": 130.00014877319336,
- "y": 6993.359684050083,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "facd6ff7.1eed9",
+ "id": "494a4418.4600ec",
"type": "for",
"name": "for each vm-type",
"xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 482.66680908203125,
- "y": 3924.358087539673,
- "z": "112fab3d.a10d2d",
+ "x": 526.9298248291016,
+ "y": 3936.096802711487,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f42a02f0.2fdc5"
+ "edc660aa.aae32"
]
]
},
{
- "id": "f42a02f0.2fdc5",
+ "id": "edc660aa.aae32",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 673.166877746582,
- "y": 3925.19132232666,
- "z": "112fab3d.a10d2d",
+ "x": 717.4298934936523,
+ "y": 3936.930037498474,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f2b8f79a.47d0c8"
+ "8a22c1f6.1af97"
]
]
},
{
- "id": "f2b8f79a.47d0c8",
+ "id": "8a22c1f6.1af97",
"type": "for",
"name": "for each vm-network",
"xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 874.6668090820312,
- "y": 3924.358087539673,
- "z": "112fab3d.a10d2d",
+ "x": 918.9298248291016,
+ "y": 3936.096802711487,
+ "z": "565447bf.1f1598",
"wires": [
[
- "74a58a99.78bf9c"
+ "a190fe2f.d886f"
]
]
},
{
- "id": "74a58a99.78bf9c",
+ "id": "a190fe2f.d886f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1064.500129699707,
- "y": 3923.857526779175,
- "z": "112fab3d.a10d2d",
+ "x": 1108.7631454467773,
+ "y": 3935.5962419509888,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d3a7ff95.69fdf"
+ "e0f0f785.dc0f38"
]
]
},
{
- "id": "d3a7ff95.69fdf",
+ "id": "e0f0f785.dc0f38",
"type": "get-resource",
"name": "get-resource VFC_RELATED_NETWORK_ROLE",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VFC_RELATED_NETWORK_ROLE where vfc_customization_uuid = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].model-customization-uuid\n and network_role = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role'\n pfx='db.vnf-related-network-role[]'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1354.0001029968262,
- "y": 3922.358169555664,
- "z": "112fab3d.a10d2d",
+ "x": 1398.2631187438965,
+ "y": 3934.096884727478,
+ "z": "565447bf.1f1598",
"wires": [
[
- "ac281675.6e9ef8",
- "441cde65.25a5c"
+ "fd7f5581.6d4528",
+ "b45e71b2.bc101"
]
]
},
{
- "id": "ac281675.6e9ef8",
+ "id": "fd7f5581.6d4528",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1625.00004196167,
- "y": 3827.024871826172,
- "z": "112fab3d.a10d2d",
+ "x": 1669.2630577087402,
+ "y": 3838.763586997986,
+ "z": "565447bf.1f1598",
"wires": [
[
- "21c357a6.90267"
+ "d6d5d78c.a73e18"
]
]
},
{
- "id": "21c357a6.90267",
+ "id": "d6d5d78c.a73e18",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1772.190559387207,
- "y": 3825.57288646698,
- "z": "112fab3d.a10d2d",
+ "x": 1816.4535751342773,
+ "y": 3837.311601638794,
+ "z": "565447bf.1f1598",
"wires": [
[
- "3f8cbef4.25bb0a",
- "77e726f5.a576b8"
+ "6c1ed4b9.5ecf9c",
+ "f394576a.e4e1d8"
]
]
},
{
- "id": "441cde65.25a5c",
+ "id": "b45e71b2.bc101",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1613.333293914795,
- "y": 4046.691343307495,
- "z": "112fab3d.a10d2d",
+ "x": 1670.0962677001953,
+ "y": 4083.4304666519165,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e7e940b7.17edf"
+ "952ac2a9.fea88"
]
]
},
{
- "id": "54eeb4ef.84d784",
+ "id": "b3ac03af.ef15c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2031.66654586792,
- "y": 4048.69109916687,
- "z": "112fab3d.a10d2d",
+ "x": 2088.4295196533203,
+ "y": 4085.4302225112915,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d075ed57.96e16",
- "7659ed81.4f2dfc",
- "c5babea5.d9aba",
- "e02da5bb.106d78",
- "33b270a2.44aa78",
- "f0d8d701.a9fbc8",
- "1ad9651a.f1635b",
- "d7d72478.3bd0f"
+ "b5a4eea6.72594",
+ "ce6a381b.978038",
+ "1364d6f3.245769",
+ "f6d3df5a.7d52a",
+ "66f94089.96de5",
+ "a6a60ea4.9fb45",
+ "e617263a.f37478",
+ "5c5c0e0.7b249f4"
]
]
},
{
- "id": "3f8cbef4.25bb0a",
- "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 reading VFC_RELATED_NETWORK_ROLE table\" />\n",
- "comments": "",
- "x": 1924.3334159851074,
- "y": 3822.358123779297,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "7659ed81.4f2dfc",
+ "id": "ce6a381b.978038",
"type": "for",
"name": "for each vnf network",
"xml": "<for silentFailure='true' index='vnf-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2226.6666831970215,
- "y": 3916.0247554779053,
- "z": "112fab3d.a10d2d",
+ "x": 2270.929698944092,
+ "y": 3927.7634706497192,
+ "z": "565447bf.1f1598",
"wires": [
[
- "b92d9cbc.21841"
+ "3f61199.ed2ade6"
]
]
},
{
- "id": "d075ed57.96e16",
+ "id": "b5a4eea6.72594",
"type": "set",
"name": "set found-related-network to false",
"xml": "<set>\n<parameter name='found-related-network' value='false' />\n",
"comments": "",
- "x": 2266.666759490967,
- "y": 3857.6915321350098,
- "z": "112fab3d.a10d2d",
+ "x": 2310.929775238037,
+ "y": 3869.4302473068237,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "18560cbf.0eb0f3",
+ "id": "86eb7e36.9d7f7",
"type": "for",
"name": "for each related network",
"xml": "<for silentFailure='true' index='related-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].related-networks.related-network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2625.666645050049,
- "y": 3892.6910190582275,
- "z": "112fab3d.a10d2d",
+ "x": 2669.929660797119,
+ "y": 3904.4297342300415,
+ "z": "565447bf.1f1598",
"wires": [
[
- "2c6cef8.3fa721"
+ "69287c55.352c84"
]
]
},
{
- "id": "b92d9cbc.21841",
+ "id": "3f61199.ed2ade6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2414.6666831970215,
- "y": 3916.0247554779053,
- "z": "112fab3d.a10d2d",
+ "x": 2458.929698944092,
+ "y": 3927.7634706497192,
+ "z": "565447bf.1f1598",
"wires": [
[
- "18560cbf.0eb0f3",
- "ff4fdb5d.de766"
+ "86eb7e36.9d7f7",
+ "456cf44d.c85fac"
]
]
},
{
- "id": "2c6cef8.3fa721",
+ "id": "69287c55.352c84",
"type": "switchNode",
"name": "switch network-role matches",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].related-networks.related-network[$related-network-index].network-role\n == $db.vnf-related-network-role[$db-related-network-index].related-network-role`'>\n",
"comments": "",
"outputs": 1,
- "x": 2877.666561126709,
- "y": 3892.691095352173,
- "z": "112fab3d.a10d2d",
+ "x": 2921.9295768737793,
+ "y": 3904.429810523987,
+ "z": "565447bf.1f1598",
"wires": [
[
- "16df1c3d.121c74"
+ "875934e4.a63818"
]
]
},
{
- "id": "e7e940b7.17edf",
+ "id": "952ac2a9.fea88",
"type": "for",
"name": "for each db related-network",
"xml": "<for index='db-related-network-index' start='0' end='`$db.vnf-related-network-role_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1817.6666679382324,
- "y": 4047.35809135437,
- "z": "112fab3d.a10d2d",
+ "x": 1874.4296417236328,
+ "y": 4084.0972146987915,
+ "z": "565447bf.1f1598",
"wires": [
[
- "54eeb4ef.84d784"
+ "b3ac03af.ef15c"
]
]
},
{
- "id": "678d4c53.0bb2dc",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 298.6669120788574,
- "y": 6953.359684050083,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "16df1c3d.121c74",
+ "id": "875934e4.a63818",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3077.666561126709,
- "y": 3890.691095352173,
- "z": "112fab3d.a10d2d",
+ "x": 3121.9295768737793,
+ "y": 3902.429810523987,
+ "z": "565447bf.1f1598",
"wires": [
[
- "b6af3325.d14fe"
+ "5d83fcee.a618a4"
]
]
},
{
- "id": "b6af3325.d14fe",
+ "id": "5d83fcee.a618a4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3231.666561126709,
- "y": 3888.691095352173,
- "z": "112fab3d.a10d2d",
+ "x": 3275.9295768737793,
+ "y": 3900.429810523987,
+ "z": "565447bf.1f1598",
"wires": [
[
- "7ea20a1d.7dcac4",
- "34e3568a.1d1aca",
- "3d29969a.2c72ea"
+ "4df768f6.bb1e68",
+ "f4645e05.09dbf",
+ "29f5561c.96eb2a"
]
]
},
{
- "id": "7ea20a1d.7dcac4",
+ "id": "4df768f6.bb1e68",
"type": "set",
"name": "set found-related-network to true",
"xml": "<set>\n<parameter name='found-related-network' value='true' />\n",
"comments": "",
- "x": 3463.666721343994,
- "y": 3848.3576793670654,
- "z": "112fab3d.a10d2d",
+ "x": 3507.9297370910645,
+ "y": 3860.0963945388794,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "34e3568a.1d1aca",
+ "id": "f4645e05.09dbf",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3386.999897003174,
- "y": 3935.024429321289,
- "z": "112fab3d.a10d2d",
+ "x": 3431.262912750244,
+ "y": 3946.763144493103,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "c5babea5.d9aba",
+ "id": "1364d6f3.245769",
"type": "switchNode",
"name": "switch found-related-network",
"xml": "<switch test='`$found-related-network`'>\n",
"comments": "",
"outputs": 1,
- "x": 2249.6666145324707,
- "y": 3991.6912326812744,
- "z": "112fab3d.a10d2d",
+ "x": 2306.429588317871,
+ "y": 4028.430356025696,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d92d1f7b.311be"
+ "19517216.b897fe"
]
]
},
{
- "id": "d92d1f7b.311be",
+ "id": "19517216.b897fe",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2443.6666145324707,
- "y": 3989.6912326812744,
- "z": "112fab3d.a10d2d",
+ "x": 2500.429588317871,
+ "y": 4026.430356025696,
+ "z": "565447bf.1f1598",
"wires": [
[
- "4c319279.354754"
+ "f7f125ed.69c228"
]
]
},
{
- "id": "5fe8d8f9.449b28",
- "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=\"`'Unable to find related network '\n + $db.vnf-related-network-role[$db-related-network-index].related-network-role + ' in vnf-networks'`\" />\n",
- "comments": "",
- "x": 2721.6666145324707,
- "y": 3987.6912326812744,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "4c319279.354754",
+ "id": "f7f125ed.69c228",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2573.6666145324707,
- "y": 3989.6912326812744,
- "z": "112fab3d.a10d2d",
+ "x": 2630.429588317871,
+ "y": 4026.430356025696,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5fe8d8f9.449b28",
- "77e726f5.a576b8"
+ "4102f097.0a51",
+ "f394576a.e4e1d8"
]
]
},
{
- "id": "77e726f5.a576b8",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2666.3334159851074,
- "y": 3752.358123779297,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "e02da5bb.106d78",
+ "id": "f6d3df5a.7d52a",
"type": "set",
"name": "set is-trunked and segmentation-id in vm-network",
"xml": "<set>\n<parameter name='$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].is-trunked'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].is-trunked`' />\n<parameter name='$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].segmentation-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].segmentation-id`' />\n",
"comments": "",
- "x": 2311.6666145324707,
- "y": 4039.6912326812744,
- "z": "112fab3d.a10d2d",
+ "x": 2368.429588317871,
+ "y": 4076.430356025696,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "f0d8d701.a9fbc8",
+ "id": "a6a60ea4.9fb45",
"type": "switchNode",
"name": "switch rn-index",
"xml": "<switch test='`$rn-index`'>\n",
"comments": "",
"outputs": 1,
- "x": 2199.6666145324707,
- "y": 4147.691232681274,
- "z": "112fab3d.a10d2d",
+ "x": 2256.429588317871,
+ "y": 4184.430356025696,
+ "z": "565447bf.1f1598",
"wires": [
[
- "c4302cc3.3c659"
+ "6c6e5ed6.1638b"
]
]
},
{
- "id": "33b270a2.44aa78",
+ "id": "66f94089.96de5",
"type": "set",
"name": "set rn-index to related network length",
"xml": "<set>\n<parameter name='rn-index' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length`' />\n",
"comments": "",
- "x": 2271.6666145324707,
- "y": 4091.6912326812744,
- "z": "112fab3d.a10d2d",
+ "x": 2328.429588317871,
+ "y": 4128.430356025696,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "c4302cc3.3c659",
+ "id": "6c6e5ed6.1638b",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2363.6666145324707,
- "y": 4147.691232681274,
- "z": "112fab3d.a10d2d",
+ "x": 2420.429588317871,
+ "y": 4184.430356025696,
+ "z": "565447bf.1f1598",
"wires": [
[
- "be01e09d.5f1a68"
+ "4cbc1f39.6eef5"
]
]
},
{
- "id": "be01e09d.5f1a68",
+ "id": "4cbc1f39.6eef5",
"type": "set",
"name": "set rn-index to 0",
"xml": "<set>\n<parameter name='rn-index' value='0' />\n",
"comments": "",
- "x": 2523.6666145324707,
- "y": 4147.691232681274,
- "z": "112fab3d.a10d2d",
+ "x": 2580.429588317871,
+ "y": 4184.430356025696,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "1ad9651a.f1635b",
+ "id": "e617263a.f37478",
"type": "set",
"name": "set related-network data",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].network-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].network-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].network-role'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].network-role`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.vlan-interface'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.vlan-interface`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.lower-tag-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.lower-tag-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.upper-tag-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.upper-tag-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.is-private'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.is-private`' />\n",
"comments": "",
- "x": 2223.6666145324707,
- "y": 4199.691232681274,
- "z": "112fab3d.a10d2d",
+ "x": 2280.429588317871,
+ "y": 4236.430356025696,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "d7d72478.3bd0f",
+ "id": "5c5c0e0.7b249f4",
"type": "set",
"name": "set new related network length",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length'\n value='`$rn-index + 1`' />\n",
"comments": "",
- "x": 2241.6666145324707,
- "y": 4251.691232681274,
- "z": "112fab3d.a10d2d",
+ "x": 2298.429588317871,
+ "y": 4288.430356025696,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "ff4fdb5d.de766",
+ "id": "456cf44d.c85fac",
"type": "switchNode",
"name": "switch found-related-network",
"xml": "<switch test='`$found-related-network`'>\n",
"comments": "",
"outputs": 1,
- "x": 2638.6666679382324,
- "y": 3940.357879638672,
- "z": "112fab3d.a10d2d",
+ "x": 2682.9296836853027,
+ "y": 3952.096594810486,
+ "z": "565447bf.1f1598",
"wires": [
[
- "eba867d8.f5c258"
+ "65005548.e9ca8c"
]
]
},
{
- "id": "eba867d8.f5c258",
+ "id": "65005548.e9ca8c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2835.3335304260254,
- "y": 3940.3582515716553,
- "z": "112fab3d.a10d2d",
+ "x": 2879.5965461730957,
+ "y": 3952.0969667434692,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5c631904.ed64f8"
+ "a15ee876.ab6228"
]
]
},
{
- "id": "5c631904.ed64f8",
+ "id": "a15ee876.ab6228",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2965.3334159851074,
- "y": 3938.691375732422,
- "z": "112fab3d.a10d2d",
+ "x": 3009.5964317321777,
+ "y": 3950.430090904236,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "3d29969a.2c72ea",
+ "id": "29f5561c.96eb2a",
"type": "set",
"name": "save indexes",
"xml": "<set>\n<parameter name='saved-vnf-network-index' value='`$vnf-network-index`' />\n<parameter name='saved-related-network-index' value='`$related-network-index`' />\n",
"comments": "",
- "x": 3405.3336296081543,
- "y": 3890.3582496643066,
- "z": "112fab3d.a10d2d",
+ "x": 3449.5966453552246,
+ "y": 3902.0969648361206,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "6004d50b.b6d2f4",
+ "id": "9a10ba16.3aa6a8",
"type": "execute",
"name": "generate cp-instance-id",
"xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" >\n<parameter name=\"ctx-destination\" value=\"cp-instance-id\" />\n",
"comments": "",
"outputs": 1,
- "x": 1694.2381210327148,
- "y": 4919.882302761078,
- "z": "112fab3d.a10d2d",
+ "x": 1738.5011367797852,
+ "y": 4931.621017932892,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "d7ac8cb2.6c2d6",
+ "id": "878cd74b.b859a8",
"type": "save",
"name": "save cp to A&AI",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"cp\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t AND cp.cp-instance-id = $cp-instance-id\" >\n<parameter name=\"cp-instance-id\" value=\"`$cp-instance-id`\" />\n<parameter name=\"port-id\" value=\"0\" />\n",
"comments": "",
"outputs": 1,
- "x": 1675.90474319458,
- "y": 4986.5488085746765,
- "z": "112fab3d.a10d2d",
+ "x": 1720.1677589416504,
+ "y": 4998.2875237464905,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f5dd2f0d.45402",
- "29186d18.403c52"
+ "38156f19.d3b92",
+ "6b679924.dbe638"
]
]
},
{
- "id": "f5dd2f0d.45402",
+ "id": "38156f19.d3b92",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1864.9047241210938,
- "y": 4962.215422093868,
- "z": "112fab3d.a10d2d",
+ "x": 1909.167739868164,
+ "y": 4973.954137265682,
+ "z": "565447bf.1f1598",
"wires": [
[
- "b5157fa2.e880a8"
+ "115e423c.501c8e"
]
]
},
{
- "id": "b5157fa2.e880a8",
+ "id": "115e423c.501c8e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2032.0714721679688,
- "y": 4978.009855687618,
- "z": "112fab3d.a10d2d",
+ "x": 2076.334487915039,
+ "y": 4989.748570859432,
+ "z": "565447bf.1f1598",
"wires": [
[
- "436800e9.7b6c18",
- "6cb8c914.ed3b6"
+ "b0761ca.5d4cce",
+ "1254304a.7d8a4"
]
]
},
{
- "id": "29186d18.403c52",
+ "id": "6b679924.dbe638",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1869.9047241210938,
- "y": 5011.881681859493,
- "z": "112fab3d.a10d2d",
+ "x": 1914.167739868164,
+ "y": 5023.620397031307,
+ "z": "565447bf.1f1598",
"wires": [
[
- "b5157fa2.e880a8"
+ "115e423c.501c8e"
]
]
},
{
- "id": "436800e9.7b6c18",
- "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 creating cp object in AAI\" />\n",
- "comments": "",
- "x": 2197.5714836120605,
- "y": 4989.8820605278015,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "8ef35028.d3c7d8",
+ "id": "52bb6b86.aae8d4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1470.714443206787,
- "y": 5189.167096614838,
- "z": "112fab3d.a10d2d",
+ "x": 1514.9774589538574,
+ "y": 5200.905811786652,
+ "z": "565447bf.1f1598",
"wires": [
[
- "bf8a8114.e4c588",
- "c587555a.9764c8",
- "6004d50b.b6d2f4",
- "d7ac8cb2.6c2d6",
- "d458e80b.85d49",
- "c756041f.7b47"
+ "1faae59a.ef7cea",
+ "3ff39820.94ba88",
+ "9a10ba16.3aa6a8",
+ "878cd74b.b859a8",
+ "eebcfd35.55fb9",
+ "82ba34b3.fa1f48"
]
]
},
{
- "id": "bf8a8114.e4c588",
+ "id": "1faae59a.ef7cea",
"type": "set",
"name": "set connection point data",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].connection-point.connection-point-id'\n value='`$cp-instance-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].connection-point.port-id'\n value='0' />\n",
"comments": "",
- "x": 1706.2382850646973,
- "y": 5064.406378269196,
- "z": "112fab3d.a10d2d",
+ "x": 1750.5013008117676,
+ "y": 5076.1450934410095,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "1c962043.9ade4",
+ "id": "933839f3.7f2e78",
"type": "comment",
"name": "Floating IPs",
"info": "",
"comments": "",
- "x": 1267.0001029968262,
- "y": 6046.691496551037,
- "z": "112fab3d.a10d2d",
+ "x": 1311.2631187438965,
+ "y": 6058.430211722851,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "d458e80b.85d49",
+ "id": "eebcfd35.55fb9",
"type": "for",
"name": "for each vnf-network",
"xml": "<for index='vnf-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1690.3332862854004,
- "y": 5460.691872119904,
- "z": "112fab3d.a10d2d",
+ "x": 1734.5963020324707,
+ "y": 5472.4305872917175,
+ "z": "565447bf.1f1598",
"wires": [
[
- "581b2add.f9572c"
+ "cc35a2e9.bcb07"
]
]
},
{
- "id": "54717650.92e9c8",
+ "id": "62b74236.aad4fc",
"type": "save",
"name": "save cp relationship to l3-network",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"cp:relationship-list\"\n key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n AND cp.cp-instance-id = $cp-instance-id\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2328.6667671203613,
- "y": 5460.358379840851,
- "z": "112fab3d.a10d2d",
+ "x": 2372.9297828674316,
+ "y": 5472.097095012665,
+ "z": "565447bf.1f1598",
"wires": [
[
- "be199432.2a2058",
- "5e67f7b6.3d5b98"
+ "d2f01f95.109f6",
+ "4a44bec7.49b2a"
]
]
},
{
- "id": "7aece173.4d8018",
+ "id": "6441b421.db195c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2700.4998054504395,
- "y": 5433.6763281822205,
- "z": "112fab3d.a10d2d",
+ "x": 2744.7628211975098,
+ "y": 5445.415043354034,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e9b2c07c.a44a5",
- "c9a07f93.c346a8"
+ "64e7c13b.82899",
+ "1254304a.7d8a4"
]
]
},
{
- "id": "fde9d8b6.adb198",
+ "id": "21487f6.95f1f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2700.4998817443848,
- "y": 5486.676086902618,
- "z": "112fab3d.a10d2d",
+ "x": 2744.762897491455,
+ "y": 5498.414802074432,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e9b2c07c.a44a5",
- "7f2c6758.f68da8"
+ "f4e9414e.c0a39",
+ "1254304a.7d8a4"
]
]
},
{
- "id": "be199432.2a2058",
+ "id": "d2f01f95.109f6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2543.666690826416,
- "y": 5433.691998004913,
- "z": "112fab3d.a10d2d",
+ "x": 2587.9297065734863,
+ "y": 5445.430713176727,
+ "z": "565447bf.1f1598",
"wires": [
[
- "7aece173.4d8018"
+ "6441b421.db195c"
]
]
},
{
- "id": "5e67f7b6.3d5b98",
+ "id": "4a44bec7.49b2a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2552.238224029541,
- "y": 5486.311142444611,
- "z": "112fab3d.a10d2d",
+ "x": 2596.5012397766113,
+ "y": 5498.049857616425,
+ "z": "565447bf.1f1598",
"wires": [
[
- "fde9d8b6.adb198"
+ "21487f6.95f1f8"
]
]
},
{
- "id": "c9a07f93.c346a8",
- "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 cp relationship to l3-network in AAI\" />\n",
- "comments": "",
- "x": 2872.6666145324707,
- "y": 5456.3587040901175,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "7f2c6758.f68da8",
- "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=\"Not-found error updating cp relationship to l3-network\" />\n",
- "comments": "",
- "x": 2867.833522796631,
- "y": 5508.009911060332,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "e9b2c07c.a44a5",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 3074.3333778381348,
- "y": 5406.35870218277,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "c756041f.7b47",
+ "id": "82ba34b3.fa1f48",
"type": "for",
"name": "for each vm-network",
"xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1690.333438873291,
- "y": 5621.35822725296,
- "z": "112fab3d.a10d2d",
+ "x": 1734.5964546203613,
+ "y": 5633.096942424774,
+ "z": "565447bf.1f1598",
"wires": [
[
- "f305688b.5fd87"
+ "1f595d1a.8ff293"
]
]
},
{
- "id": "8f7eb5ab.e0a03",
+ "id": "b629e1fe.afa3d",
"type": "save",
"name": "save cp relationship to l3-network and vlan-tag",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"cp:relationship-list\"\n key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n AND cp.cp-instance-id = $cp-instance-id\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].network-id`\" />\n <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vlan-tag\" />\n <parameter name=\"relationship-list.relationship[1].related-link\"\n value=\"`'/aai/v$/network/vlan-tags/vlan-tag/' +\n $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.vlan-interface`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2610.00044631958,
- "y": 5619.358222484589,
- "z": "112fab3d.a10d2d",
+ "x": 2654.2634620666504,
+ "y": 5631.096937656403,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9128c14c.d846d",
- "7ee1490a.c8b148"
+ "6dc366c6.1b2608",
+ "a704ca3.36a4b38"
]
]
},
{
- "id": "d67f366c.178058",
+ "id": "12c7943c.a55a2c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3016.8334922790527,
- "y": 5592.67552137375,
- "z": "112fab3d.a10d2d",
+ "x": 3061.096508026123,
+ "y": 5604.414236545564,
+ "z": "565447bf.1f1598",
"wires": [
[
- "4bf8ece5.760084",
- "e9b2c07c.a44a5"
+ "94072bfe.632c28",
+ "1254304a.7d8a4"
]
]
},
{
- "id": "203e49a1.25bf26",
+ "id": "2b88635f.5a533c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3016.833568572998,
- "y": 5645.675280094148,
- "z": "112fab3d.a10d2d",
+ "x": 3061.0965843200684,
+ "y": 5657.413995265962,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5212701d.e9f5d8",
- "e9b2c07c.a44a5"
+ "4462ce4a.8f7a5",
+ "1254304a.7d8a4"
]
]
},
{
- "id": "9128c14c.d846d",
+ "id": "6dc366c6.1b2608",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2860.0003776550293,
- "y": 5592.691191196443,
- "z": "112fab3d.a10d2d",
+ "x": 2904.2633934020996,
+ "y": 5604.4299063682565,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d67f366c.178058"
+ "12c7943c.a55a2c"
]
]
},
{
- "id": "7ee1490a.c8b148",
+ "id": "a704ca3.36a4b38",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2868.5719108581543,
- "y": 5645.31033563614,
- "z": "112fab3d.a10d2d",
+ "x": 2912.8349266052246,
+ "y": 5657.049050807954,
+ "z": "565447bf.1f1598",
"wires": [
[
- "203e49a1.25bf26"
+ "2b88635f.5a533c"
]
]
},
{
- "id": "4bf8ece5.760084",
- "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 cp relationship to l3-network and vlan-tag in AAI\" />\n",
- "comments": "",
- "x": 3189.000301361084,
- "y": 5615.357897281647,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "5212701d.e9f5d8",
- "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=\"Not-found error updating cp relationship to l3-network and vlan-tag\" />\n",
- "comments": "",
- "x": 3184.167209625244,
- "y": 5667.009104251862,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "76067898.ad5ad8",
+ "id": "1de94581.c488da",
"type": "for",
"name": "for each related-network",
"xml": "<for silentFailure='true' index='related-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2306.0002784729004,
- "y": 5619.358223438263,
- "z": "112fab3d.a10d2d",
+ "x": 2350.2632942199707,
+ "y": 5631.096938610077,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8f7eb5ab.e0a03"
+ "b629e1fe.afa3d"
]
]
},
{
- "id": "f10f9580.1e0308",
+ "id": "88b43b76.6a75d8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:vf-module-generate-heat-parameters",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-generate-heat-parameters' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 564.3335723876953,
- "y": 6862.358483910561,
- "z": "112fab3d.a10d2d",
+ "x": 608.5965881347656,
+ "y": 6874.097199082375,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "e7fac88.832d038",
+ "id": "bb67c127.33c7c",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmoduleheat.log' />\n",
"comments": "",
"outputs": 1,
- "x": 385.6669006347656,
- "y": 6910.358586907387,
- "z": "112fab3d.a10d2d",
+ "x": 429.92991638183594,
+ "y": 6922.097302079201,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "def45b38.4bd55",
+ "id": "67fa2696.640ed8",
"type": "switchNode",
"name": "switch input vf-module-name",
"xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 537.0000038146973,
- "y": 2346.191044807434,
- "z": "112fab3d.a10d2d",
+ "x": 581.2630195617676,
+ "y": 2357.929759979248,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8db4c205.376b",
- "1b446cec.4500eb"
+ "de18afec.e1079",
+ "49fb0ac8.04b604"
]
]
},
{
- "id": "8db4c205.376b",
+ "id": "de18afec.e1079",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 736.9999961853027,
- "y": 2323.690947532654,
- "z": "112fab3d.a10d2d",
+ "x": 803.7629852294922,
+ "y": 2280.4297199249268,
+ "z": "565447bf.1f1598",
"wires": [
[
- "eae1dfc6.c9a018"
+ "1c4c53fe.44b0dc"
]
]
},
{
- "id": "1b446cec.4500eb",
+ "id": "49fb0ac8.04b604",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 737.4285888671875,
- "y": 2373.81005859375,
- "z": "112fab3d.a10d2d",
+ "x": 805.4415855407715,
+ "y": 2453.0483045578003,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9c7304a7.47b438"
+ "755e8713.bcc1c8"
]
]
},
{
- "id": "8bfe9202.c720d",
+ "id": "a421948e.7e12b8",
"type": "for",
"name": "for each vnfc-subnet-role",
"xml": "<for index='subnet-role-index' start='0'\n end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1294.5001029968262,
- "y": 3141.190721511841,
- "z": "112fab3d.a10d2d",
+ "x": 1338.7631187438965,
+ "y": 3152.929436683655,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8622c4a.ef650b8"
+ "ebf9c337.4e138"
]
]
},
{
- "id": "8622c4a.ef650b8",
+ "id": "ebf9c337.4e138",
"type": "for",
"name": "for each vnfc-address-family",
"xml": "<for index='address-family-index' start='0'\n end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1542.8333625793457,
- "y": 3141.190721511841,
- "z": "112fab3d.a10d2d",
+ "x": 1587.096378326416,
+ "y": 3152.929436683655,
+ "z": "565447bf.1f1598",
"wires": [
[
- "4a1dd17d.5b9948"
+ "a86ece19.ececb"
]
]
},
{
- "id": "7f309670.a38298",
+ "id": "fcaf9b9.f1d4568",
"type": "for",
"name": "for each vm-type",
"xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 500.33327865600586,
- "y": 2859.52405834198,
- "z": "112fab3d.a10d2d",
+ "x": 544.5962944030762,
+ "y": 2871.262773513794,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5a24cbf3.c8832c"
+ "f8bef45b.8c1d38"
]
]
},
{
- "id": "5a24cbf3.c8832c",
+ "id": "f8bef45b.8c1d38",
"type": "for",
"name": "for each vnfc",
"xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 682.000057220459,
- "y": 2858.191206932068,
- "z": "112fab3d.a10d2d",
+ "x": 726.2630729675293,
+ "y": 2869.929922103882,
+ "z": "565447bf.1f1598",
"wires": [
[
- "34b1dbe0.125be4"
+ "97b3bca9.21b53"
]
]
},
{
- "id": "34b1dbe0.125be4",
+ "id": "97b3bca9.21b53",
"type": "for",
"name": "for each vnfc-network",
"xml": "<for silentFailure='true' index='vnfc-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 883.1666297912598,
- "y": 2858.023896217346,
- "z": "112fab3d.a10d2d",
+ "x": 927.4296455383301,
+ "y": 2869.76261138916,
+ "z": "565447bf.1f1598",
"wires": [
[
- "c2b28bb1.c543b8"
+ "a3d88602.8525e8"
]
]
},
{
- "id": "c2b28bb1.c543b8",
+ "id": "a3d88602.8525e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1095.3333015441895,
- "y": 2857.024256706238,
- "z": "112fab3d.a10d2d",
+ "x": 1139.5963172912598,
+ "y": 2868.7629718780518,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a041d6a5.1eaa48",
- "c20a57e8.44ed5",
- "765a4edc.cbc36",
- "8bfe9202.c720d"
+ "d5a5aef3.81764",
+ "37a20e05.126042",
+ "f86420d0.f8cb4",
+ "a421948e.7e12b8"
]
]
},
{
- "id": "a041d6a5.1eaa48",
+ "id": "d5a5aef3.81764",
"type": "set",
"name": "set vnf-network-index to -1",
"xml": "<set>\n<parameter name='vnf-network-index' value='-1' />\n",
"comments": "",
- "x": 1307.0000190734863,
- "y": 2810.35747051239,
- "z": "112fab3d.a10d2d",
+ "x": 1351.2630348205566,
+ "y": 2822.096185684204,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "c20a57e8.44ed5",
+ "id": "37a20e05.126042",
"type": "for",
"name": "for each vnf-network",
"xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1288.6668090820312,
- "y": 2857.0242223739624,
- "z": "112fab3d.a10d2d",
+ "x": 1332.9298248291016,
+ "y": 2868.7629375457764,
+ "z": "565447bf.1f1598",
"wires": [
[
- "4e0e361c.f4c848"
+ "1cb49556.32692b"
]
]
},
{
- "id": "4e0e361c.f4c848",
+ "id": "1cb49556.32692b",
"type": "switchNode",
"name": "switch network-roles match?",
"xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-network-role\n == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$idx].network-role`'>\n",
"comments": "",
"outputs": 1,
- "x": 1530.3332786560059,
- "y": 2855.357717514038,
- "z": "112fab3d.a10d2d",
+ "x": 1574.5962944030762,
+ "y": 2867.096432685852,
+ "z": "565447bf.1f1598",
"wires": [
[
- "807f0004.8adbb8"
+ "d1c77ddb.a0354"
]
]
},
{
- "id": "807f0004.8adbb8",
+ "id": "d1c77ddb.a0354",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1726.99995803833,
- "y": 2855.357636451721,
- "z": "112fab3d.a10d2d",
+ "x": 1771.2629737854004,
+ "y": 2867.096351623535,
+ "z": "565447bf.1f1598",
"wires": [
[
- "253c224a.85d896"
+ "1428ec99.f2d413"
]
]
},
{
- "id": "253c224a.85d896",
+ "id": "1428ec99.f2d413",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1880.333179473877,
- "y": 2855.357508659363,
- "z": "112fab3d.a10d2d",
+ "x": 1924.5961952209473,
+ "y": 2867.0962238311768,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a6f5eb0a.e707c8",
- "9ce5336a.719328",
- "ca1a48c3.b1baa8"
+ "fcce8154.9685e",
+ "cbd9fa48.bee5b8",
+ "491c8e10.8347"
]
]
},
{
- "id": "a6f5eb0a.e707c8",
+ "id": "fcce8154.9685e",
"type": "set",
"name": "set vnf-network-index",
"xml": "<set>\n<parameter name='vnf-network-index' value='`$idx`' />\n",
"comments": "",
- "x": 2087.000011444092,
- "y": 2803.6908864974976,
- "z": "112fab3d.a10d2d",
+ "x": 2131.263027191162,
+ "y": 2815.4296016693115,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "9ce5336a.719328",
+ "id": "cbd9fa48.bee5b8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2041.999927520752,
- "y": 2893.6908073425293,
- "z": "112fab3d.a10d2d",
+ "x": 2086.2629432678223,
+ "y": 2905.4295225143433,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "765a4edc.cbc36",
+ "id": "f86420d0.f8cb4",
"type": "switchNode",
"name": "switch vnf-network-index",
"xml": "<switch test='`$vnf-network-index`'>\n",
"comments": "",
"outputs": 1,
- "x": 1300.3333473205566,
- "y": 2917.024224281311,
- "z": "112fab3d.a10d2d",
+ "x": 1344.596363067627,
+ "y": 2928.762939453125,
+ "z": "565447bf.1f1598",
"wires": [
[
- "244dfb68.71e964"
+ "79b99590.d3fcac"
]
]
},
{
- "id": "244dfb68.71e964",
+ "id": "79b99590.d3fcac",
"type": "outcome",
"name": "-1",
"xml": "<outcome value='-1'>\n",
"comments": "",
"outputs": 1,
- "x": 1491.9999885559082,
- "y": 2917.024468421936,
- "z": "112fab3d.a10d2d",
+ "x": 1536.2630043029785,
+ "y": 2928.76318359375,
+ "z": "565447bf.1f1598",
"wires": [
[
- "10ed32c9.c47a65"
+ "917a6c27.9bf3"
]
]
},
{
- "id": "10ed32c9.c47a65",
+ "id": "917a6c27.9bf3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1640.333179473877,
- "y": 2915.357508659363,
- "z": "112fab3d.a10d2d",
+ "x": 1684.5961952209473,
+ "y": 2927.0962238311768,
+ "z": "565447bf.1f1598",
"wires": [
[
- "404dfa80.b1344c",
- "c6cafcd7.27543"
+ "a6ff636a.1da36",
+ "f394576a.e4e1d8"
]
]
},
{
- "id": "404dfa80.b1344c",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 3168.6668128967285,
- "y": 2767.024085998535,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "c6cafcd7.27543",
- "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=\"`'VNFC network role '\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-network-role\n + ' is not found in VNF network list'\n `\" />\n\n\n\n",
- "comments": "",
- "x": 1808.6665534973145,
- "y": 2933.690760612488,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "c35abd31.4d97c8",
+ "id": "95349f39.6e5a9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2331.999897003174,
- "y": 3325.3573598861694,
- "z": "112fab3d.a10d2d",
+ "x": 2376.262912750244,
+ "y": 3337.0960750579834,
+ "z": "565447bf.1f1598",
"wires": [
[
- "96ccd849.43cf7",
- "ff243880.f35278",
- "6cdf3e0.84820c4"
+ "9e396ac0.1c0cd8",
+ "f53353ba.f6cea",
+ "35326a6f.8ce8b6"
]
]
},
{
- "id": "96ccd849.43cf7",
+ "id": "9e396ac0.1c0cd8",
"type": "for",
"name": "for each subnet-data",
"xml": "<for index='subnet-data-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2528.666648864746,
- "y": 3280.3572788238525,
- "z": "112fab3d.a10d2d",
+ "x": 2572.9296646118164,
+ "y": 3292.0959939956665,
+ "z": "565447bf.1f1598",
"wires": [
[
- "2cef54b4.065124"
+ "d3c7828c.9a35d"
]
]
},
{
- "id": "2cef54b4.065124",
+ "id": "d3c7828c.9a35d",
"type": "switchNode",
"name": "address-families match?",
"xml": "<switch test='`$tmp.address-family\n == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].ip-version`'>\n",
"comments": "",
"outputs": 1,
- "x": 2755.3332748413086,
- "y": 3280.3572788238525,
- "z": "112fab3d.a10d2d",
+ "x": 2799.596290588379,
+ "y": 3292.0959939956665,
+ "z": "565447bf.1f1598",
"wires": [
[
- "37df0574.9a5ed2"
+ "c4cd4a9c.110088"
]
]
},
{
- "id": "37df0574.9a5ed2",
+ "id": "c4cd4a9c.110088",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2935.333240509033,
- "y": 3280.3576850891113,
- "z": "112fab3d.a10d2d",
+ "x": 2979.5962562561035,
+ "y": 3292.0964002609253,
+ "z": "565447bf.1f1598",
"wires": [
[
- "788f6a84.68199c"
+ "d297a29d.32368"
]
]
},
{
- "id": "c57c0c21.024ab8",
+ "id": "801d0ec7.9db1b",
"type": "set",
"name": "set tmp.address-family",
"xml": "<set>\n<parameter name='tmp.address-family'\n value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-address-family`' />\n",
"comments": "",
- "x": 2360.3332328796387,
- "y": 3143.690773010254,
- "z": "112fab3d.a10d2d",
+ "x": 2404.596248626709,
+ "y": 3155.429488182068,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "4a1dd17d.5b9948",
+ "id": "a86ece19.ececb",
"type": "switchNode",
"name": "switch vnfc-subnet-ip_length",
"xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1805.3335762023926,
- "y": 3140.357808113098,
- "z": "112fab3d.a10d2d",
+ "x": 1849.596591949463,
+ "y": 3152.096523284912,
+ "z": "565447bf.1f1598",
"wires": [
[
- "5f09d3a6.026514",
- "56c1febc.7db6b",
- "14889e9b.6b5371"
+ "b8041b24.2b66c8",
+ "9c9140dc.f2e33",
+ "489d3614.0f27f8"
]
]
},
{
- "id": "5f09d3a6.026514",
+ "id": "b8041b24.2b66c8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2007.000087738037,
- "y": 3040.3573513031006,
- "z": "112fab3d.a10d2d",
+ "x": 2051.2631034851074,
+ "y": 3052.0960664749146,
+ "z": "565447bf.1f1598",
"wires": [
[
- "22b591c4.2e4326"
+ "8bb4c617.110b48"
]
]
},
{
- "id": "56c1febc.7db6b",
+ "id": "9c9140dc.f2e33",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2003.4287185668945,
- "y": 3226.309642791748,
- "z": "112fab3d.a10d2d",
+ "x": 2047.6917343139648,
+ "y": 3238.048357963562,
+ "z": "565447bf.1f1598",
"wires": [
[
- "ded80477.617b2"
+ "b0bfddfb.72eba"
]
]
},
{
- "id": "22b591c4.2e4326",
+ "id": "8bb4c617.110b48",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2138.6666374206543,
- "y": 3063.0240983963013,
- "z": "112fab3d.a10d2d",
+ "x": 2182.9296531677246,
+ "y": 3074.7628135681152,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "ebf41120.205ed",
+ "id": "38e8e50c.e85dda",
"type": "set",
"name": "set subnet-id to -1",
"xml": "<set>\n<parameter name='subnet-id' value='-1' />\n",
"comments": "",
- "x": 3028.6671562194824,
- "y": 3442.0247650146484,
- "z": "112fab3d.a10d2d",
+ "x": 3072.9301719665527,
+ "y": 3453.7634801864624,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "ded80477.617b2",
+ "id": "b0bfddfb.72eba",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2157.0001335144043,
- "y": 3225.3572750091553,
- "z": "112fab3d.a10d2d",
+ "x": 2201.2631492614746,
+ "y": 3237.0959901809692,
+ "z": "565447bf.1f1598",
"wires": [
[
- "c57c0c21.024ab8",
- "c35abd31.4d97c8"
+ "801d0ec7.9db1b",
+ "95349f39.6e5a9"
]
]
},
{
- "id": "62a4f148.c202c",
+ "id": "d34b6157.8f35a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4288.666753768921,
- "y": 3613.691241979599,
- "z": "112fab3d.a10d2d",
+ "x": 4332.929769515991,
+ "y": 3625.429957151413,
+ "z": "565447bf.1f1598",
"wires": [
[
- "afef3972.79782",
- "4862bc5a.5fb3f4"
+ "88064ec.10dddb",
+ "52c4ad67.8cbd34"
]
]
},
{
- "id": "4862bc5a.5fb3f4",
+ "id": "52c4ad67.8cbd34",
"type": "execute",
"name": "execute isInSameSubnet",
"xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"isInSameSubnet\">\n\t<parameter name=\"firstIPAddr\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].network-start-address`\" />\n\t<parameter name=\"secondIPAddr\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[0].vnfc-ip-address`\" />\n\t<parameter name=\"subnet\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].cidr-mask`\" />\n\t<parameter name=\"ipType\" value=\"`$ip-type`\" />\n",
"comments": "",
"outputs": 1,
- "x": 4503.6667556762695,
- "y": 3663.690915822983,
- "z": "112fab3d.a10d2d",
+ "x": 4547.92977142334,
+ "y": 3675.4296309947968,
+ "z": "565447bf.1f1598",
"wires": [
[
- "4c2388df.70ec08"
+ "995a749b.8f5f58"
]
]
},
{
- "id": "afef3972.79782",
+ "id": "88064ec.10dddb",
"type": "switchNode",
"name": "switch tmp.address-family",
"xml": "<switch test='`$tmp.address-family`'>\n",
"comments": "",
"outputs": 1,
- "x": 4505.333911895752,
- "y": 3570.357902288437,
- "z": "112fab3d.a10d2d",
+ "x": 4549.596927642822,
+ "y": 3582.096617460251,
+ "z": "565447bf.1f1598",
"wires": [
[
- "191fd488.fd1f6b",
- "be67cd12.641768"
+ "431902e1.65a18c",
+ "a1d0494d.a8bd18"
]
]
},
{
- "id": "191fd488.fd1f6b",
+ "id": "431902e1.65a18c",
"type": "outcome",
"name": "ipv4",
"xml": "<outcome value='ipv4'>\n",
"comments": "",
"outputs": 1,
- "x": 4708.667174021402,
- "y": 3543.6911326249437,
- "z": "112fab3d.a10d2d",
+ "x": 4752.930189768473,
+ "y": 3555.4298477967577,
+ "z": "565447bf.1f1598",
"wires": [
[
- "eaddc3bb.251ec8"
+ "bb7bc2b4.6ce51"
]
]
},
{
- "id": "be67cd12.641768",
+ "id": "a1d0494d.a8bd18",
"type": "outcome",
"name": "ipv6",
"xml": "<outcome value='ipv6'>\n",
"comments": "",
"outputs": 1,
- "x": 4708.666847229004,
- "y": 3590.3576600551605,
- "z": "112fab3d.a10d2d",
+ "x": 4752.929862976074,
+ "y": 3602.0963752269745,
+ "z": "565447bf.1f1598",
"wires": [
[
- "95abff5b.e35a8"
+ "e7f8c0a.86c664"
]
]
},
{
- "id": "eaddc3bb.251ec8",
+ "id": "bb7bc2b4.6ce51",
"type": "set",
"name": "set ip-type parameter to IPv4",
"xml": "<set>\n<parameter name='ip-type' value='IPv4' />\n",
"comments": "",
- "x": 4905.333660125732,
- "y": 3542.0246064662933,
- "z": "112fab3d.a10d2d",
+ "x": 4949.596675872803,
+ "y": 3553.7633216381073,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "95abff5b.e35a8",
+ "id": "e7f8c0a.86c664",
"type": "set",
"name": "set ip-type parameter to IPv6",
"xml": "<set>\n<parameter name='ip-type' value='IPv6' />\n",
"comments": "",
- "x": 4910.33353805542,
- "y": 3590.357679128647,
- "z": "112fab3d.a10d2d",
+ "x": 4954.59655380249,
+ "y": 3602.096394300461,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "8df6c942.a715e",
+ "id": "7fcd1d62.d76cb4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4843.666786193848,
- "y": 3663.357679128647,
- "z": "112fab3d.a10d2d",
+ "x": 4887.929801940918,
+ "y": 3675.096394300461,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a8addf18.4e3a2",
- "7cc78bb8.388714"
+ "5e631020.53cce",
+ "df991002.c407"
]
]
},
{
- "id": "a8addf18.4e3a2",
+ "id": "5e631020.53cce",
"type": "set",
"name": "set subnet-id",
"xml": "<set>\n<parameter name='subnet-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id`' />\n",
"comments": "",
- "x": 5022.000106811523,
- "y": 3640.024165868759,
- "z": "112fab3d.a10d2d",
+ "x": 5066.263122558594,
+ "y": 3651.762881040573,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "7cc78bb8.388714",
+ "id": "df991002.c407",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5007.000110626221,
- "y": 3686.691159963608,
- "z": "112fab3d.a10d2d",
+ "x": 5051.263126373291,
+ "y": 3698.4298751354218,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "5250a99a.907d1",
+ "id": "4e4fca65.cbf754",
"type": "switchNode",
"name": "switch subnet-id",
"xml": "<switch test='`$subnet-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 3020.3330307006836,
- "y": 3603.691499710083,
- "z": "112fab3d.a10d2d",
+ "x": 3064.596046447754,
+ "y": 3615.430214881897,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d823fb40.54f4"
+ "5fc3b8b.62e4a48"
]
]
},
{
- "id": "d823fb40.54f4",
+ "id": "5fc3b8b.62e4a48",
"type": "outcome",
"name": "-1",
"xml": "<outcome value='-1'>\n",
"comments": "",
"outputs": 1,
- "x": 3176.99959564209,
- "y": 3603.6914348602295,
- "z": "112fab3d.a10d2d",
+ "x": 3221.26261138916,
+ "y": 3615.4301500320435,
+ "z": "565447bf.1f1598",
"wires": [
[
- "4bb7b0dc.89ed5"
+ "1fa6c512.92b1cb"
]
]
},
{
- "id": "4bb7b0dc.89ed5",
+ "id": "1fa6c512.92b1cb",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3325.3327865600586,
- "y": 3602.0244750976562,
- "z": "112fab3d.a10d2d",
+ "x": 3369.595802307129,
+ "y": 3613.76319026947,
+ "z": "565447bf.1f1598",
"wires": [
[
- "12c0eff5.7b1ef",
- "404dfa80.b1344c"
+ "fec2cbd9.e930a8",
+ "f394576a.e4e1d8"
]
]
},
{
- "id": "12c0eff5.7b1ef",
- "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=\"`'Not able to find VNF network subnet that contains address '\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[0].vnfc-ip-address\n `\" />\n\n\n\n",
- "comments": "",
- "x": 3493.666118621826,
- "y": 3618.6909503936768,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "324552d3.28633e",
+ "id": "10262cd6.950543",
"type": "set",
"name": "set subnet-id in vnfc-ip-assignments (temp variable)",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id' value='`$subnet-id`' />\n",
"comments": "",
- "x": 3131.9996757507324,
- "y": 3680.3582706451416,
- "z": "112fab3d.a10d2d",
+ "x": 3176.2626914978027,
+ "y": 3692.0969858169556,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "1781a3e7.247ed4",
+ "id": "7b6a70b.67d389",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmodulec.log' />\n",
"comments": "",
"outputs": 1,
- "x": 485.3332710266113,
- "y": 3275.357508659363,
- "z": "112fab3d.a10d2d",
+ "x": 529.5962867736816,
+ "y": 3287.0962238311768,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "4c2388df.70ec08",
+ "id": "995a749b.8f5f58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4690.333358764648,
- "y": 3663.691404104233,
- "z": "112fab3d.a10d2d",
+ "x": 4734.596374511719,
+ "y": 3675.4301192760468,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8df6c942.a715e"
+ "7fcd1d62.d76cb4"
]
]
},
{
- "id": "ca1a48c3.b1baa8",
+ "id": "491c8e10.8347",
"type": "set",
"name": "set network-id",
"xml": "<set>\n<parameter name='$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].network-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$idx].network-id`' />\n",
"comments": "",
- "x": 2063.666515350342,
- "y": 2848.690969467163,
- "z": "112fab3d.a10d2d",
+ "x": 2107.929531097412,
+ "y": 2860.429684638977,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "8ca3ab85.032598",
+ "id": "a45139cd.c06788",
"type": "switchNode",
"name": "switch nfc-naming-code",
"xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-naming-code`'>\n",
"comments": "",
"outputs": 1,
- "x": 1261.9999809265137,
- "y": 4463.690697193146,
- "z": "112fab3d.a10d2d",
+ "x": 1306.262996673584,
+ "y": 4475.42941236496,
+ "z": "565447bf.1f1598",
"wires": [
[
- "23c8931f.52f9cc",
- "57df7e5d.984c2"
+ "7364ca38.2e5154",
+ "58d89920.1583e8"
]
]
},
{
- "id": "23c8931f.52f9cc",
+ "id": "7364ca38.2e5154",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1446.999927520752,
- "y": 4438.690515995026,
- "z": "112fab3d.a10d2d",
+ "x": 1491.2629432678223,
+ "y": 4450.42923116684,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a1c6b38e.a41d3"
+ "8158813c.66973"
]
]
},
{
- "id": "57df7e5d.984c2",
+ "id": "58d89920.1583e8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1445.095199584961,
- "y": 4485.476343631744,
- "z": "112fab3d.a10d2d",
+ "x": 1489.3582153320312,
+ "y": 4497.215058803558,
+ "z": "565447bf.1f1598",
"wires": [
[
- "59f2b757.a63258"
+ "3d2f5ba8.c13584"
]
]
},
{
- "id": "a1c6b38e.a41d3",
+ "id": "8158813c.66973",
"type": "set",
"name": "set tmp.nfc-naming-code to DEFAULT",
"xml": "<set>\n<parameter name='tmp.nfc-naming-code' value='DEFAULT' />\n",
"comments": "",
- "x": 1678.6666984558105,
- "y": 4437.023866176605,
- "z": "112fab3d.a10d2d",
+ "x": 1722.9297142028809,
+ "y": 4448.762581348419,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "59f2b757.a63258",
+ "id": "3d2f5ba8.c13584",
"type": "set",
"name": "set tmp.nfc-naming-code",
"xml": "<set>\n<parameter name='tmp.nfc-naming-code' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-naming-code`' />\n",
"comments": "",
- "x": 1635.333209991455,
- "y": 4485.357364177704,
- "z": "112fab3d.a10d2d",
+ "x": 1679.5962257385254,
+ "y": 4497.096079349518,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "805bb33d.dc18f",
+ "id": "d5639dcc.50d87",
"type": "switchNode",
"name": "switch nfc-function",
"xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-function`'>\n",
"comments": "",
"outputs": 1,
- "x": 1250.3333129882812,
- "y": 4562.023870944977,
- "z": "112fab3d.a10d2d",
+ "x": 1294.5963287353516,
+ "y": 4573.762586116791,
+ "z": "565447bf.1f1598",
"wires": [
[
- "7a1bcd20.0ffb04",
- "58313c0d.8e25dc"
+ "b1314442.1e8e58",
+ "4e90e22a.aab6cc"
]
]
},
{
- "id": "7a1bcd20.0ffb04",
+ "id": "b1314442.1e8e58",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1446.9999198913574,
- "y": 4537.023668766022,
- "z": "112fab3d.a10d2d",
+ "x": 1491.2629356384277,
+ "y": 4548.762383937836,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8f8878a3.b40b28"
+ "c5c1ae87.86af"
]
]
},
{
- "id": "58313c0d.8e25dc",
+ "id": "4e90e22a.aab6cc",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1445.0951919555664,
- "y": 4583.8094964027405,
- "z": "112fab3d.a10d2d",
+ "x": 1489.3582077026367,
+ "y": 4595.548211574554,
+ "z": "565447bf.1f1598",
"wires": [
[
- "33d0dbb1.211884"
+ "ba48d68e.f81aa8"
]
]
},
{
- "id": "8f8878a3.b40b28",
+ "id": "c5c1ae87.86af",
"type": "set",
"name": "set tmp.nfc-function to DEFAULT",
"xml": "<set>\n<parameter name='tmp.nfc-function' value='DEFAULT' />\n",
"comments": "",
- "x": 1658.6667022705078,
- "y": 4535.3568778038025,
- "z": "112fab3d.a10d2d",
+ "x": 1702.9297180175781,
+ "y": 4547.0955929756165,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "33d0dbb1.211884",
+ "id": "ba48d68e.f81aa8",
"type": "set",
"name": "set tmp.nfc-function",
"xml": "<set>\n<parameter name='tmp.nfc-function' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-function`' />\n",
"comments": "",
- "x": 1616.9998321533203,
- "y": 4583.690538883209,
- "z": "112fab3d.a10d2d",
+ "x": 1661.2628479003906,
+ "y": 4595.429254055023,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "f47ab8ac.f1f838",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2890.3333015441895,
- "y": 2218.691004753113,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "aa023fe5.47b5f8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 2796.9998054504395,
- "y": 2293.691004753113,
- "z": "112fab3d.a10d2d",
- "wires": [
- [
- "d0aa2f4d.891c28",
- "f47ab8ac.f1f838"
- ]
- ]
- },
- {
- "id": "e944765.ab28a88",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 2001.9998588562012,
- "y": 2353.6908683776855,
- "z": "112fab3d.a10d2d",
- "wires": [
- [
- "bcf4c56.2e632b8",
- "f47ab8ac.f1f838"
- ]
- ]
- },
- {
- "id": "589f1683.8c95c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 2263.666723251343,
- "y": 2408.691035270691,
- "z": "112fab3d.a10d2d",
- "wires": [
- [
- "b1df2727.b9c3d",
- "f47ab8ac.f1f838"
- ]
- ]
- },
- {
- "id": "581b2add.f9572c",
+ "id": "cc35a2e9.bcb07",
"type": "switchNode",
"name": "switch network-roles match?",
"xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-network-role\n == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-role`'>\n",
"comments": "",
"outputs": 1,
- "x": 1923.6666297912598,
- "y": 5460.6908984184265,
- "z": "112fab3d.a10d2d",
+ "x": 1967.92964553833,
+ "y": 5472.4296135902405,
+ "z": "565447bf.1f1598",
"wires": [
[
- "bcbba18a.60b55"
+ "7bf7e0e4.c2092"
]
]
},
{
- "id": "bcbba18a.60b55",
+ "id": "7bf7e0e4.c2092",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2122.000099182129,
- "y": 5460.358053684235,
- "z": "112fab3d.a10d2d",
+ "x": 2166.263114929199,
+ "y": 5472.096768856049,
+ "z": "565447bf.1f1598",
"wires": [
[
- "54717650.92e9c8"
+ "62b74236.aad4fc"
]
]
},
{
- "id": "f305688b.5fd87",
+ "id": "1f595d1a.8ff293",
"type": "switchNode",
"name": "switch network-roles match?",
"xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role\n == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-role`'>\n",
"comments": "",
"outputs": 1,
- "x": 1926.9999732971191,
- "y": 5620.357346057892,
- "z": "112fab3d.a10d2d",
+ "x": 1971.2629890441895,
+ "y": 5632.096061229706,
+ "z": "565447bf.1f1598",
"wires": [
[
- "fcdfc8c4.1ea6e8"
+ "47d7d211.80a5ec"
]
]
},
{
- "id": "fcdfc8c4.1ea6e8",
+ "id": "47d7d211.80a5ec",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2125.3334426879883,
- "y": 5620.0245013237,
- "z": "112fab3d.a10d2d",
+ "x": 2169.5964584350586,
+ "y": 5631.763216495514,
+ "z": "565447bf.1f1598",
"wires": [
[
- "76067898.ad5ad8"
+ "1de94581.c488da"
]
]
},
{
- "id": "bc8c9230.4f5cf8",
+ "id": "316d52f.75519ae",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1830.3332557678223,
- "y": 6198.6907658576965,
- "z": "112fab3d.a10d2d",
+ "x": 1874.5962715148926,
+ "y": 6210.4294810295105,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1f81499d.5e5af6",
- "8e120f2d.e1456"
+ "c0647bff.dcfb98",
+ "5911a368.70726c"
]
]
},
{
- "id": "5f97f00c.f2f7a",
+ "id": "24db1747.589188",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1832.0000038146973,
- "y": 6513.690777301788,
- "z": "112fab3d.a10d2d",
+ "x": 1876.2630195617676,
+ "y": 6525.429492473602,
+ "z": "565447bf.1f1598",
"wires": [
[
- "47c03850.21f5a",
- "7256be96.3662d"
+ "bdb5121f.d0648",
+ "9dacd2cd.93ab"
]
]
},
{
- "id": "8e120f2d.e1456",
+ "id": "5911a368.70726c",
"type": "for",
"name": "for each vnfc-network-role",
"xml": "<for silentFailure='true' index='vnfc-network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2047.000202178955,
- "y": 6257.023936748505,
- "z": "112fab3d.a10d2d",
+ "x": 2091.2632179260254,
+ "y": 6268.762651920319,
+ "z": "565447bf.1f1598",
"wires": [
[
- "2ff95408.117534"
+ "f138f006.e2934"
]
]
},
{
- "id": "35f11c05.060024",
+ "id": "14599bc4.dfcff4",
"type": "save",
"name": "save vip-ipv4-address-list relationship to cp",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"vip-ipv4-address-list:relationship-list\"\n key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"cp\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/vnfcs/vnfc/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n + '/cps/cp/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].connection-point.connection-point-id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2722.0001258850098,
- "y": 6257.023775577545,
- "z": "112fab3d.a10d2d",
+ "x": 2766.26314163208,
+ "y": 6268.762490749359,
+ "z": "565447bf.1f1598",
"wires": [
[
- "6fc56971.00a6d8",
- "5cf11136.58121"
+ "34dd5b17.9e06c4",
+ "c966a91b.7c68b8"
]
]
},
{
- "id": "6f85c684.0cc928",
- "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 vip-ipv4-address-list relationship to cp in AAI\" />\n",
- "comments": "",
- "x": 3280.3333473205566,
- "y": 6250.357183933258,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "383b2271.606576",
- "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=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",
- "comments": "",
- "x": 3280.500316619873,
- "y": 6300.341357648373,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "1646f205.fdcaa6",
+ "id": "52867741.452a08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3113.8332176208496,
- "y": 6230.341557025909,
- "z": "112fab3d.a10d2d",
+ "x": 3158.09623336792,
+ "y": 6242.080272197723,
+ "z": "565447bf.1f1598",
"wires": [
[
- "6f85c684.0cc928",
- "7d8d801d.5aba58"
+ "1a54f803.3243e8",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "8458375f.c06d8",
+ "id": "fbf6e33e.69daa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3113.833293914795,
- "y": 6283.341315746307,
- "z": "112fab3d.a10d2d",
+ "x": 3158.0963096618652,
+ "y": 6295.080030918121,
+ "z": "565447bf.1f1598",
"wires": [
[
- "383b2271.606576",
- "7d8d801d.5aba58"
+ "9ebbd632.ef43d8",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "6fc56971.00a6d8",
+ "id": "34dd5b17.9e06c4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2957.000102996826,
- "y": 6230.357226848602,
- "z": "112fab3d.a10d2d",
+ "x": 3001.2631187438965,
+ "y": 6242.095942020416,
+ "z": "565447bf.1f1598",
"wires": [
[
- "1646f205.fdcaa6"
+ "52867741.452a08"
]
]
},
{
- "id": "5cf11136.58121",
+ "id": "c966a91b.7c68b8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2965.571636199951,
- "y": 6282.9763712883,
- "z": "112fab3d.a10d2d",
+ "x": 3009.8346519470215,
+ "y": 6294.7150864601135,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8458375f.c06d8"
+ "fbf6e33e.69daa"
]
]
},
{
- "id": "7256be96.3662d",
+ "id": "9dacd2cd.93ab",
"type": "for",
"name": "for each vnfc-network-role",
"xml": "<for silentFailure='true' index='vnfc-network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2048.6665992736816,
- "y": 6580.357346057892,
- "z": "112fab3d.a10d2d",
+ "x": 2092.929615020752,
+ "y": 6592.096061229706,
+ "z": "565447bf.1f1598",
"wires": [
[
- "6947a958.cfef3"
+ "2dbd930d.06759c"
]
]
},
{
- "id": "8da01247.1c11d8",
+ "id": "6321a56a.de355c",
"type": "save",
"name": "save vip-ipv6-address-list relationship to cp",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"vip-ipv6-address-list:relationship-list\"\n key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"cp\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/vnfcs/vnfc/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n + '/cps/cp/'\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].connection-point.connection-point-id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2718.6665534973145,
- "y": 6578.690128803253,
- "z": "112fab3d.a10d2d",
+ "x": 2762.9295692443848,
+ "y": 6590.428843975067,
+ "z": "565447bf.1f1598",
"wires": [
[
- "d83f3f7b.caadf",
- "cc62185e.d573c8"
+ "7666db3f.f47e74",
+ "639b285f.08d4e8"
]
]
},
{
- "id": "540af8f6.c0c8e",
- "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 vip-ipv4-address-list relationship to cp in AAI\" />\n",
- "comments": "",
- "x": 3276.9997749328613,
- "y": 6572.023537158966,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "64f21f33.6807a",
- "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=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",
- "comments": "",
- "x": 3277.1667442321777,
- "y": 6622.007710874081,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "998fc046.d68f",
+ "id": "f0c87b03.93a6b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3110.4996452331543,
- "y": 6552.007910251617,
- "z": "112fab3d.a10d2d",
+ "x": 3154.7626609802246,
+ "y": 6563.746625423431,
+ "z": "565447bf.1f1598",
"wires": [
[
- "540af8f6.c0c8e"
+ "82534f84.1802c",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "8dc96b01.474dd",
+ "id": "301d4b1.d1d96b4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3110.4997215270996,
- "y": 6605.007668972015,
- "z": "112fab3d.a10d2d",
+ "x": 3154.76273727417,
+ "y": 6616.746384143829,
+ "z": "565447bf.1f1598",
"wires": [
[
- "64f21f33.6807a"
+ "bec2c422.16f948",
+ "fc515f97.dc4ef"
]
]
},
{
- "id": "d83f3f7b.caadf",
+ "id": "7666db3f.f47e74",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2953.666530609131,
- "y": 6552.02358007431,
- "z": "112fab3d.a10d2d",
+ "x": 2997.929546356201,
+ "y": 6563.762295246124,
+ "z": "565447bf.1f1598",
"wires": [
[
- "998fc046.d68f"
+ "f0c87b03.93a6b8"
]
]
},
{
- "id": "cc62185e.d573c8",
+ "id": "639b285f.08d4e8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2962.238063812256,
- "y": 6604.642724514008,
- "z": "112fab3d.a10d2d",
+ "x": 3006.501079559326,
+ "y": 6616.3814396858215,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8dc96b01.474dd"
+ "301d4b1.d1d96b4"
]
]
},
{
- "id": "2ff95408.117534",
+ "id": "f138f006.e2934",
"type": "switchNode",
"name": "switch network-roles match?",
"xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role\n == $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].vnfc-network-role`'>\n",
"comments": "",
"outputs": 1,
- "x": 2300.3332710266113,
- "y": 6257.023613452911,
- "z": "112fab3d.a10d2d",
+ "x": 2344.5962867736816,
+ "y": 6268.762328624725,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9475b87c.2a043"
+ "96bf85f6.f873f8"
]
]
},
{
- "id": "9475b87c.2a043",
+ "id": "96bf85f6.f873f8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2487.000114440918,
- "y": 6257.024100780487,
- "z": "112fab3d.a10d2d",
+ "x": 2531.2631301879883,
+ "y": 6268.762815952301,
+ "z": "565447bf.1f1598",
"wires": [
[
- "35f11c05.060024"
+ "14599bc4.dfcff4"
]
]
},
{
- "id": "6947a958.cfef3",
+ "id": "2dbd930d.06759c",
"type": "switchNode",
"name": "switch network-roles match?",
"xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role\n == $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].vnfc-network-role`'>\n",
"comments": "",
"outputs": 1,
- "x": 2296.9998512268066,
- "y": 6578.690353870392,
- "z": "112fab3d.a10d2d",
+ "x": 2341.262866973877,
+ "y": 6590.429069042206,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e7b53b25.79cf28"
+ "75bae1b8.8d5a7"
]
]
},
{
- "id": "e7b53b25.79cf28",
+ "id": "75bae1b8.8d5a7",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2483.6666946411133,
- "y": 6578.6908411979675,
- "z": "112fab3d.a10d2d",
+ "x": 2527.9297103881836,
+ "y": 6590.4295563697815,
+ "z": "565447bf.1f1598",
"wires": [
[
- "8da01247.1c11d8"
+ "6321a56a.de355c"
]
]
},
{
- "id": "2376b6f4.a8ed0a",
+ "id": "14b5c458.f3a9ec",
"type": "comment",
"name": "SELF-SERVE FORK",
"info": "",
"comments": "",
- "x": 666.7142944335938,
- "y": 867.0476245880127,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "efcbebcc.14464",
- "type": "call",
- "name": "call self-serve-vf-module-assign",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-assign' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1199.749439239502,
- "y": 911.964430809021,
- "z": "112fab3d.a10d2d",
- "wires": [
- [
- "971d6518.2083a"
- ]
- ]
- },
- {
- "id": "4f6ca91d.20b5c",
- "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=\"`'Failed to create self-serve assignment for vf-module with vf-module-id=' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + ' with error: ' + $error-message`\" />\n",
- "comments": "",
- "x": 1583.820816040039,
- "y": 911.9643812179565,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "971d6518.2083a",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1420.047019958496,
- "y": 911.4524621963501,
- "z": "112fab3d.a10d2d",
- "wires": [
- [
- "4f6ca91d.20b5c"
- ]
- ]
- },
- {
- "id": "d92c2968.bb747",
- "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": 1146.6186828613281,
- "y": 1061.809350013733,
- "z": "112fab3d.a10d2d",
+ "x": 710.9773101806641,
+ "y": 878.7863397598267,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "c5876c75.baaed",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnfend.log' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1138.6662254333496,
- "y": 1016.3008937835693,
- "z": "112fab3d.a10d2d",
- "wires": [
- []
- ]
- },
- {
- "id": "be93c800.e962c8",
- "type": "set",
- "name": "set order-status to PendingCreate",
- "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-level-oper-status.order-status'\n value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",
- "comments": "",
- "x": 1209.3567428588867,
- "y": 965.2617883682251,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "3eddc68c.a493ea",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 920.4521713256836,
- "y": 911.6425924301147,
- "z": "112fab3d.a10d2d",
- "wires": [
- [
- "efcbebcc.14464",
- "be93c800.e962c8",
- "c5876c75.baaed",
- "d92c2968.bb747"
- ]
- ]
- },
- {
- "id": "8086d3c6.2981",
+ "id": "b4ce17c3.fa50b8",
"type": "comment",
"name": "First, count the subnets for this address family",
"info": "",
"comments": "",
- "x": 2662.0004081726074,
- "y": 3189.9997692108154,
- "z": "112fab3d.a10d2d",
+ "x": 2706.2634239196777,
+ "y": 3201.7384843826294,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "fd0458e9.351b28",
+ "id": "12c26bf4.a2a7c4",
"type": "for",
"name": "for each subnet-data",
"xml": "<for index='subnet-data-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3035.333095550537,
- "y": 3485.0002727508545,
- "z": "112fab3d.a10d2d",
+ "x": 3079.5961112976074,
+ "y": 3496.7389879226685,
+ "z": "565447bf.1f1598",
"wires": [
[
- "9c5ef8eb.9a7678"
+ "6a0e881b.4ba548"
]
]
},
{
- "id": "9c5ef8eb.9a7678",
+ "id": "6a0e881b.4ba548",
"type": "switchNode",
"name": "address-families match?",
"xml": "<switch test='`$tmp.address-family\n == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].ip-version`'>\n",
"comments": "",
"outputs": 1,
- "x": 3261.9997215270996,
- "y": 3485.0002727508545,
- "z": "112fab3d.a10d2d",
+ "x": 3306.26273727417,
+ "y": 3496.7389879226685,
+ "z": "565447bf.1f1598",
"wires": [
[
- "33f6db20.0ff7f4"
+ "78272436.cd36bc"
]
]
},
{
- "id": "33f6db20.0ff7f4",
+ "id": "78272436.cd36bc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3441.999687194824,
- "y": 3485.0006790161133,
- "z": "112fab3d.a10d2d",
+ "x": 3486.2627029418945,
+ "y": 3496.7393941879272,
+ "z": "565447bf.1f1598",
"wires": [
[
- "54c3098c.899198"
+ "8571ff4f.7368d"
]
]
},
{
- "id": "ff243880.f35278",
+ "id": "f53353ba.f6cea",
"type": "set",
"name": "set af-count to 0",
"xml": "<set>\n<parameter name='af-count' value='0' />\n",
"comments": "",
- "x": 2516.9999809265137,
- "y": 3231.6665210723877,
- "z": "112fab3d.a10d2d",
+ "x": 2561.262996673584,
+ "y": 3243.4052362442017,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "38b83402.0da80c",
+ "id": "774c4dcf.519194",
"type": "set",
"name": "increment af-count",
"xml": "<set>\n<parameter name='af-count' value='`$af-count + 1`' />\n",
"comments": "",
- "x": 3265.3333473205566,
- "y": 3298.3332710266113,
- "z": "112fab3d.a10d2d",
+ "x": 3309.596363067627,
+ "y": 3310.0719861984253,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "788f6a84.68199c",
+ "id": "d297a29d.32368",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3081.9997215270996,
- "y": 3279.9999561309814,
- "z": "112fab3d.a10d2d",
+ "x": 3126.26273727417,
+ "y": 3291.7386713027954,
+ "z": "565447bf.1f1598",
"wires": [
[
- "38b83402.0da80c",
- "3fbd6c40.04a2bc"
+ "774c4dcf.519194",
+ "93d44f0.e06a8b"
]
]
},
{
- "id": "3fbd6c40.04a2bc",
+ "id": "93d44f0.e06a8b",
"type": "set",
"name": "set subnet-id",
"xml": "<set>\n<parameter name='subnet-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id`' />\n",
"comments": "",
- "x": 3246.999767303467,
- "y": 3253.3332691192627,
- "z": "112fab3d.a10d2d",
+ "x": 3291.262783050537,
+ "y": 3265.0719842910767,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "6cdf3e0.84820c4",
+ "id": "35326a6f.8ce8b6",
"type": "switchNode",
"name": "switch af-count",
"xml": "<switch test='`$af-count`'>\n",
"comments": "",
"outputs": 1,
- "x": 2507.0003929138184,
- "y": 3468.3334379196167,
- "z": "112fab3d.a10d2d",
+ "x": 2551.2634086608887,
+ "y": 3480.0721530914307,
+ "z": "565447bf.1f1598",
"wires": [
[
- "a4b2346f.f87cb",
- "33300284.96a34e"
+ "d300c477.7f84e8",
+ "8e745db4.433a4"
]
]
},
{
- "id": "a4b2346f.f87cb",
+ "id": "d300c477.7f84e8",
"type": "outcome",
"name": "1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 2666.999912261963,
- "y": 3366.666606903076,
- "z": "112fab3d.a10d2d",
+ "x": 2711.262928009033,
+ "y": 3378.40532207489,
+ "z": "565447bf.1f1598",
"wires": [
[
- "ad8dd57b.16b9d"
+ "700167b.43daf98"
]
]
},
{
- "id": "ad8dd57b.16b9d",
+ "id": "700167b.43daf98",
"type": "set",
"name": "set subnet-id in vnfc-ip-assignments (temp variable)",
"xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id'\n value='`$subnet-id`' />\n",
"comments": "",
- "x": 2940.3332176208496,
- "y": 3364.9999561309814,
- "z": "112fab3d.a10d2d",
+ "x": 2984.59623336792,
+ "y": 3376.7386713027954,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "33300284.96a34e",
+ "id": "8e745db4.433a4",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2666.999828338623,
- "y": 3568.333526611328,
- "z": "112fab3d.a10d2d",
+ "x": 2711.2628440856934,
+ "y": 3580.072241783142,
+ "z": "565447bf.1f1598",
"wires": [
[
- "459f9c7c.facbf4"
+ "49b5ae7f.1ecb1"
]
]
},
{
- "id": "459f9c7c.facbf4",
+ "id": "49b5ae7f.1ecb1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2823.6664695739746,
- "y": 3568.3332080841064,
- "z": "112fab3d.a10d2d",
+ "x": 2867.929485321045,
+ "y": 3580.0719232559204,
+ "z": "565447bf.1f1598",
"wires": [
[
- "ebf41120.205ed",
- "fd0458e9.351b28",
- "5250a99a.907d1",
- "324552d3.28633e"
+ "38e8e50c.e85dda",
+ "12c26bf4.a2a7c4",
+ "4e4fca65.cbf754",
+ "10262cd6.950543"
]
]
},
{
- "id": "54c3098c.899198",
+ "id": "8571ff4f.7368d",
"type": "switchNode",
"name": "switch network-start-address",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].network-start-address`'>\n",
"comments": "",
"outputs": 1,
- "x": 3636.9998664855957,
- "y": 3483.333522796631,
- "z": "112fab3d.a10d2d",
+ "x": 3681.262882232666,
+ "y": 3495.072237968445,
+ "z": "565447bf.1f1598",
"wires": [
[
- "50f46a5d.151964",
- "b4045616.46c1e"
+ "dcdbaac8.71fac8",
+ "9a1f2d8c.38269"
]
]
},
{
- "id": "50f46a5d.151964",
+ "id": "dcdbaac8.71fac8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 3833.6667137145996,
- "y": 3418.333133459091,
- "z": "112fab3d.a10d2d",
+ "x": 3877.92972946167,
+ "y": 3430.071848630905,
+ "z": "565447bf.1f1598",
"wires": [
[
- "fa79e796.718bc"
+ "ff48f3fc.6ff7e"
]
]
},
{
- "id": "b4045616.46c1e",
+ "id": "9a1f2d8c.38269",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3826.7621116638184,
- "y": 3552.61904501915,
- "z": "112fab3d.a10d2d",
+ "x": 3871.0251274108887,
+ "y": 3564.3577601909637,
+ "z": "565447bf.1f1598",
"wires": [
[
- "91359939.322c88"
+ "f43b3822.b1c158"
]
]
},
{
- "id": "91359939.322c88",
+ "id": "f43b3822.b1c158",
"type": "switchNode",
"name": "switch cidr-mask",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].cidr-mask`'>\n",
"comments": "",
"outputs": 1,
- "x": 3981.9999046325684,
- "y": 3551.666251897812,
- "z": "112fab3d.a10d2d",
+ "x": 4026.2629203796387,
+ "y": 3563.404967069626,
+ "z": "565447bf.1f1598",
"wires": [
[
- "fa078de2.dc1ae",
- "21622a4.a2fe356"
+ "4eb745de.4f4aec",
+ "898134a0.ae5d18"
]
]
},
{
- "id": "fa078de2.dc1ae",
+ "id": "4eb745de.4f4aec",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 4136.999980926514,
- "y": 3481.6665513515472,
- "z": "112fab3d.a10d2d",
+ "x": 4181.262996673584,
+ "y": 3493.405266523361,
+ "z": "565447bf.1f1598",
"wires": [
[
- "4d5413f9.62c7c4"
+ "8dbb144d.370578"
]
]
},
{
- "id": "21622a4.a2fe356",
+ "id": "898134a0.ae5d18",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4140.095777511597,
- "y": 3614.2856385707855,
- "z": "112fab3d.a10d2d",
+ "x": 4184.358793258667,
+ "y": 3626.0243537425995,
+ "z": "565447bf.1f1598",
"wires": [
[
- "62a4f148.c202c"
+ "d34b6157.8f35a"
]
]
},
{
- "id": "14889e9b.6b5371",
+ "id": "489d3614.0f27f8",
"type": "outcome",
"name": "0",
"xml": "<outcome value='0'>",
"comments": "",
"outputs": 1,
- "x": 2008.666591644287,
- "y": 3088.3332080841064,
- "z": "112fab3d.a10d2d",
+ "x": 2052.9296073913574,
+ "y": 3100.0719232559204,
+ "z": "565447bf.1f1598",
"wires": [
[
- "22b591c4.2e4326"
+ "8bb4c617.110b48"
]
]
},
{
- "id": "82e555ca.39e4b",
- "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 subnet id '\n + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n + ' does not have network-start-address populated'`\" />\n\n\n\n",
- "comments": "",
- "x": 4142.000217437744,
- "y": 3433.332970380783,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "fa79e796.718bc",
+ "id": "ff48f3fc.6ff7e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3978.6666412353516,
- "y": 3418.332900762558,
- "z": "112fab3d.a10d2d",
+ "x": 4022.929656982422,
+ "y": 3430.071615934372,
+ "z": "565447bf.1f1598",
"wires": [
[
- "82e555ca.39e4b",
- "404dfa80.b1344c"
+ "1b07cf87.9b6fe",
+ "f394576a.e4e1d8"
]
]
},
{
- "id": "926e57f0.46dc88",
- "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 subnet id '\n + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n + ' does not have cidr-mask populated'`\" />\n\n\n\n",
- "comments": "",
- "x": 4447.000072479248,
- "y": 3494.9998376369476,
- "z": "112fab3d.a10d2d",
- "wires": []
- },
- {
- "id": "4d5413f9.62c7c4",
+ "id": "8dbb144d.370578",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4283.6664962768555,
- "y": 3479.9997680187225,
- "z": "112fab3d.a10d2d",
+ "x": 4327.929512023926,
+ "y": 3491.7384831905365,
+ "z": "565447bf.1f1598",
"wires": [
[
- "926e57f0.46dc88",
- "404dfa80.b1344c"
+ "319df706.15f388",
+ "f394576a.e4e1d8"
]
]
},
{
- "id": "a6a5fc58.d573a",
+ "id": "55e003a5.fca06c",
"type": "comment",
"name": "Ignore address families with no addresses",
"info": "",
"comments": "",
- "x": 2282.9999656677246,
- "y": 3018.6667041778564,
- "z": "112fab3d.a10d2d",
+ "x": 2327.262981414795,
+ "y": 3030.4054193496704,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "57662986.d12c8",
+ "id": "3291e6ae.85f8ba",
"type": "switchNode",
"name": "switch invariant-uuid",
"xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].invariant-uuid`'>\n",
"comments": "",
"outputs": 1,
- "x": 1253.666805267334,
- "y": 4648.333082199097,
- "z": "112fab3d.a10d2d",
+ "x": 1297.9298210144043,
+ "y": 4660.071797370911,
+ "z": "565447bf.1f1598",
"wires": [
[
- "bca552ea.8dcc08",
- "1bc6e4fe.e7fc03"
+ "6a6eb8f1.9f62d8",
+ "f080e271.42c9b"
]
]
},
{
- "id": "bca552ea.8dcc08",
+ "id": "6a6eb8f1.9f62d8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1435.3332176208496,
- "y": 4624.999711990356,
- "z": "112fab3d.a10d2d",
+ "x": 1479.59623336792,
+ "y": 4636.73842716217,
+ "z": "565447bf.1f1598",
"wires": [
[
- "e71566e3.c745c8"
+ "db88ee95.a44c3"
]
]
},
{
- "id": "1bc6e4fe.e7fc03",
+ "id": "f080e271.42c9b",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1433.4284896850586,
- "y": 4671.785539627075,
- "z": "112fab3d.a10d2d",
+ "x": 1477.691505432129,
+ "y": 4683.524254798889,
+ "z": "565447bf.1f1598",
"wires": [
[
- "ce29a815.f5683"
+ "9b23e63c.8ba5d8"
]
]
},
{
- "id": "e71566e3.c745c8",
+ "id": "db88ee95.a44c3",
"type": "save",
"name": "save vnfc to A&AI",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vnfc\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\" >\n<parameter name=\"vnfc-name\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n<parameter name=\"nfc-naming-code\" value=\"`$tmp.nfc-naming-code`\" />\n<parameter name=\"nfc-function\" value=\"`$tmp.nfc-function`\" />\n<parameter name=\"orchestration-status\" value=\"`PendingCreate`\" />\n<parameter name=\"in-maint\" value=\"true\" />\n<parameter name=\"prov-status\" value=\"`PREPROV`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1596.999843597412,
- "y": 4626.666704177856,
- "z": "112fab3d.a10d2d",
+ "x": 1641.2628593444824,
+ "y": 4638.40541934967,
+ "z": "565447bf.1f1598",
"wires": [
[
- "b05fd296.8c44d8",
- "9ce78c9c.21d2e"
+ "8c17d99f.3ce5f8",
+ "b50cee13.b9a08"
]
]
},
{
- "id": "498f5a29.9e1ca4",
+ "id": "d0321bc2.4f6358",
"type": "switchNode",
"name": "switch input cloud-owner",
"xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.cloud-owner`'>\n",
"comments": "",
"outputs": 1,
- "x": 532.7141952514648,
- "y": 256.9047336578369,
- "z": "112fab3d.a10d2d",
+ "x": 576.9772109985352,
+ "y": 268.6434488296509,
+ "z": "565447bf.1f1598",
"wires": [
[
- "93f5de2c.13776",
- "5d086485.c917c4"
+ "da47b7e7.f3d848",
+ "23870b6f.901aa4"
]
]
},
{
- "id": "93f5de2c.13776",
+ "id": "da47b7e7.f3d848",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 716.0475692749023,
- "y": 226.90472221374512,
- "z": "112fab3d.a10d2d",
+ "x": 760.3105850219727,
+ "y": 238.64343738555908,
+ "z": "565447bf.1f1598",
"wires": [
[
- "201ec95d.e95dfe"
+ "4f66f95.7b33f08"
]
]
},
{
- "id": "5d086485.c917c4",
+ "id": "23870b6f.901aa4",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 715.8094749450684,
- "y": 267.85721588134766,
- "z": "112fab3d.a10d2d",
+ "x": 760.0724906921387,
+ "y": 279.5959310531616,
+ "z": "565447bf.1f1598",
"wires": [
[
- "404d471f.ff2ab"
+ "dee18ffa.a6fe6"
]
]
},
{
- "id": "201ec95d.e95dfe",
+ "id": "4f66f95.7b33f08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 851.0475234985352,
- "y": 225.23806190490723,
- "z": "112fab3d.a10d2d",
+ "x": 895.3105392456055,
+ "y": 236.9767770767212,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "404d471f.ff2ab",
+ "id": "dee18ffa.a6fe6",
"type": "set",
"name": "set prop.cloud-region.cloud-owner",
"xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$vf-module-topology-operation-input.vf-module-request-input.cloud-owner`' />\n",
"comments": "",
- "x": 932.7141799926758,
- "y": 266.9047431945801,
- "z": "112fab3d.a10d2d",
+ "x": 976.9771957397461,
+ "y": 278.64345836639404,
+ "z": "565447bf.1f1598",
"wires": []
},
{
- "id": "f0c546c1.be6dc",
+ "id": "348782c.04c017e",
"type": "call",
"name": "call self-serve-vf-module-forking-logic",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-forking-logic' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 564.3015670776367,
- "y": 808.2980642318726,
- "z": "112fab3d.a10d2d",
+ "x": 608.564582824707,
+ "y": 820.0367794036865,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
},
{
- "id": "40af7b28.67ea64",
+ "id": "bceb88ad.260758",
"type": "switchNode",
"name": "switch ss.self-serve-flag",
"xml": "<switch test=\"`$ss.self-serve-flag`\">\n",
"comments": "",
"outputs": 1,
- "x": 522.4443054199219,
- "y": 1035.2981328964233,
- "z": "112fab3d.a10d2d",
+ "x": 566.7073211669922,
+ "y": 1047.0368480682373,
+ "z": "565447bf.1f1598",
"wires": [
[
- "6edbe4f3.864dc4",
- "bb5f378d.ec1c2"
+ "7c55f766.ae1538",
+ "c5c4e1ec.02a4b"
]
]
},
{
- "id": "6edbe4f3.864dc4",
+ "id": "7c55f766.ae1538",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 743.158504486084,
- "y": 1152.869031906128,
- "z": "112fab3d.a10d2d",
+ "x": 787.4215202331543,
+ "y": 1164.607747077942,
+ "z": "565447bf.1f1598",
"wires": [
[
- "72f655d6.4f3d74"
+ "94a28d82.4f01d"
]
]
},
{
- "id": "bb5f378d.ec1c2",
+ "id": "c5c4e1ec.02a4b",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 743.7299575805664,
- "y": 911.7266693115234,
- "z": "112fab3d.a10d2d",
+ "x": 787.9929733276367,
+ "y": 923.4653844833374,
+ "z": "565447bf.1f1598",
"wires": [
[
- "3eddc68c.a493ea"
+ "3d2fe671.10512a"
]
]
},
{
- "id": "69eb61e5.2ebc48",
+ "id": "42e09bf7.400e44",
"type": "call",
"name": "call check for VNF-API-preload and copy",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='gw-vfmodule-update' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 473,
- "y": 7237,
- "z": "112fab3d.a10d2d",
+ "x": 517.2630157470703,
+ "y": 7248.738715171814,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3e5eb577.046eda",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 942.5129776000977,
+ "y": 397.6189908981323,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "6514e137.563f3",
+ "37049c8a.e3e5e4"
+ ]
+ ]
+ },
+ {
+ "id": "37049c8a.e3e5e4",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"If svc-action is 'assign' then request-action must be 'CreateVfModuleInstance'\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1130.4296607971191,
+ "y": 381.2499690055847,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2172bacb.fd1c86",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1044.7152824401855,
+ "y": 446.10708475112915,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "b1597171.3ee09",
+ "6514e137.563f3"
+ ]
+ ]
+ },
+ {
+ "id": "b1597171.3ee09",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_MODULE_MODEL table\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1242.0366859436035,
+ "y": 424.64278411865234,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c639de59.ae251",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1059.0009880065918,
+ "y": 491.2499375343323,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "e497f95d.3eb3c8",
+ "6514e137.563f3"
+ ]
+ ]
+ },
+ {
+ "id": "e497f95d.3eb3c8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No model found for VF module customization UUID ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1253.6438751220703,
+ "y": 468.21422386169434,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dbfaf511.5478b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1020.6082458496094,
+ "y": 619.321418762207,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "2e3d6663.deaf6a",
+ "6514e137.563f3"
+ ]
+ ]
+ },
+ {
+ "id": "2e3d6663.deaf6a",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"There are no VNFs defined in MD-SAL\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.5725021362305,
+ "y": 590.3571434020996,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "792ace51.b15ed",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 884.8939514160156,
+ "y": 727.321418762207,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "63dc2a33.a12634",
+ "6514e137.563f3"
+ ]
+ ]
+ },
+ {
+ "id": "63dc2a33.a12634",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find VNF ID ' + $vf-module-topology-operation-input.vnf-information.vnf-id + ' in MD-SAL'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1086.8582458496094,
+ "y": 702.6785879135132,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "11136e46.5af982",
+ "type": "call",
+ "name": "call self-serve-vf-module-assign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-assign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209.845615386963,
+ "y": 836.09494972229,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "cab143b7.d90eb"
+ ]
+ ]
+ },
+ {
+ "id": "cab143b7.d90eb",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1430.143196105957,
+ "y": 835.5829811096191,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "dbc9bb02.023fe8"
+ ]
+ ]
+ },
+ {
+ "id": "6a1554d7.38e2ec",
+ "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": 1160.0483016967773,
+ "y": 1022.6065921783447,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "763275a1.1cfcbc",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnfend.log' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1148.7624969482422,
+ "y": 927.0981254577637,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a9afeeb.bcc87",
+ "type": "set",
+ "name": "set order-status to PendingCreate",
+ "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-level-oper-status.order-status'\n value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n value='`$vf-module-topology-operation-input.request-information.request-action`' />\n",
+ "comments": "",
+ "x": 1217.7862586975098,
+ "y": 881.0589790344238,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "3d2fe671.10512a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 958.8817291259766,
+ "y": 922.5588111877441,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "11136e46.5af982",
+ "7a9afeeb.bcc87",
+ "763275a1.1cfcbc",
+ "6a1554d7.38e2ec",
+ "b7b50f72.60d66"
+ ]
+ ]
+ },
+ {
+ "id": "47186afb.be4274",
+ "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-message`\" />\n",
+ "comments": "",
+ "x": 1858.6439666748047,
+ "y": 1109.7859296798706,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "d4a9c0d.ac6c54",
+ "type": "configure",
+ "name": "send error to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1878.0030136108398,
+ "y": 1061.5854063034058,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6514e137.563f3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1665.3107528686523,
+ "y": 1082.6432723999023,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "d4a9c0d.ac6c54",
+ "47186afb.be4274"
+ ]
+ ]
+ },
+ {
+ "id": "dbc9bb02.023fe8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1576.1439208984375,
+ "y": 834.9643363952637,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "1b79c9d4.553d96",
+ "6514e137.563f3"
+ ]
+ ]
+ },
+ {
+ "id": "1b79c9d4.553d96",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to create self-serve assignment for vf-module with vf-module-id=' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + ' with error: ' + $error-message`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1773.8226776123047,
+ "y": 814.2500457763672,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7b50f72.60d66",
+ "type": "configure",
+ "name": "send success to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"200\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1183.524787902832,
+ "y": 973.2976303100586,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "88ef43cf.4353c",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'VF module id ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id\n + ' already exists, and status is ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-level-oper-status.order-status`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2461.263038635254,
+ "y": 1377.207555770874,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cdf91b0.174e5e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2267.334129333496,
+ "y": 1396.6718444824219,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "88ef43cf.4353c",
+ "80b5ab3d.6f3ef8"
+ ]
+ ]
+ },
+ {
+ "id": "799eaa32.6fe824",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 972.334358215332,
+ "y": 1614.3384866714478,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "9ddd96ce.6586c8",
+ "80b5ab3d.6f3ef8"
+ ]
+ ]
+ },
+ {
+ "id": "7adbe623.7575f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 974.0010452270508,
+ "y": 1657.6718606948853,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "22247b5.eb10384",
+ "80b5ab3d.6f3ef8"
+ ]
+ ]
+ },
+ {
+ "id": "9ddd96ce.6586c8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Cloud region not found in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1176.2630233764648,
+ "y": 1591.1242628097534,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "22247b5.eb10384",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving cloud region from AAI. Is AAI down?\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1171.6797637939453,
+ "y": 1639.4575996398926,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec2aeced.650af",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 856.9175720214844,
+ "y": 1838.3385391235352,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "9bc214de.5d73d8",
+ "80b5ab3d.6f3ef8"
+ ]
+ ]
+ },
+ {
+ "id": "9bc214de.5d73d8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find aic-clli in AAI for aic-cloud-region ' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1049.5962295532227,
+ "y": 1811.1242694854736,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52d1a63d.f33e98",
+ "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-message`\" />\n",
+ "comments": "",
+ "x": 1823.1676559448242,
+ "y": 2106.4220657348633,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "373b7d02.755bd2",
+ "type": "configure",
+ "name": "send error to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1842.5267028808594,
+ "y": 2058.2215423583984,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80b5ab3d.6f3ef8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1669.8344421386719,
+ "y": 2079.279408454895,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "373b7d02.755bd2",
+ "52d1a63d.f33e98"
+ ]
+ ]
+ },
+ {
+ "id": "8c6eb005.385ba",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2766.262939453125,
+ "y": 2577.512939453125,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "836cff6b.d0abc",
+ "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-message`\" />\n",
+ "comments": "",
+ "x": 2592.6909942626953,
+ "y": 2664.6557807922363,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "49c9b767.f94008",
+ "type": "configure",
+ "name": "send error to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2612.050117492676,
+ "y": 2621.4552307128906,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "76721fa9.6f7a7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2376.0244140625,
+ "y": 2622.9297399520874,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "49c9b767.f94008",
+ "836cff6b.d0abc",
+ "8c6eb005.385ba"
+ ]
+ ]
+ },
+ {
+ "id": "c1b24090.d49b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2944.59623336792,
+ "y": 2278.2630882263184,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "ecc636c8.71fe78",
+ "76721fa9.6f7a7"
+ ]
+ ]
+ },
+ {
+ "id": "ecc636c8.71fe78",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'from-preload flag is true but could not find preload information for VF module name ' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-name`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3144.179473876953,
+ "y": 2244.906032562256,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d759206d.14388",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2116.5007858276367,
+ "y": 2425.8463954925537,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "64958d02.cd8064",
+ "76721fa9.6f7a7"
+ ]
+ ]
+ },
+ {
+ "id": "64958d02.cd8064",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving preload-information\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2322.512893676758,
+ "y": 2400.4891319274902,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8af4f32.673261",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4188.346412658691,
+ "y": 4429.735001564026,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "693bee93.63734",
+ "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-message`\" />\n",
+ "comments": "",
+ "x": 4014.7744674682617,
+ "y": 4516.877842903137,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "e9b2b1c.191285",
+ "type": "configure",
+ "name": "send error to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4034.133590698242,
+ "y": 4473.6772928237915,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f394576a.e4e1d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3798.1078872680664,
+ "y": 4475.151802062988,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "e9b2b1c.191285",
+ "693bee93.63734",
+ "8af4f32.673261"
+ ]
+ ]
+ },
+ {
+ "id": "a6ff636a.1da36",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'VNFC network role '\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-network-role\n + ' is not found in VNF network list'\n `\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1884.5963439941406,
+ "y": 2909.4576473236084,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b07cf87.9b6fe",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'SDNC subnet id '\n + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n + ' does not have network-start-address populated'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4214.179832458496,
+ "y": 3385.15172457695,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "319df706.15f388",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'SDNC subnet id '\n + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n + ' does not have cidr-mask populated'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4529.17985534668,
+ "y": 3462.651731491089,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fec2cbd9.e930a8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Not able to find VNF network subnet that contains address '\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[0].vnfc-ip-address\n `\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3576.6798095703125,
+ "y": 3582.6517486572266,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c1ed4b9.5ecf9c",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VFC_RELATED_NETWORK_ROLE table\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2017.3740615844727,
+ "y": 3819.1801166534424,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4102f097.0a51",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find related network '\n + $db.vnf-related-network-role[$db-related-network-index].related-network-role + ' in vnf-networks'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2824.874122619629,
+ "y": 4004.179864883423,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "30bee8c0.434ad8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Error saving vnfc to AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2201.262969970703,
+ "y": 4626.819506645203,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52bc7cef.ddfa64",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3674.318702697754,
+ "y": 5786.819993019104,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69731c78.07bf64",
+ "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-message`\" />\n",
+ "comments": "",
+ "x": 3500.746757507324,
+ "y": 5873.962834358215,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "d37e8680.20ae98",
+ "type": "configure",
+ "name": "send error to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3520.1058807373047,
+ "y": 5830.76228427887,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1254304a.7d8a4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3284.080177307129,
+ "y": 5832.236793518066,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "d37e8680.20ae98",
+ "69731c78.07bf64",
+ "52bc7cef.ddfa64"
+ ]
+ ]
+ },
+ {
+ "id": "17b97fa6.0b332",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating vnfc relationships in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1838.6043319702148,
+ "y": 4740.568719863892,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "43b53fc.f18d2c",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Not-found error updating vnfc relationships\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1838.0686531066895,
+ "y": 4797.5332860946655,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0761ca.5d4cce",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Error saving cp object to AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.5686626434326,
+ "y": 4966.8189868927,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64e7c13b.82899",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating cp relationship to l3-network in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2935.5687255859375,
+ "y": 5419.041241645813,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f4e9414e.c0a39",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error updating cp relationship to l3-network\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2938.0687255859375,
+ "y": 5481.541244506836,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "94072bfe.632c28",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error updating cp relationship to l3-network and vlan-tag in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3266.6403274536133,
+ "y": 5579.041257858276,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4462ce4a.8f7a5",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error updating cp relationship to l3-network and vlan-tag\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3269.140426635742,
+ "y": 5641.541258811951,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cc682bd5.2eb5c8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error creating l3-interface-ipv4-address-list object in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3958.4860305786133,
+ "y": 5050.291213989258,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1499e507.42f6db",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error updating l3-interface-ipv4-address-list relationships in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3955.9860305786133,
+ "y": 5129.041219711304,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dac8db15.74e098",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error updating l3-interface-ipv4-address-list relationships\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3958.4857635498047,
+ "y": 5189.041226387024,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "97323f99.6212d",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error creating l3-interface-ipv6-address-list object in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3962.235771179199,
+ "y": 5239.0412311553955,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f312957.2b15e6",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error updating l3-interface-ipv6-address-list relationships in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3960.9855041503906,
+ "y": 5300.2912340164185,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f878bec.0f8958",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error updating l3-interface-ipv6-address-list relationships\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3962.2355041503906,
+ "y": 5360.291234970093,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f60ef6eb.870138",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4378.4853515625,
+ "y": 5441.541015625,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5def6410.67b11c",
+ "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-message`\" />\n",
+ "comments": "",
+ "x": 4204.91340637207,
+ "y": 5528.683856964111,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "bbbbfcd1.e0cbe",
+ "type": "configure",
+ "name": "send error to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4224.272529602051,
+ "y": 5485.483306884766,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "11d81f8a.7859d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3988.246826171875,
+ "y": 5486.957816123962,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "bbbbfcd1.e0cbe",
+ "5def6410.67b11c",
+ "f60ef6eb.870138"
+ ]
+ ]
+ },
+ {
+ "id": "dccafd0f.1af91",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3795.707374572754,
+ "y": 6904.735330581665,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb57099e.c08198",
+ "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-message`\" />\n",
+ "comments": "",
+ "x": 3622.135429382324,
+ "y": 6991.878171920776,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "2f2cede4.19f362",
+ "type": "configure",
+ "name": "send error to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3641.4945526123047,
+ "y": 6948.677621841431,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc515f97.dc4ef",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3405.468849182129,
+ "y": 6950.152131080627,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "2f2cede4.19f362",
+ "fb57099e.c08198",
+ "dccafd0f.1af91"
+ ]
+ ]
+ },
+ {
+ "id": "bec2c422.16f948",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3345.7076454162598,
+ "y": 6589.735626220703,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82534f84.1802c",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationship to cp in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3339.4579162597656,
+ "y": 6525.98616027832,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ebbd632.ef43d8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3350.707649230957,
+ "y": 6277.235605239868,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a54f803.3243e8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationship to cp in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3350.7079162597656,
+ "y": 6215.986141204834,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41362899.a075b8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv6-address-list relationships\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2718.2076110839844,
+ "y": 6477.23561668396,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9303413c.a15fb",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error updating vip-ipv6-address-list relationships in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2716.95760345459,
+ "y": 6419.736152648926,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc08e935.aa2128",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error saving vip-ipv6-address-list\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.707588195801,
+ "y": 6363.485609054565,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec585839.cf03a8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error saving vip-ipv6-address-list in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.707588195801,
+ "y": 6309.7356061935425,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d6accf1.493c8",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationships\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2726.957607269287,
+ "y": 6152.235597610474,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38cb90b2.4e39c",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationships in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2728.2076110839844,
+ "y": 6094.735593795776,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34a07ec7.5c1d72",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Not-found error saving vip-ipv4-address-list\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2384.457588195801,
+ "y": 6050.985589981079,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7673076.3ac06",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error saving vip-ipv4-address-list in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.707588195801,
+ "y": 5983.485586166382,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e64793d7.bf627",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No l3-network found in AAI for network ID '\n + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1878.2075538635254,
+ "y": 5908.485583305359,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a1d9fe5d.0f695",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error updating vf-module relationships in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1879.4575500488281,
+ "y": 5849.735575199127,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18d43b0c.816ff5",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"Error updating vf-module in AAI\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1031.2630081176758,
+ "y": 4280.569283485413,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3b91e2a.6658a",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n <parameter name=\"error-message\" value=\"`'No vf-module found in AAI for vf module ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1035.0130081176758,
+ "y": 4356.819286346436,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e283e90a.9eb6c8",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmodule.log' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 408.58638763427734,
+ "y": 7559.698265075684,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d9542f83.7d0bb",
+ "type": "execute",
+ "name": "execute RestApiCallNode - PUT vf-module",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + 'vf-module-assign.json'`\" />\n <parameter name='restapiUrl' value=\"`$prop.controller.url + $tmp.vf-module.url`\" />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"vf-module-assign\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 510.91951751708984,
+ "y": 7418.897064208984,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "f3d88006.1d825",
+ "a685bcd2.6458d"
+ ]
+ ]
+ },
+ {
+ "id": "f3d88006.1d825",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 786.7036972045898,
+ "y": 7439.593224525452,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "193e6953.109c97"
+ ]
+ ]
+ },
+ {
+ "id": "a685bcd2.6458d",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 779.1323318481445,
+ "y": 7398.093244552612,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "193e6953.109c97"
+ ]
+ ]
+ },
+ {
+ "id": "193e6953.109c97",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 988.062442779541,
+ "y": 7418.262205123901,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "d6c7309a.4a629",
+ "ddd8fcd8.b0fa8"
+ ]
+ ]
+ },
+ {
+ "id": "4f53e7be.5b9088",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1738.5627899169922,
+ "y": 7537.930374145508,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fe573c32.97a3b",
+ "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-message`\" />\n",
+ "comments": "",
+ "x": 1564.9908447265625,
+ "y": 7625.073215484619,
+ "z": "565447bf.1f1598",
+ "wires": []
+ },
+ {
+ "id": "3787f4fd.d2be6c",
+ "type": "configure",
+ "name": "send error to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1584.349967956543,
+ "y": 7581.872665405273,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddd8fcd8.b0fa8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1367.6099700927734,
+ "y": 7582.454313278198,
+ "z": "565447bf.1f1598",
+ "wires": [
+ [
+ "3787f4fd.d2be6c",
+ "fe573c32.97a3b",
+ "4f53e7be.5b9088"
+ ]
+ ]
+ },
+ {
+ "id": "d6c7309a.4a629",
+ "type": "configure",
+ "name": "set error-message",
+ "xml": "<set>\n<parameter name=\"error-message\" value=\"Error doing PUT of vf-module\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1192.562858581543,
+ "y": 7390.787219047546,
+ "z": "565447bf.1f1598",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "50d368a6.9adce8",
+ "type": "configure",
+ "name": "send success to MSO",
+ "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"200\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 439.32460021972656,
+ "y": 7604.850353240967,
+ "z": "565447bf.1f1598",
"wires": [
[]
]
}
-]
+] \ No newline at end of file