diff options
author | gaurav <gaurav.agrawal@huawei.com> | 2018-07-19 18:58:37 +0530 |
---|---|---|
committer | gaurav <gaurav.agrawal@huawei.com> | 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-activate.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-activate.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-activate.json | 203 |
1 files changed, 203 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-activate.json new file mode 100644 index 00000000..8fa5b0f0 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-network-topology-operation-activate.json @@ -0,0 +1,203 @@ +[ + { + "id": "c91e9b10.259838", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 96, + "y": 42.99996852874756, + "z": "ea913b4d.eb8638", + "wires": [ + [ + "38533cf9.2a1214" + ] + ] + }, + { + "id": "38533cf9.2a1214", + "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": 282.00000381469727, + "y": 114.99998569488525, + "z": "ea913b4d.eb8638", + "wires": [ + [ + "39d16e55.9c1d22" + ] + ] + }, + { + "id": "39d16e55.9c1d22", + "type": "method", + "name": "method sotn-network-topology-operation-activate", + "xml": "<method rpc='sotn-network-topology-operation-activate' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 270.0001220703125, + "y": 202.99996852874756, + "z": "ea913b4d.eb8638", + "wires": [ + [ + "4519115b.490c9" + ] + ] + }, + { + "id": "4519115b.490c9", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 444.00001525878906, + "y": 311.0000276565552, + "z": "ea913b4d.eb8638", + "wires": [ + [ + "dfb7f2ca.a1635", + "d89e17e8.bd1698", + "d5e8e338.ac641", + "604990bf.defe7", + "b18a2025.dcb34", + "9bb8612f.5c571", + "c3e1900f.1a37e", + "18e80a8f.69f565" + ] + ] + }, + { + "id": "dfb7f2ca.a1635", + "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": 902.3889007568359, + "y": 59.99996852874756, + "z": "ea913b4d.eb8638", + "wires": [ + [ + + ] + ] + }, + { + "id": "d89e17e8.bd1698", + "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-activate\"/>\n<parameter name=\"field3\" value=\"SOTN-Activate\"/>\n", + "comments": "", + "outputs": 1, + "x": 702.5555992126465, + "y": 113.77782154083252, + "z": "ea913b4d.eb8638", + "wires": [ + [ + + ] + ] + }, + { + "id": "d5e8e338.ac641", + "type": "set", + "name": "set networkId and network-object-path", + "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.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/' + $network-topology-operation-input.network-information.network-id + '/network-data/'` \" />", + "comments": "", + "x": 793.5556488037109, + "y": 302.3132629394531, + "z": "ea913b4d.eb8638", + "wires": [ + + ] + }, + { + "id": "604990bf.defe7", + "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": 715.3334503173828, + "y": 491.8686828613281, + "z": "ea913b4d.eb8638", + "wires": [ + + ] + }, + { + "id": "b18a2025.dcb34", + "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='Active' />\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": 760.4445648193359, + "y": 363.53543758392334, + "z": "ea913b4d.eb8638", + "wires": [ + + ] + }, + { + "id": "9bb8612f.5c571", + "type": "execute", + "name": "execute Properties", + "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": 734.8577041625977, + "y": 166.77785778045654, + "z": "ea913b4d.eb8638", + "wires": [ + [ + + ] + ] + }, + { + "id": "c3e1900f.1a37e", + "type": "update", + "name": "update SOTN Connectivity status to AAI", + "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n key='configuration.configuration-id = $network-topology-operation-input.network-information.network-id' >\n<parameter name='configuration-id' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='operational-status' value='Active' />", + "comments": "", + "outputs": 1, + "x": 794.6631469726562, + "y": 423.23862648010254, + "z": "ea913b4d.eb8638", + "wires": [ + [ + + ] + ] + }, + { + "id": "18e80a8f.69f565", + "type": "set", + "name": "set network in service-data", + "xml": "<set>\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.`' />", + "comments": "", + "x": 757.0001220703125, + "y": 234.09102249145508, + "z": "ea913b4d.eb8638", + "wires": [ + + ] + }, + { + "id": "bd8b5b43.6b8768", + "type": "comment", + "name": "TODO MP2MP", + "info": "Current implementation is for P2P connectivity\nFor MP2MP connectivity in future DG needs to be modified", + "comments": "", + "x": 982.03125, + "y": 157.03124904632568, + "z": "ea913b4d.eb8638", + "wires": [ + + ] + } +] |