aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main
diff options
context:
space:
mode:
authorMarcus G K Williams <marcus.williams@intel.com>2017-09-27 11:01:59 -0700
committerMarcus G K Williams <marcus.williams@intel.com>2017-09-27 11:25:38 -0700
commit154635848d8cc96163815da880d582139eae7bc4 (patch)
tree4ea7c72b347972002e6dff299a2a0e77955611c4 /platform-logic/generic-resource-api/src/main
parentc3e2005d4a8bc51460a8ad9661c8961ad8c6eaf4 (diff)
Add VoLTE l3-dci-connects DGs + xml
Issue-Id: SDNC-28 Change-Id: I1e1eea6dc91d4ec7fd3cb159b557e33ebef13c92 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 933ae5b147fc5c72aacc40a2255545efc8f2a7cd
Diffstat (limited to 'platform-logic/generic-resource-api/src/main')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-activate.json623
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.json310
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-activate.xml142
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.xml69
4 files changed, 1144 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-activate.json
new file mode 100644
index 00000000..6e402989
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-activate.json
@@ -0,0 +1,623 @@
+[
+ {
+ "id": "13efcea1.ec1031",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 114.9285774230957,
+ "y": 157.85713958740234,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "34d83628.cb27ca"
+ ]
+ ]
+ },
+ {
+ "id": "34d83628.cb27ca",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 331.4285774230957,
+ "y": 220.35713958740234,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "4110c5c.fbeef3c"
+ ]
+ ]
+ },
+ {
+ "id": "4110c5c.fbeef3c",
+ "type": "method",
+ "name": "method network-topology-operation-activate",
+ "xml": "<method rpc='network-topology-operation-activate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 239.42860794067383,
+ "y": 315.3571243286133,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "73d8f049.8c271"
+ ]
+ ]
+ },
+ {
+ "id": "73d8f049.8c271",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 537.2619209289551,
+ "y": 323.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "d7eea4e9.281158",
+ "fc223b1c.03ddc8",
+ "de035b83.21fca8",
+ "7ca75a13.8358a4",
+ "af942bde.506bd8",
+ "fd54671a.02ab98",
+ "ae88a1de.51776",
+ "4b8d739d.b4728c"
+ ]
+ ]
+ },
+ {
+ "id": "fc223b1c.03ddc8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"Time\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"Method\" value=\"network-topology-operation-activate\"/>\n<parameter name=\"SubMethod\" value=\"l3-dci-connects\"/>\n<parameter name=\"Name\" value=\"`$l3-dci-connects.name`\"/>\n<parameter name=\"Description\" value=\"`$l3-dci-connects.description`\"/>\n<parameter name=\"RouterId\" value=\"`$l3-dci-connects.router_id`\"/>\n<parameter name=\"IsFirewallEnabled\" value=\"`$l3-dci-connects.firewall_enable`\"/>\n<parameter name=\"LocalNetworks\" value=\"`$l3-dci-connects.local_networks`\"/>\n<parameter name=\"LocalNetworksAll\" value=\"`$l3-dci-connects.local_networks_all`\"/>\n<parameter name=\"EvpnIrts\" value=\"`$l3-dci-connects.evpn_irts`\"/>\n<parameter name=\"EvpnErts\" value=\"`$l3-dci-connects.evpn_erts`\"/>\n<parameter name=\"L3Vni\" value=\"`$l3-dci-connects.l3_vni`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 745.2619209289551,
+ "y": 358.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de035b83.21fca8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 927.2619209289551,
+ "y": 188.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7ca75a13.8358a4",
+ "type": "get-resource",
+ "name": "get-resource l3-dci-connects",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-dci-connects\" \n\t\tkey=\"l3-dci-connects.id = $tmp.id AND depth = '1'\"\n pfx='tmp.aai.l3-dci-connects' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 814.2619209289551,
+ "y": 290.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "76d6d56a.89292c",
+ "b63f5b49.49c0a8",
+ "a9c3f954.563c08"
+ ]
+ ]
+ },
+ {
+ "id": "76d6d56a.89292c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1063.261920928955,
+ "y": 254.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "75edb6f2.8a1248"
+ ]
+ ]
+ },
+ {
+ "id": "b63f5b49.49c0a8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1070.261920928955,
+ "y": 292.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "a88ab5e7.577548"
+ ]
+ ]
+ },
+ {
+ "id": "a9c3f954.563c08",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1062.261920928955,
+ "y": 334.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "47bdf2f2.b8420c"
+ ]
+ ]
+ },
+ {
+ "id": "75edb6f2.8a1248",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1228.261920928955,
+ "y": 243.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a88ab5e7.577548",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1227.261920928955,
+ "y": 296.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "47bdf2f2.b8420c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1220.261920928955,
+ "y": 343.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "af942bde.506bd8",
+ "type": "set",
+ "name": "set controller data",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n\n",
+ "comments": "",
+ "x": 778.2619209289551,
+ "y": 419.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "fd54671a.02ab98",
+ "type": "for",
+ "name": "for each network-input-parameters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 830.2619209289551,
+ "y": 475.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "2650269.fd9afda"
+ ]
+ ]
+ },
+ {
+ "id": "2650269.fd9afda",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1064.261920928955,
+ "y": 475.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "eb18473a.14e7b8",
+ "94f8d826.6b0728",
+ "133d2fc3.ecc2d",
+ "60c74a82.9f38b4",
+ "4956f4cc.b6a90c",
+ "8e0378b.f71fc88",
+ "246d821a.db927e"
+ ]
+ ]
+ },
+ {
+ "id": "eb18473a.14e7b8",
+ "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": 1368.261920928955,
+ "y": 400.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "77471bff.88b8e4"
+ ]
+ ]
+ },
+ {
+ "id": "94f8d826.6b0728",
+ "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": 1383.261920928955,
+ "y": 449.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "b48734fb.4b78c8"
+ ]
+ ]
+ },
+ {
+ "id": "133d2fc3.ecc2d",
+ "type": "switchNode",
+ "name": "switch router_id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'router_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1377.261920928955,
+ "y": 493.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "9cd2fabe.632d08"
+ ]
+ ]
+ },
+ {
+ "id": "60c74a82.9f38b4",
+ "type": "switchNode",
+ "name": "switch local_networks",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'local_networks'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1395.261978149414,
+ "y": 536.9047584533691,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "3f83fc1.fc07c04"
+ ]
+ ]
+ },
+ {
+ "id": "4956f4cc.b6a90c",
+ "type": "switchNode",
+ "name": "switch evpn_irts",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'evpn_irts'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1379.5477485656738,
+ "y": 585.4761905670166,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "c139b32d.3ec65"
+ ]
+ ]
+ },
+ {
+ "id": "8e0378b.f71fc88",
+ "type": "switchNode",
+ "name": "switch evpn_erts",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'evpn_erts'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1381.5477485656738,
+ "y": 632.4761905670166,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "d454e7d7.2bab18"
+ ]
+ ]
+ },
+ {
+ "id": "246d821a.db927e",
+ "type": "switchNode",
+ "name": "switch l3_vni",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'l3_vni'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1371.5477485656738,
+ "y": 675.4761905670166,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "69406c41.96bf94"
+ ]
+ ]
+ },
+ {
+ "id": "77471bff.88b8e4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1583.261920928955,
+ "y": 399.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "f3ea7971.0c1588"
+ ]
+ ]
+ },
+ {
+ "id": "b48734fb.4b78c8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1581.261920928955,
+ "y": 449.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "e7809c6a.187f6"
+ ]
+ ]
+ },
+ {
+ "id": "9cd2fabe.632d08",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1582.261920928955,
+ "y": 492.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "bc1a0bfb.43e5f8"
+ ]
+ ]
+ },
+ {
+ "id": "3f83fc1.fc07c04",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1580.261978149414,
+ "y": 530.9047584533691,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "7e484c09.81b7b4"
+ ]
+ ]
+ },
+ {
+ "id": "c139b32d.3ec65",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1581.5477485656738,
+ "y": 584.4761905670166,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "7d5558e.f82aaa8"
+ ]
+ ]
+ },
+ {
+ "id": "d454e7d7.2bab18",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1577.5477485656738,
+ "y": 629.4761905670166,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "e1e83f81.1e17c"
+ ]
+ ]
+ },
+ {
+ "id": "69406c41.96bf94",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1577.5477485656738,
+ "y": 675.4761905670166,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "83d7cc2c.7c283"
+ ]
+ ]
+ },
+ {
+ "id": "f3ea7971.0c1588",
+ "type": "set",
+ "name": "set name",
+ "xml": "<set>\n<parameter name='prop.l3-dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1745.261920928955,
+ "y": 397.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "e7809c6a.187f6",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.l3-dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1763.261920928955,
+ "y": 442.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "bc1a0bfb.43e5f8",
+ "type": "set",
+ "name": "set router_id",
+ "xml": "<set>\n<parameter name='prop.l3-dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1755.261920928955,
+ "y": 485.19046783447266,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "7e484c09.81b7b4",
+ "type": "set",
+ "name": "set local_networks",
+ "xml": "<set>\n<parameter name='prop.l3-dci-connects.local_networks' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'' />\n",
+ "comments": "",
+ "x": 1774.261978149414,
+ "y": 531.9047584533691,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "7d5558e.f82aaa8",
+ "type": "set",
+ "name": "set evpn_irts",
+ "xml": "<set>\n<parameter name='prop.l3-dci-connects.evpn_irts' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1757.5477485656738,
+ "y": 580.4761905670166,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "e1e83f81.1e17c",
+ "type": "set",
+ "name": "set evpn_erts",
+ "xml": "<set>\n<parametername='prop.l3-dci-connects.evpn_erts' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1763.5477485656738,
+ "y": 622.4761905670166,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "83d7cc2c.7c283",
+ "type": "set",
+ "name": "set l3_vni",
+ "xml": "<set>\n<parameter name='prop.l3-dci-connects.l3_vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1747.5477485656738,
+ "y": 667.4761905670166,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "ae88a1de.51776",
+ "type": "execute",
+ "name": "execute l3-dci-connects id",
+ "xml": "<execute plugin='com.att.sdnctl.sli.SliPluginUtils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3-dci-connects.id\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 805.2619209289551,
+ "y": 539.1904678344727,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "52b5b73a.ad4a48"
+ ]
+ ]
+ },
+ {
+ "id": "52b5b73a.ad4a48",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 996.2619209289551,
+ "y": 537.1904678344727,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ [
+ "37ca2219.c835de"
+ ]
+ ]
+ },
+ {
+ "id": "37ca2219.c835de",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1146.261920928955,
+ "y": 536.1904678344727,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ },
+ {
+ "id": "4b8d739d.b4728c",
+ "type": "execute",
+ "name": "execute RestApiCallNode Activate Vxlan Tunnel",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3-dci-connects-template.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'\"/>\n<parameter name=\"restapiUser\" value=\"$prop.sdncRestApi.thirdpartySdnc.user\"/>\n<parameter name=\"restapiPassword\" value=\"$prop.sdncRestApi.thirdpartySdnc.password\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 870.2619209289551,
+ "y": 604.1904678344727,
+ "z": "e5eb985f.1a1468",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7eea4e9.281158",
+ "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": 769.5476913452148,
+ "y": 705.9047737121582,
+ "z": "e5eb985f.1a1468",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.json
new file mode 100644
index 00000000..11eb0b77
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.json
@@ -0,0 +1,310 @@
+[
+ {
+ "id": "eccff5d7.133008",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 197.57144165039062,
+ "y": 164.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "6e5507cf.91aaf8"
+ ]
+ ]
+ },
+ {
+ "id": "6e5507cf.91aaf8",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 458.5714416503906,
+ "y": 235.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "794cc996.86b338"
+ ]
+ ]
+ },
+ {
+ "id": "794cc996.86b338",
+ "type": "method",
+ "name": "method network-topology-operation-deactivate",
+ "xml": "<method rpc='network-topology-operation-deactivate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 348.5714416503906,
+ "y": 320.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "27ce9933.d83166"
+ ]
+ ]
+ },
+ {
+ "id": "27ce9933.d83166",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 647.5714416503906,
+ "y": 314.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "8fe3f7a2.701c08",
+ "f07d07dd.0f82f8",
+ "52830e26.ad7cf",
+ "5dce8f7d.a2317",
+ "b970ed31.468f1",
+ "b9373240.46c8d",
+ "95a62a7c.6a59d8"
+ ]
+ ]
+ },
+ {
+ "id": "8fe3f7a2.701c08",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1018.5714416503906,
+ "y": 189.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f07d07dd.0f82f8",
+ "type": "get-resource",
+ "name": "get-resource l3-dci-connects",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-dci-connects\" \n\t\tkey=\"l3-dci-connects.id AND depth = '1'\"\n pfx='tmp.aai.l3-dci-connects' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 905.5714416503906,
+ "y": 291.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "ab4b1556.54b4e8",
+ "5e6324b6.a19cdc",
+ "cfaa7aaf.305588"
+ ]
+ ]
+ },
+ {
+ "id": "ab4b1556.54b4e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1154.5714416503906,
+ "y": 255.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "d103d67c.2efc28"
+ ]
+ ]
+ },
+ {
+ "id": "5e6324b6.a19cdc",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161.5714416503906,
+ "y": 293.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "da6bfe10.2594"
+ ]
+ ]
+ },
+ {
+ "id": "cfaa7aaf.305588",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1153.5714416503906,
+ "y": 335.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "557aad8d.aa8554"
+ ]
+ ]
+ },
+ {
+ "id": "d103d67c.2efc28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1319.5714416503906,
+ "y": 244.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "da6bfe10.2594",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1318.5714416503906,
+ "y": 297.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": []
+ },
+ {
+ "id": "557aad8d.aa8554",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1311.5714416503906,
+ "y": 344.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": []
+ },
+ {
+ "id": "52830e26.ad7cf",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"Time\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"Method\" value=\"network-topology-operation-deactivate\"/>\n<parameter name=\"SubMethod\" value=\"l3-dci-connects\"/>\n<parameter name=\"L3DciConnectsId\" value=\"`$l3-dci-connects.id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 843.5714416503906,
+ "y": 355.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5dce8f7d.a2317",
+ "type": "set",
+ "name": "set controller data",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n\n",
+ "comments": "",
+ "x": 876.5714416503906,
+ "y": 416.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": []
+ },
+ {
+ "id": "b9373240.46c8d",
+ "type": "execute",
+ "name": "execute RestApiCallNode Deactivate Vxlan Tunnel",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url + '/v2.0/l3-dci-connects/' + $prop.l3-dci-connects.id\"/>\n<parameter name=\"restapiUser\" value=\"$prop.sdncRestApi.thirdpartySdnc.user\"/>\n<parameter name=\"restapiPassword\" value=\"$prop.sdncRestApi.thirdpartySdnc.password\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 986.5714416503906,
+ "y": 587.7142944335938,
+ "z": "ff7b9140.00847",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b970ed31.468f1",
+ "type": "switchNode",
+ "name": "switch id is null",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.l3-dci-connects.id`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 866.5714416503906,
+ "y": 473.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "8114f571.7eeb08",
+ "3c8b92a1.c3746e"
+ ]
+ ]
+ },
+ {
+ "id": "8114f571.7eeb08",
+ "type": "outcome",
+ "name": "outcome null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1040.5714416503906,
+ "y": 474.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "219cc125.de633e"
+ ]
+ ]
+ },
+ {
+ "id": "219cc125.de633e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1211.5714416503906,
+ "y": 471.71429443359375,
+ "z": "ff7b9140.00847",
+ "wires": []
+ },
+ {
+ "id": "3c8b92a1.c3746e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1019.5714416503906,
+ "y": 523.7142944335938,
+ "z": "ff7b9140.00847",
+ "wires": [
+ [
+ "ef920fd.f106df"
+ ]
+ ]
+ },
+ {
+ "id": "ef920fd.f106df",
+ "type": "set",
+ "name": "set id",
+ "xml": "<set>\n<parametername='prop.l3-dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.l3-dci-connects.id.value`' />\n",
+ "comments": "",
+ "x": 1196.5714416503906,
+ "y": 518.7142944335938,
+ "z": "ff7b9140.00847",
+ "wires": []
+ },
+ {
+ "id": "95a62a7c.6a59d8",
+ "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": 872.5714416503906,
+ "y": 655.7142944335938,
+ "z": "ff7b9140.00847",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-activate.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-activate.xml
new file mode 100644
index 00000000..5e907e4d
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-activate.xml
@@ -0,0 +1,142 @@
+<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}'>
+ <method rpc='network-topology-operation-activate' mode='sync'>
+ <block atomic='true'>
+ <call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' ></call>
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="l3-dci-connects"
+ key="l3-dci-connects.id = $tmp.id AND depth = '1'"
+ pfx='tmp.aai.l3-dci-connects' local-only='false' >
+ <outcome value='success'>
+ <block></block>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ </get-resource>
+ <set>
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.url' value="`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`" />
+ <parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.user' value="`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`" />
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.password' value="`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`" />
+ </set>
+ <for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
+ <block>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`">
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.l3-dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'description'`">
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.l3-dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'router_id'`">
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.l3-dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'local_networks'`">
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.l3-dci-connects.local_networks' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'evpn_irts'`">
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.l3-dci-connects.evpn_irts' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'evpn_erts'`">
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.l3-dci-connects.evpn_erts' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'l3_vni'`">
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.l3-dci-connects.l3_vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <execute plugin='com.att.sdnctl.sli.SliPluginUtils.SliPluginUtils' method='generateUUID' >
+ <parameter name="ctx-destination" value="prop.l3-dci-connects.id"/>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <block></block>
+ </outcome>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="__TIMESTAMP__"/>
+ <parameter name="field2" value="GENERIC-RESOURCE-API.l3-dci-connects-network-topology-operation-activate"/>
+ <parameter name='field3' value='`$l3-dci-connects.name`' />
+ <parameter name='field3' value='`$l3-dci-connects.id`' />
+ <parameter name='field4' value='`$l3-dci-connects.description`' />
+ <parameter name='field5' value='`$l3-dci-connects.router_id`' />
+ <parameter name='field6' value='`$l3-dci-connects.local_networks`' />
+ <parameter name='field7' value='`$l3-dci-connects.evpn_irts`' />
+ <parameter name='field8' value='`$l3-dci-connects.evpn_erts`' />
+ <parameter name='field9' value='`$l3-dci-connects.l3_vni`' />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="$prop.sdncRestApi.tempDir +'/l3-dci-connects-template.json'"/>
+ <parameter name="restapiUrl" value="$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'"/>
+ <parameter name="restapiUser" value="$prop.sdncRestApi.thirdpartySdnc.user"/>
+ <parameter name="restapiPassword" value="$prop.sdncRestApi.thirdpartySdnc.password"/>
+ <parameter name="format" value="json"/>
+ <parameter name="httpMethod" value="post"/>
+ <parameter name="responsePrefix" value="restapi-result"/>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error updating md-sal for contrail-route-allotted-resource" />
+ </return>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error updating md-sal for contrail-route-allotted-resource" />
+ </return>
+ </outcome>
+ </execute>
+ <return status='success'>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="`$error-message`" />
+ </return>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.xml
new file mode 100644
index 00000000..da74ae8d
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_l3-dci-connects-network-topology-operation-deactivate.xml
@@ -0,0 +1,69 @@
+<service-logic
+ xmlns='http://www.openecomp.org/sdnc/svclogic'
+ xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>
+ <method rpc='network-topology-operation-deactivate' mode='sync'>
+ <block atomic="true">
+ <call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' ></call>
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+ resource="l3-dci-connects"
+ key="l3-dci-connects.id AND depth = '1'"
+ pfx='tmp.aai.l3-dci-connects' local-only='false' >
+ <outcome value='success'>
+ <block atomic="true"></block>
+ </outcome>
+ <outcome value='not-found'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ </get-resource>
+ <record plugin="org.openecomp.sdnc.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/svclogic.log"/>
+ <parameter name="Time" value="__TIMESTAMP__"/>
+ <parameter name="Method" value="network-topology-operation-deactivate"/>
+ <parameter name="SubMethod" value="l3-dci-connects"/>
+ <parameter name="L3DciConnectsId" value="`$l3-dci-connects.id`"/>
+ </record>
+ <set>
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.url' value="`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`" />
+ <parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.user' value="`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`" />
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.password' value="`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`" />
+ </set>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.l3-dci-connects.id`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='error-code' value='' />
+ <parameter name='error-message' value='' />
+ </return>
+ </outcome>
+ <outcome value='true'>
+ <set>
+ <parameter name='prop.l3-dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.l3-dci-connects.id.value`' />
+ </set>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="$prop.sdncRestApi.thirdpartySdnc.url + '/v2.0/l3-dci-connects/' + $prop.l3-dci-connects.id"/>
+ <parameter name="restapiUser" value="$prop.sdncRestApi.thirdpartySdnc.user"/>
+ <parameter name="restapiPassword" value="$prop.sdncRestApi.thirdpartySdnc.password"/>
+ <parameter name="format" value="json"/>
+ <parameter name="httpMethod" value="delete"/>
+ <parameter name="responsePrefix" value="restapi-result"/>
+ </execute>
+ <return status='success'>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="`$error-message`" />
+ </return>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file