)]}'
{"doc/source/devref/mistral_workflows_usage_guide.rst":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"3832bb05247f04d65f6776863c5968d9b11477be","unresolved":false,"context_lines":[{"line_number":12,"context_line":"  under the License."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"Mistral workflows Usage for Tacker"},{"line_number":16,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"OpenStack Mistral already integrated with Tacker. The Tenant User or Operator"}],"source_content_type":"text/x-rst","patch_set":20,"id":"7ac969e8_5c959a3e","line":15,"range":{"start_line":15,"start_character":18,"end_line":15,"end_character":23},"updated":"2016-08-13 06:24:51.000000000","message":"Unwanted word in a title. Please remove it.","commit_id":"6257c50fcdd4db58374944d384862a78cafe41e8"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"3832bb05247f04d65f6776863c5968d9b11477be","unresolved":false,"context_lines":[{"line_number":57,"context_line":"Registering Tacker Workflows with Mistral"},{"line_number":58,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"To Create std.create_vnf and std.create_vnfd Workflows in Mistral."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"::"},{"line_number":63,"context_line":""}],"source_content_type":"text/x-rst","patch_set":20,"id":"7ac969e8_dc87ca10","line":60,"range":{"start_line":60,"start_character":3,"end_line":60,"end_character":9},"updated":"2016-08-13 06:24:51.000000000","message":"create (lowercase \u0027c\u0027)","commit_id":"6257c50fcdd4db58374944d384862a78cafe41e8"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"3832bb05247f04d65f6776863c5968d9b11477be","unresolved":false,"context_lines":[{"line_number":57,"context_line":"Registering Tacker Workflows with Mistral"},{"line_number":58,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"To Create std.create_vnf and std.create_vnfd Workflows in Mistral."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"::"},{"line_number":63,"context_line":""}],"source_content_type":"text/x-rst","patch_set":20,"id":"7ac969e8_fc860612","line":60,"range":{"start_line":60,"start_character":45,"end_line":60,"end_character":54},"updated":"2016-08-13 06:24:51.000000000","message":"workflows (lowercase \u0027w\u0027)\n\nPlease fix similar issues in the rest of the doc.","commit_id":"6257c50fcdd4db58374944d384862a78cafe41e8"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"3832bb05247f04d65f6776863c5968d9b11477be","unresolved":false,"context_lines":[{"line_number":80,"context_line":""},{"line_number":81,"context_line":"VNFD resource creation with std.create_vnfd workflow"},{"line_number":82,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":83,"context_line":"To create VNFD tacker resource based on the VNFD Workflow input file."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Create new execution for VNFD creation."},{"line_number":86,"context_line":""}],"source_content_type":"text/x-rst","patch_set":20,"id":"7ac969e8_7c73364e","line":83,"range":{"start_line":83,"start_character":49,"end_line":83,"end_character":57},"updated":"2016-08-13 06:24:51.000000000","message":"workflow","commit_id":"6257c50fcdd4db58374944d384862a78cafe41e8"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"3832bb05247f04d65f6776863c5968d9b11477be","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"::"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"  $ tacker vnfd-show \"fb164b77-5e24-402d-b5f4-c6596352cabe\""},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"  +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+"},{"line_number":147,"context_line":"  | Field         | Value                                                                                                                                                                     |"}],"source_content_type":"text/x-rst","patch_set":20,"id":"7ac969e8_bcbacebe","line":144,"range":{"start_line":144,"start_character":4,"end_line":144,"end_character":59},"updated":"2016-08-13 06:24:51.000000000","message":"Is the output of this command really required to proceed to step described in L170 ? It seems the Response value in L136 is sufficient.","commit_id":"6257c50fcdd4db58374944d384862a78cafe41e8"},{"author":{"_account_id":18225,"name":"Shaik Apsar","email":"sa709c@intl.att.com","username":"sa709c"},"change_message_id":"5ead9cfaddc13018971015d90249fc1c7091c812","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"::"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"  $ tacker vnfd-show \"fb164b77-5e24-402d-b5f4-c6596352cabe\""},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"  +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+"},{"line_number":147,"context_line":"  | Field         | Value                                                                                                                                                                     |"}],"source_content_type":"text/x-rst","patch_set":20,"id":"7ac969e8_323725e5","line":144,"range":{"start_line":144,"start_character":4,"end_line":144,"end_character":59},"in_reply_to":"7ac969e8_bcbacebe","updated":"2016-08-13 09:25:34.000000000","message":"Yes, L136 is sufficient. I Just want to provide the VNFD details using Tacker CLI. Please let me know if I need to remove lines from L144 to L167.","commit_id":"6257c50fcdd4db58374944d384862a78cafe41e8"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"3832bb05247f04d65f6776863c5968d9b11477be","unresolved":false,"context_lines":[{"line_number":224,"context_line":"    \"vnf_id\": \"1c349534-a539-4d5a-b854-033f98036cd5\""},{"line_number":225,"context_line":"  }"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"Gather VNF details using tacker client"},{"line_number":228,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":229,"context_line":"::"},{"line_number":230,"context_line":""}],"source_content_type":"text/x-rst","patch_set":20,"id":"7ac969e8_fcb446d2","line":227,"range":{"start_line":227,"start_character":0,"end_line":227,"end_character":6},"updated":"2016-08-13 06:24:51.000000000","message":"Seems \"Verify\" would be more appropriate ?","commit_id":"6257c50fcdd4db58374944d384862a78cafe41e8"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"23b39ea720346dcf1ed4c39005a751947bf31132","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"::"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"  $ mistral execution-create std.create_vnfd create_vnfd.json"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"  +-------------------+--------------------------------------+"},{"line_number":91,"context_line":"  | Field             | Value                                |"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3ac371cc_6d49cdd0","line":88,"range":{"start_line":88,"start_character":4,"end_line":88,"end_character":61},"updated":"2016-08-14 02:21:41.000000000","message":"For clear understanding purpose and also since yaml files and json files are not at the same dir location, here can we mention it something like mentioned below?\n\nmistral execution-create std.create_vnfd \u003cinput json file\u003e\n\n$ mistral execution-create std.create_vnfd create_vnfd.json\n\nSame for line #63 #71","commit_id":"1420c2edeaace28c928f4037db020b00c9120455"},{"author":{"_account_id":18225,"name":"Shaik Apsar","email":"sa709c@intl.att.com","username":"sa709c"},"change_message_id":"e8fa8d29d3bbdf72f225e7d511080ac896097f8b","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"::"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"  $ mistral execution-create std.create_vnfd create_vnfd.json"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"  +-------------------+--------------------------------------+"},{"line_number":91,"context_line":"  | Field             | Value                                |"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3ac371cc_9fc8a476","line":88,"range":{"start_line":88,"start_character":4,"end_line":88,"end_character":61},"in_reply_to":"3ac371cc_6d49cdd0","updated":"2016-08-14 21:09:51.000000000","message":"Done","commit_id":"1420c2edeaace28c928f4037db020b00c9120455"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"23b39ea720346dcf1ed4c39005a751947bf31132","unresolved":false,"context_lines":[{"line_number":168,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":169,"context_line":"Update the vnfd_id from the output of above exection in create_vnf.json"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"Create new execution for VNFD creation."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"::"},{"line_number":174,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"3ac371cc_6dc8ad75","line":171,"range":{"start_line":171,"start_character":25,"end_line":171,"end_character":29},"updated":"2016-08-14 02:21:41.000000000","message":"VNFD --\u003e VNF","commit_id":"1420c2edeaace28c928f4037db020b00c9120455"},{"author":{"_account_id":18225,"name":"Shaik Apsar","email":"sa709c@intl.att.com","username":"sa709c"},"change_message_id":"e8fa8d29d3bbdf72f225e7d511080ac896097f8b","unresolved":false,"context_lines":[{"line_number":168,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":169,"context_line":"Update the vnfd_id from the output of above exection in create_vnf.json"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"Create new execution for VNFD creation."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"::"},{"line_number":174,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"3ac371cc_bfbe40d2","line":171,"range":{"start_line":171,"start_character":25,"end_line":171,"end_character":29},"in_reply_to":"3ac371cc_6dc8ad75","updated":"2016-08-14 21:09:51.000000000","message":"Done","commit_id":"1420c2edeaace28c928f4037db020b00c9120455"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"23b39ea720346dcf1ed4c39005a751947bf31132","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":26,"id":"3ac371cc_ad78e5f9","line":252,"updated":"2016-08-14 02:21:41.000000000","message":"We can also mention workflows for delete operation, or atleast some reference point for the same.","commit_id":"1420c2edeaace28c928f4037db020b00c9120455"},{"author":{"_account_id":18225,"name":"Shaik Apsar","email":"sa709c@intl.att.com","username":"sa709c"},"change_message_id":"e8fa8d29d3bbdf72f225e7d511080ac896097f8b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":26,"id":"3ac371cc_ffb8b8e7","line":252,"in_reply_to":"3ac371cc_ad78e5f9","updated":"2016-08-14 21:09:51.000000000","message":"Done","commit_id":"1420c2edeaace28c928f4037db020b00c9120455"}],"samples/mistral/workflows/create_vnf.yaml":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"a4cec9518cd21053b3370c8989ea018b36fdfdcf","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    create_vnf:"},{"line_number":24,"context_line":"      description: Request to create a VNF."},{"line_number":25,"context_line":"      action: tacker.create_vnf body\u003d\u003c% $.body %\u003e"},{"line_number":26,"context_line":"      wait-after: 10"},{"line_number":27,"context_line":"      input:"},{"line_number":28,"context_line":"        body: \u003c% $.body %\u003e"},{"line_number":29,"context_line":"      publish:"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"bacf61ea_04dbb21c","line":26,"range":{"start_line":26,"start_character":6,"end_line":26,"end_character":20},"updated":"2016-08-02 21:41:04.000000000","message":"Just for my understanding, is this wait-after [1] really needed ? Why can\u0027t we directly go to wait_vnf_active task immediately on success ?\n\n[1] http://docs.openstack.org/developer/mistral/dsl/dsl_v2.html","commit_id":"c19b9a37428c706918e0ed6b8647c91d0d0225c3"},{"author":{"_account_id":18225,"name":"Shaik Apsar","email":"sa709c@intl.att.com","username":"sa709c"},"change_message_id":"0c912d4bd5601bb3816cc4105a0183ca2ad757f9","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    create_vnf:"},{"line_number":24,"context_line":"      description: Request to create a VNF."},{"line_number":25,"context_line":"      action: tacker.create_vnf body\u003d\u003c% $.body %\u003e"},{"line_number":26,"context_line":"      wait-after: 10"},{"line_number":27,"context_line":"      input:"},{"line_number":28,"context_line":"        body: \u003c% $.body %\u003e"},{"line_number":29,"context_line":"      publish:"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"bacf61ea_35037378","line":26,"range":{"start_line":26,"start_character":6,"end_line":26,"end_character":20},"in_reply_to":"bacf61ea_04dbb21c","updated":"2016-08-03 07:46:38.000000000","message":"We can remove the wait-after attribute.","commit_id":"c19b9a37428c706918e0ed6b8647c91d0d0225c3"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"fa17c8057eaa81cd286ef91e252bd90b442e0d81","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    create_vnf:"},{"line_number":24,"context_line":"      description: Request to create a VNF."},{"line_number":25,"context_line":"      action: tacker.create_vnf body\u003d\u003c% $.body %\u003e"},{"line_number":26,"context_line":"      wait-after: 10"},{"line_number":27,"context_line":"      input:"},{"line_number":28,"context_line":"        body: \u003c% $.body %\u003e"},{"line_number":29,"context_line":"      publish:"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"bacf61ea_3abb6277","line":26,"range":{"start_line":26,"start_character":6,"end_line":26,"end_character":20},"in_reply_to":"bacf61ea_04dbb21c","updated":"2016-08-03 07:08:15.000000000","message":"wait-after is not required here. We can directly jump to wait_vnf_active task without wait-after.","commit_id":"c19b9a37428c706918e0ed6b8647c91d0d0225c3"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"fa17c8057eaa81cd286ef91e252bd90b442e0d81","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    wait_vnf_active:"},{"line_number":38,"context_line":"      description: Waits till VNF is ACTIVE."},{"line_number":39,"context_line":"      action: tacker.show_vnf vnf\u003d\u003c% $.vnf_id %\u003e"},{"line_number":40,"context_line":"      retry:"},{"line_number":41,"context_line":"        count: 10"},{"line_number":42,"context_line":"        delay: 10"},{"line_number":43,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"bacf61ea_b53e4327","line":40,"range":{"start_line":39,"start_character":6,"end_line":40,"end_character":12},"updated":"2016-08-03 07:08:15.000000000","message":"retry work in case of error only.\n But here it looks working safely even if tacker.show_vnf is success.\n\nI discussed the same with mistral team and as per them, this scenario is working fine because of continue-on, which is an unexpected behavior of mistral(which might be a bug).","commit_id":"c19b9a37428c706918e0ed6b8647c91d0d0225c3"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"a4cec9518cd21053b3370c8989ea018b36fdfdcf","unresolved":false,"context_lines":[{"line_number":38,"context_line":"      description: Waits till VNF is ACTIVE."},{"line_number":39,"context_line":"      action: tacker.show_vnf vnf\u003d\u003c% $.vnf_id %\u003e"},{"line_number":40,"context_line":"      retry:"},{"line_number":41,"context_line":"        count: 10"},{"line_number":42,"context_line":"        delay: 10"},{"line_number":43,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":44,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":45,"context_line":"      publish:"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"bacf61ea_840b227d","line":42,"range":{"start_line":41,"start_character":0,"end_line":42,"end_character":17},"updated":"2016-08-02 21:41:04.000000000","message":"Just an observation, these knobs need to be tuned (increased) depending on the type of VNF being created. Some VNF creations, with multiple VDUs might take more that 100s to go to ACTIVE state.  Again, given this is just a sample these values are perfectly okay. \n\nBTW, is there a mistral DSL construct to leave some comments in the workflow ?","commit_id":"c19b9a37428c706918e0ed6b8647c91d0d0225c3"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"fa17c8057eaa81cd286ef91e252bd90b442e0d81","unresolved":false,"context_lines":[{"line_number":38,"context_line":"      description: Waits till VNF is ACTIVE."},{"line_number":39,"context_line":"      action: tacker.show_vnf vnf\u003d\u003c% $.vnf_id %\u003e"},{"line_number":40,"context_line":"      retry:"},{"line_number":41,"context_line":"        count: 10"},{"line_number":42,"context_line":"        delay: 10"},{"line_number":43,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":44,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":45,"context_line":"      publish:"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"bacf61ea_da7de6b2","line":42,"range":{"start_line":41,"start_character":0,"end_line":42,"end_character":17},"in_reply_to":"bacf61ea_840b227d","updated":"2016-08-03 07:08:15.000000000","message":"As normal python code, we can use \u0027#\u0027 for commenting here too.","commit_id":"c19b9a37428c706918e0ed6b8647c91d0d0225c3"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"4557b22fe613391f657e378d53f7211d0b70678f","unresolved":false,"context_lines":[{"line_number":39,"context_line":"      retry:"},{"line_number":40,"context_line":"        count: 10"},{"line_number":41,"context_line":"        delay: 10"},{"line_number":42,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":43,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":44,"context_line":"      publish:"},{"line_number":45,"context_line":"        mgmt_url: \u003c% task(wait_vnf_active).result.vnf.mgmt_url %\u003e"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"bacf61ea_75077681","line":42,"range":{"start_line":42,"start_character":8,"end_line":42,"end_character":43},"updated":"2016-08-04 01:06:09.000000000","message":"Do you need another break-on to handle the condition where the VNF stays in \u0027PENDING_CREATE\u0027 for a while and then transitions to \u0027ERROR\u0027 ?\n\nbreak-on: \u003c% $.status \u003d \u0027ERROR\u0027 %\u003e","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"},{"author":{"_account_id":18225,"name":"Shaik Apsar","email":"sa709c@intl.att.com","username":"sa709c"},"change_message_id":"0d461891524e187f56de0803c74104c44db66e75","unresolved":false,"context_lines":[{"line_number":39,"context_line":"      retry:"},{"line_number":40,"context_line":"        count: 10"},{"line_number":41,"context_line":"        delay: 10"},{"line_number":42,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":43,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":44,"context_line":"      publish:"},{"line_number":45,"context_line":"        mgmt_url: \u003c% task(wait_vnf_active).result.vnf.mgmt_url %\u003e"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"7ac969e8_523f4125","line":42,"range":{"start_line":42,"start_character":8,"end_line":42,"end_character":43},"in_reply_to":"7ac969e8_120f89e2","updated":"2016-08-13 10:14:21.000000000","message":"I have tested and it\u0027s working. VNF is deleted when VNF creation got an error.","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"},{"author":{"_account_id":18225,"name":"Shaik Apsar","email":"sa709c@intl.att.com","username":"sa709c"},"change_message_id":"fbc424b039514e48748023b02c557ebbffa9ab8b","unresolved":false,"context_lines":[{"line_number":39,"context_line":"      retry:"},{"line_number":40,"context_line":"        count: 10"},{"line_number":41,"context_line":"        delay: 10"},{"line_number":42,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":43,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":44,"context_line":"      publish:"},{"line_number":45,"context_line":"        mgmt_url: \u003c% task(wait_vnf_active).result.vnf.mgmt_url %\u003e"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"7ac969e8_120f89e2","line":42,"range":{"start_line":42,"start_character":8,"end_line":42,"end_character":43},"in_reply_to":"bacf61ea_75077681","updated":"2016-08-13 09:40:45.000000000","message":"I need to test this one and let you know the status.","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"939f9847792130e07cd0e2d995711dc8a9ee33c1","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    wait_vnf_active:"},{"line_number":37,"context_line":"      description: Waits till VNF is ACTIVE."},{"line_number":38,"context_line":"      action: tacker.show_vnf vnf\u003d\u003c% $.vnf_id %\u003e"},{"line_number":39,"context_line":"      retry:"},{"line_number":40,"context_line":"        count: 10"},{"line_number":41,"context_line":"        delay: 10"},{"line_number":42,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":43,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":44,"context_line":"      publish:"},{"line_number":45,"context_line":"        mgmt_url: \u003c% task(wait_vnf_active).result.vnf.mgmt_url %\u003e"},{"line_number":46,"context_line":"        status: \u003c% task(wait_vnf_active).result.vnf.status %\u003e"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"bacf61ea_93eb4db0","line":43,"range":{"start_line":39,"start_character":0,"end_line":43,"end_character":54},"updated":"2016-08-03 10:35:51.000000000","message":"Actually i am still not convinced that we can use retry for status monitoring.\nMistral doc [1] says that retry only work in case of task is in error.\nMean it was supposed to be used if task is failed and someone want to retry the same.\n\nBut code is working fine as per this patch expectation. That is because of continue-on. which may not be right as per Mistral team. \nI talked to them and continue-on should continue the workflow while retrying the failed tasks.\n\nI have filled a bug in Mistral for that-\nhttps://bugs.launchpad.net/mistral/+bug/1609335\n\nIf they fix the code as per their doc then retry will behave as per our requirement. I will suggest to have some other logic for status monitoring. or till we hear from Mistral that how to use retry etc in mentioned bug.\n\n..1 http://docs.openstack.org/developer/mistral/dsl/dsl_v2.html#policies - retry section","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"},{"author":{"_account_id":18225,"name":"Shaik Apsar","email":"sa709c@intl.att.com","username":"sa709c"},"change_message_id":"ce24ad9d4d6d867a3acec0ff600274e4bcc9d127","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    wait_vnf_active:"},{"line_number":37,"context_line":"      description: Waits till VNF is ACTIVE."},{"line_number":38,"context_line":"      action: tacker.show_vnf vnf\u003d\u003c% $.vnf_id %\u003e"},{"line_number":39,"context_line":"      retry:"},{"line_number":40,"context_line":"        count: 10"},{"line_number":41,"context_line":"        delay: 10"},{"line_number":42,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":43,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":44,"context_line":"      publish:"},{"line_number":45,"context_line":"        mgmt_url: \u003c% task(wait_vnf_active).result.vnf.mgmt_url %\u003e"},{"line_number":46,"context_line":"        status: \u003c% task(wait_vnf_active).result.vnf.status %\u003e"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"bacf61ea_bfbc36dc","line":43,"range":{"start_line":39,"start_character":0,"end_line":43,"end_character":54},"in_reply_to":"bacf61ea_1768cc20","updated":"2016-08-03 20:07:43.000000000","message":"Sridhar, I think we don;t have an option in tacker to get tacker resources with search option like nova. see [1]\n\n[1] https://github.com/openstack/python-novaclient/blob/master/novaclient/base.py#L382","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"42a51e6c429861fdbf1bcc71ae7d37c2eaf3f742","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    wait_vnf_active:"},{"line_number":37,"context_line":"      description: Waits till VNF is ACTIVE."},{"line_number":38,"context_line":"      action: tacker.show_vnf vnf\u003d\u003c% $.vnf_id %\u003e"},{"line_number":39,"context_line":"      retry:"},{"line_number":40,"context_line":"        count: 10"},{"line_number":41,"context_line":"        delay: 10"},{"line_number":42,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":43,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":44,"context_line":"      publish:"},{"line_number":45,"context_line":"        mgmt_url: \u003c% task(wait_vnf_active).result.vnf.mgmt_url %\u003e"},{"line_number":46,"context_line":"        status: \u003c% task(wait_vnf_active).result.vnf.status %\u003e"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"bacf61ea_1768cc20","line":43,"range":{"start_line":39,"start_character":0,"end_line":43,"end_character":54},"in_reply_to":"bacf61ea_561c2377","updated":"2016-08-03 19:10:13.000000000","message":"I disagree. \n\nI think we are over interpreting the notion of \"retry\". Again, I\u0027m not a Mistral dev, but I see \"retry\" is a commonly used mechanism to check if a resource reached an end state, see [2] and [1] in the yaml example in the same Mistral DSL doc.\n\nAbove all, please keep in mind this is just a *sample* !! Just one type of mistral workflow to create vnf. The user / operator can chose to write slightly different variations of Mistral workflow templates that suits their needs.\n\nShaik - can we use something similar to \"wait_for_instance\" to look for status\u003d\u0027ACTIVE\u0027 instead of using \"break-on\" ?\n\n\n[1] http://docs.openstack.org/developer/mistral/dsl/dsl_v2.html#yaml-example\n[2] https://github.com/openstack/mistral-extra/blob/master/examples/v2/openstack/nova_actions.yaml#L31\n\n    wait_for_instance:\n      action: nova.servers_find id\u003d\u003c% $.vm_id %\u003e status\u003d\u0027ACTIVE\u0027\n      retry:\n        delay: 5\n        count: 15","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"},{"author":{"_account_id":18238,"name":"Hardik Parekh","email":"hardik.parekh047@gmail.com","username":"hparekh"},"change_message_id":"88587d55f5532cae2ff7b1d1e80acc118c6edde9","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    wait_vnf_active:"},{"line_number":37,"context_line":"      description: Waits till VNF is ACTIVE."},{"line_number":38,"context_line":"      action: tacker.show_vnf vnf\u003d\u003c% $.vnf_id %\u003e"},{"line_number":39,"context_line":"      retry:"},{"line_number":40,"context_line":"        count: 10"},{"line_number":41,"context_line":"        delay: 10"},{"line_number":42,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":43,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":44,"context_line":"      publish:"},{"line_number":45,"context_line":"        mgmt_url: \u003c% task(wait_vnf_active).result.vnf.mgmt_url %\u003e"},{"line_number":46,"context_line":"        status: \u003c% task(wait_vnf_active).result.vnf.status %\u003e"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"bacf61ea_561c2377","line":43,"range":{"start_line":39,"start_character":0,"end_line":43,"end_character":54},"in_reply_to":"bacf61ea_93eb4db0","updated":"2016-08-03 10:55:31.000000000","message":"Yeah, Agree. Thanks Dharmendra.","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"5736d9d59c731a2e423e3be64e0a1f9dc57ab738","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    wait_vnf_active:"},{"line_number":37,"context_line":"      description: Waits till VNF is ACTIVE."},{"line_number":38,"context_line":"      action: tacker.show_vnf vnf\u003d\u003c% $.vnf_id %\u003e"},{"line_number":39,"context_line":"      retry:"},{"line_number":40,"context_line":"        count: 10"},{"line_number":41,"context_line":"        delay: 10"},{"line_number":42,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":43,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":44,"context_line":"      publish:"},{"line_number":45,"context_line":"        mgmt_url: \u003c% task(wait_vnf_active).result.vnf.mgmt_url %\u003e"},{"line_number":46,"context_line":"        status: \u003c% task(wait_vnf_active).result.vnf.status %\u003e"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"bacf61ea_9b885b24","line":43,"range":{"start_line":39,"start_character":0,"end_line":43,"end_character":54},"in_reply_to":"bacf61ea_952b0aeb","updated":"2016-08-04 05:41:25.000000000","message":"In that case, we can use conditional fail, but it  will be an workaround, and I have not much sure about it.\n\nBut yes, I fully agree that it is a *sample* workflow, so we can proceed with this.\n\nAnd later as per changes(if any) due to [1], if required, we can update this sample.\n\n[1]: https://bugs.launchpad.net/mistral/+bug/1609335","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"4557b22fe613391f657e378d53f7211d0b70678f","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    wait_vnf_active:"},{"line_number":37,"context_line":"      description: Waits till VNF is ACTIVE."},{"line_number":38,"context_line":"      action: tacker.show_vnf vnf\u003d\u003c% $.vnf_id %\u003e"},{"line_number":39,"context_line":"      retry:"},{"line_number":40,"context_line":"        count: 10"},{"line_number":41,"context_line":"        delay: 10"},{"line_number":42,"context_line":"        break-on: \u003c% $.status \u003d \u0027ACTIVE\u0027 %\u003e"},{"line_number":43,"context_line":"        continue-on: \u003c% $.status \u003d \u0027PENDING_CREATE\u0027 %\u003e"},{"line_number":44,"context_line":"      publish:"},{"line_number":45,"context_line":"        mgmt_url: \u003c% task(wait_vnf_active).result.vnf.mgmt_url %\u003e"},{"line_number":46,"context_line":"        status: \u003c% task(wait_vnf_active).result.vnf.status %\u003e"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"bacf61ea_952b0aeb","line":43,"range":{"start_line":39,"start_character":0,"end_line":43,"end_character":54},"in_reply_to":"bacf61ea_bfbc36dc","updated":"2016-08-04 01:06:09.000000000","message":"Sounds good, let\u0027s keep it this way then.\n\nDharmendra - what do you think ?","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"}],"samples/mistral/workflows/delete_vnf.yaml":[{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"fa17c8057eaa81cd286ef91e252bd90b442e0d81","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"  input:"},{"line_number":11,"context_line":"    - vnf_id"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  tasks:"},{"line_number":14,"context_line":"    delete_vnf:"},{"line_number":15,"context_line":"      description: Request to delete a VNF."}],"source_content_type":"text/x-yaml","patch_set":17,"id":"bacf61ea_75432b6d","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":0},"updated":"2016-08-03 07:08:15.000000000","message":"It will be good to have output here too.","commit_id":"c19b9a37428c706918e0ed6b8647c91d0d0225c3"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"339a36e1c03122b17f91207e4844f7ce74680b8c","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"  input:"},{"line_number":11,"context_line":"    - vnf_id"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  tasks:"},{"line_number":14,"context_line":"    delete_vnf:"},{"line_number":15,"context_line":"      description: Request to delete a VNF."}],"source_content_type":"text/x-yaml","patch_set":18,"id":"bacf61ea_919d055c","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":0},"updated":"2016-08-03 11:06:57.000000000","message":"If we not mention output, execution-get-output \u003cid\u003e will print the context like the input parameter, given env variables, result of action etc.\n\nSo IMO, it would be good to mention required output.","commit_id":"48c806086b4fd4b60347b507f4bf719acc68ca97"}],"samples/workflows/samples/create_vnf.yaml":[{"author":{"_account_id":12150,"name":"Bhaskar Duvvuri","email":"bhaskara.duvvuri@intl.att.com","username":"bhaskar.duvvuri"},"change_message_id":"8c456ad53badefe882b39257d71f8730eabf2098","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"        \"body\": {"},{"line_number":3,"context_line":"                \"vnf\": {"},{"line_number":4,"context_line":"                        \"attributes\": {},"},{"line_number":5,"context_line":"                        \"vim_id\": \"\","},{"line_number":6,"context_line":"                        \"description\": \"Sample for tacker.create_vnf action\","},{"line_number":7,"context_line":"                        \"vnfd_id\": \"dda99d4c-f24d-4550-b104-0958fef427b3\","},{"line_number":8,"context_line":"                        \"name\": \"tacker-create-vnf\""},{"line_number":9,"context_line":"                }"},{"line_number":10,"context_line":"        }"},{"line_number":11,"context_line":"}"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"dada55a8_960c8d3c","line":11,"range":{"start_line":1,"start_character":0,"end_line":11,"end_character":1},"updated":"2016-07-20 09:52:53.000000000","message":"these should be .json files and not yaml","commit_id":"8428af4fe22431f10aa79b1223e117cf23aa8c98"}]}
