X-Git-Url: https://gerrit.onap.org/r/gitweb?p=demo.git;a=blobdiff_plain;f=tutorials%2FCreateAppcNetconfMount%2FVNF-API_vnf-topology-activate.json;h=45dbb23d06ec8d7afcf361b197a954f452bd53b9;hp=7b5ed1cd0b5362cdb1dd56ccfcf098b3170e4966;hb=ebe2b4d5e616a69b374fa9214255c971e014d144;hpb=ac4ab50bdf312a1824388acbb9908c31f2b39c1a diff --git a/tutorials/CreateAppcNetconfMount/VNF-API_vnf-topology-activate.json b/tutorials/CreateAppcNetconfMount/VNF-API_vnf-topology-activate.json index 7b5ed1cd..45dbb23d 100644 --- a/tutorials/CreateAppcNetconfMount/VNF-API_vnf-topology-activate.json +++ b/tutorials/CreateAppcNetconfMount/VNF-API_vnf-topology-activate.json @@ -1 +1,578 @@ -[{"id":"9b515625.d22748","type":"dgstart","name":"DGSTART","outputs":1,"x":93.33332824707031,"y":36.33332824707031,"z":"669f9d98.2ac9f4","wires":[["80315e6e.63505"]]},{"id":"80315e6e.63505","type":"service-logic","name":"VNF-API 1.0.0-DEMO","module":"VNF-API","version":"1.0.0-DEMO","comments":"","xml":"","outputs":1,"x":258.49998474121094,"y":36.5,"z":"669f9d98.2ac9f4","wires":[["3c8cef4d.49542"]]},{"id":"3c8cef4d.49542","type":"method","name":"method vnf-topology-activate","xml":"\n","comments":"","outputs":1,"x":166.50001525878906,"y":83.49999237060547,"z":"669f9d98.2ac9f4","wires":[["6cd2edde.1d6bd4"]]},{"id":"6cd2edde.1d6bd4","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":123.83332824707031,"y":139.3333282470703,"z":"669f9d98.2ac9f4","wires":[["ab8c4330.26d2b","df0bd34b.bf0cf","d8650a48.f0bcd8","6e2d653a.a05bec","9bb6aa32.18f568","d92f94a6.8f1a28","b846b4fc.934e88","c3be1550.0013d8","40746641.fe81b8"]]},{"id":"ab8c4330.26d2b","type":"set","name":"set: order-status = Active","xml":"\n\t","comments":"","x":376.83333587646484,"y":371.83331298828125,"z":"669f9d98.2ac9f4","wires":[]},{"id":"df0bd34b.bf0cf","type":"switchNode","name":"switch: order-status = PendingCreate","xml":"\n\n","comments":"","outputs":1,"x":416.16670989990234,"y":268.1665344238281,"z":"669f9d98.2ac9f4","wires":[["22236f98.35747"]]},{"id":"d8650a48.f0bcd8","type":"returnSuccess","name":"return success","xml":"\n\t","comments":"","x":333.9444580078125,"y":1233.5,"z":"669f9d98.2ac9f4","wires":[]},{"id":"6e2d653a.a05bec","type":"set","name":"set: last-order-status = order-status","xml":"\n\t","comments":"","x":409.94701385498047,"y":320.447021484375,"z":"669f9d98.2ac9f4","wires":[]},{"id":"9bb6aa32.18f568","type":"switchNode","name":"switch:vnf-id config == input","xml":"","comments":"","outputs":1,"x":388.60607147216797,"y":216.37876892089844,"z":"669f9d98.2ac9f4","wires":[["4c7aba25.1c7f44"]]},{"id":"d92f94a6.8f1a28","type":"set","name":"set: service-data = input","xml":"\n\t","comments":"","x":361.8333435058594,"y":1147.888916015625,"z":"669f9d98.2ac9f4","wires":[]},{"id":"b846b4fc.934e88","type":"set","name":"set: last-action ","xml":"\n\t","comments":"","x":343.83333587646484,"y":418.8888854980469,"z":"669f9d98.2ac9f4","wires":[]},{"id":"40746641.fe81b8","type":"save","name":"update AnAI - vf-module.orchestration-status","xml":"\n\t","comments":"","outputs":1,"x":437.7221984863281,"y":461.8888816833496,"z":"669f9d98.2ac9f4","wires":[["738bd5ac.1e39cc"]]},{"id":"5a15cf5c.1fe94","type":"record","name":"record","xml":"\n\n\n\n\n\n\n\n\n\n\n\n","comments":"","outputs":1,"x":938.72216796875,"y":776.3888549804688,"z":"669f9d98.2ac9f4","wires":[[]]},{"id":"c3be1550.0013d8","type":"switchNode","name":"switch vnf type ","xml":"\n","comments":"","outputs":1,"x":338.522216796875,"y":667.9055213928223,"z":"669f9d98.2ac9f4","wires":[["798dbf61.8ef5c"]]},{"id":"22236f98.35747","type":"other","name":"false","xml":"","comments":"","outputs":1,"x":665.5000610351562,"y":268.4998435974121,"z":"669f9d98.2ac9f4","wires":[["b819ee7c.13f39"]]},{"id":"4c7aba25.1c7f44","type":"outcomeFalse","name":"false","xml":"\n","comments":"","outputs":1,"x":608.060546875,"y":216.56058883666992,"z":"669f9d98.2ac9f4","wires":[["6309638d.9a29fc"]]},{"id":"738bd5ac.1e39cc","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":702.2460556030273,"y":461.877384185791,"z":"669f9d98.2ac9f4","wires":[["91b545b4.961ef8"]]},{"id":"798dbf61.8ef5c","type":"outcome","name":"outcome base_vfw","xml":"\n","comments":"","outputs":1,"x":564.5221862792969,"y":697.9055213928223,"z":"669f9d98.2ac9f4","wires":[["9aacbf5a.ed983"]]},{"id":"b819ee7c.13f39","type":"switchNode","name":"switch: order-status = PendingUpdate","xml":"\n\n","comments":"","outputs":1,"x":916.4242553710938,"y":267.9242515563965,"z":"669f9d98.2ac9f4","wires":[["de1e0e32.44154"]]},{"id":"6309638d.9a29fc","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":786.1514892578125,"y":216.4696922302246,"z":"669f9d98.2ac9f4","wires":[]},{"id":"91b545b4.961ef8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","outputs":1,"x":1158.878662109375,"y":267.92422103881836,"z":"669f9d98.2ac9f4","wires":[["5f574a63.b3a724"]]},{"id":"f6b5a926.ce9888","type":"execute","name":"excute REST NETCONF MOUNT ","xml":"\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t","comments":"","outputs":1,"x":1026.5221099853516,"y":1073.9054565429688,"z":"669f9d98.2ac9f4","wires":[[]]},{"id":"2dff6fee.5d34e","type":"set","name":"set localhost data","xml":"\n\n\n\n\n\n","comments":"","x":1331.5221557617188,"y":746.905517578125,"z":"669f9d98.2ac9f4","wires":[]},{"id":"5f574a63.b3a724","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":1323.8331832885742,"y":267.4998950958252,"z":"669f9d98.2ac9f4","wires":[]},{"id":"e27e181e.227c48","type":"comment","name":"VNF-TOPOLOGY-ACTIVATE","info":"","comments":"","x":665.7221984863281,"y":35.88888168334961,"z":"669f9d98.2ac9f4","wires":[]},{"id":"2aacf238.e9652e","type":"comment","name":"once success is returned, operational-data gets saved","info":"","comments":"","x":669.3510437011719,"y":1228.434326171875,"z":"669f9d98.2ac9f4","wires":[]},{"id":"75691490.243aac","type":"comment","name":"request-action = VNFActivateRequest, svc-action = activate","info":"","comments":"","x":672.4444122314453,"y":75.66666221618652,"z":"669f9d98.2ac9f4","wires":[]},{"id":"bcfdeb55.ac2538","type":"set","name":"Set final indicator to Y","xml":"\n","comments":"","x":356.15079498291016,"y":1191.6031608581543,"z":"669f9d98.2ac9f4","wires":[]},{"id":"2c6e5e35.0760b2","type":"set","name":"set appc data","xml":"\n\n\n\n\n\n","comments":"","x":967.5221862792969,"y":1019.9054832458496,"z":"669f9d98.2ac9f4","wires":[]},{"id":"873d2429.978de8","type":"comment","name":"Get Hostname and IP address","info":"","comments":"","x":1005.2166748046875,"y":821.9387817382812,"z":"669f9d98.2ac9f4","wires":[]},{"id":"c3f63154.8e521","type":"for","name":"for vnf-parameters","xml":"\n","comments":"","outputs":1,"x":975.2166442871094,"y":866.9388999938965,"z":"669f9d98.2ac9f4","wires":[["7112332f.7cf7ac"]]},{"id":"1c75c042.26d5d","type":"switchNode","name":"switch vpg_name_0","xml":"\n","comments":"","outputs":1,"x":1338.2167663574219,"y":972.9389305114746,"z":"669f9d98.2ac9f4","wires":[["f162e338.32bba"]]},{"id":"f162e338.32bba","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":1525.2167663574219,"y":972.9389305114746,"z":"669f9d98.2ac9f4","wires":[["fb2d23d2.1064d"]]},{"id":"fb2d23d2.1064d","type":"set","name":"set vpg_ hostname ","xml":"\n\n","comments":"","x":1693.2167663574219,"y":973.5389366149902,"z":"669f9d98.2ac9f4","wires":[]},{"id":"7112332f.7cf7ac","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1148.2167663574219,"y":910.9388999938965,"z":"669f9d98.2ac9f4","wires":[["1c75c042.26d5d","9dc9c622.a5ca58"]]},{"id":"9dc9c622.a5ca58","type":"switchNode","name":"switch vpg_private_ip_1","xml":"\n","comments":"","outputs":1,"x":1342.2167053222656,"y":1034.538906097412,"z":"669f9d98.2ac9f4","wires":[["43a36baf.403124"]]},{"id":"43a36baf.403124","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":1527.2167053222656,"y":1032.538906097412,"z":"669f9d98.2ac9f4","wires":[["b4b98be7.2c0088"]]},{"id":"b4b98be7.2c0088","type":"set","name":"set vpg_ipaddress","xml":"\n\n","comments":"","x":1696.2167053222656,"y":1030.538906097412,"z":"669f9d98.2ac9f4","wires":[]},{"id":"54b07b39.58cfd4","type":"comment","name":"unlinked AnAI update for slitesting","info":"","comments":"","x":399.1666564941406,"y":509.8888816833496,"z":"669f9d98.2ac9f4","wires":[]}] \ No newline at end of file +[ + { + "id": "9b515625.d22748", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 93.33332824707031, + "y": 36.33332824707031, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "80315e6e.63505" + ] + ] + }, + { + "id": "80315e6e.63505", + "type": "service-logic", + "name": "VNF-API 1.0.0-DEMO", + "module": "VNF-API", + "version": "1.0.0-DEMO", + "comments": "", + "xml": "", + "outputs": 1, + "x": 258.49998474121094, + "y": 36.5, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "3c8cef4d.49542" + ] + ] + }, + { + "id": "3c8cef4d.49542", + "type": "method", + "name": "method vnf-topology-activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 166.50001525878906, + "y": 83.49999237060547, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "6cd2edde.1d6bd4" + ] + ] + }, + { + "id": "6cd2edde.1d6bd4", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 123.83332824707031, + "y": 139.3333282470703, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "ab8c4330.26d2b", + "df0bd34b.bf0cf", + "d8650a48.f0bcd8", + "6e2d653a.a05bec", + "9bb6aa32.18f568", + "d92f94a6.8f1a28", + "b846b4fc.934e88", + "c3be1550.0013d8", + "40746641.fe81b8" + ] + ] + }, + { + "id": "ab8c4330.26d2b", + "type": "set", + "name": "set: order-status = Active", + "xml": "\n\t", + "comments": "", + "x": 376.83333587646484, + "y": 371.83331298828125, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "df0bd34b.bf0cf", + "type": "switchNode", + "name": "switch: order-status = PendingCreate", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 416.16670989990234, + "y": 268.1665344238281, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "22236f98.35747" + ] + ] + }, + { + "id": "d8650a48.f0bcd8", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\t", + "comments": "", + "x": 333.9444580078125, + "y": 1233.5, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "6e2d653a.a05bec", + "type": "set", + "name": "set: last-order-status = order-status", + "xml": "\n\t", + "comments": "", + "x": 409.94701385498047, + "y": 320.447021484375, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "9bb6aa32.18f568", + "type": "switchNode", + "name": "switch:vnf-id config == input", + "xml": "", + "comments": "", + "outputs": 1, + "x": 388.60607147216797, + "y": 216.37876892089844, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "4c7aba25.1c7f44" + ] + ] + }, + { + "id": "d92f94a6.8f1a28", + "type": "set", + "name": "set: service-data = input", + "xml": "\n\t", + "comments": "", + "x": 361.8333435058594, + "y": 1147.888916015625, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "b846b4fc.934e88", + "type": "set", + "name": "set: last-action ", + "xml": "\n\t", + "comments": "", + "x": 343.83333587646484, + "y": 418.8888854980469, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "40746641.fe81b8", + "type": "save", + "name": "update AnAI - vf-module.orchestration-status", + "xml": "\n\t", + "comments": "", + "outputs": 1, + "x": 437.7221984863281, + "y": 461.8888816833496, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "738bd5ac.1e39cc" + ] + ] + }, + { + "id": "5a15cf5c.1fe94", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 938.72216796875, + "y": 776.3888549804688, + "z": "669f9d98.2ac9f4", + "wires": [ + [] + ] + }, + { + "id": "c3be1550.0013d8", + "type": "switchNode", + "name": "switch vnf type ", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 338.522216796875, + "y": 667.9055213928223, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "798dbf61.8ef5c" + ] + ] + }, + { + "id": "22236f98.35747", + "type": "other", + "name": "false", + "xml": "", + "comments": "", + "outputs": 1, + "x": 665.5000610351562, + "y": 268.4998435974121, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "b819ee7c.13f39" + ] + ] + }, + { + "id": "4c7aba25.1c7f44", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 608.060546875, + "y": 216.56058883666992, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "6309638d.9a29fc" + ] + ] + }, + { + "id": "738bd5ac.1e39cc", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 702.2460556030273, + "y": 461.877384185791, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "91b545b4.961ef8" + ] + ] + }, + { + "id": "798dbf61.8ef5c", + "type": "outcome", + "name": "outcome base_vfw", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 564.5221862792969, + "y": 697.9055213928223, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "9aacbf5a.ed983" + ] + ] + }, + { + "id": "b819ee7c.13f39", + "type": "switchNode", + "name": "switch: order-status = PendingUpdate", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 916.4242553710938, + "y": 267.9242515563965, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "de1e0e32.44154" + ] + ] + }, + { + "id": "6309638d.9a29fc", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 786.1514892578125, + "y": 216.4696922302246, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "91b545b4.961ef8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "outputs": 1, + "x": 1158.878662109375, + "y": 267.92422103881836, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "5f574a63.b3a724" + ] + ] + }, + { + "id": "f6b5a926.ce9888", + "type": "execute", + "name": "excute REST NETCONF MOUNT ", + "xml": "\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t", + "comments": "", + "outputs": 1, + "x": 1026.5221099853516, + "y": 1073.9054565429688, + "z": "669f9d98.2ac9f4", + "wires": [ + [] + ] + }, + { + "id": "2dff6fee.5d34e", + "type": "set", + "name": "set localhost data", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 1331.5221557617188, + "y": 746.905517578125, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "5f574a63.b3a724", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 1323.8331832885742, + "y": 267.4998950958252, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "e27e181e.227c48", + "type": "comment", + "name": "VNF-TOPOLOGY-ACTIVATE", + "info": "", + "comments": "", + "x": 665.7221984863281, + "y": 35.88888168334961, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "2aacf238.e9652e", + "type": "comment", + "name": "once success is returned, operational-data gets saved", + "info": "", + "comments": "", + "x": 669.3510437011719, + "y": 1228.434326171875, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "75691490.243aac", + "type": "comment", + "name": "request-action = VNFActivateRequest, svc-action = activate", + "info": "", + "comments": "", + "x": 672.4444122314453, + "y": 75.66666221618652, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "bcfdeb55.ac2538", + "type": "set", + "name": "Set final indicator to Y", + "xml": "\n", + "comments": "", + "x": 356.15079498291016, + "y": 1191.6031608581543, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "2c6e5e35.0760b2", + "type": "set", + "name": "set appc data", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 967.5221862792969, + "y": 1019.9054832458496, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "873d2429.978de8", + "type": "comment", + "name": "Get Hostname and IP address", + "info": "", + "comments": "", + "x": 1005.2166748046875, + "y": 821.9387817382812, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "c3f63154.8e521", + "type": "for", + "name": "for vnf-parameters", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 975.2166442871094, + "y": 866.9388999938965, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "7112332f.7cf7ac" + ] + ] + }, + { + "id": "1c75c042.26d5d", + "type": "switchNode", + "name": "switch vpg_name_0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1338.2167663574219, + "y": 972.9389305114746, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "f162e338.32bba" + ] + ] + }, + { + "id": "f162e338.32bba", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1525.2167663574219, + "y": 972.9389305114746, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "fb2d23d2.1064d" + ] + ] + }, + { + "id": "fb2d23d2.1064d", + "type": "set", + "name": "set vpg_ hostname ", + "xml": "\n\n", + "comments": "", + "x": 1693.2167663574219, + "y": 973.5389366149902, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "7112332f.7cf7ac", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1148.2167663574219, + "y": 910.9388999938965, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "1c75c042.26d5d", + "9dc9c622.a5ca58" + ] + ] + }, + { + "id": "9dc9c622.a5ca58", + "type": "switchNode", + "name": "switch vpg_private_ip_1", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1342.2167053222656, + "y": 1034.538906097412, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "43a36baf.403124" + ] + ] + }, + { + "id": "43a36baf.403124", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1527.2167053222656, + "y": 1032.538906097412, + "z": "669f9d98.2ac9f4", + "wires": [ + [ + "b4b98be7.2c0088" + ] + ] + }, + { + "id": "b4b98be7.2c0088", + "type": "set", + "name": "set vpg_ipaddress", + "xml": "\n\n", + "comments": "", + "x": 1696.2167053222656, + "y": 1030.538906097412, + "z": "669f9d98.2ac9f4", + "wires": [] + }, + { + "id": "54b07b39.58cfd4", + "type": "comment", + "name": "unlinked AnAI update for slitesting", + "info": "", + "comments": "", + "x": 399.1666564941406, + "y": 509.8888816833496, + "z": "669f9d98.2ac9f4", + "wires": [] + } +]