diff options
author | 2018-07-19 18:58:37 +0530 | |
---|---|---|
committer | 2018-07-19 18:58:37 +0530 | |
commit | 0c86b92ccd3c103e72d08388c4c8afcecbbb25e8 (patch) | |
tree | 9b51d7da8ebb2724403cf4124ba4384e41f828f5 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.json | |
parent | 0941e45b7a5b986f74704fe964d051bd0c733c5c (diff) |
Adding SOTN Connectivity Resource DG.
Added create/activate/deactivate & delete DGs for SOTN connectivity
resource.
Change-Id: I2760418b16ed411737cf38313fb1b9e051c8985a
Issue-ID: SDNC-356
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Former-commit-id: 60b9c632414c96166064e9a8850017fc968b6749
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.json | 1188 |
1 files changed, 1188 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.json new file mode 100644 index 00000000..9559f36f --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.json @@ -0,0 +1,1188 @@ +[ + { + "id": "11760114.ffa53f", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 109, + "y": 68.88888743473217, + "z": "f3682574.cde048", + "wires": [ + [ + "387ea19.1ea525e" + ] + ] + }, + { + "id": "387ea19.1ea525e", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API 1.2.1-SNAPSHOT", + "module": "GENERIC-RESOURCE-API", + "version": "1.2.1-SNAPSHOT", + "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.2.1-SNAPSHOT'>", + "outputs": 1, + "x": 363.5, + "y": 68.88888743473217, + "z": "f3682574.cde048", + "wires": [ + [ + "acc8b788.ec53d8" + ] + ] + }, + { + "id": "acc8b788.ec53d8", + "type": "method", + "name": "sotn-network-topology-operation-create", + "xml": "<method rpc='sotn-network-topology-operation-create' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 362.5, + "y": 168.88888743473217, + "z": "f3682574.cde048", + "wires": [ + [ + "34953ba0.309594" + ] + ] + }, + { + "id": "34953ba0.309594", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 502.5, + "y": 268.88888743473217, + "z": "f3682574.cde048", + "wires": [ + [ + "7388dbd6.e4b144", + "eb46e056.51069", + "27c87a61.1820b6", + "1c8ab342.be0a1d", + "f72cb383.b1b6", + "a36220a4.22926", + "a70fe000.5399c", + "47a1000.3ac09", + "edce49a.1c028b8", + "1f8a7b8b.e596a4", + "68c583ec.0ea75c", + "1522718b.801dfe", + "e184926f.0ad08" + ] + ] + }, + { + "id": "7388dbd6.e4b144", + "type": "call", + "name": "call GENERIC-RESOURCE-API:validate-sotn-network-input-parameters", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sotn-network-input-parameters' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 932.5000114440918, + "y": 86.66663935733959, + "z": "f3682574.cde048", + "wires": [ + [ + + ] + ] + }, + { + "id": "eb46e056.51069", + "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/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"sotn-network-topology-operation-create\"/>\n<parameter name=\"field3\" value=\"SOTN-Config\"/>\n", + "comments": "", + "outputs": 1, + "x": 726.0556564331055, + "y": 264.11109924316406, + "z": "f3682574.cde048", + "wires": [ + [ + + ] + ] + }, + { + "id": "27c87a61.1820b6", + "type": "execute", + "name": "execute generate-sotn-vpn-network-id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.sotn.network-id\"/>\n", + "comments": "", + "outputs": 1, + "x": 826.5000114440918, + "y": 126.66663935733959, + "z": "f3682574.cde048", + "wires": [ + [ + + ] + ] + }, + { + "id": "1c8ab342.be0a1d", + "type": "switchNode", + "name": "switch service-data.networks_length", + "xml": "<switch test='`$service-data.networks.network_length`'>\n", + "comments": "", + "outputs": 1, + "x": 817.0556564331055, + "y": 224.11109924316406, + "z": "f3682574.cde048", + "wires": [ + [ + "c1b6935.5afba7", + "33b11f83.270c2" + ] + ] + }, + { + "id": "c1b6935.5afba7", + "type": "other", + "name": "Null", + "xml": "<outcome value=''>\n", + "comments": "", + "outputs": 1, + "x": 1046.0556564331055, + "y": 204.11109924316406, + "z": "f3682574.cde048", + "wires": [ + [ + "50a80e72.5fa1f" + ] + ] + }, + { + "id": "33b11f83.270c2", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1046.0556564331055, + "y": 244.11109924316406, + "z": "f3682574.cde048", + "wires": [ + [ + "683104fc.0cc2bc" + ] + ] + }, + { + "id": "50a80e72.5fa1f", + "type": "set", + "name": "set nidx", + "xml": "<set>\n<parameter name='nidx' value='0' />\n", + "comments": "", + "x": 1188.5556564331055, + "y": 204.11109924316406, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "4bd2e74.8492e18", + "type": "set", + "name": "set nidx", + "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n", + "comments": "", + "x": 1322.1111755371094, + "y": 205.66670894622803, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "f72cb383.b1b6", + "type": "set", + "name": "set network in service-data", + "xml": "<set>\n<parameter name='service-data.networks.network[$nidx].network-id' value='`$prop.sotn.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name='service-data.networks.network_length' value='`$nidx+1`' />\n\n", + "comments": "", + "x": 787.5556564331055, + "y": 304.11109924316406, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "a36220a4.22926", + "type": "set", + "name": "set networkId and network-object-path", + "xml": "<set>\n<parameter name='networkId' value='`$prop.sotn.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />", + "comments": "", + "x": 823.0556564331055, + "y": 344.11109924316406, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "a70fe000.5399c", + "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": 749.7224502563477, + "y": 596.7778205871582, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "47a1000.3ac09", + "type": "set", + "name": "set network-level-oper-status", + "xml": "<set>\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />", + "comments": "", + "x": 794.5556564331055, + "y": 384.11109924316406, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "edce49a.1c028b8", + "type": "save", + "name": "save SOTN connectivity resource in AAI", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n key='configuration.configuration-id = $prop.sotn.network-id' >\n<parameter name='configuration-id' value='`$prop.sotn.network-id`' />\n<parameter name='configuration-name' value='`$prop.sotn.client-svc-name`' />\n<parameter name='configuration-type' value='`$prop.sotn.client-svc-descr`' />\n<parameter name='configuration-sub-type' value='`$prop.sotn.tenantId`' />\n<parameter name='orchestration-status' value='`$prop.sotn.vpnType`' />\n<parameter name='management-option' value='`$prop.sotn.cir`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='configuration-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />", + "comments": "", + "outputs": 1, + "x": 827.0556564331055, + "y": 430.77778816223145, + "z": "f3682574.cde048", + "wires": [ + [ + + ] + ] + }, + { + "id": "1f8a7b8b.e596a4", + "type": "save", + "name": "save service relationship in AAI", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"configuration\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/configurations/configuration/' + $prop.sotn.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"configuration.configuration-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />", + "comments": "", + "outputs": 1, + "x": 802.0556678771973, + "y": 468.55554008483887, + "z": "f3682574.cde048", + "wires": [ + [ + + ] + ] + }, + { + "id": "b85378f.1752188", + "type": "for", + "name": "for each existing network", + "xml": "<for index='idx' start='0' end='`$nidx`' >\n", + "comments": "", + "outputs": 1, + "x": 1191.5397186279297, + "y": 348.8888511364348, + "z": "f3682574.cde048", + "wires": [ + [ + "ad3781e0.62cbe" + ] + ] + }, + { + "id": "683104fc.0cc2bc", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1190.4127006530762, + "y": 244.04761123657227, + "z": "f3682574.cde048", + "wires": [ + [ + "b85378f.1752188", + "4bd2e74.8492e18" + ] + ] + }, + { + "id": "ad3781e0.62cbe", + "type": "switchNode", + "name": "switch networkid found", + "xml": "<switch test=\"`$service-data.networks.network[$idx].network-id == $network-topology-operation-input.network-information.network-id`\">\n", + "comments": "", + "outputs": 1, + "x": 1466.825439453125, + "y": 348.4603538219817, + "z": "f3682574.cde048", + "wires": [ + [ + "30f1f431.08877c" + ] + ] + }, + { + "id": "30f1f431.08877c", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1367.5556373596191, + "y": 407.03178498195484, + "z": "f3682574.cde048", + "wires": [ + [ + "1df899ae.3b8026" + ] + ] + }, + { + "id": "3a07954a.fda22a", + "type": "comment", + "name": "make sure this network doesn't exist already", + "info": "", + "comments": "", + "x": 1415.1904487609863, + "y": 307.142908543814, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "1df899ae.3b8026", + "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=\"network-topology-operation-input.network-request-input.network-id already found in service-data\" />\n", + "comments": "", + "x": 1515.3057403564453, + "y": 406.88897705078125, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "1eccb58d.49bd0a", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1481.957233428955, + "y": 176.6666965484619, + "z": "f3682574.cde048", + "wires": [ + [ + "39c25585.35095a", + "f63e13ae.1ca36", + "b990d7b7.d50db8", + "84319a02.cc83c8", + "fd903008.4e1c6", + "64b1c8e5.3ad178", + "c55257d1.2dce08", + "70e3ab9b.3b6ef4", + "f11487f.1a2d778", + "f273d999.226da8", + "e251bd6c.23dfe", + "f51170c3.6db7", + "ba516d92.f632", + "fe52bad5.770908", + "b3759567.fa1fc8", + "a9128726.ee25b8" + ] + ] + }, + { + "id": "39c25585.35095a", + "type": "switchNode", + "name": "switch name", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n", + "comments": "", + "outputs": 1, + "x": 1740.1789779663086, + "y": 34, + "z": "f3682574.cde048", + "wires": [ + [ + "be03b2cc.d65d1" + ] + ] + }, + { + "id": "be03b2cc.d65d1", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1927.1789779663086, + "y": 30, + "z": "f3682574.cde048", + "wires": [ + [ + "904307f9.4f4248" + ] + ] + }, + { + "id": "904307f9.4f4248", + "type": "set", + "name": "set name", + "xml": "<set>\n<parameter name='prop.sotn.etht-svc-name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2077.1791076660156, + "y": 28.600006580352783, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "f63e13ae.1ca36", + "type": "switchNode", + "name": "switch description", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'description'`\">\n", + "comments": "", + "outputs": 1, + "x": 1751.0186386108398, + "y": 73.99999809265137, + "z": "f3682574.cde048", + "wires": [ + [ + "2d5d0686.3b5eba" + ] + ] + }, + { + "id": "2d5d0686.3b5eba", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1921.0186386108398, + "y": 69.99999809265137, + "z": "f3682574.cde048", + "wires": [ + [ + "8eefd68e.fffed8" + ] + ] + }, + { + "id": "8eefd68e.fffed8", + "type": "set", + "name": "set etht-svc-descr", + "xml": "<set>\n<parameter name='prop.sotn.etht-svc-descr' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2108.3520793914795, + "y": 68.46115493774414, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "68c583ec.0ea75c", + "type": "for", + "name": "for loop i - Network input parameters", + "xml": "<for index=\"idx\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n", + "comments": "", + "outputs": 1, + "x": 819.7343978881836, + "y": 174.44442749023438, + "z": "f3682574.cde048", + "wires": [ + [ + "1eccb58d.49bd0a" + ] + ] + }, + { + "id": "b990d7b7.d50db8", + "type": "switchNode", + "name": "switch tenantId", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tenantId'`\">\n", + "comments": "", + "outputs": 1, + "x": 1741.4010200500488, + "y": 117.33332538604736, + "z": "f3682574.cde048", + "wires": [ + [ + "d96e6910.7c5ce8" + ] + ] + }, + { + "id": "d96e6910.7c5ce8", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1928.4010200500488, + "y": 113.33332538604736, + "z": "f3682574.cde048", + "wires": [ + [ + "5b48eb71.3d5864" + ] + ] + }, + { + "id": "5b48eb71.3d5864", + "type": "set", + "name": "set tenantId", + "xml": "<set>\n<parameter name='prop.sotn.tenantId' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2096.401020050049, + "y": 113.93333148956299, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "84319a02.cc83c8", + "type": "switchNode", + "name": "switch CIR", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'CIR'`\">\n", + "comments": "", + "outputs": 1, + "x": 1723.2406768798828, + "y": 207.33338356018066, + "z": "f3682574.cde048", + "wires": [ + [ + "c1cdced0.80842" + ] + ] + }, + { + "id": "c1cdced0.80842", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1931.2407455444336, + "y": 203.3333969116211, + "z": "f3682574.cde048", + "wires": [ + [ + "bcbc8704.d57d08" + ] + ] + }, + { + "id": "bcbc8704.d57d08", + "type": "set", + "name": "set cir", + "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2080.5740661621094, + "y": 201.7945442199707, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "fd903008.4e1c6", + "type": "switchNode", + "name": "switch vpnType", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vpnType'`\">\n", + "comments": "", + "outputs": 1, + "x": 1742.5491485595703, + "y": 161.11110258102417, + "z": "f3682574.cde048", + "wires": [ + [ + "25a34a38.dcc406" + ] + ] + }, + { + "id": "25a34a38.dcc406", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1929.5491485595703, + "y": 157.11110258102417, + "z": "f3682574.cde048", + "wires": [ + [ + "fc6be9bd.f8dd28" + ] + ] + }, + { + "id": "fc6be9bd.f8dd28", + "type": "set", + "name": "set vpnType", + "xml": "<set>\n<parameter name='prop.sotn.vpnType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2098.882781982422, + "y": 154.57226753234863, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "64b1c8e5.3ad178", + "type": "switchNode", + "name": "switch access-provider-id", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-provider-id'`\">\n", + "comments": "", + "outputs": 1, + "x": 1764.0307846069336, + "y": 483.55562114715576, + "z": "f3682574.cde048", + "wires": [ + [ + "d7282d61.ab2dc" + ] + ] + }, + { + "id": "c55257d1.2dce08", + "type": "switchNode", + "name": "switch access-client-id", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-client-id'`\">\n", + "comments": "", + "outputs": 1, + "x": 1756.5862655639648, + "y": 528.8889503479004, + "z": "f3682574.cde048", + "wires": [ + [ + "3e5c147b.b1e80c" + ] + ] + }, + { + "id": "70e3ab9b.3b6ef4", + "type": "switchNode", + "name": "switch access-topology-id", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-topology-id'`\">\n", + "comments": "", + "outputs": 1, + "x": 1761.0307235717773, + "y": 567.7778358459473, + "z": "f3682574.cde048", + "wires": [ + [ + "733a89f7.791ab8" + ] + ] + }, + { + "id": "d7282d61.ab2dc", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1948.0307846069336, + "y": 482.5556364059448, + "z": "f3682574.cde048", + "wires": [ + [ + "bf6a3d1f.8cbc" + ] + ] + }, + { + "id": "3e5c147b.b1e80c", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1943.5862655639648, + "y": 524.8889503479004, + "z": "f3682574.cde048", + "wires": [ + [ + "eae17cc1.2b92b" + ] + ] + }, + { + "id": "733a89f7.791ab8", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1948.0307235717773, + "y": 563.7778358459473, + "z": "f3682574.cde048", + "wires": [ + [ + "bf2ad720.26e6f8" + ] + ] + }, + { + "id": "bf6a3d1f.8cbc", + "type": "set", + "name": "set access-provider-id", + "xml": "<set>\n<parameter name='prop.sotn.access-provider-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2131.253143310547, + "y": 481.66682052612305, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "eae17cc1.2b92b", + "type": "set", + "name": "set access-client-id", + "xml": "<set>\n<parameter name='prop.sotn.access-client-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2120.1421813964844, + "y": 522.8994269371033, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "bf2ad720.26e6f8", + "type": "set", + "name": "set access-topology-id", + "xml": "<set>\n<parameter name='prop.sotn.access-topology-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2130.0310974121094, + "y": 561.7882833480835, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "f11487f.1a2d778", + "type": "switchNode", + "name": "switch access-node-id", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-node-id'`\">\n", + "comments": "", + "outputs": 1, + "x": 1761.8454818725586, + "y": 614.4444794654846, + "z": "f3682574.cde048", + "wires": [ + [ + "3f7939dd.f6bad6" + ] + ] + }, + { + "id": "3f7939dd.f6bad6", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1948.8454818725586, + "y": 610.4444794654846, + "z": "f3682574.cde048", + "wires": [ + [ + "36806cf5.900574" + ] + ] + }, + { + "id": "f273d999.226da8", + "type": "switchNode", + "name": "switch access-ltp-id", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-ltp-id'`\">\n", + "comments": "", + "outputs": 1, + "x": 1758.6232528686523, + "y": 656.8889560699463, + "z": "f3682574.cde048", + "wires": [ + [ + "dd2b85b9.e6ec48" + ] + ] + }, + { + "id": "dd2b85b9.e6ec48", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1945.6232528686523, + "y": 652.8889560699463, + "z": "f3682574.cde048", + "wires": [ + [ + "7e4475d7.79ec8c" + ] + ] + }, + { + "id": "36806cf5.900574", + "type": "set", + "name": "set access-node-id", + "xml": "<set>\n<parameter name='prop.sotn.access-node-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2120.8457946777344, + "y": 609.1216135025024, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "7e4475d7.79ec8c", + "type": "set", + "name": "set access-ltp-id", + "xml": "<set>\n<parameter name='prop.sotn.access-ltp-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2111.2899475097656, + "y": 651.8993854522705, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "1522718b.801dfe", + "type": "save", + "name": "save srcLTP relationship in AAI", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration:relationship-list' \n key='configuration.configuration-id = $prop.sotn.network-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"logical-link\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/logical-links/logical-link/' + $unique-src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"logical-link.link-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-src-ltpId`\" />", + "comments": "", + "outputs": 1, + "x": 800.1047744750977, + "y": 553.5184006690979, + "z": "f3682574.cde048", + "wires": [ + [ + + ] + ] + }, + { + "id": "e184926f.0ad08", + "type": "set", + "name": "set unique-src-ltpId", + "xml": "<set>\n<parameter name='unique-src-ltpId' value=\"`'nodeId-' + $prop.sotn.src-access-node-id + '-ltpId-' + $prop.sotn.src-access-ltp-id`\" />", + "comments": "", + "x": 764.6603622436523, + "y": 515.9999980926514, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "e251bd6c.23dfe", + "type": "switchNode", + "name": "switch EIR", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'EIR'`\">\n", + "comments": "", + "outputs": 1, + "x": 1724.5311279296875, + "y": 250.03125, + "z": "f3682574.cde048", + "wires": [ + [ + "8810ee0c.a4e38" + ] + ] + }, + { + "id": "8810ee0c.a4e38", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1926.5310897827148, + "y": 245.03127002716064, + "z": "f3682574.cde048", + "wires": [ + [ + "1e197aec.8afff5" + ] + ] + }, + { + "id": "1e197aec.8afff5", + "type": "set", + "name": "set eir", + "xml": "<set>\n<parameter name='prop.sotn.eir' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2082.8645935058594, + "y": 244.49240589141846, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "f51170c3.6db7", + "type": "switchNode", + "name": "switch CBS", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'CBS'`\">\n", + "comments": "", + "outputs": 1, + "x": 1724.5311279296875, + "y": 299.03125, + "z": "f3682574.cde048", + "wires": [ + [ + "49df64ea.07087c" + ] + ] + }, + { + "id": "49df64ea.07087c", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1923.5310897827148, + "y": 295.0312566757202, + "z": "f3682574.cde048", + "wires": [ + [ + "386c9243.097e5e" + ] + ] + }, + { + "id": "386c9243.097e5e", + "type": "set", + "name": "set cbs", + "xml": "<set>\n<parameter name='prop.sotn.cbs' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2081.8646545410156, + "y": 293.49241638183594, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "ba516d92.f632", + "type": "switchNode", + "name": "switch PBS", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'PBS'`\">\n", + "comments": "", + "outputs": 1, + "x": 1724.5311279296875, + "y": 344.03125, + "z": "f3682574.cde048", + "wires": [ + [ + "9ac50dab.4fbde" + ] + ] + }, + { + "id": "9ac50dab.4fbde", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1923.5310897827148, + "y": 337.03125762939453, + "z": "f3682574.cde048", + "wires": [ + [ + "fcfbd737.d83c58" + ] + ] + }, + { + "id": "fcfbd737.d83c58", + "type": "set", + "name": "set pbs", + "xml": "<set>\n<parameter name='prop.sotn.pbs' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2084.8646545410156, + "y": 338.49241638183594, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "fe52bad5.770908", + "type": "switchNode", + "name": "switch color-aware", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'color-aware'`\">\n", + "comments": "", + "outputs": 1, + "x": 1746.5312118530273, + "y": 391.0312671661377, + "z": "f3682574.cde048", + "wires": [ + [ + "bccb8e92.0b5c7" + ] + ] + }, + { + "id": "bccb8e92.0b5c7", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1924.5312156677246, + "y": 385.03125953674316, + "z": "f3682574.cde048", + "wires": [ + [ + "e228c0d1.eaf54" + ] + ] + }, + { + "id": "e228c0d1.eaf54", + "type": "set", + "name": "set colorAware", + "xml": "<set>\n<parameter name='prop.sotn.colorAware' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2105.8645935058594, + "y": 384.49241828918457, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "b3759567.fa1fc8", + "type": "switchNode", + "name": "switch coupling-flag", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'coupling-flag'`\">\n", + "comments": "", + "outputs": 1, + "x": 1746.5312194824219, + "y": 437.0312919616699, + "z": "f3682574.cde048", + "wires": [ + [ + "a4cdcb3.5f83638" + ] + ] + }, + { + "id": "a4cdcb3.5f83638", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1924.5312118530273, + "y": 429.0312604904175, + "z": "f3682574.cde048", + "wires": [ + [ + "6e47434b.16603c" + ] + ] + }, + { + "id": "6e47434b.16603c", + "type": "set", + "name": "set couplingFlag", + "xml": "<set>\n<parameter name='prop.sotn.couplingFlag' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2109.8645935058594, + "y": 429.4924430847168, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "a9128726.ee25b8", + "type": "switchNode", + "name": "switch cVLAN", + "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'cVLAN'`\">\n", + "comments": "", + "outputs": 1, + "x": 1737.5311584472656, + "y": 702.0312995910645, + "z": "f3682574.cde048", + "wires": [ + [ + "1ad6eb3c.320b35" + ] + ] + }, + { + "id": "1ad6eb3c.320b35", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1942.5311279296875, + "y": 703.03125, + "z": "f3682574.cde048", + "wires": [ + [ + "9dd46589.0d0a48" + ] + ] + }, + { + "id": "9dd46589.0d0a48", + "type": "set", + "name": "set cVLAN", + "xml": "<set>\n<parameter name='prop.sotn.cVLAN' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", + "comments": "", + "x": 2096.197967529297, + "y": 702.0417213439941, + "z": "f3682574.cde048", + "wires": [ + + ] + }, + { + "id": "b152e598.bced08", + "type": "comment", + "name": "TODO: Recheck AAI schemas", + "info": "", + "comments": "", + "x": 791.0312805175781, + "y": 33.03132629394531, + "z": "f3682574.cde048", + "wires": [ + + ] + } +] |