[ { "id": "18085ebe.2080b1", "type": "outcome", "name": "outcome", "xml": "<outcome value='ODU0'>\n", "comments": "", "outputs": 1, "x": 491, "y": 263, "z": "ad8c454f.e636c8", "wires": [ [ "18152330.c91add" ] ] }, { "id": "18152330.c91add", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, "x": 612, "y": 162, "z": "ad8c454f.e636c8", "wires": [ [ "c668a8ef.03ace8", "d1cff404.96b3b8" ] ] }, { "id": "66893dd3.7d6d44", "type": "switchNode", "name": "switch", "xml": "<switch test='`$odu-name`'>\n", "comments": "", "outputs": 1, "x": 974, "y": 344, "z": "ad8c454f.e636c8", "wires": [ [ "81ac4ffe.df305" ] ] }, { "id": "81ac4ffe.df305", "type": "outcome", "name": "outcome", "xml": "<outcome value='ODU0'>\n", "comments": "", "outputs": 1, "x": 1097, "y": 339, "z": "ad8c454f.e636c8", "wires": [ [ "3c2d54e2.97184c" ] ] }, { "id": "915a7aed.6d9c68", "type": "set", "name": "set", "xml": "<set>\n<parameter name='odu-name' value='`pin.bandwidth-attributes.bandwidth-attribute[0].available-bandwidth-map.available-bandwidth[$idx].odu-type`' />\n<parameter name='odu-number' value='`pin.bandwidth-attributes.bandwidth-attribute[0].available-bandwidth-map.available-bandwidth[$idx].number`' />\n", "comments": "", "x": 1029, "y": 243, "z": "ad8c454f.e636c8", "wires": [] }, { "id": "3133f444.5a5e1c", "type": "set", "name": "set", "xml": "<set>\n<parameter name='new-odu-number' value='`0`' />\n", "comments": "", "x": 1371, "y": 313, "z": "ad8c454f.e636c8", "wires": [] }, { "id": "6b05b797.6dcc48", "type": "update", "name": "update available bandwdth'", "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='available-bandwidth'\n key='pnf.pnf-name = $pnf-name AND\n p-interface.interface-name = $pinterface-name AND\n bandwidth-attribute.id = $pin.bandwidth-attributes.bandwidth-attribute[0].id AND\n available-bandwidth.id = $pin.bandwidth-attributes.bandwidth-attribute[0].available-bandwidth-map.available-bandwidth[0].id' \n local-only='false'>\n<parameter name='number' value='`$new-odu-number`' />\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n", "comments": "", "outputs": 1, "x": 1423, "y": 372, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "da084d00.a23f5", "type": "outcome", "name": "outcome", "xml": "<outcome value='ODU0'>\n", "comments": "", "outputs": 1, "x": 897, "y": 187, "z": "ad8c454f.e636c8", "wires": [ [ "632c39.072c73c8" ] ] }, { "id": "c668a8ef.03ace8", "type": "switchNode", "name": "switch", "xml": "<switch test='`$optical-service-create-input.payload.service-rate`'>\n", "comments": "", "outputs": 1, "x": 770, "y": 187, "z": "ad8c454f.e636c8", "wires": [ [ "da084d00.a23f5" ] ] }, { "id": "632c39.072c73c8", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end='pin.bandwidth-attributes.bandwidth-attribute[0].available-bandwidth-map.available-bandwidth_length' >\n", "comments": "", "outputs": 1, "x": 781, "y": 294, "z": "ad8c454f.e636c8", "wires": [ [ "47c4c7c8.0b4c88" ] ] }, { "id": "97eda245.3bd94", "type": "switchNode", "name": "switch", "xml": "<switch test='`$pin.speed-value`'>\n", "comments": "", "outputs": 1, "x": 258, "y": 277, "z": "ad8c454f.e636c8", "wires": [ [ "18085ebe.2080b1", "6336ec43.215354", "4af01397.f0721c", "13671476.30978c", "8fdcca3.ccd1438" ] ] }, { "id": "6336ec43.215354", "type": "outcome", "name": "outcome", "xml": "<outcome value='ODU1'>\n", "comments": "", "outputs": 1, "x": 535, "y": 377, "z": "ad8c454f.e636c8", "wires": [ [ "2ac5f263.9388fe" ] ] }, { "id": "4af01397.f0721c", "type": "outcome", "name": "outcome", "xml": "<outcome value='ODU2'>\n", "comments": "", "outputs": 1, "x": 514, "y": 479, "z": "ad8c454f.e636c8", "wires": [ [ "4c19e4dc.f77c2c" ] ] }, { "id": "13671476.30978c", "type": "outcome", "name": "outcome", "xml": "<outcome value='ODU3'>\n", "comments": "", "outputs": 1, "x": 457, "y": 578, "z": "ad8c454f.e636c8", "wires": [ [ "8fbd05d3.328318" ] ] }, { "id": "8fdcca3.ccd1438", "type": "outcome", "name": "outcome", "xml": "<outcome value='ODU4'>\n", "comments": "", "outputs": 1, "x": 321, "y": 705, "z": "ad8c454f.e636c8", "wires": [ [ "89103495.e05898" ] ] }, { "id": "2ac5f263.9388fe", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, "x": 691, "y": 378, "z": "ad8c454f.e636c8", "wires": [ [ "5316c08.338af4", "e98e80e5.101d1" ] ] }, { "id": "4c19e4dc.f77c2c", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, "x": 684, "y": 482, "z": "ad8c454f.e636c8", "wires": [ [ "50c6b9ba.7e87b8", "5d79d201.e7950c" ] ] }, { "id": "8fbd05d3.328318", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, "x": 641, "y": 576, "z": "ad8c454f.e636c8", "wires": [ [ "c6c0c526.a7b418", "ca06e916.be11d8" ] ] }, { "id": "89103495.e05898", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, "x": 478, "y": 707, "z": "ad8c454f.e636c8", "wires": [ [ "153b1907.652237", "b455fb41.56e658" ] ] }, { "id": "5316c08.338af4", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/service-create-tapi.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside bandwidth odu1 calculation\"/>\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 870, "y": 384, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "50c6b9ba.7e87b8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/service-create-tapi.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside bandwidth odu2 calculation\"/>\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 861, "y": 481, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "c6c0c526.a7b418", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/service-create-tapi.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside bandwidth odu3 calculation\"/>\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 807, "y": 576, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "153b1907.652237", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/service-create-tapi.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside bandwidth odu4 calculation\"/>\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 650, "y": 676, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "d1cff404.96b3b8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/service-create-tapi.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside bandwidth odu0 calculation\"/>\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 789, "y": 125, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "ca06e916.be11d8", "type": "call", "name": "call bandwidth-update-odu3", "xml": "<call module='optical-service' rpc='bandwidth-update-odu3' mode='sync' >\n", "comments": "", "outputs": 1, "x": 847, "y": 629, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "b455fb41.56e658", "type": "call", "name": "call bandwidth-update-odu4", "xml": "<call module='optical-service' rpc='bandwidth-update-odu4' mode='sync' >\n", "comments": "", "outputs": 1, "x": 697, "y": 739, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "e98e80e5.101d1", "type": "call", "name": "call bandwidth-update-odu1", "xml": "<call module='optical-service' rpc='bandwidth-update-odu1' mode='sync' >\n", "comments": "", "outputs": 1, "x": 921, "y": 430, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "5d79d201.e7950c", "type": "call", "name": "call bandwidth-update-odu2", "xml": "<call module='optical-service' rpc='bandwidth-update-odu2' mode='sync' >\n", "comments": "", "outputs": 1, "x": 907, "y": 533, "z": "ad8c454f.e636c8", "wires": [ [] ] }, { "id": "24d31db6.2991f2", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 107.5, "y": 96, "z": "ad8c454f.e636c8", "wires": [ [ "e91758dd.a9f1e8" ] ] }, { "id": "e91758dd.a9f1e8", "type": "service-logic", "name": "optical-service ${project.version}", "module": "optical-service", "version": "${project.version}", "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='optical-service' version='${project.version}'>", "outputs": 1, "x": 134.5, "y": 166, "z": "ad8c454f.e636c8", "wires": [ [ "9d59d2a1.9e885" ] ] }, { "id": "9d59d2a1.9e885", "type": "method", "name": "method bandwidth-update", "xml": "<method rpc='bandwidth-update' mode='sync'>\n", "comments": "", "outputs": 1, "x": 321.5, "y": 59, "z": "ad8c454f.e636c8", "wires": [ [ "2cba60b2.bce73" ] ] }, { "id": "2cba60b2.bce73", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, "x": 369, "y": 203, "z": "ad8c454f.e636c8", "wires": [ [ "97eda245.3bd94" ] ] }, { "id": "3c2d54e2.97184c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1242, "y": 329, "z": "ad8c454f.e636c8", "wires": [ [ "3133f444.5a5e1c", "6b05b797.6dcc48" ] ] }, { "id": "47c4c7c8.0b4c88", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, "x": 903, "y": 290, "z": "ad8c454f.e636c8", "wires": [ [ "915a7aed.6d9c68", "66893dd3.7d6d44" ] ] } ]