+ },
+ {
+ "id": "dd52194f.db49b8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'SS: pidx: ' + $pidx`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 884.4484252929688,
+ "y": 592.6112365722656,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2eeaa08a.1d2c78",
+ "type": "outcome",
+ "name": "vnf-id",
+ "xml": "<outcome value='vnf-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1915.440444946289,
+ "y": 856.58758020401,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "e99c4040.fdfb6"
+ ]
+ ]
+ },
+ {
+ "id": "e99c4040.fdfb6",
+ "type": "set",
+ "name": "set tmp.ss.vnf-id",
+ "xml": "<set>\n<parameter name='tmp.ss.vnf-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
+ "comments": "",
+ "x": 2181.4405670166016,
+ "y": 856.58758020401,
+ "z": "9db1531d.07a1a",
+ "wires": []
+ },
+ {
+ "id": "8b1d70.bdf8029",
+ "type": "set",
+ "name": "set resource-resolution-data.status = DELETED",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' \n\tvalue='DELETED' />\n",
+ "comments": "",
+ "x": 2951.940185546875,
+ "y": 1749.43994140625,
+ "z": "9db1531d.07a1a",
+ "wires": []
+ },
+ {
+ "id": "f747f187.002e28",
+ "type": "outcome",
+ "name": "prefix-id",
+ "xml": "<outcome value='prefix-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1904.496109008789,
+ "y": 900.8376107215881,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "2ed5a6cf.2a2e6a"
+ ]
+ ]
+ },
+ {
+ "id": "2ed5a6cf.2a2e6a",
+ "type": "set",
+ "name": "set prefix-id",
+ "xml": "<set>\n<parameter name='tmp.ss.prefix-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
+ "comments": "",
+ "x": 2150.996109008789,
+ "y": 901.08758020401,
+ "z": "9db1531d.07a1a",
+ "wires": []
+ },
+ {
+ "id": "cb98d7d9.b5a08",
+ "type": "execute",
+ "name": "execute NetboxClient assignIpAddress",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"assignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"vf_module_id\" value=\"`$tmp.ss.vnf-id`\" />\n<parameter name=\"prefix_id\" value=\"`$tmp.ss.prefix-id`\" />\n<parameter name=\"resource_name\" value=\"`$tmp.ss.param.name`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external-key`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1686.3928833007812,
+ "y": 1215.357460975647,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "158c4088.3cd6c7",
+ "2aec43bd.80530c"
+ ]
+ ]
+ },
+ {
+ "id": "158c4088.3cd6c7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2003.3928833007812,
+ "y": 1217.3573999404907,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "2e7a036b.bc0adc"
+ ]
+ ]
+ },
+ {
+ "id": "2e7a036b.bc0adc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2211.3928833007812,
+ "y": 1221.3573999404907,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "51bf773d.df62b",
+ "bc6879f4.baae4"
+ ]
+ ]
+ },
+ {
+ "id": "51bf773d.df62b",
+ "type": "set",
+ "name": "set resource-resolution-data.status = FAILED",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' value='FAILED' />\n",
+ "comments": "",
+ "x": 2528.3929443359375,
+ "y": 1225.3573694229126,
+ "z": "9db1531d.07a1a",
+ "wires": []
+ },
+ {
+ "id": "bc6879f4.baae4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2425.7738037109375,
+ "y": 1274.9606323242188,
+ "z": "9db1531d.07a1a",
+ "wires": []
+ },
+ {
+ "id": "49b2f547.09aa04",
+ "type": "set",
+ "name": "set resource-resolution-data.status = SUCCESS",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status' \n\tvalue='SUCCESS' />\n",
+ "comments": "",
+ "x": 2505.47607421875,
+ "y": 1420.0482177734375,
+ "z": "9db1531d.07a1a",
+ "wires": []
+ },
+ {
+ "id": "81e1796a.cad958",
+ "type": "outcome",
+ "name": "external_key",
+ "xml": "<outcome value='external_key'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1927.246337890625,
+ "y": 951.4089965820312,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "96f2e2c3.446d68"
+ ]
+ ]
+ },
+ {
+ "id": "96f2e2c3.446d68",
+ "type": "set",
+ "name": "set external-key",
+ "xml": "<set>\n<parameter name='tmp.ss.external-key' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
+ "comments": "",
+ "x": 2175.8177490234375,
+ "y": 951.4090576171875,
+ "z": "9db1531d.07a1a",
+ "wires": []
+ },
+ {
+ "id": "eadf5468.9c709",
+ "type": "set",
+ "name": "set tmp.ss.param.name",
+ "xml": "<set>\n<parameter name='tmp.ss.param.name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].name`' />\n",
+ "comments": "",
+ "x": 1193.9564895629883,
+ "y": 577.6627821922302,
+ "z": "9db1531d.07a1a",
+ "wires": []
+ },
+ {
+ "id": "b4530e81.fa1df",
+ "type": "switchNode",
+ "name": "switch: resource-resolution-data.status",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 734.725830078125,
+ "y": 785.631103515625,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "ef20c0ae.2f0268",
+ "fe2c0013.43141"
+ ]
+ ]
+ },
+ {
+ "id": "ef20c0ae.2f0268",
+ "type": "not-found",
+ "name": "FAILED",
+ "xml": "<outcome value='FAILED'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 966.1546325683594,
+ "y": 781.6311492919922,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "b3e8cd71.0d271"
+ ]
+ ]
+ },
+ {
+ "id": "fe2c0013.43141",
+ "type": "success",
+ "name": "PENDING",
+ "xml": "<outcome value='PENDING'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 972.8688087463379,
+ "y": 833.3454773426056,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "b3e8cd71.0d271"
+ ]
+ ]
+ },
+ {
+ "id": "b3e8cd71.0d271",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.5831298828125,
+ "y": 805.6311645507812,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "e6246ef9.3e7788",
+ "e6294bd0.41d4c8"
+ ]
+ ]
+ },
+ {
+ "id": "c1c70c33.d44a98",
+ "type": "outcome",
+ "name": "assign",
+ "xml": "<outcome value='assign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1185.4402465820312,
+ "y": 1213.440712928772,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "1bb6495a.fa8da7"
+ ]
+ ]
+ },
+ {
+ "id": "e6294bd0.41d4c8",
+ "type": "switchNode",
+ "name": "switch: ss.capability-action",
+ "xml": "<switch test='`$ss.capability-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 949.4402465820312,
+ "y": 1211.440712928772,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "c1c70c33.d44a98",
+ "25965467.621de4"
+ ]
+ ]
+ },
+ {
+ "id": "1bb6495a.fa8da7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1360.868896484375,
+ "y": 1214.2979516983032,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "cb98d7d9.b5a08"
+ ]
+ ]
+ },
+ {
+ "id": "9b01dbab.a7a7a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1980.1188659667969,
+ "y": 1604.9048147201538,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "8bad1bbc.e7a648"
+ ]
+ ]
+ },
+ {
+ "id": "2aec43bd.80530c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2011.4403076171875,
+ "y": 1280.8690185546873,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "b964039a.43a1a"
+ ]
+ ]
+ },
+ {
+ "id": "c67fc199.97dec",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2153.547528948103,
+ "y": 1557.6190797260829,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b964039a.43a1a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2205.7259521484375,
+ "y": 1360.869140625,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "49b2f547.09aa04",
+ "3bdfdc4f.b39f24",
+ "4628865b.a3d7d"
+ ]
+ ]
+ },
+ {
+ "id": "286269c8.56b2fe",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2690.01220703125,
+ "y": 1748.0118408203125,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ [
+ "8b1d70.bdf8029"
+ ]
+ ]
+ },
+ {
+ "id": "4628865b.a3d7d",
+ "type": "set",
+ "name": "set service-data...param[].value = ip-address",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].value' \n\tvalue='`$ip[0]`' />\n",
+ "comments": "",
+ "x": 2495,
+ "y": 1380,
+ "z": "9db1531d.07a1a",
+ "wires": []
+ },
+ {
+ "id": "3bdfdc4f.b39f24",
+ "type": "execute",
+ "name": "SliStringUtils - split subnet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"original_string\" value=\"`$self_serve_netbox_ip_assignement.ip-address`\" />\n <parameter name=\"regex\" value=\"/\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"ip\" />\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2439,
+ "y": 1340,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fd2e7345.c27e6",
+ "type": "execute",
+ "name": "SliStringUtils - split subnet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"original_string\" value=\"`$self_serve_netbox_ip_assignement.ip-address`\" />\n <parameter name=\"regex\" value=\"/\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"ip\" />\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2481,
+ "y": 2829,
+ "z": "9db1531d.07a1a",
+ "wires": [
+ []
+ ]