summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0.0_NETCONF_CONFIGURE.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0.0_NETCONF_CONFIGURE.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0.0_NETCONF_CONFIGURE.json141
1 files changed, 141 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0.0_NETCONF_CONFIGURE.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0.0_NETCONF_CONFIGURE.json
new file mode 100644
index 000000000..6a0c1808f
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0.0_NETCONF_CONFIGURE.json
@@ -0,0 +1,141 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APP-C
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+[
+ {
+ "id": "1c2d2c19.e3d2d4",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 193,
+ "y": 200,
+ "z": "73df06d5.b89fa8",
+ "wires": [
+ [
+ "a3835946.5c7ca8"
+ ]
+ ]
+ },
+ {
+ "id": "a3835946.5c7ca8",
+ "type": "service-logic",
+ "name": "Appc-API 2.0.0.0",
+ "module": "Appc-API",
+ "version": "2.0.0.0",
+ "comments": "test service logic",
+ "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='Appc-API' version='2.0.0.0'>",
+ "outputs": 1,
+ "x": 259,
+ "y": 283,
+ "z": "73df06d5.b89fa8",
+ "wires": [
+ [
+ "faa0f08b.055f1"
+ ]
+ ]
+ },
+ {
+ "id": "1c0a1696.e3f5e9",
+ "type": "execute",
+ "name": "execute-netconf-config",
+ "xml": "<execute plugin='org.openecomp.appc.dg.netconf.NetconfClientPlugin' method='configure' >\n\t<parameter name=\"org.openecomp.appc.payload\" value=\"`$org.openecomp.appc.payload`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 511,
+ "y": 363,
+ "z": "73df06d5.b89fa8",
+ "wires": [
+ [
+ "9f0c88c7.60f378",
+ "ab656d56.549a9"
+ ]
+ ]
+ },
+ {
+ "id": "9f0c88c7.60f378",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 730,
+ "y": 293,
+ "z": "73df06d5.b89fa8",
+ "wires": [
+ [
+ "9be9d7cb.641628"
+ ]
+ ]
+ },
+ {
+ "id": "ab656d56.549a9",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 726,
+ "y": 432,
+ "z": "73df06d5.b89fa8",
+ "wires": [
+ [
+ "6f27856e.90d87c"
+ ]
+ ]
+ },
+ {
+ "id": "6f27856e.90d87c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='failure' />\n<parameter name='error-message' value='netconf configuration failed' />\n",
+ "comments": "",
+ "x": 912,
+ "y": 432,
+ "z": "73df06d5.b89fa8",
+ "wires": []
+ },
+ {
+ "id": "9be9d7cb.641628",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 918,
+ "y": 293,
+ "z": "73df06d5.b89fa8",
+ "wires": []
+ },
+ {
+ "id": "faa0f08b.055f1",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='NETCONF_Configure' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 292,
+ "y": 358,
+ "z": "73df06d5.b89fa8",
+ "wires": [
+ [
+ "1c0a1696.e3f5e9"
+ ]
+ ]
+ }
+]