X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fsotn_nni%2FGENERIC-RESOURCE-API_sotn-vnf-topology-operation-underlay-create.json;h=f834495ce39e07b1c895e99d110035ddbe2a9cc8;hb=f515a8831e0036414d69d73030e871dec88180f8;hp=2a955c16fcb371023e2e12647ad3f338024643ea;hpb=25d232700159699e44822acaa5f1d850292eb501;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vnf-topology-operation-underlay-create.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vnf-topology-operation-underlay-create.json index 2a955c16..f834495c 100644 --- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vnf-topology-operation-underlay-create.json +++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vnf-topology-operation-underlay-create.json @@ -1,20 +1,20 @@ [ { - "id": "6e8e8f80.d43c1", + "id": "c51171cf.967f48", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 198.56666564941406, - "y": 102.56666564941406, - "z": "fcd8d790.9bb058", + "x": 215, + "y": 61, + "z": "2acad42e.98ae6c", "wires": [ [ - "bbddfda2.fd8ca8" + "dc4fe414.ffc068" ] ] }, { - "id": "bbddfda2.fd8ca8", + "id": "dc4fe414.ffc068", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,57 +22,481 @@ "comments": "", "xml": "", "outputs": 1, - "x": 482.85235595703125, - "y": 163.8047742843628, - "z": "fcd8d790.9bb058", + "x": 499.2856903076172, + "y": 122.23810863494873, + "z": "2acad42e.98ae6c", "wires": [ [ - "b5eed43.f629328" + "7bc6b10b.958808" ] ] }, { - "id": "b5eed43.f629328", + "id": "7bc6b10b.958808", "type": "method", "name": "method sotn-vnf-topology-operation-underlay-create", "xml": "\n", "comments": "", "outputs": 1, - "x": 488.9952697753906, - "y": 248.5666961669922, - "z": "fcd8d790.9bb058", + "x": 505.42860412597656, + "y": 207.00003051757812, + "z": "2acad42e.98ae6c", "wires": [ [ - "5debc633.a3523" + "abdb94c8.92ca2" ] ] }, { - "id": "5debc633.a3523", + "id": "abdb94c8.92ca2", "type": "block", "name": "block : atomic", - "xml": "\n", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 875.238037109375, + "y": 231.66668701171875, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "ebb673b7.95bb08", + "b3e2958c.9ee52", + "e1a71481.b347c", + "824a2826.fb7a5", + "23822c5.535c954", + "db0823f0.79d838", + "9d444bb6.e5cc7", + "d8fc2b2b.da9d38", + "7de6e31b.ca690c", + "37ce30ff.3ae068", + "a026f709.be666", + "d3e90ee2.8cdb8", + "4530b43d.793bcc" + ] + ] + }, + { + "id": "b3e2958c.9ee52", + "type": "set", + "name": "set vnf-level-oper-status to Created", + "xml": "\n\n\n\n", + "comments": "", + "x": 1297.3848495483398, + "y": 595.6706197531894, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "ebb673b7.95bb08", + "type": "set", + "name": "copy input data to service data", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1289.238037109375, + "y": 490.6668718131259, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "23822c5.535c954", + "type": "execute", + "name": "execute generate-vnf-index", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1277.5715408325195, + "y": 440.3334558280185, + "z": "2acad42e.98ae6c", + "wires": [ + [] + ] + }, + { + "id": "37ce30ff.3ae068", + "type": "set", + "name": "set vnf-index to service data", + "xml": "\n\n", + "comments": "", + "x": 1288.5716171264648, + "y": 547.3334596427158, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "e1a71481.b347c", + "type": "switchNode", + "name": "switch service-data.vnfs.vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1304.5713577270508, + "y": 110.33337858039886, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "2aa8bb99.a4b4cc", + "2ff8b11d.a3a30e" + ] + ] + }, + { + "id": "2aa8bb99.a4b4cc", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1539.285743713379, + "y": 105.47619893867522, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "9f14dc9.0335b2" + ] + ] + }, + { + "id": "9f14dc9.0335b2", + "type": "set", + "name": "set vnf-index=0", + "xml": "\n\n", + "comments": "", + "x": 1699.5714492797852, + "y": 105.4762904914096, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "2ff8b11d.a3a30e", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1535.714282989502, + "y": 138.76203039009124, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "c07d0fb1.6b3d1" + ] + ] + }, + { + "id": "1270cfd.bc37b3", + "type": "set", + "name": "set vnf-index = vnf_length", + "xml": "\n\n", + "comments": "", + "x": 1928.5715255737305, + "y": 117.04775598365813, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "41d9a632.4f7ff", + "type": "for", + "name": "for each existing VNF", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1917.000144958496, + "y": 152.0477278502658, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "648fa43a.d20ca4" + ] + ] + }, + { + "id": "c07d0fb1.6b3d1", + "type": "block", + "name": "block", + "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 627.0940055847168, - "y": 465.6408796310425, - "z": "fcd8d790.9bb058", + "x": 1670.428565979004, + "y": 140.76199987251312, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "1270cfd.bc37b3", + "41d9a632.4f7ff" + ] + ] + }, + { + "id": "648fa43a.d20ca4", + "type": "switchNode", + "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2310.2858810424805, + "y": 152.6192119391635, + "z": "2acad42e.98ae6c", "wires": [ [ - "f1ef9959.63e988" + "fcc42c1e.bc5548" ] ] }, { - "id": "f1ef9959.63e988", + "id": "fcc42c1e.bc5548", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2591.5715827941895, + "y": 151.1906173499301, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "51470afc.fd843c" + ] + ] + }, + { + "id": "75fcb25e.311ddc", + "type": "comment", + "name": "make sure this vnf-id doesn't exist already", + "info": "", + "comments": "", + "x": 2279.428497314453, + "y": 116.19060399848968, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "824a2826.fb7a5", + "type": "set", + "name": "set new vnf_length", + "xml": "\n\n", + "comments": "", + "x": 1235.571533203125, + "y": 388.33343505859375, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "db0823f0.79d838", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", - "x": 880.566650390625, - "y": 576.566650390625, - "z": "fcd8d790.9bb058", + "x": 1236.5715026855469, + "y": 858.5969713004306, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "7de6e31b.ca690c", + "type": "save", + "name": "save service relationship in AAI", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1269.2382736206055, + "y": 807.5968644889072, + "z": "2acad42e.98ae6c", + "wires": [ + [] + ] + }, + { + "id": "9d444bb6.e5cc7", + "type": "set", + "name": "set vnf-index and vnf-object-path", + "xml": "\n\n", + "comments": "", + "x": 1290.571533203125, + "y": 636.5968902381137, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "51470afc.fd843c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2720.142951965332, + "y": 202.19063165504485, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "d8fc2b2b.da9d38", + "type": "save", + "name": "save AnAI - vnf-instance.orchestration-status", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1345.5458374023438, + "y": 746.2471072943881, + "z": "2acad42e.98ae6c", + "wires": [ + [] + ] + }, + { + "id": "766790a.b9c79f", + "type": "comment", + "name": "TODO: change AAI models", + "info": "", + "comments": "", + "x": 1279.1820983886719, + "y": 705.9743230612949, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "a966163d.bdafe8", + "type": "execute", + "name": "execute split parameterName", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1705.7395858764648, + "y": 199.75002291519195, + "z": "2acad42e.98ae6c", + "wires": [ + [] + ] + }, + { + "id": "1dc30465.a19184", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1509.483383178711, + "y": 204.00189593154937, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "a966163d.bdafe8", + "a75d0084.0dea2" + ] + ] + }, + { + "id": "a026f709.be666", + "type": "for", + "name": "for loop idx - VNF input parameters", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1294.7050399780273, + "y": 206.44631197769195, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "1dc30465.a19184" + ] + ] + }, + { + "id": "d3e90ee2.8cdb8", + "type": "set", + "name": "set vnf-request-input.", + "xml": "\n\n", + "comments": "", + "x": 1251.7046737670898, + "y": 276.77101900894195, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "a75d0084.0dea2", + "type": "set", + "name": "set parameterName", + "xml": "\n\n", + "comments": "", + "x": 1682.7395858764648, + "y": 245.75002291519195, + "z": "2acad42e.98ae6c", + "wires": [] + }, + { + "id": "4530b43d.793bcc", + "type": "for", + "name": "for each sdwan-get-request-input-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1307.7395858764648, + "y": 328.75002291519195, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "dc4ef169.09fde8" + ] + ] + }, + { + "id": "dc4ef169.09fde8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1533.9722518920898, + "y": 327.09377291519195, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "b619e27a.688618" + ] + ] + }, + { + "id": "b619e27a.688618", + "type": "switchNode", + "name": "switch vnf name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1690.4722518920898, + "y": 325.0938339503482, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "91d21a65.20ca" + ] + ] + }, + { + "id": "91d21a65.20ca", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1851.4726181030273, + "y": 325.09389498550445, + "z": "2acad42e.98ae6c", + "wires": [ + [ + "9c25080f.021b" + ] + ] + }, + { + "id": "9c25080f.021b", + "type": "set", + "name": "set vnf name", + "xml": "\n\n", + "comments": "", + "x": 2009.4727401733398, + "y": 323.6939316065982, + "z": "2acad42e.98ae6c", "wires": [] } ] \ No newline at end of file