diff options
author | gaurav <gaurav.agrawal@huawei.com> | 2018-10-05 11:29:55 +0530 |
---|---|---|
committer | gaurav <gaurav.agrawal@huawei.com> | 2018-10-05 11:29:55 +0530 |
commit | d9e26826bff32fdfd92296e2f4b425a81e7ecdf3 (patch) | |
tree | c0bc1573ccdc43aec9848b5754f03a50419bb13f /platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-network-topology-operation-delete.json | |
parent | 351d5315bafe499e9f6904fa51c3b70c13f3cb70 (diff) |
Refactored SOTN and SDWAN DG
Refactored SOTN and SDWAN DG to seperate sub directories for better
maintainability.
Change-Id: I49c57d20fc8fcb7de65d3634bceb691d0b7f80fd
Issue-ID: SDNC-350
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Former-commit-id: d3d3ce137625a244accf736da3a8f6736b44300e
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-network-topology-operation-delete.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-network-topology-operation-delete.json | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-network-topology-operation-delete.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-network-topology-operation-delete.json new file mode 100644 index 00000000..8e84a93f --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-network-topology-operation-delete.json @@ -0,0 +1,159 @@ +[ + { + "id": "557c0d2.e91edf4", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 121.00390625, + "y": 50.00390625, + "z": "f08fa760.244488", + "wires": [ + [ + "93294ef3.ba70b" + ] + ] + }, + { + "id": "93294ef3.ba70b", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "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='GENERIC-RESOURCE-API' version='${project.version}'>", + "outputs": 1, + "x": 333.00391006469727, + "y": 122.0039234161377, + "z": "f08fa760.244488", + "wires": [ + [ + "d7638881.bfb4c8" + ] + ] + }, + { + "id": "d7638881.bfb4c8", + "type": "method", + "name": "method sdwan-network-topology-operation-delete", + "xml": "<method rpc='sdwan-network-topology-operation-delete' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 321.0040283203125, + "y": 210.00390625, + "z": "f08fa760.244488", + "wires": [ + [ + "96e57ca9.97c2e" + ] + ] + }, + { + "id": "96e57ca9.97c2e", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 491.44836044311523, + "y": 272.44836235046387, + "z": "f08fa760.244488", + "wires": [ + [ + "3ea486fa.98e8fa", + "5a29219c.c419d", + "8d5f8731.51c938", + "40643a2d.08d114", + "24e3bcc2.2186b4", + "c8f5f5d0.be2858", + "cb920ad8.ed1188" + ] + ] + }, + { + "id": "3ea486fa.98e8fa", + "type": "call", + "name": "call GENERIC-RESOURCE-API:validate-sdwan-network-input-parameters", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sdwan-network-input-parameters' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 972.3928146362305, + "y": 67.00391006469727, + "z": "f08fa760.244488", + "wires": [ + [] + ] + }, + { + "id": "5a29219c.c419d", + "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=\"sdwan-network-topology-operation-delete\"/>\n<parameter name=\"field3\" value=\"SDWAN-Delete\"/>\n", + "comments": "", + "outputs": 1, + "x": 766.7816314697266, + "y": 133.33727836608887, + "z": "f08fa760.244488", + "wires": [ + [] + ] + }, + { + "id": "8d5f8731.51c938", + "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='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'` \" />", + "comments": "", + "x": 851.448314666748, + "y": 381.4281978607178, + "z": "f08fa760.244488", + "wires": [] + }, + { + "id": "40643a2d.08d114", + "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": 780.5595626831055, + "y": 444.9835858345032, + "z": "f08fa760.244488", + "wires": [] + }, + { + "id": "c8f5f5d0.be2858", + "type": "set", + "name": "set new network length", + "xml": "<set>\n\t<parameter name=\"service-data.networks.network_length\" value=\"`$service-data.networks.network_length - 1`\"/>\n\n\t\n", + "comments": "", + "x": 810.0809860229492, + "y": 258.89910793304443, + "z": "f08fa760.244488", + "wires": [] + }, + { + "id": "24e3bcc2.2186b4", + "type": "set", + "name": "Remove networks from ServiceData", + "xml": "<set>\n\t<parameter name=\"service-data.networks.network[$tmp.nidx].\" value=\"\"/>\n\n", + "comments": "", + "x": 850.7051429748535, + "y": 306.8670496940613, + "z": "f08fa760.244488", + "wires": [] + }, + { + "id": "cb920ad8.ed1188", + "type": "delete", + "name": "delete SDWAN VPNInstance connectivity in AAI", + "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource='sdwan-vpn' \n key='sdwan-vpn.sdwan-vpn-id = $network-topology-operation-input.network-information.network-id'>\n", + "comments": "", + "outputs": 1, + "x": 888.6364860534668, + "y": 200.01019191741943, + "z": "f08fa760.244488", + "wires": [ + [] + ] + } +] |