/*- * ============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": "45094e01.04b5", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 118, "y": 60, "z": "4469619c.5c5ce", "wires": [ [ "2edc368c.b0f64a" ] ] }, { "id": "2edc368c.b0f64a", "type": "service-logic", "name": "APPC 2.0.0", "module": "APPC", "version": "2.0.0", "comments": "", "xml": "", "outputs": 1, "x": 271.0000762939453, "y": 59.566673278808594, "z": "4469619c.5c5ce", "wires": [ [ "65d6d2.3359293" ] ] }, { "id": "65d6d2.3359293", "type": "method", "name": "StopApplication_VM_VSCP", "xml": "\n", "comments": "", "outputs": 1, "x": 483.5000915527344, "y": 59.56667232513428, "z": "4469619c.5c5ce", "wires": [ [ "a649fe4e.d578c" ] ] }, { "id": "a649fe4e.d578c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 172, "y": 140, "z": "4469619c.5c5ce", "wires": [ [ "3befe32a.cda1ac", "38e0f472.ba404c", "bb87dbed.34a348", "593a11f2.81bf1", "d6d1b7f.22dce48" ] ] }, { "id": "3befe32a.cda1ac", "type": "switchNode", "name": "Connection details already exist ?", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 455, "y": 200, "z": "4469619c.5c5ce", "wires": [ [ "4e1f878a.293dd8" ] ] }, { "id": "4e1f878a.293dd8", "type": "outcomeTrue", "name": "none found", "xml": "\n", "comments": "", "outputs": 1, "x": 704.5, "y": 200, "z": "4469619c.5c5ce", "wires": [ [ "c48be551.f0b508" ] ] }, { "id": "631a6eca.08715", "type": "outcome", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 690, "y": 380, "z": "4469619c.5c5ce", "wires": [ [ "ba6732ad.5b2b7" ] ] }, { "id": "90519af5.3cf8f8", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 699, "y": 320, "z": "4469619c.5c5ce", "wires": [ [ "7bf6eaa2.0c00b4" ] ] }, { "id": "c48be551.f0b508", "type": "execute", "name": "Execute retrieve connection", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 936.5, "y": 200, "z": "4469619c.5c5ce", "wires": [ [ "c24e43e3.47358" ] ] }, { "id": "c24e43e3.47358", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1130, "y": 200, "z": "4469619c.5c5ce", "wires": [ [ "7000ea12.cc2c54" ] ] }, { "id": "cba91b7e.1a9828", "type": "execute", "name": "Execute stop node", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 907.5, "y": 440, "z": "4469619c.5c5ce", "wires": [ [ "3e771072.dff42", "4c818d83.efdfa4" ] ] }, { "id": "7000ea12.cc2c54", "type": "block", "name": "block", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1270, "y": 200, "z": "4469619c.5c5ce", "wires": [ [ "9ed7e5c6.794218", "625a967b.641258" ] ] }, { "id": "9ed7e5c6.794218", "type": "set", "name": "Set event message", "xml": "\n ", "comments": "", "x": 1609.5, "y": 200, "z": "4469619c.5c5ce", "wires": [] }, { "id": "2e18822.6fd057e", "type": "set", "name": "Set event message", "xml": "\n", "comments": "", "x": 1609.5, "y": 440, "z": "4469619c.5c5ce", "wires": [] }, { "id": "3e771072.dff42", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1130, "y": 440, "z": "4469619c.5c5ce", "wires": [ [ "87e9f084.dc614" ] ] }, { "id": "38e0f472.ba404c", "type": "set", "name": "init", "xml": "\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 370, "y": 140, "z": "4469619c.5c5ce", "wires": [ [] ] }, { "id": "bb87dbed.34a348", "type": "execute", "name": "Healthcheck to get Node Name", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 447.5, "y": 320, "z": "4469619c.5c5ce", "wires": [ [ "90519af5.3cf8f8", "631a6eca.08715" ] ] }, { "id": "593a11f2.81bf1", "type": "switchNode", "name": "Healthcheck status ?", "xml": "\n", "comments": "", "outputs": 1, "x": 414.5, "y": 440, "z": "4469619c.5c5ce", "wires": [ [ "4c418f9c.9c0fb", "13d3d83.6ec2928", "1d8db4ea.ee850b" ] ] }, { "id": "4c418f9c.9c0fb", "type": "other", "name": "DOWN", "xml": "\n", "comments": "", "outputs": 1, "x": 690.5, "y": 560, "z": "4469619c.5c5ce", "wires": [ [ "a188ecb2.2c019" ] ] }, { "id": "87e9f084.dc614", "type": "block", "name": "block", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1272, "y": 440, "z": "4469619c.5c5ce", "wires": [ [ "2e18822.6fd057e", "625a967b.641258" ] ] }, { "id": "2572bd6f.e17262", "type": "returnSuccess", "name": "return success", "xml": "\n", "comments": "", "x": 1295, "y": 500, "z": "4469619c.5c5ce", "wires": [] }, { "id": "13d3d83.6ec2928", "type": "other", "name": "UP", "xml": "\n", "comments": "", "outputs": 1, "x": 690, "y": 440, "z": "4469619c.5c5ce", "wires": [ [ "cba91b7e.1a9828" ] ] }, { "id": "4c818d83.efdfa4", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1134, "y": 500, "z": "4469619c.5c5ce", "wires": [ [ "2572bd6f.e17262" ] ] }, { "id": "d6d1b7f.22dce48", "type": "execute", "name": "Select vnf-host-ip via connection test", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 464.5, "y": 260, "z": "4469619c.5c5ce", "wires": [ [ "d9e8802e.e0979" ] ] }, { "id": "d9e8802e.e0979", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 690, "y": 260, "z": "4469619c.5c5ce", "wires": [ [ "960cbdd2.f45fa" ] ] }, { "id": "960cbdd2.f45fa", "type": "block", "name": "block", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1270, "y": 260, "z": "4469619c.5c5ce", "wires": [ [ "93f6e97f.86f498", "625a967b.641258" ] ] }, { "id": "93f6e97f.86f498", "type": "set", "name": "Set event message", "xml": "\n ", "comments": "", "x": 1609.5, "y": 260, "z": "4469619c.5c5ce", "wires": [] }, { "id": "7bf6eaa2.0c00b4", "type": "block", "name": "block", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1270, "y": 320, "z": "4469619c.5c5ce", "wires": [ [ "fbbe6078.75537", "625a967b.641258" ] ] }, { "id": "fbbe6078.75537", "type": "set", "name": "Set event message", "xml": "\n ", "comments": "", "x": 1609.5, "y": 320, "z": "4469619c.5c5ce", "wires": [] }, { "id": "ba6732ad.5b2b7", "type": "block", "name": "block", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1270, "y": 380, "z": "4469619c.5c5ce", "wires": [ [ "5d6a8bd9.c4f1a4", "625a967b.641258" ] ] }, { "id": "5d6a8bd9.c4f1a4", "type": "set", "name": "Set event message", "xml": "\n ", "comments": "", "x": 1609.5, "y": 380, "z": "4469619c.5c5ce", "wires": [] }, { "id": "625a967b.641258", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n\n", "comments": "", "x": 1589, "y": 500, "z": "4469619c.5c5ce", "wires": [] }, { "id": "a188ecb2.2c019", "type": "block", "name": "block", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 870, "y": 560, "z": "4469619c.5c5ce", "wires": [ [ "623a9eea.473fc", "6b885833.1ca728" ] ] }, { "id": "623a9eea.473fc", "type": "set", "name": "Set success message", "xml": "\n", "comments": "", "x": 1177.5, "y": 560, "z": "4469619c.5c5ce", "wires": [] }, { "id": "1d8db4ea.ee850b", "type": "other", "name": "UNKNOWN", "xml": "\n", "comments": "", "outputs": 1, "x": 705, "y": 620, "z": "4469619c.5c5ce", "wires": [ [ "5945a3dd.87e51c" ] ] }, { "id": "5945a3dd.87e51c", "type": "block", "name": "block", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 870, "y": 620, "z": "4469619c.5c5ce", "wires": [ [ "4a02e5a3.cf7dcc", "6b885833.1ca728" ] ] }, { "id": "4a02e5a3.cf7dcc", "type": "set", "name": "Set success message", "xml": "\n", "comments": "", "x": 1177.5, "y": 620, "z": "4469619c.5c5ce", "wires": [] }, { "id": "6b885833.1ca728", "type": "returnSuccess", "name": "return success", "xml": "\n", "comments": "", "x": 1157, "y": 680, "z": "4469619c.5c5ce", "wires": [] } ]