)]}'
{"specs/newton/manual-and-auto-scaling.rst":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"1865d360781ca9ebd143cc80f9262acfd21851e8","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Problem description"},{"line_number":10,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"ETSI MANO architecture describes to support scale in/out the deployed VNF on"},{"line_number":13,"context_line":"the event of abnormality. Some time user or global orchestrator would want to"},{"line_number":14,"context_line":"trigger the scaling while tacker monitoring driver also would trigger the"},{"line_number":15,"context_line":"scaling. In Tacker no such feature exist today."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_f1e7e93d","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":22},"updated":"2016-05-25 18:04:43.000000000","message":"Unless we can quote a specific section from ETSI docs, I\u0027d just keep in generic here.\n\nBTW, I\u0027m not sure you are aware of this. There were two earlier specs on scaling, thanks to efforts from Prashant. Though it didn\u0027t move on to land, the problem desc captured in those specs clearly describe the \"gap\" / \"problem desc\". Perhaps you can consider leverage the problem desc in [1] and [2] into this spec. Also, please add these two earlier specs in the Reference section.\n\n[1] https://review.openstack.org/#/c/214297/4/specs/liberty/Auto-Scaling.rst\n[2] https://review.openstack.org/#/c/283163/1/specs/mitaka/manual-scaling.rst","commit_id":"facbc749b3c0ee4cdc9ef39f172ac334c26ded6b"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"54a5018b9e416e76817d54e1307c568e08004683","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Problem description"},{"line_number":10,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"ETSI MANO architecture describes to support scale in/out the deployed VNF on"},{"line_number":13,"context_line":"the event of abnormality. Some time user or global orchestrator would want to"},{"line_number":14,"context_line":"trigger the scaling while tacker monitoring driver also would trigger the"},{"line_number":15,"context_line":"scaling. In Tacker no such feature exist today."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_719647f1","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":22},"in_reply_to":"bab6814e_f1e7e93d","updated":"2016-05-27 11:19:24.000000000","message":"Ah, Thanks. I was not aware of them.\nAnd I will refer them.","commit_id":"facbc749b3c0ee4cdc9ef39f172ac334c26ded6b"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"1865d360781ca9ebd143cc80f9262acfd21851e8","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Proposed change"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"How to form required heat scaling resource type in heat"},{"line_number":22,"context_line":"-------------------------------------------------------"},{"line_number":23,"context_line":"In OpenStack, heat does provide an feature to setup a scaling group, which can"},{"line_number":24,"context_line":"be scaled in/out based on the pre-defined scaling policy. Here scaling group"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_f1c88976","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":55},"updated":"2016-05-25 18:04:43.000000000","message":"We need a section that describes this feature from Tacker user / operator point of view. \n\nSo, instead of immediately proceeding to describe the implementation details (like using heat scaling), we first should desc the proposed change to the Tacker VNFD on how Scaling policy can be introduced to VNF-VDUs.\n\nHow about sections something like this?\n\n1. VNFD TOSCA ScalingPolicy\n\nHere we should leverage what is cooking in the heat-translator [1]. Though I didn\u0027t like embedding \"triggers\" in the scaling policy. Instead, the trigger should follow what Tong going to propose in his spec. and scaling just becomes one of the possible workflow actions.\n\nSomething like,\n\n        type: tosca.policies.Scaling\n        description: Simple VDU scaling\n        targets: [vdu2]\n        properties:\n          min_instances: 2\n          max_instances: 10\n          default_instances: 3\n          increment: 1\n\n2. Trigger ScalingPolicy using an API (Manual)\n\n3. Trigger ScalingPolicy using Alarm / Monitoring Triggers\n\nAll the heat related details can be moved to an implementation focused section below.\n\n[1] https://review.openstack.org/#/c/302636/4/translator/tests/data/tosca_autoscaling.yaml","commit_id":"facbc749b3c0ee4cdc9ef39f172ac334c26ded6b"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"23f517578cd4d4228d81f6dbfe4a196887739d9f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Proposed change"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"How to form required heat scaling resource type in heat"},{"line_number":22,"context_line":"-------------------------------------------------------"},{"line_number":23,"context_line":"In OpenStack, heat does provide an feature to setup a scaling group, which can"},{"line_number":24,"context_line":"be scaled in/out based on the pre-defined scaling policy. Here scaling group"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9abb7d3a_8129e139","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":55},"in_reply_to":"bab6814e_51c223ea","updated":"2016-05-31 11:58:57.000000000","message":"small correction on #2, only CP to be added/removed?","commit_id":"facbc749b3c0ee4cdc9ef39f172ac334c26ded6b"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"54a5018b9e416e76817d54e1307c568e08004683","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Proposed change"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"How to form required heat scaling resource type in heat"},{"line_number":22,"context_line":"-------------------------------------------------------"},{"line_number":23,"context_line":"In OpenStack, heat does provide an feature to setup a scaling group, which can"},{"line_number":24,"context_line":"be scaled in/out based on the pre-defined scaling policy. Here scaling group"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_51c223ea","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":55},"in_reply_to":"bab6814e_f1c88976","updated":"2016-05-27 11:19:24.000000000","message":"Good inputs! to be frank, I was thinking somewhat similar line after submitted the spec.\n\nHere i have some questions, kindly help to understand.\n1. When more than one VDU presents in a VFND connected using CP and VL, when applying scale-out, should all VDU to be applied with same scale-out or scaling should be very specific to given VDU. \n\n2. in any case, when VDU is scaled-out, corresponding CP and VL also needs to created appropriately?\n\n3. I hope load balancer should be used when multiple instance of same VDU runs, should this be planned as separate blueprint?","commit_id":"facbc749b3c0ee4cdc9ef39f172ac334c26ded6b"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"1865d360781ca9ebd143cc80f9262acfd21851e8","unresolved":false,"context_lines":[{"line_number":174,"context_line":"REST API impact"},{"line_number":175,"context_line":"------------------"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"/v1.0/vnfs/\u003cvnf1\u003e/scale?type\u003d[in/out]"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Security"},{"line_number":180,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_b13f2124","line":177,"range":{"start_line":177,"start_character":0,"end_line":177,"end_character":37},"updated":"2016-05-25 18:04:43.000000000","message":"There could be multiple VDUs in a VNF that are marked with ScalingPolicy. In that case, we also need to tacker \"VDU-name\" as an argument to disambiguate. \n\nBTW, can you capture the sample scale CLIs as well ?","commit_id":"facbc749b3c0ee4cdc9ef39f172ac334c26ded6b"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"54a5018b9e416e76817d54e1307c568e08004683","unresolved":false,"context_lines":[{"line_number":174,"context_line":"REST API impact"},{"line_number":175,"context_line":"------------------"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"/v1.0/vnfs/\u003cvnf1\u003e/scale?type\u003d[in/out]"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Security"},{"line_number":180,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bab6814e_b1b38f99","line":177,"range":{"start_line":177,"start_character":0,"end_line":177,"end_character":37},"in_reply_to":"bab6814e_b13f2124","updated":"2016-05-27 11:19:24.000000000","message":"sure. I will add CLI as well.\n\nOnce scaling in place, then may be we could find the way to get inputs on scaling policy directly via query param here and scale accordingly. This might be useful if scaling policy changes dynamically.","commit_id":"facbc749b3c0ee4cdc9ef39f172ac334c26ded6b"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"ace9a3a9cd6626c77fb01e3d4151ce13a7785bda","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Following sections details the every aspect of scaling from TOSCA modelling"},{"line_number":24,"context_line":"till the driver level."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"1. TOSCA Scaling Policy Model"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Assume the following sample template where 2 vdu are connected to a network"},{"line_number":29,"context_line":"using single connection for each."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_6986b666","line":26,"range":{"start_line":26,"start_character":3,"end_line":26,"end_character":29},"updated":"2016-06-03 01:18:15.000000000","message":"This section is spot on. Good job in nicely capturing the scaling policy in the TOSCA schema !","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"e5c403633256d1743a73822ce81ec3e8be78aa04","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Following sections details the every aspect of scaling from TOSCA modelling"},{"line_number":24,"context_line":"till the driver level."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"1. TOSCA Scaling Policy Model"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Assume the following sample template where 2 vdu are connected to a network"},{"line_number":29,"context_line":"using single connection for each."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_10e2a79f","line":26,"range":{"start_line":26,"start_character":3,"end_line":26,"end_character":29},"in_reply_to":"9abb7d3a_6986b666","updated":"2016-06-03 04:48:08.000000000","message":"thanks :)","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"ace9a3a9cd6626c77fb01e3d4151ce13a7785bda","unresolved":false,"context_lines":[{"line_number":88,"context_line":"Tacker would be provided with separate REST API to trigger the given policy"},{"line_number":89,"context_line":"in a VNF as detailed in above section. so the API would looks like:"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy-id\u003e?type\u003d[in/out]"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Here if type is \u0027in\u0027 then targets defined in the scaling policy will"},{"line_number":94,"context_line":"be decremented by \u0027adjust_by\u0027, otherwise it will increase."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_a6ebadaf","line":91,"range":{"start_line":91,"start_character":17,"end_line":91,"end_character":36},"updated":"2016-06-03 01:18:15.000000000","message":"What is this \"scaling-policy-id\" ? How would the client know about this id to use in this scaling operation ? Is it available in the \u0027vnf-show\u0027 ?","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"bd5a4b4255a651a89e92f7ea5f238f2a65f99314","unresolved":false,"context_lines":[{"line_number":88,"context_line":"Tacker would be provided with separate REST API to trigger the given policy"},{"line_number":89,"context_line":"in a VNF as detailed in above section. so the API would looks like:"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy-id\u003e?type\u003d[in/out]"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Here if type is \u0027in\u0027 then targets defined in the scaling policy will"},{"line_number":94,"context_line":"be decremented by \u0027adjust_by\u0027, otherwise it will increase."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_b7e4913b","line":91,"in_reply_to":"7aa08908_17ff7e35","updated":"2016-06-06 07:47:48.000000000","message":"yes. its technically PATCH. thanks.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"e5c403633256d1743a73822ce81ec3e8be78aa04","unresolved":false,"context_lines":[{"line_number":88,"context_line":"Tacker would be provided with separate REST API to trigger the given policy"},{"line_number":89,"context_line":"in a VNF as detailed in above section. so the API would looks like:"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy-id\u003e?type\u003d[in/out]"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Here if type is \u0027in\u0027 then targets defined in the scaling policy will"},{"line_number":94,"context_line":"be decremented by \u0027adjust_by\u0027, otherwise it will increase."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_f07ba327","line":91,"range":{"start_line":91,"start_character":17,"end_line":91,"end_character":36},"in_reply_to":"9abb7d3a_a6ebadaf","updated":"2016-06-03 04:48:08.000000000","message":"scaling policy id is the name of the scaling policy used in the VNFD. if there are more than one scaling policy id, then user/automation could select the required one.\n\nI think confusion comes as its part of the url path, kindly let me know if you want to move this to query parm instead. and on the HTTP PUT, we could enable the support for scaling.\n\nI will add description for it, in the next patch","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"0cc6487c2a6632d2cc9db52a82d4c35a362e7df7","unresolved":false,"context_lines":[{"line_number":88,"context_line":"Tacker would be provided with separate REST API to trigger the given policy"},{"line_number":89,"context_line":"in a VNF as detailed in above section. so the API would looks like:"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy-id\u003e?type\u003d[in/out]"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Here if type is \u0027in\u0027 then targets defined in the scaling policy will"},{"line_number":94,"context_line":"be decremented by \u0027adjust_by\u0027, otherwise it will increase."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_17ff7e35","line":91,"in_reply_to":"9abb7d3a_f07ba327","updated":"2016-06-04 04:07:02.000000000","message":"Should this be PATCH instead of PUT?  Technically PUT should replace the entire resource with an updated copy.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"b075d60b87066621d4103dbf4939c2a0b29d9db9","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy-id\u003e?type\u003d[in/out]"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Here if type is \u0027in\u0027 then targets defined in the scaling policy will"},{"line_number":94,"context_line":"be decremented by \u0027adjust_by\u0027, otherwise it will increase."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"And corresponding CLI would look like below:"},{"line_number":97,"context_line":"tacker vnf-scaling \u003cscaling-policy\u003e --type [in|out]"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_a263d5af","line":94,"range":{"start_line":93,"start_character":0,"end_line":94,"end_character":58},"updated":"2016-06-02 06:06:11.000000000","message":"I would suggest making \u0027type\u0027 mandatory with possible values like [in, out]. In the future, we might introduce values like \"up\" and \"down\" to support scale-up and scale-down.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"fbb23d987470bdca82ee014a2144dc318aaf3622","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy-id\u003e?type\u003d[in/out]"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Here if type is \u0027in\u0027 then targets defined in the scaling policy will"},{"line_number":94,"context_line":"be decremented by \u0027adjust_by\u0027, otherwise it will increase."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"And corresponding CLI would look like below:"},{"line_number":97,"context_line":"tacker vnf-scaling \u003cscaling-policy\u003e --type [in|out]"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_ef42e167","line":94,"range":{"start_line":93,"start_character":0,"end_line":94,"end_character":58},"in_reply_to":"9abb7d3a_a263d5af","updated":"2016-06-02 07:59:29.000000000","message":"sure. i will explicitly call out it here","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"b075d60b87066621d4103dbf4939c2a0b29d9db9","unresolved":false,"context_lines":[{"line_number":94,"context_line":"be decremented by \u0027adjust_by\u0027, otherwise it will increase."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"And corresponding CLI would look like below:"},{"line_number":97,"context_line":"tacker vnf-scaling \u003cscaling-policy\u003e --type [in|out]"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"3. Trigger ScalingPolicy using Alarm / Monitoring Triggers"},{"line_number":100,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_e2de7d3c","line":97,"range":{"start_line":97,"start_character":0,"end_line":97,"end_character":51},"updated":"2016-06-02 06:06:11.000000000","message":"Hmm.. i\u0027m debating between whether this needs to be separate CLI / API for scaling instead of just supporting scaling as one of the \"update\" operation available under vnf-update CLI / API call.\n\nI\u0027d like to hear other\u0027s opinion on this?","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"bd5a4b4255a651a89e92f7ea5f238f2a65f99314","unresolved":false,"context_lines":[{"line_number":94,"context_line":"be decremented by \u0027adjust_by\u0027, otherwise it will increase."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"And corresponding CLI would look like below:"},{"line_number":97,"context_line":"tacker vnf-scaling \u003cscaling-policy\u003e --type [in|out]"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"3. Trigger ScalingPolicy using Alarm / Monitoring Triggers"},{"line_number":100,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_375d41ea","line":97,"in_reply_to":"7aa08908_f79e3206","updated":"2016-06-06 07:47:48.000000000","message":"Sure. I will change this to vnf-update could be as below\n\nvnf-update --scale-policy-id \u003c\u003e --scale-type \u003c\u003e","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"0cc6487c2a6632d2cc9db52a82d4c35a362e7df7","unresolved":false,"context_lines":[{"line_number":94,"context_line":"be decremented by \u0027adjust_by\u0027, otherwise it will increase."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"And corresponding CLI would look like below:"},{"line_number":97,"context_line":"tacker vnf-scaling \u003cscaling-policy\u003e --type [in|out]"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"3. Trigger ScalingPolicy using Alarm / Monitoring Triggers"},{"line_number":100,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_f79e3206","line":97,"in_reply_to":"9abb7d3a_e2de7d3c","updated":"2016-06-04 04:07:02.000000000","message":"I would prefer vnf-update with a scaling flag of some sort.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"ace9a3a9cd6626c77fb01e3d4151ce13a7785bda","unresolved":false,"context_lines":[{"line_number":99,"context_line":"3. Trigger ScalingPolicy using Alarm / Monitoring Triggers"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Alarm monitoring driver could make use of this scaling feature to trigger"},{"line_number":102,"context_line":"scale-in scale-out automatically as mentioned below:"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":".. code-block:: yaml"},{"line_number":105,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_a9725eab","line":102,"range":{"start_line":102,"start_character":19,"end_line":102,"end_character":32},"updated":"2016-06-03 01:18:15.000000000","message":"Totally relying on heat (or Senlin in the future) for auto-scaling will break many Tacker features.\n\nFor e.g. Tacker need to be in the loop to,\n\n- record scale out, scale in events into its event logs\n- (future) adjust VNFFG / SFC port-chains to add/remove the neutron-ports from the scaled out/in VM\n- support custom per-scale-event operation, like add / remove scaled out/in data-plan VM\u0027s ip-address from the control-plane VM.\n\nPlease ideas how can be achieve this while leveraging heat auto-scaling?","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"e5c403633256d1743a73822ce81ec3e8be78aa04","unresolved":false,"context_lines":[{"line_number":99,"context_line":"3. Trigger ScalingPolicy using Alarm / Monitoring Triggers"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Alarm monitoring driver could make use of this scaling feature to trigger"},{"line_number":102,"context_line":"scale-in scale-out automatically as mentioned below:"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":".. code-block:: yaml"},{"line_number":105,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_d0d77fbd","line":102,"range":{"start_line":102,"start_character":19,"end_line":102,"end_character":32},"in_reply_to":"9abb7d3a_a9725eab","updated":"2016-06-03 04:48:08.000000000","message":"as mentioned below comment at line 263, tacker takes the cotrol on scaling. \n#1. when scaling signal reaches tacker, tacker would record the events in the event table (extra columns would help here, part of audit support spec). \n#2 \u0026 #3. This will required more changes in the heat driver to cook up the template on the fly based on the SFC adjustment. (but existing driver would be extendable)","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"a4f20f233cf7669e9dba126953124813da840e42","unresolved":false,"context_lines":[{"line_number":99,"context_line":"3. Trigger ScalingPolicy using Alarm / Monitoring Triggers"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Alarm monitoring driver could make use of this scaling feature to trigger"},{"line_number":102,"context_line":"scale-in scale-out automatically as mentioned below:"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":".. code-block:: yaml"},{"line_number":105,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_2f5ac850","line":102,"range":{"start_line":102,"start_character":19,"end_line":102,"end_character":32},"in_reply_to":"9abb7d3a_d0d77fbd","updated":"2016-06-07 05:49:56.000000000","message":"Sounds good. Agree on #2 \u0026 #3, they are future enhancements.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"38332d26990a74f3ac23649fe601e762901fd67b","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":".. code-block:: yaml"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"        mp1:"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"          type: tosca.policies.Monitoring"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_d24250ad","line":106,"updated":"2016-06-01 14:03:50.000000000","message":"currently its part of VDU monitoring_policy. it resitrict to per VDU, but we may need to bring in monitoring policy acorss VDUs. (like mentioned here)","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"b075d60b87066621d4103dbf4939c2a0b29d9db9","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"          properties:"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"            # all monitoring related properties"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"            scale-[up|down]: sp1"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"NOTE:"},{"line_number":121,"context_line":"Here targets should match with corresponding scaling policy."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_02aaa184","line":118,"range":{"start_line":116,"start_character":0,"end_line":118,"end_character":32},"updated":"2016-06-02 06:06:11.000000000","message":"Please add a reference to Tung\u0027s spec here, stating the exact TOSCA syntax for scaling action from monitoring will be defined by that work.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"fbb23d987470bdca82ee014a2144dc318aaf3622","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"          properties:"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"            # all monitoring related properties"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"            scale-[up|down]: sp1"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"NOTE:"},{"line_number":121,"context_line":"Here targets should match with corresponding scaling policy."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_92509a0c","line":118,"range":{"start_line":116,"start_character":0,"end_line":118,"end_character":32},"in_reply_to":"9abb7d3a_02aaa184","updated":"2016-06-02 07:59:29.000000000","message":"sure. that would be a good reference of it.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"0cc6487c2a6632d2cc9db52a82d4c35a362e7df7","unresolved":false,"context_lines":[{"line_number":133,"context_line":"REST API impact"},{"line_number":134,"context_line":"------------------"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"/v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy-id\u003e?type\u003d[in/out]"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Security"},{"line_number":139,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_779362fb","line":136,"updated":"2016-06-04 04:07:02.000000000","message":"The HTTP operation should probably be specified here too","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"bd5a4b4255a651a89e92f7ea5f238f2a65f99314","unresolved":false,"context_lines":[{"line_number":133,"context_line":"REST API impact"},{"line_number":134,"context_line":"------------------"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"/v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy-id\u003e?type\u003d[in/out]"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Security"},{"line_number":139,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_b769318e","line":136,"in_reply_to":"7aa08908_779362fb","updated":"2016-06-06 07:47:48.000000000","message":"sure. thanks","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"ace9a3a9cd6626c77fb01e3d4151ce13a7785bda","unresolved":false,"context_lines":[{"line_number":169,"context_line":""},{"line_number":170,"context_line":"How to form required heat scaling resource type in heat"},{"line_number":171,"context_line":"-------------------------------------------------------"},{"line_number":172,"context_line":"In OpenStack, heat does provide an feature to setup a scaling group, which can"},{"line_number":173,"context_line":"be scaled in/out based on the pre-defined scaling policy. Here scaling group"},{"line_number":174,"context_line":"can contain any OpenStack resource such as nova instance, cinder volume, etc,"},{"line_number":175,"context_line":"where as scaling policy helps to scale in/out in numbers, percentage, etc."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_e9f586cb","line":172,"range":{"start_line":172,"start_character":14,"end_line":172,"end_character":67},"updated":"2016-06-03 01:18:15.000000000","message":"IMO this is fine for this first iteration. However, we need to leave room to leverage Senlin down the line as the function backing Tacker\u0027s VNF auto-scaling feature.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"e5c403633256d1743a73822ce81ec3e8be78aa04","unresolved":false,"context_lines":[{"line_number":169,"context_line":""},{"line_number":170,"context_line":"How to form required heat scaling resource type in heat"},{"line_number":171,"context_line":"-------------------------------------------------------"},{"line_number":172,"context_line":"In OpenStack, heat does provide an feature to setup a scaling group, which can"},{"line_number":173,"context_line":"be scaled in/out based on the pre-defined scaling policy. Here scaling group"},{"line_number":174,"context_line":"can contain any OpenStack resource such as nova instance, cinder volume, etc,"},{"line_number":175,"context_line":"where as scaling policy helps to scale in/out in numbers, percentage, etc."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_30db6b1d","line":172,"range":{"start_line":172,"start_character":14,"end_line":172,"end_character":67},"in_reply_to":"9abb7d3a_e9f586cb","updated":"2016-06-03 04:48:08.000000000","message":"Sure, IMO, when we plan to use the senlin in future, only the heat resource type used now will get migrated to senlin resource type, and it should not be an big change though i believe.\n\nFor this iteration, we will go with heat which helps us to get the functionality in","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"ace9a3a9cd6626c77fb01e3d4151ce13a7785bda","unresolved":false,"context_lines":[{"line_number":259,"context_line":"                metadata: {\"metering.stack\": \u003cXXX\u003e}"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"},{"line_number":263,"context_line":"with same unique identifier as below:"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":".. code-block:: yaml"},{"line_number":266,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_69beb6d5","line":263,"range":{"start_line":262,"start_character":0,"end_line":263,"end_character":37},"updated":"2016-06-03 01:18:15.000000000","message":"Similar comment as in L102, we might need to keep Tacker in the loop between an event triggered by alarm-based monitoring driver and the actual scaling action.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"a4f20f233cf7669e9dba126953124813da840e42","unresolved":false,"context_lines":[{"line_number":259,"context_line":"                metadata: {\"metering.stack\": \u003cXXX\u003e}"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"},{"line_number":263,"context_line":"with same unique identifier as below:"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":".. code-block:: yaml"},{"line_number":266,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_af4d189b","line":263,"range":{"start_line":262,"start_character":0,"end_line":263,"end_character":37},"in_reply_to":"9abb7d3a_104627bf","updated":"2016-06-07 05:49:56.000000000","message":"Sounds good!","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"e5c403633256d1743a73822ce81ec3e8be78aa04","unresolved":false,"context_lines":[{"line_number":259,"context_line":"                metadata: {\"metering.stack\": \u003cXXX\u003e}"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"},{"line_number":263,"context_line":"with same unique identifier as below:"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":".. code-block:: yaml"},{"line_number":266,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_104627bf","line":263,"range":{"start_line":262,"start_character":0,"end_line":263,"end_character":37},"in_reply_to":"9abb7d3a_69beb6d5","updated":"2016-06-03 04:48:08.000000000","message":"Yes, that would be captured in the scaling action mentioned above, which would call tacker monitoring driver and it will trigger the actual scale action. Here tacker comes in between ceilometer and heat and tacker takes the control on triggering the scaling. (its captured in the alarm spec already)","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"0cc6487c2a6632d2cc9db52a82d4c35a362e7df7","unresolved":false,"context_lines":[{"line_number":288,"context_line":"Work Items"},{"line_number":289,"context_line":"------------------"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"#. Model scaling in vnfd/TOSCA and update tosca-translator for the same."},{"line_number":292,"context_line":"#. Update heat infra driver to handle scaling."},{"line_number":293,"context_line":"#. Update the required REST API and enable the same in python-tackerclient"},{"line_number":294,"context_line":"#. Enhance the horizon to scale in/out the live VNF."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_b762ea14","line":291,"updated":"2016-06-04 04:07:02.000000000","message":"Probably need a spec or BP for the associated changed to tosca-parser and heat-translator","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"a4f20f233cf7669e9dba126953124813da840e42","unresolved":false,"context_lines":[{"line_number":288,"context_line":"Work Items"},{"line_number":289,"context_line":"------------------"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"#. Model scaling in vnfd/TOSCA and update tosca-translator for the same."},{"line_number":292,"context_line":"#. Update heat infra driver to handle scaling."},{"line_number":293,"context_line":"#. Update the required REST API and enable the same in python-tackerclient"},{"line_number":294,"context_line":"#. Enhance the horizon to scale in/out the live VNF."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_2f2128b5","line":291,"in_reply_to":"7aa08908_b21dbfbf","updated":"2016-06-07 05:49:56.000000000","message":"Bob, Kanagaraj - can we leverage the current heat-translator patchset https://review.openstack.org/#/c/302636/ for our TOSCA needs ?\n\nThe main difference I see is we have a separate Monitoring policy TOSCA that feeds into invoking Scaling policy. In the above patchset the triggers for scaling are embedded in Scaling policy itself.\n\nBob,\n\nCan we work w/ tosca-parser \u0026 heat-translator to make Scaling triggers within Scaling policy as optional so that we can leverage the schema definitions from tosca-parser.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"bd5a4b4255a651a89e92f7ea5f238f2a65f99314","unresolved":false,"context_lines":[{"line_number":288,"context_line":"Work Items"},{"line_number":289,"context_line":"------------------"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"#. Model scaling in vnfd/TOSCA and update tosca-translator for the same."},{"line_number":292,"context_line":"#. Update heat infra driver to handle scaling."},{"line_number":293,"context_line":"#. Update the required REST API and enable the same in python-tackerclient"},{"line_number":294,"context_line":"#. Enhance the horizon to scale in/out the live VNF."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_b21dbfbf","line":291,"in_reply_to":"7aa08908_b762ea14","updated":"2016-06-06 07:47:48.000000000","message":"yes. In the intial iteration, will go with VNFD mode and next iteration will add support with tosca. mean while i will check with the heat-translator project and fill the gap.","commit_id":"ea86d5dc6754483ae28cbc202ead3d0c823efcf7"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"486bd39883d3a570841d64a0c529e30a711ad07c","unresolved":false,"context_lines":[{"line_number":145,"context_line":"REST API impact"},{"line_number":146,"context_line":"------------------"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"PATCH on /v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy\u003e/\u003ctype\u003e"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Security"},{"line_number":151,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_4fb1148f","line":148,"range":{"start_line":148,"start_character":0,"end_line":148,"end_character":5},"updated":"2016-06-07 05:58:37.000000000","message":"Does our wsgi layer support PATCH method ?","commit_id":"4525c5438ca4b9818cd7c117fd55c7e943697f44"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"9d80b8d6ec967005276490426f86cbd87f153f30","unresolved":false,"context_lines":[{"line_number":145,"context_line":"REST API impact"},{"line_number":146,"context_line":"------------------"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"PATCH on /v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy\u003e/\u003ctype\u003e"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Security"},{"line_number":151,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_10d0c81e","line":148,"range":{"start_line":148,"start_character":0,"end_line":148,"end_character":5},"in_reply_to":"7aa08908_4fb1148f","updated":"2016-06-07 08:36:00.000000000","message":"Sridhar, it seems Tacker does not support PATCH, but eventually we could introduce, once we enable the feature in IMO.","commit_id":"4525c5438ca4b9818cd7c117fd55c7e943697f44"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"eb0a6d086e5246377b9e93af660048c6c0e047b2","unresolved":false,"context_lines":[{"line_number":14,"context_line":"provisioning VNF for typical usage or for maximum usage. The former leads"},{"line_number":15,"context_line":"to service disruption when load exceeds provisioned capacity. And the later"},{"line_number":16,"context_line":"leads to under utilized resources and waste during normal system load. So"},{"line_number":17,"context_line":"users would like to have a way to seamlessly scale the number of VNFs on"},{"line_number":18,"context_line":"demand either manually or automatically."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_2a0a418a","line":17,"range":{"start_line":17,"start_character":65,"end_line":17,"end_character":69},"updated":"2016-06-08 15:34:41.000000000","message":"Did you mean \"VDUs\"?","commit_id":"c414f833ec4f32951731fda214eb02aeb463ea36"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"6cc3e66c98b376fba67aa72667caa6de31a73248","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Proposed change"},{"line_number":22,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":23,"context_line":"Following sections details the every aspect of scaling from TOSCA modelling"},{"line_number":24,"context_line":"till the driver level."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"1. TOSCA Scaling Policy Model"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_4de540da","line":23,"range":{"start_line":23,"start_character":66,"end_line":23,"end_character":75},"updated":"2016-06-08 10:31:33.000000000","message":"modelling --\u003e modeling","commit_id":"c414f833ec4f32951731fda214eb02aeb463ea36"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"eb0a6d086e5246377b9e93af660048c6c0e047b2","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"1. TOSCA Scaling Policy Model"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Assume the following sample template where 2 vdu are connected to a network"},{"line_number":29,"context_line":"using single connection for each."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":".. code-block:: yaml"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_7808a328","line":28,"range":{"start_line":28,"start_character":45,"end_line":28,"end_character":48},"updated":"2016-06-08 15:34:41.000000000","message":"Uppercase? VDUs?","commit_id":"c414f833ec4f32951731fda214eb02aeb463ea36"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"eb0a6d086e5246377b9e93af660048c6c0e047b2","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        vl:"},{"line_number":50,"context_line":"          type: tosca.nodes.nfv.VL"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"When user deploys this VNF, assume that initially 2 instance of vdu1+cp1 to be"},{"line_number":53,"context_line":"running, and when scaling scenario occurs for vdu1, it needs to scaled out/in"},{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_0d4b1f5a","line":52,"range":{"start_line":52,"start_character":52,"end_line":52,"end_character":60},"updated":"2016-06-08 15:34:41.000000000","message":"instances","commit_id":"c414f833ec4f32951731fda214eb02aeb463ea36"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"6cc3e66c98b376fba67aa72667caa6de31a73248","unresolved":false,"context_lines":[{"line_number":73,"context_line":"            adjust_by: 1"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Here, if user wants to extend the same policy for more than one VDU, then it"},{"line_number":76,"context_line":"could be listed in the \u0027target\u0027 filed of scaling policy defined above."},{"line_number":77,"context_line":"Similarly, User could define more than one scaling policy for a vdu. And"},{"line_number":78,"context_line":"Tacker is designed to support to trigger the scaling of VNF using scaling"},{"line_number":79,"context_line":"policy element defined above."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_30012b6b","line":76,"range":{"start_line":76,"start_character":32,"end_line":76,"end_character":37},"updated":"2016-06-08 10:31:33.000000000","message":"filed --\u003e field ?","commit_id":"c414f833ec4f32951731fda214eb02aeb463ea36"},{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"6cc3e66c98b376fba67aa72667caa6de31a73248","unresolved":false,"context_lines":[{"line_number":91,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":94,"context_line":"Tacker would be provided to enable the support on exsting REST API for VNFS"},{"line_number":95,"context_line":"as below:"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy\u003e/\u003ctype\u003e"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_cd75b0fa","line":94,"range":{"start_line":94,"start_character":50,"end_line":94,"end_character":57},"updated":"2016-06-08 10:31:33.000000000","message":"exsting --\u003e existing","commit_id":"c414f833ec4f32951731fda214eb02aeb463ea36"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":88,"context_line":"Below section defines the triggering mechanisms."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Once scaling is started, it will listen to the exposed heat events to track"},{"line_number":91,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":94,"context_line":"Tacker would be provided to enable the support on existing REST API for VNFS"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_73b3cb4d","line":91,"range":{"start_line":91,"start_character":68,"end_line":91,"end_character":69},"updated":"2016-06-13 19:49:22.000000000","message":"also, it is important to replicate the vdu\u0027s current state on each of these new instances such as management configuration.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":88,"context_line":"Below section defines the triggering mechanisms."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Once scaling is started, it will listen to the exposed heat events to track"},{"line_number":91,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":94,"context_line":"Tacker would be provided to enable the support on existing REST API for VNFS"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_5055d7bf","line":91,"range":{"start_line":91,"start_character":68,"end_line":91,"end_character":69},"in_reply_to":"7aa08908_73b3cb4d","updated":"2016-06-14 04:09:11.000000000","message":"yes, and this configuration is captured as part of config data in vdu and tacker will bring with that config in place. beyond that if VNF needs to sync data, IMO, its the requirement of VNF as tacker can\u0027t have control on it.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":94,"context_line":"Tacker would be provided to enable the support on existing REST API for VNFS"},{"line_number":95,"context_line":"as below:"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy\u003e/\u003ctype\u003e"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Here,"},{"line_number":100,"context_line":"type - Scaling type. It could be one of \u0027in\u0027 for scale-in or \u0027out\u0027 for"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_7d8a7c65","line":97,"range":{"start_line":97,"start_character":11,"end_line":97,"end_character":15},"updated":"2016-06-13 19:49:22.000000000","message":"this should be the vnf uuid?","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":94,"context_line":"Tacker would be provided to enable the support on existing REST API for VNFS"},{"line_number":95,"context_line":"as below:"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy\u003e/\u003ctype\u003e"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Here,"},{"line_number":100,"context_line":"type - Scaling type. It could be one of \u0027in\u0027 for scale-in or \u0027out\u0027 for"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_d069c78d","line":97,"range":{"start_line":97,"start_character":11,"end_line":97,"end_character":15},"in_reply_to":"7aa08908_7d8a7c65","updated":"2016-06-14 04:09:11.000000000","message":"yes, thanks :) I will make it explicit","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":103,"context_line":"unique, similar to VDU naming."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"And corresponding CLI would look like below:"},{"line_number":106,"context_line":"tacker vnf-update --scaling-policy \u003cpolicy name\u003e --type \u003cscaling type\u003e"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Here, scaling-policy and type are same as defined in the REST API, above."},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_73d58be3","line":106,"range":{"start_line":106,"start_character":11,"end_line":106,"end_character":17},"updated":"2016-06-13 19:49:22.000000000","message":"IMO, it is better to call this out as vnf-scale instead of reusing vnf-update. Clearly it is a separate feature of its own and let it not clutter update operation with too many options.\n\ni know existing vnf-update doesnt do much other than update the configuration. but we could it evolve in future. \nalso, vnf-update maps to PUT operation on the API and we are now introducing PATCH but using the same vnf-update cli which may trip the user. so it is better to call out vnf-scale command. Thoughts?","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":103,"context_line":"unique, similar to VDU naming."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"And corresponding CLI would look like below:"},{"line_number":106,"context_line":"tacker vnf-update --scaling-policy \u003cpolicy name\u003e --type \u003cscaling type\u003e"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Here, scaling-policy and type are same as defined in the REST API, above."},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_701e130d","line":106,"range":{"start_line":106,"start_character":11,"end_line":106,"end_character":17},"in_reply_to":"7aa08908_73d58be3","updated":"2016-06-14 04:09:11.000000000","message":"you are aligning with same thought process I had, thanks.\n but in the earlier reviews, Sridhar given comments to better to use update instead of new command and I also convinced to it because effectively its an VNF update.\n\nAnd for update, both PUT and PATCH are perfectly allowed as both solves the purpose of update at different data levels.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":143,"context_line":"Data model impact"},{"line_number":144,"context_line":"------------------"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"None"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"REST API impact"},{"line_number":149,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_58cb4e53","line":146,"range":{"start_line":146,"start_character":0,"end_line":146,"end_character":4},"updated":"2016-06-13 19:49:22.000000000","message":"i think it is beneficial to store aggregated scaling information for instantiated VNFs other than audit trail such as:\n\ncurrent_count: vdu1-2, vdu2-3\n\n\nthis will help operators visualize the scaling metrics for VNF from Tacker API instead of checking heat stack or actual nova instances to see the scaling status.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":143,"context_line":"Data model impact"},{"line_number":144,"context_line":"------------------"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"None"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"REST API impact"},{"line_number":149,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_d0eee7eb","line":146,"range":{"start_line":146,"start_character":0,"end_line":146,"end_character":4},"in_reply_to":"7aa08908_58cb4e53","updated":"2016-06-14 04:09:11.000000000","message":"This information is always with heat and is the heat\u0027s asset, so IMHO, we should not store these things in tacker side. but when these information is required from tacker, we could directly pull it from heat. so i hope we no need to make any model changes.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":148,"context_line":"REST API impact"},{"line_number":149,"context_line":"------------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"PATCH on /v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy\u003e/\u003ctype\u003e"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Security"},{"line_number":154,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_ddc73010","line":151,"range":{"start_line":151,"start_character":0,"end_line":151,"end_character":50},"updated":"2016-06-13 19:49:22.000000000","message":"it will be good to describe a new status for VNF scale out/scalein PATCH operation?\n\n\ncan you please describe the REST API in terms of request/response?","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":148,"context_line":"REST API impact"},{"line_number":149,"context_line":"------------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"PATCH on /v1.0/vnfs/\u003cvnf1\u003e/\u003cscaling-policy\u003e/\u003ctype\u003e"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Security"},{"line_number":154,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_f0a683bf","line":151,"range":{"start_line":151,"start_character":0,"end_line":151,"end_character":50},"in_reply_to":"7aa08908_ddc73010","updated":"2016-06-14 04:09:11.000000000","message":"sure. I will add response status codes, and type is already defined in above section and I will add description here to refer it.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":202,"context_line":"    heat_template_version: 2016-04-08"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"    resources:"},{"line_number":205,"context_line":"      vdu:"},{"line_number":206,"context_line":"         type: \u003ccustom type\u003e"},{"line_number":207,"context_line":"      vdu_scaling_group:"},{"line_number":208,"context_line":"         type: OS::Heat::ScalingGroup"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_f8a67a0d","line":205,"range":{"start_line":205,"start_character":6,"end_line":205,"end_character":9},"updated":"2016-06-13 19:49:22.000000000","message":"is this the vdu resource name--VDU1, VDU2 etc?","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":202,"context_line":"    heat_template_version: 2016-04-08"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"    resources:"},{"line_number":205,"context_line":"      vdu:"},{"line_number":206,"context_line":"         type: \u003ccustom type\u003e"},{"line_number":207,"context_line":"      vdu_scaling_group:"},{"line_number":208,"context_line":"         type: OS::Heat::ScalingGroup"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_b0999b7b","line":205,"range":{"start_line":205,"start_character":6,"end_line":205,"end_character":9},"in_reply_to":"7aa08908_f8a67a0d","updated":"2016-06-14 04:09:11.000000000","message":"yes,","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":204,"context_line":"    resources:"},{"line_number":205,"context_line":"      vdu:"},{"line_number":206,"context_line":"         type: \u003ccustom type\u003e"},{"line_number":207,"context_line":"      vdu_scaling_group:"},{"line_number":208,"context_line":"         type: OS::Heat::ScalingGroup"},{"line_number":209,"context_line":"            properties:"},{"line_number":210,"context_line":"              min_size: 2"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_5d0d003d","line":207,"range":{"start_line":207,"start_character":6,"end_line":207,"end_character":23},"updated":"2016-06-13 19:49:22.000000000","message":"is the vdu_scaling_group defined per vdu?","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":204,"context_line":"    resources:"},{"line_number":205,"context_line":"      vdu:"},{"line_number":206,"context_line":"         type: \u003ccustom type\u003e"},{"line_number":207,"context_line":"      vdu_scaling_group:"},{"line_number":208,"context_line":"         type: OS::Heat::ScalingGroup"},{"line_number":209,"context_line":"            properties:"},{"line_number":210,"context_line":"              min_size: 2"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_10906f42","line":207,"range":{"start_line":207,"start_character":6,"end_line":207,"end_character":23},"in_reply_to":"7aa08908_5d0d003d","updated":"2016-06-14 04:09:11.000000000","message":"No, as i mentioned below, it would capture the combination of VDU+CP+VL for each VDU listed in targets and same is given as custom type.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":220,"context_line":""},{"line_number":221,"context_line":"NOTE:"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"* here, custom type would capture the complete VNFD as single heat HOT template"},{"line_number":224,"context_line":"  and same would be used as a whole to scale in/out."},{"line_number":225,"context_line":"* Scale group could be modeled in TOSCA, and same needs to be"},{"line_number":226,"context_line":"  supported in heat template-translator to convert it into heat scaling group."},{"line_number":227,"context_line":"* Make use of vnfd template parameterization to customize min_size, max_size,"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_1d3898ed","line":224,"range":{"start_line":223,"start_character":2,"end_line":224,"end_character":52},"updated":"2016-06-13 19:49:22.000000000","message":"not sure what this means. can you please help explain?","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":220,"context_line":""},{"line_number":221,"context_line":"NOTE:"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"* here, custom type would capture the complete VNFD as single heat HOT template"},{"line_number":224,"context_line":"  and same would be used as a whole to scale in/out."},{"line_number":225,"context_line":"* Scale group could be modeled in TOSCA, and same needs to be"},{"line_number":226,"context_line":"  supported in heat template-translator to convert it into heat scaling group."},{"line_number":227,"context_line":"* Make use of vnfd template parameterization to customize min_size, max_size,"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_d0aa6770","line":224,"range":{"start_line":223,"start_character":2,"end_line":224,"end_character":52},"in_reply_to":"7aa08908_1d3898ed","updated":"2016-06-14 04:09:11.000000000","message":"same as above comment.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":238,"context_line":"        type: OS::Heat::ScalingPolicy"},{"line_number":239,"context_line":"        properties:"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"            adjustment_type: change_in_capacity"},{"line_number":242,"context_line":"            cooldown: 120"},{"line_number":243,"context_line":"            scaling_adjustment: 1"},{"line_number":244,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_78e1ea29","line":241,"range":{"start_line":241,"start_character":29,"end_line":241,"end_character":47},"updated":"2016-06-13 19:49:22.000000000","message":"i guess this will be the adjustment_type always (based on tosca template parameters)","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":238,"context_line":"        type: OS::Heat::ScalingPolicy"},{"line_number":239,"context_line":"        properties:"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"            adjustment_type: change_in_capacity"},{"line_number":242,"context_line":"            cooldown: 120"},{"line_number":243,"context_line":"            scaling_adjustment: 1"},{"line_number":244,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_70c8d355","line":241,"range":{"start_line":241,"start_character":29,"end_line":241,"end_character":47},"in_reply_to":"7aa08908_78e1ea29","updated":"2016-06-14 04:09:11.000000000","message":"this adjustment_type is always change in capacity as for NFV, we always want to change the numbers in count. Heat does support for other type like fixed in numbers.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"81d1dc9960f08ec1ec081d5c41f9d5e14a092f42","unresolved":false,"context_lines":[{"line_number":285,"context_line":"        type: OS::Ceilometer::Alarm"},{"line_number":286,"context_line":"        properties:"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            matching_metadata: {\u0027metadata.user_metadata.stack\u0027: \u003cXXX\u003e}"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"NOTE:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_588a2ec0","line":288,"range":{"start_line":288,"start_character":12,"end_line":288,"end_character":29},"updated":"2016-06-13 19:49:22.000000000","message":"not sure why this is used for? and i do not see this being discussed in alarm based monitoring driver.","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ff1f32a71aeb4522e6a04efe80978b548d41323","unresolved":false,"context_lines":[{"line_number":285,"context_line":"        type: OS::Ceilometer::Alarm"},{"line_number":286,"context_line":"        properties:"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"            matching_metadata: {\u0027metadata.user_metadata.stack\u0027: \u003cXXX\u003e}"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"NOTE:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_b0ecfbbb","line":288,"range":{"start_line":288,"start_character":12,"end_line":288,"end_character":29},"in_reply_to":"7aa08908_588a2ec0","updated":"2016-06-14 04:09:11.000000000","message":"I will add details on why is needed in next patch.\n\nThis helps ceilometer to aggregate the metrics collected across the all VDUs and find the alarm criteria is met or not?\n\nas given at L275, we facilitate the same from VDU metadata","commit_id":"7c7c2633d6692c6d6367ff02ef4b9df69625fd1f"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"8803de4d1244f9d1711736381b547a7cbb90d25b","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"            adjust_by: 1"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"            targets: [G1]"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Here, if user wants to extend the same policy for more than one group, then it"},{"line_number":88,"context_line":"could be listed in the \u0027target\u0027 field of scaling policy defined above. And"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_ea6c2b9f","line":85,"range":{"start_line":85,"start_character":22,"end_line":85,"end_character":24},"updated":"2016-06-16 19:53:28.000000000","message":"this is not defined.","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"275d46fb8258bd807d125ef61a685ea909c60c36","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"            adjust_by: 1"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"            targets: [G1]"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Here, if user wants to extend the same policy for more than one group, then it"},{"line_number":88,"context_line":"could be listed in the \u0027target\u0027 field of scaling policy defined above. And"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_e743aead","line":85,"range":{"start_line":85,"start_character":22,"end_line":85,"end_character":24},"in_reply_to":"7aa08908_ea6c2b9f","updated":"2016-06-17 04:14:53.000000000","message":"nice catch :) thanks I will fix it.","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"8803de4d1244f9d1711736381b547a7cbb90d25b","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Below section defines the triggering mechanisms."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Once scaling is started, it will listen to the exposed heat events to track"},{"line_number":102,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":105,"context_line":"Tacker would be provided to enable the support for scaling on existing REST"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_d0b5a07e","line":102,"range":{"start_line":101,"start_character":0,"end_line":102,"end_character":69},"updated":"2016-06-16 19:53:28.000000000","message":"who is going to listen to these events? will there be a listener on the Tacker side? are we going to poll the heat stack to fetch these events similar to the current approach for heat stack create?\n\n\nOn integrating the auto scaling feature to Tacker\u0027s monitor framework, few questions:\n\n1. once the vdu instances are created, the mgmt_url/IP address need to be read, and added to the monitoring thread, how would we handle it? in other words, we need Tacker to be aware of the new instance\n\n\n2. the case of respawn on a \u0027scaling enabled\u0027 vnf: today we respin the entire VNF if one of its VDU is down (which is bad). Basically, the entire template is instantiated again.\nNow with scaling enabled, let us say vdu1 has scaled out from 2 to 5(maxed out) due to peak load alarm from ceilometer. the state of vnf has changed from its initial state. Now, one of the vdu instances goes down (out of the many in that VNF), we do not want to spin the entire VNF. What can be be the course of action here? can we use ceilometer to post the new data of the resource through the webhook?","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":20560,"name":"Tung Doan","email":"doantungbk.203@gmail.com","username":"doantungbk"},"change_message_id":"87fc36006dee8c45ab9165d9cadaaea512c36135","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Below section defines the triggering mechanisms."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Once scaling is started, it will listen to the exposed heat events to track"},{"line_number":102,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":105,"context_line":"Tacker would be provided to enable the support for scaling on existing REST"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_8a70fca5","line":102,"range":{"start_line":101,"start_character":0,"end_line":102,"end_character":69},"in_reply_to":"7aa08908_d0b5a07e","updated":"2016-06-16 21:20:36.000000000","message":"\"who is going to listen to these events?\".\nIMHO, I think polling the heat stack is not good solution. Please note that we have both scaling policy and monitoring policy to go together in term of autoscaling. We could provide callback for Ceilometer, so totally we can provide a callback for Heat.\n#2. I really like this question. IMO, once alarm_url is used to trigger scaling action, vnf-related parameters could be brought in it. However, in order to respawn vnf, it could have long delay because we will not have enough information about vnf until Ceilometer posts them.","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"275d46fb8258bd807d125ef61a685ea909c60c36","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Below section defines the triggering mechanisms."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Once scaling is started, it will listen to the exposed heat events to track"},{"line_number":102,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":105,"context_line":"Tacker would be provided to enable the support for scaling on existing REST"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_f2e1ae2b","line":102,"range":{"start_line":101,"start_character":0,"end_line":102,"end_character":69},"in_reply_to":"7aa08908_d0b5a07e","updated":"2016-06-17 04:14:53.000000000","message":"in the current impl, planned to follow the same existing approach i.e polling. once feature is in, we could enable to listen to heat events and update both scaling the create operation to listen to that events to make it asynchronous which may need to have depency on rpc as well. I created an defect for this . https://bugs.launchpad.net/tacker/+bug/1593545\n\nas stated in above comments, in the current scaling implementaion, the entire vdus are considered as one group and it will be addressed in follow up patches and respawn could be implemented once this changes in place.\n\nbasic idea here is, while designing the VNF, groups set of VUDs into one ScaleGroup and do scaling as well as moniotring on that group instead of considering all VDUs in a given VNF.","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"8803de4d1244f9d1711736381b547a7cbb90d25b","unresolved":false,"context_lines":[{"line_number":106,"context_line":"API for VNFS, as mentioned in the below section REST API Impact."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"And corresponding CLI would look like below:"},{"line_number":109,"context_line":"tacker vnf-update --scaling-policy-name \u003cpolicy name\u003e --scaling-type \u003ctype\u003e"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Here, scaling-policy-name and scaling-type are same as defined in the REST API."},{"line_number":112,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_1f41f339","line":109,"range":{"start_line":109,"start_character":18,"end_line":109,"end_character":75},"updated":"2016-06-16 19:53:28.000000000","message":"how would this be interpreted by heat driver, as in how would stack update handle this? will there be a new HOT spec created with the desired capacity? what would be the parameters? also it is good to handle --param-file here to support configurable \u0027adjust_by\u0027 parameter. or may be beneficial to expose this attribute at the vnf-update itself?","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"275d46fb8258bd807d125ef61a685ea909c60c36","unresolved":false,"context_lines":[{"line_number":106,"context_line":"API for VNFS, as mentioned in the below section REST API Impact."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"And corresponding CLI would look like below:"},{"line_number":109,"context_line":"tacker vnf-update --scaling-policy-name \u003cpolicy name\u003e --scaling-type \u003ctype\u003e"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Here, scaling-policy-name and scaling-type are same as defined in the REST API."},{"line_number":112,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_47ed628d","line":109,"range":{"start_line":109,"start_character":18,"end_line":109,"end_character":75},"in_reply_to":"7aa08908_1f41f339","updated":"2016-06-17 04:14:53.000000000","message":"usually in scaling, adjust_by is constant and usually it does not change once its defined in VNFD. if we want to  support dynamic adjust_by in future, you are right that we need to update the stack with updated hot template with new value for adjust_by.","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"8803de4d1244f9d1711736381b547a7cbb90d25b","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"And corresponding CLI would look like below:"},{"line_number":109,"context_line":"tacker vnf-update --scaling-policy-name \u003cpolicy name\u003e --scaling-type \u003ctype\u003e"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Here, scaling-policy-name and scaling-type are same as defined in the REST API."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"3. Trigger Scaling Policy using Alarm / Monitoring Triggers"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_04f366a0","line":110,"updated":"2016-06-16 19:53:28.000000000","message":"helpful to provide an example of the above command","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"275d46fb8258bd807d125ef61a685ea909c60c36","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"And corresponding CLI would look like below:"},{"line_number":109,"context_line":"tacker vnf-update --scaling-policy-name \u003cpolicy name\u003e --scaling-type \u003ctype\u003e"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Here, scaling-policy-name and scaling-type are same as defined in the REST API."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"3. Trigger Scaling Policy using Alarm / Monitoring Triggers"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_87e74aab","line":110,"in_reply_to":"7aa08908_04f366a0","updated":"2016-06-17 04:14:53.000000000","message":"sure. thanks. I will add an example","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"8803de4d1244f9d1711736381b547a7cbb90d25b","unresolved":false,"context_lines":[{"line_number":153,"context_line":"REST API impact"},{"line_number":154,"context_line":"------------------"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"PUT on v1.0/vnfs/\u003cvnf-uuid\u003e/policies/\u003cscaling-policy-name\u003e"},{"line_number":157,"context_line":"with body"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":".. code-block::json"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_44a8ce77","line":156,"range":{"start_line":156,"start_character":37,"end_line":156,"end_character":58},"updated":"2016-06-16 19:53:28.000000000","message":"this would scale out/scale in all of the VDUs defined in targets of scaling policy, which may not be desired. if one of the vdus is experiencing heavy traffic, i would want to scale out that particular vdu only.","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"275d46fb8258bd807d125ef61a685ea909c60c36","unresolved":false,"context_lines":[{"line_number":153,"context_line":"REST API impact"},{"line_number":154,"context_line":"------------------"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"PUT on v1.0/vnfs/\u003cvnf-uuid\u003e/policies/\u003cscaling-policy-name\u003e"},{"line_number":157,"context_line":"with body"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":".. code-block::json"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_92a4aa08","line":156,"range":{"start_line":156,"start_character":37,"end_line":156,"end_character":58},"in_reply_to":"7aa08908_44a8ce77","updated":"2016-06-17 04:14:53.000000000","message":"this is something i have put in TODO in the code and will implement in the follow up patach. thanks for bringing it up.\n\nin tosca, we need to provide scale group for set of combined VDUs and on top of that group, scaling will be performed. Now it act like complete VNF scaling where all the VDUs get scaled out when scaling is triggered.","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"8803de4d1244f9d1711736381b547a7cbb90d25b","unresolved":false,"context_lines":[{"line_number":264,"context_line":""},{"line_number":265,"context_line":".. code-block:: yaml"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"    vdu_scale_up_policy:"},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"        type: OS::Heat::ScalingPolicy"},{"line_number":270,"context_line":"        properties:"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_64b98a2e","line":267,"range":{"start_line":267,"start_character":4,"end_line":267,"end_character":23},"updated":"2016-06-16 19:53:28.000000000","message":"if we have more than one vdu in targets under vnfd scaling policy, will there will be a scale_up and scale_down policy created for each of these vdus?","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"275d46fb8258bd807d125ef61a685ea909c60c36","unresolved":false,"context_lines":[{"line_number":264,"context_line":""},{"line_number":265,"context_line":".. code-block:: yaml"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"    vdu_scale_up_policy:"},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"        type: OS::Heat::ScalingPolicy"},{"line_number":270,"context_line":"        properties:"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_727e5e6b","line":267,"range":{"start_line":267,"start_character":4,"end_line":267,"end_character":23},"in_reply_to":"7aa08908_64b98a2e","updated":"2016-06-17 04:14:53.000000000","message":"Now scaling is defined for the given group, which has set of vdu. so i will rename this now to mention about the group","commit_id":"410d22eca0ecd5970daef56c25ee2280c107e455"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"d56aac6b2646e0442d6968049a626c5b4f7cf061","unresolved":false,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"       G1:"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"           type: tosca.groups.tacker.ScaleGroup"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"           properties:"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_b01156b2","line":63,"updated":"2016-06-18 20:40:16.000000000","message":"This might be better as \"tosca.groups.tacker.Scaling\" to be consistent with the associated Policy definition.  Also, are the Scaling Group and Policy defined somewhere?","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7cc05c90f23f48eb2fa1e2a5dd642d273c7d4a44","unresolved":false,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"       G1:"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"           type: tosca.groups.tacker.ScaleGroup"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"           properties:"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_6089cfca","line":63,"in_reply_to":"5a9d85d2_b01156b2","updated":"2016-06-20 05:58:49.000000000","message":"Thanks Bob, I will change to Sacling as it make consitent.\nAnd definition of the group is not capture but the example.\nso i will capture that too here.","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"d56aac6b2646e0442d6968049a626c5b4f7cf061","unresolved":false,"context_lines":[{"line_number":95,"context_line":"\u0027adjust_by\u0027, and for scale-out its vice-versa."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Assume that user wants to monitor vdu1+cp1 and vdu2+cp2 separately or"},{"line_number":98,"context_line":"accumulative. To support either of these cases, scaling policy could be"},{"line_number":99,"context_line":"defined inline with monitoring strategy and gives flexibility."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Below section defines the triggering mechanisms."}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_b07836fa","line":98,"updated":"2016-06-18 20:40:16.000000000","message":"I\u0027m not sure it\u0027s a good idea to allow two methods for scaling.  Monitoring/scaling the VDUs separately can be done using individual groups for each VDU.  However I\u0027m also wondering if it would be better to keep all of the scaling properties in the Scaling Policy, and allow the policy to be targeted at either individual VDUs or at a Group of VDUs.  Splitting the scaling properties between the group and the policy, and requiring a group for scaling a single VDU, seems like it adds complexity.","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7cc05c90f23f48eb2fa1e2a5dd642d273c7d4a44","unresolved":false,"context_lines":[{"line_number":95,"context_line":"\u0027adjust_by\u0027, and for scale-out its vice-versa."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Assume that user wants to monitor vdu1+cp1 and vdu2+cp2 separately or"},{"line_number":98,"context_line":"accumulative. To support either of these cases, scaling policy could be"},{"line_number":99,"context_line":"defined inline with monitoring strategy and gives flexibility."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Below section defines the triggering mechanisms."}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_a081f791","line":98,"in_reply_to":"5a9d85d2_b07836fa","updated":"2016-06-20 05:58:49.000000000","message":"I moved the range and intial count to the group, because while creating the group, these properties are decided based on the VNF. so i felt it make sense to move it part of group.\n\nwhile In policy, it defines the how many number of instances to be added/removed.\n\nPolicy will control the how many to be scaled out/in while group is defined with boundary. this way we could many different ploicy for same group while the boundary is defined already.","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"d56aac6b2646e0442d6968049a626c5b4f7cf061","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"tacker vnf-update --scaling-policy-name \u003cpolicy name\u003e --scaling-type \u003ctype\u003e"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Here, scaling-policy-name and scaling-type are same as defined in the REST API."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"For example, to scale-out policy \u0027sp1\u0027 defined above, this cli could be used"},{"line_number":119,"context_line":"as below:"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_306d6633","line":116,"updated":"2016-06-18 20:40:16.000000000","message":"Can a link be inserted here to make it easy to jump to the definition of the types?","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7cc05c90f23f48eb2fa1e2a5dd642d273c7d4a44","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"tacker vnf-update --scaling-policy-name \u003cpolicy name\u003e --scaling-type \u003ctype\u003e"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Here, scaling-policy-name and scaling-type are same as defined in the REST API."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"For example, to scale-out policy \u0027sp1\u0027 defined above, this cli could be used"},{"line_number":119,"context_line":"as below:"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_807e7bac","line":116,"in_reply_to":"5a9d85d2_306d6633","updated":"2016-06-20 05:58:49.000000000","message":"nice idea, i will do that. thanks","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"d56aac6b2646e0442d6968049a626c5b4f7cf061","unresolved":false,"context_lines":[{"line_number":120,"context_line":""},{"line_number":121,"context_line":".. code-block::ini"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"tacker vnf-update --scaling-policy-name sp1 --scaling-type out"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"3. Trigger Scaling Policy using Alarm / Monitoring Triggers"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_b05f9674","line":123,"updated":"2016-06-18 20:40:16.000000000","message":"This example CLI should also include the VNF name or ID that is being updated.","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7cc05c90f23f48eb2fa1e2a5dd642d273c7d4a44","unresolved":false,"context_lines":[{"line_number":120,"context_line":""},{"line_number":121,"context_line":".. code-block::ini"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"tacker vnf-update --scaling-policy-name sp1 --scaling-type out"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"3. Trigger Scaling Policy using Alarm / Monitoring Triggers"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_c04ec395","line":123,"in_reply_to":"5a9d85d2_b05f9674","updated":"2016-06-20 05:58:49.000000000","message":"sure. i will add it thanks","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"d56aac6b2646e0442d6968049a626c5b4f7cf061","unresolved":false,"context_lines":[{"line_number":259,"context_line":""},{"line_number":260,"context_line":"NOTE:"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"* here, custom type would capture the complete VNFD as single heat HOT template"},{"line_number":263,"context_line":"  and same would be used as a whole to scale in/out."},{"line_number":264,"context_line":"* Scale group could be modeled in TOSCA, and same needs to be"},{"line_number":265,"context_line":"  supported in heat template-translator to convert it into heat scaling group."}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_50f9124d","line":262,"updated":"2016-06-18 20:40:16.000000000","message":"should this be \"capture the complete VDU as a single HOT custom resource type\"?","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7cc05c90f23f48eb2fa1e2a5dd642d273c7d4a44","unresolved":false,"context_lines":[{"line_number":259,"context_line":""},{"line_number":260,"context_line":"NOTE:"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"* here, custom type would capture the complete VNFD as single heat HOT template"},{"line_number":263,"context_line":"  and same would be used as a whole to scale in/out."},{"line_number":264,"context_line":"* Scale group could be modeled in TOSCA, and same needs to be"},{"line_number":265,"context_line":"  supported in heat template-translator to convert it into heat scaling group."}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_8055db1e","line":262,"in_reply_to":"5a9d85d2_50f9124d","updated":"2016-06-20 05:58:49.000000000","message":"no, it should capture the complete group as on custom type. i will fix it thanks.","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":16511,"name":"Bob Haddleton","email":"bob.haddleton@nokia.com","username":"bobh"},"change_message_id":"d56aac6b2646e0442d6968049a626c5b4f7cf061","unresolved":false,"context_lines":[{"line_number":331,"context_line":""},{"line_number":332,"context_line":"NOTE:"},{"line_number":333,"context_line":""},{"line_number":334,"context_line":"* When scaling is supported, it would mandates the Load-balancer among the VDU"},{"line_number":335,"context_line":"  in scaling group. So it can to be added as part of scaling group resource"},{"line_number":336,"context_line":"  element."},{"line_number":337,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_50e2b2a0","line":334,"updated":"2016-06-18 20:40:16.000000000","message":"This is not necessarily true.  Some VNFs may require a load balancer but others may not.  If one is required it should be specified in the VNFD, not assumed by Tacker.","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7cc05c90f23f48eb2fa1e2a5dd642d273c7d4a44","unresolved":false,"context_lines":[{"line_number":331,"context_line":""},{"line_number":332,"context_line":"NOTE:"},{"line_number":333,"context_line":""},{"line_number":334,"context_line":"* When scaling is supported, it would mandates the Load-balancer among the VDU"},{"line_number":335,"context_line":"  in scaling group. So it can to be added as part of scaling group resource"},{"line_number":336,"context_line":"  element."},{"line_number":337,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"5a9d85d2_40093331","line":334,"in_reply_to":"5a9d85d2_50e2b2a0","updated":"2016-06-20 05:58:49.000000000","message":"I add this as mandatory because, the moment we create more than one instance of group, for same VDU there will be multiple mgmt IP one per each VDU. so while providing the mgmt IP to user, who would expect to have one IP per VDU set. as he is going to access the functionality via only one IP. \n\nThis could be an follow up blueprint/patch.","commit_id":"316317c6aa9aac5c8d44f878e63f51a1d9863f64"},{"author":{"_account_id":19610,"name":"Ulas Kozat","email":"ulas.kozat@gmail.com","username":"u_kozat"},"change_message_id":"336867c99e5e9905a7420ac53541e80430cba5c6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"3aaa91ec_f04e11c0","updated":"2016-06-22 09:11:40.000000000","message":"The workflow and who is responsible for what should be further clarified. From my reading, I understand that, VNF author is supposed to define the scaling policy and ask for the application of the policy either manually or in an automated manner from Tacker.\n\nFew things are not clear to me:\n1. How does the policy author know what can be supported by Tacker? Should Tacker instead define a set of scaling policies it can honor and advertise these?\n\n2. How do we resolve conflicting policies in Tacker? Does Tacker use a service like Congress or provide its own policy resolution?\n\n3. Shall we include scale-up/down also as part of this spec?","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"8b806cc8d7729d54f8fad7758120a4b5e53e4251","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"3aaa91ec_de4dcd9a","in_reply_to":"3aaa91ec_f04e11c0","updated":"2016-06-22 16:18:23.000000000","message":"please find the answer below:\n1. Tacker defines the scaling policy schema and user could make use of it to tune based on the needs\n2. can you please ellobrate more on it. \n3. its out of the scope for this spec.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"f09940f9d7a7f2d396f9aebd982c611f0b55d144","unresolved":false,"context_lines":[{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below by referring [1]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new scaling group and policy definitions are given below:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"**tosca.groups.tacker.Scaling:**"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_030eb93a","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":61},"updated":"2016-06-23 09:51:40.000000000","message":"Why do we need to split the scaling properties into two different node_types ?\n\nI\u0027d suggest we consolidate them \"tosca.policies.tacker.Scaling:\"\n\n\nand skip tacker.groups.tacker.Scaling.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"0e9caf39be4c886e836fe6575a524ff2a8b61092","unresolved":false,"context_lines":[{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below by referring [1]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new scaling group and policy definitions are given below:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"**tosca.groups.tacker.Scaling:**"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_fd54e521","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":61},"in_reply_to":"3aaa91ec_030eb93a","updated":"2016-06-23 11:58:21.000000000","message":"I refered the tosca profile given below in this spec to make use of group and policy. kindly let me know why these to be combined?","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"c25eeea29786fc4fa7b50ed783099345aefaed51","unresolved":false,"context_lines":[{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below by referring [1]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new scaling group and policy definitions are given below:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"**tosca.groups.tacker.Scaling:**"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_bd5ea4e6","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":61},"in_reply_to":"3aaa91ec_4fcf0d56","updated":"2016-06-30 04:42:26.000000000","message":"Sridhar, Sure. I agree with you. I will put an update patch by moving all the attributes from group to policy and removing the group def from tosca profile we have.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"cdb24a1b75efca263999334c0ed9b39fec23816f","unresolved":false,"context_lines":[{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below by referring [1]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new scaling group and policy definitions are given below:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"**tosca.groups.tacker.Scaling:**"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_4fcf0d56","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":61},"in_reply_to":"3aaa91ec_8634b74a","updated":"2016-06-30 00:59:02.000000000","message":"I guess we differ here :)\n\nOASIS TOSCA has a Monitoring Adhoc group and they are iterating on a scaling policy [1]. It is still in the draft stage but the general outline has been stable since fall 2015 (work started as part of the Senlin AutoScale definition work).\n\nTOSCA working group is also conscious to some extent NOT to leak too much “openstack-ness” into their standards. So, while they seem similar at times, they do differ in many aspects from the templates in OpenStack / AWS world. For Tacker, having picked OASIS TOSCA has the nomenclature for our journey, for good or bad, we need to stick to it.\n\nI’m a member of TOSCA TC (Technical Committee), few of us there and in OPNFV (particularly in the Models projects) are the main proponents of TOSCA in the world of NFV Orchestration and it just doesn’t make sense for *the* project that implements TOSCA (Tacker) to deviate and define its own schema for a feature where there are definitions already available.\n\n[1] https://docs.google.com/document/d/1opZu-dJT6ANS-NKrmeyIOHm5sbTom03TqtfV7gWOYb0/edit","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"bd1e75c620beda2196edbba0ae7ea36472503cb4","unresolved":false,"context_lines":[{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below by referring [1]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new scaling group and policy definitions are given below:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"**tosca.groups.tacker.Scaling:**"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_7556e8ce","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":61},"in_reply_to":"3aaa91ec_bd5ea4e6","updated":"2016-06-30 18:48:12.000000000","message":"Thanks for your understanding. BTW, I appreciate these viewpoints, so  please keep bringing these debates and alternate ideas - it is healthy for the project!","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"050a85e15a6768661c60dd5c33743e30ae3e9e5d","unresolved":false,"context_lines":[{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below by referring [1]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new scaling group and policy definitions are given below:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"**tosca.groups.tacker.Scaling:**"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_8634b74a","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":61},"in_reply_to":"3aaa91ec_ccf60ff9","updated":"2016-06-28 04:37:27.000000000","message":"yes, its from the simple profile and section \"2.12 Grouping node templates\", it does describe the use of policies with group. and tried to refer how AWS[1] and HOT have modelled the scaling related resources and tried to match them here, as TOSCA profile does not mention about the properties of group and policy.\n\n[1] http://docs.aws.amazon.com/autoscaling/latest/userguide/scaling_plan.html\nhttp://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroup.html\n\n[2]http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::AutoScalingGroup\nhttp://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::ScalingPolicy\n\nThis modelling also helps in defining more than one policy for a give group based on the needs, here we do one for scale out and another one for scale in policies","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"4c141b912c188e431915465e070ea886b821f530","unresolved":false,"context_lines":[{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below by referring [1]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new scaling group and policy definitions are given below:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"**tosca.groups.tacker.Scaling:**"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_ccf60ff9","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":61},"in_reply_to":"3aaa91ec_fd54e521","updated":"2016-06-27 11:58:26.000000000","message":"Can you please provide a specific reference where you got that sample ?  Is it from TOSCA Simple Profile (L452). Can you provide a specific section reference ?","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"f09940f9d7a7f2d396f9aebd982c611f0b55d144","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":".. code-block::ini"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"**tacker vnf-update --vnf-id \u003cvnf-id\u003e**"},{"line_number":166,"context_line":"                  **--vnf-name \u003cvnf name\u003e**"},{"line_number":167,"context_line":"                  **--scaling-policy-name \u003cpolicy name\u003e**"},{"line_number":168,"context_line":"                  **--scaling-type \u003ctype\u003e**"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_9eb83ee7","line":165,"range":{"start_line":165,"start_character":9,"end_line":165,"end_character":19},"updated":"2016-06-23 09:51:40.000000000","message":"I\u0027ve a slight change of heart, can we make scaling a first class feature of Tacker ? That means using it actively in the RESTapi and the CLIs.\n\nI\u0027ve been looking at few other systems, orchestrator demos and, even, some container orchestration suites .. most of them prominently offer \"scaling\" feature. So, I\u0027m afraid we will set a bad precedent to overload \"vnf-update\" mean multiple things - configuration-update, scaling, and other things in the future. \n\nSo, the CLI using \"scaling\" would be,\n\ntacker vnf-scale --vnf-id \u003cvnf-id\u003e ...","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"0e9caf39be4c886e836fe6575a524ff2a8b61092","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":".. code-block::ini"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"**tacker vnf-update --vnf-id \u003cvnf-id\u003e**"},{"line_number":166,"context_line":"                  **--vnf-name \u003cvnf name\u003e**"},{"line_number":167,"context_line":"                  **--scaling-policy-name \u003cpolicy name\u003e**"},{"line_number":168,"context_line":"                  **--scaling-type \u003ctype\u003e**"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_a0599400","line":165,"range":{"start_line":165,"start_character":9,"end_line":165,"end_character":19},"in_reply_to":"3aaa91ec_9eb83ee7","updated":"2016-06-23 11:58:21.000000000","message":"Sridhar, thanks for commenting about it. please find my comment at 166, which align very similarl line. except saying, scaling,  made as one more level abstraction where in, scaling, monitoring and load balancing, etc can me made as policy .","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"54a93e7c029f70e651156f6fa2aeb35bcb2a9c7a","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":".. code-block::ini"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"**tacker vnf-update --vnf-id \u003cvnf-id\u003e**"},{"line_number":166,"context_line":"                  **--vnf-name \u003cvnf name\u003e**"},{"line_number":167,"context_line":"                  **--scaling-policy-name \u003cpolicy name\u003e**"},{"line_number":168,"context_line":"                  **--scaling-type \u003ctype\u003e**"},{"line_number":169,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_0eb8c7e4","line":166,"range":{"start_line":165,"start_character":22,"end_line":166,"end_character":41},"updated":"2016-06-21 03:41:55.000000000","message":"vnf-id/name is a positional argument for vnf-update","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"724b508b5dcb461651ba5b141b86d9123697da4e","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":".. code-block::ini"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"**tacker vnf-update --vnf-id \u003cvnf-id\u003e**"},{"line_number":166,"context_line":"                  **--vnf-name \u003cvnf name\u003e**"},{"line_number":167,"context_line":"                  **--scaling-policy-name \u003cpolicy name\u003e**"},{"line_number":168,"context_line":"                  **--scaling-type \u003ctype\u003e**"},{"line_number":169,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_cddcbe75","line":166,"range":{"start_line":165,"start_character":22,"end_line":166,"end_character":41},"in_reply_to":"3aaa91ec_b9ba9b21","updated":"2016-06-23 21:04:08.000000000","message":"Just combining both Sridhar and Kanagaraj comments here.\n\n1. tacker vnf-scale --vnf-id \u003cvnf-id\u003e ...\n\n2. tacker vnf-policy-action --vnf-id \u003cvnf-d\u003e --policy-name \u003cname\u003e --action-name \u003cscale_in/scale_out\u003e --parameters \u003c\u003e\n\nI think it is good as well to have a separate CLI and API for scale operation.\n\nScaling policies are coming from VNFD template for manual triggers and is scoped to the options provided in template for the VNF and not abstracted as tacker level abstracted scaling policies. If we want to generalize the cli as vnf-policy-action there is nothing in the command that imply it is \u0027scale\u0027 operation on vnf for the user.\n\n\nI\u0027m fine with,\n\ntacker vnf-scale --vnf-id/name --policy-name \u003cname\u003e --type \u003cin/out\u003e\n                                        \n\nJust as a FYI, if we need to support scale at service chain level (vnffg) in future. say attach more VNFs to existing chain or attach new ports to existing VNFs based on policies, how would they evolve inline with existing design? good to think about the scaling framework keeping this in mind.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7015f706b6e195d397898d23be243876bd94368d","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":".. code-block::ini"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"**tacker vnf-update --vnf-id \u003cvnf-id\u003e**"},{"line_number":166,"context_line":"                  **--vnf-name \u003cvnf name\u003e**"},{"line_number":167,"context_line":"                  **--scaling-policy-name \u003cpolicy name\u003e**"},{"line_number":168,"context_line":"                  **--scaling-type \u003ctype\u003e**"},{"line_number":169,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_f1f5f3ec","line":166,"range":{"start_line":165,"start_character":22,"end_line":166,"end_character":41},"in_reply_to":"3aaa91ec_cddcbe75","updated":"2016-06-24 09:10:22.000000000","message":"i support the comment on that user does not get to know that when we provide vnf-policy-action as  command, so we could just rename it vnf-scale and go with other command line parameter as its.\n\ncurrent scaling design would help to scale any thing as part of the Scaling node. In future, the elements in the group could be a VNF itself instead of VDU. as the group they would scale and required CP would get established as they are part of the group already. so i don\u0027t see any problem.\n\nkindly let me know if you see any gap.\n\nI already put the scaling patches. kindly have a look. thanks.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"17e8effa4f05d3846070c486be6d02d28b389f60","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":".. code-block::ini"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"**tacker vnf-update --vnf-id \u003cvnf-id\u003e**"},{"line_number":166,"context_line":"                  **--vnf-name \u003cvnf name\u003e**"},{"line_number":167,"context_line":"                  **--scaling-policy-name \u003cpolicy name\u003e**"},{"line_number":168,"context_line":"                  **--scaling-type \u003ctype\u003e**"},{"line_number":169,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_59229b02","line":166,"range":{"start_line":165,"start_character":22,"end_line":166,"end_character":41},"in_reply_to":"5a9d85d2_0eb8c7e4","updated":"2016-06-21 07:22:58.000000000","message":"ok. i will modify appropriately. thanks","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"8b806cc8d7729d54f8fad7758120a4b5e53e4251","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":".. code-block::ini"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"**tacker vnf-update --vnf-id \u003cvnf-id\u003e**"},{"line_number":166,"context_line":"                  **--vnf-name \u003cvnf name\u003e**"},{"line_number":167,"context_line":"                  **--scaling-policy-name \u003cpolicy name\u003e**"},{"line_number":168,"context_line":"                  **--scaling-type \u003ctype\u003e**"},{"line_number":169,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_b9ba9b21","line":166,"range":{"start_line":165,"start_character":22,"end_line":166,"end_character":41},"in_reply_to":"5a9d85d2_59229b02","updated":"2016-06-22 16:18:23.000000000","message":"I would like to make the scaling cli as below:\n\nas defined in line 229, making the cli as policy centric instead of scaling:\n\ntacker vnf-policy-action --vnf-id \u003cvnf-d\u003e --policy-name \u003cname\u003e --action-name \u003cscale_in/scale_out\u003e --parameters \u003c\u003e\n\nfor scaling ofcourse, no parameters supported as of now.\n\nlike to get opinion on this. thanks","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"54a93e7c029f70e651156f6fa2aeb35bcb2a9c7a","unresolved":false,"context_lines":[{"line_number":183,"context_line":""},{"line_number":184,"context_line":"3. Trigger Scaling Policy using Alarm / Monitoring Triggers"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"Alarm monitoring driver could make use of this scaling feature to trigger"},{"line_number":187,"context_line":"scale-in scale-out automatically as mentioned below:"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":".. code-block:: yaml"},{"line_number":190,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_ce3a3f98","line":187,"range":{"start_line":186,"start_character":0,"end_line":187,"end_character":52},"updated":"2016-06-21 03:41:55.000000000","message":"Is Tacker kept in loop for this? In other words, if alarm driver receives a cpu util high event, will Tacker trigger the scale-out of the VNF automatically based on the scaling policy? or does heat internally performs the scale-out?","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"17e8effa4f05d3846070c486be6d02d28b389f60","unresolved":false,"context_lines":[{"line_number":183,"context_line":""},{"line_number":184,"context_line":"3. Trigger Scaling Policy using Alarm / Monitoring Triggers"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"Alarm monitoring driver could make use of this scaling feature to trigger"},{"line_number":187,"context_line":"scale-in scale-out automatically as mentioned below:"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":".. code-block:: yaml"},{"line_number":190,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_b94f3fbc","line":187,"range":{"start_line":186,"start_character":0,"end_line":187,"end_character":52},"in_reply_to":"5a9d85d2_ce3a3f98","updated":"2016-06-21 07:22:58.000000000","message":"tacker does take care of the control, this logic would go in the one of 2 ways from alarm spec\n\n1. embed the scaling api for scaling policy in alarm action\n2. embed the new webservice url in alarm action and that webserivce would trigger scaling\n\nin either case, following facts are same","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"724b508b5dcb461651ba5b141b86d9123697da4e","unresolved":false,"context_lines":[{"line_number":226,"context_line":"REST API impact"},{"line_number":227,"context_line":"---------------"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"**PUT on v1.0/vnfs/\u003cvnf-uuid\u003e/policies/\u003cscaling-policy-name\u003e**"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"with body"},{"line_number":232,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_68c3f1ed","line":229,"range":{"start_line":229,"start_character":0,"end_line":229,"end_character":62},"updated":"2016-06-23 21:04:08.000000000","message":"This API appears as though it is updating a specific policy inside a VNF with new attributes.\n\nIMO, the API is supposed to be POST on VNF \"Actions\". Scale-out, scale-in, scale-up or scale-down are different actions we can perform on the VNF. \n\nWe are either associating a scaling action to a VNF (scale-out) or disassociating a scaling action from a VNF (scale-in) which internally invokes appropriate heat calls to do the operation. This API would either be invoked by the alarm framework or manually triggered from CLI/Horizon.\n\n\nPOST on v1.0/vnfs/\u003cvnf-uuid\u003e/actions/\n\n{\"action\": {\"type\": \"scale-out\", \"policy_name\": \"SP1\"}\n\n\nand similarly for scale-in:\n\n\nPOST on v1.0/vnfs/\u003cvnf-uuid\u003e/actions/\n\n{\"action\": {\"type\": \"scale-in\", \"policy_name\": \"SP1\"}\n\n\nDELETE on v1.0/vnfs/\u003cvnf-uuid\u003e/actions/\u003caction-id\u003e\n\nwould bring back the VNF to its original state.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"dcbba2ceae7dc3a55cc1416ac94e472313411d1b","unresolved":false,"context_lines":[{"line_number":226,"context_line":"REST API impact"},{"line_number":227,"context_line":"---------------"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"**PUT on v1.0/vnfs/\u003cvnf-uuid\u003e/policies/\u003cscaling-policy-name\u003e**"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"with body"},{"line_number":232,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_014b915a","line":229,"range":{"start_line":229,"start_character":0,"end_line":229,"end_character":62},"in_reply_to":"3aaa91ec_345c1bed","updated":"2016-06-28 04:48:13.000000000","message":"Sripriya, Thanks for looking into other services. I have referred the nova and heat and based on that, defined the above format. \n\nHeat does follow the similar patter for \u0027preview\u0027, \u0027signal\u0027, etc and other actions. and It does give unique API to the user for different operations. I didn\u0027t choose the type \u0027actions\u0027 because actions is not an resource to be model as but is an operation. In REST ful, there is no constructive definition on this kind of operations. Its more of conventions followed in OpenStack and I choose the \u0027signal\u0027[1] approach in the next patchset.\n\n[1] http://developer.openstack.org/api-ref-orchestration-v1.html#resource_signal","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"7e0747fc68870fdb7b72826ba5f9beb88517fe6e","unresolved":false,"context_lines":[{"line_number":226,"context_line":"REST API impact"},{"line_number":227,"context_line":"---------------"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"**PUT on v1.0/vnfs/\u003cvnf-uuid\u003e/policies/\u003cscaling-policy-name\u003e**"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"with body"},{"line_number":232,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_345c1bed","line":229,"range":{"start_line":229,"start_character":0,"end_line":229,"end_character":62},"in_reply_to":"3aaa91ec_517e8719","updated":"2016-06-27 19:56:42.000000000","message":"action here performs non life cycle operations on VNF other than POST, CREATE, PUT and DELETE and is associated with the VNF object itself. For best practices in other openStack services which uses a similar approach to perform non life cycle operations, please refer Nova and Heat APIs. [1] [2]\n\n[1] http://developer.openstack.org/api-ref/compute/?expanded\u003devacuate-server-evacuate-action-detail,start-server-os-start-action-detail#servers-run-an-action-servers-action\n\n[2] http://developer.openstack.org/api-ref-orchestration-v1.html#stack-actions","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"c6d2de5f572fa29f4f145d97f725610e5dfb23f1","unresolved":false,"context_lines":[{"line_number":226,"context_line":"REST API impact"},{"line_number":227,"context_line":"---------------"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"**PUT on v1.0/vnfs/\u003cvnf-uuid\u003e/policies/\u003cscaling-policy-name\u003e**"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"with body"},{"line_number":232,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_69bdb001","line":229,"range":{"start_line":229,"start_character":0,"end_line":229,"end_character":62},"in_reply_to":"3aaa91ec_68c3f1ed","updated":"2016-06-23 23:26:29.000000000","message":"correction in the comment. it should be:\n\nWe are either associating a scaling action to a VNF (scale-out/scale-in) or disassociating a scaling action from a VNF (original state) which internally invokes appropriate heat calls to do the operation.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7015f706b6e195d397898d23be243876bd94368d","unresolved":false,"context_lines":[{"line_number":226,"context_line":"REST API impact"},{"line_number":227,"context_line":"---------------"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"**PUT on v1.0/vnfs/\u003cvnf-uuid\u003e/policies/\u003cscaling-policy-name\u003e**"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"with body"},{"line_number":232,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_517e8719","line":229,"range":{"start_line":229,"start_character":0,"end_line":229,"end_character":62},"in_reply_to":"3aaa91ec_68c3f1ed","updated":"2016-06-24 09:10:22.000000000","message":"scaling is completedly controlled by the policy mentioned as part of VNFD. and while performing the scaling, user should input the policy name and the action name.\n\nHere I have made the API more generic in terms of policy, so the api whould holds good for any other policies. so vnf-scale command would make use of this API and tomorrow vnf-xxx could be easily possible for new policies. otherwise same kind of API will be repeated across all policies, but they differ only at the driver level.\n\nand We should not model the action as resource, the way its mentioned your comments. actions are one of life cycle operation and its not an entity.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"54a93e7c029f70e651156f6fa2aeb35bcb2a9c7a","unresolved":false,"context_lines":[{"line_number":361,"context_line":"        properties:"},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"            adjustment_type: change_in_capacity"},{"line_number":364,"context_line":"            cooldown: 120"},{"line_number":365,"context_line":"            scaling_adjustment: 1"},{"line_number":366,"context_line":""},{"line_number":367,"context_line":"    G2_scale_in_policy:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_4e780f2c","line":364,"range":{"start_line":364,"start_character":12,"end_line":364,"end_character":25},"updated":"2016-06-21 03:41:55.000000000","message":"is this hardcoded? we do not expose this attribute in tosca template.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"17e8effa4f05d3846070c486be6d02d28b389f60","unresolved":false,"context_lines":[{"line_number":361,"context_line":"        properties:"},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"            adjustment_type: change_in_capacity"},{"line_number":364,"context_line":"            cooldown: 120"},{"line_number":365,"context_line":"            scaling_adjustment: 1"},{"line_number":366,"context_line":""},{"line_number":367,"context_line":"    G2_scale_in_policy:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_99d7e3ec","line":364,"range":{"start_line":364,"start_character":12,"end_line":364,"end_character":25},"in_reply_to":"5a9d85d2_4e780f2c","updated":"2016-06-21 07:22:58.000000000","message":"it is part of template as mentioned below","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"724b508b5dcb461651ba5b141b86d9123697da4e","unresolved":false,"context_lines":[{"line_number":361,"context_line":"        properties:"},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"            adjustment_type: change_in_capacity"},{"line_number":364,"context_line":"            cooldown: 120"},{"line_number":365,"context_line":"            scaling_adjustment: 1"},{"line_number":366,"context_line":""},{"line_number":367,"context_line":"    G2_scale_in_policy:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_f7018039","line":364,"range":{"start_line":364,"start_character":12,"end_line":364,"end_character":25},"in_reply_to":"5a9d85d2_99d7e3ec","updated":"2016-06-23 21:04:08.000000000","message":"i did not see it mentioned in the above tosca templates. not sure if i\u0027m missing something here.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"54a93e7c029f70e651156f6fa2aeb35bcb2a9c7a","unresolved":false,"context_lines":[{"line_number":364,"context_line":"            cooldown: 120"},{"line_number":365,"context_line":"            scaling_adjustment: 1"},{"line_number":366,"context_line":""},{"line_number":367,"context_line":"    G2_scale_in_policy:"},{"line_number":368,"context_line":""},{"line_number":369,"context_line":"        type: OS::Heat::ScalingPolicy"},{"line_number":370,"context_line":"        properties:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_0e860713","line":367,"range":{"start_line":367,"start_character":4,"end_line":367,"end_character":6},"updated":"2016-06-21 03:41:55.000000000","message":"G1?","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"17e8effa4f05d3846070c486be6d02d28b389f60","unresolved":false,"context_lines":[{"line_number":364,"context_line":"            cooldown: 120"},{"line_number":365,"context_line":"            scaling_adjustment: 1"},{"line_number":366,"context_line":""},{"line_number":367,"context_line":"    G2_scale_in_policy:"},{"line_number":368,"context_line":""},{"line_number":369,"context_line":"        type: OS::Heat::ScalingPolicy"},{"line_number":370,"context_line":"        properties:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_d907ab7f","line":367,"range":{"start_line":367,"start_character":4,"end_line":367,"end_character":6},"in_reply_to":"5a9d85d2_0e860713","updated":"2016-06-21 07:22:58.000000000","message":"yes","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"54a93e7c029f70e651156f6fa2aeb35bcb2a9c7a","unresolved":false,"context_lines":[{"line_number":394,"context_line":""},{"line_number":395,"context_line":"                resource:"},{"line_number":396,"context_line":""},{"line_number":397,"context_line":"                    metadata: {\"metering.stack\": \u003cXXX\u003e}"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_ee045b7f","line":397,"range":{"start_line":397,"start_character":32,"end_line":397,"end_character":54},"updated":"2016-06-21 03:41:55.000000000","message":"this would do the handshake between alarm and scaling framework. does that guarantee the targets are the same set in both frameworks?","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":20560,"name":"Tung Doan","email":"doantungbk.203@gmail.com","username":"doantungbk"},"change_message_id":"8f4358f728e5b5f13080f26da91da501f2789c91","unresolved":false,"context_lines":[{"line_number":394,"context_line":""},{"line_number":395,"context_line":"                resource:"},{"line_number":396,"context_line":""},{"line_number":397,"context_line":"                    metadata: {\"metering.stack\": \u003cXXX\u003e}"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_079ffc50","line":397,"range":{"start_line":397,"start_character":32,"end_line":397,"end_character":54},"in_reply_to":"5a9d85d2_59f45b86","updated":"2016-06-21 10:40:55.000000000","message":"\u003cXXX\u003e is stack_id, right? it should be unified when translated to HOT template.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"17e8effa4f05d3846070c486be6d02d28b389f60","unresolved":false,"context_lines":[{"line_number":394,"context_line":""},{"line_number":395,"context_line":"                resource:"},{"line_number":396,"context_line":""},{"line_number":397,"context_line":"                    metadata: {\"metering.stack\": \u003cXXX\u003e}"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a9d85d2_59f45b86","line":397,"range":{"start_line":397,"start_character":32,"end_line":397,"end_character":54},"in_reply_to":"5a9d85d2_ee045b7f","updated":"2016-06-21 07:22:58.000000000","message":"yes, its an mandatory fact.","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":19610,"name":"Ulas Kozat","email":"ulas.kozat@gmail.com","username":"u_kozat"},"change_message_id":"336867c99e5e9905a7420ac53541e80430cba5c6","unresolved":false,"context_lines":[{"line_number":397,"context_line":"                    metadata: {\"metering.stack\": \u003cXXX\u003e}"},{"line_number":398,"context_line":""},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"},{"line_number":401,"context_line":"with same unique identifier as below, It helps ceilometer to aggregate the"},{"line_number":402,"context_line":"metrics collected across the all groups defined in the targets and find"},{"line_number":403,"context_line":"the alarm criteria is met or not."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_f793abf8","line":400,"range":{"start_line":400,"start_character":34,"end_line":400,"end_character":37},"updated":"2016-06-22 09:11:40.000000000","message":"it is","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":19610,"name":"Ulas Kozat","email":"ulas.kozat@gmail.com","username":"u_kozat"},"change_message_id":"336867c99e5e9905a7420ac53541e80430cba5c6","unresolved":false,"context_lines":[{"line_number":398,"context_line":""},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"},{"line_number":401,"context_line":"with same unique identifier as below, It helps ceilometer to aggregate the"},{"line_number":402,"context_line":"metrics collected across the all groups defined in the targets and find"},{"line_number":403,"context_line":"the alarm criteria is met or not."},{"line_number":404,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_3ad07a53","line":401,"range":{"start_line":401,"start_character":36,"end_line":401,"end_character":37},"updated":"2016-06-22 09:11:40.000000000","message":".","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":19610,"name":"Ulas Kozat","email":"ulas.kozat@gmail.com","username":"u_kozat"},"change_message_id":"336867c99e5e9905a7420ac53541e80430cba5c6","unresolved":false,"context_lines":[{"line_number":398,"context_line":""},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"},{"line_number":401,"context_line":"with same unique identifier as below, It helps ceilometer to aggregate the"},{"line_number":402,"context_line":"metrics collected across the all groups defined in the targets and find"},{"line_number":403,"context_line":"the alarm criteria is met or not."},{"line_number":404,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_fae7123e","line":401,"range":{"start_line":401,"start_character":5,"end_line":401,"end_character":9},"updated":"2016-06-22 09:11:40.000000000","message":"the same","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":19610,"name":"Ulas Kozat","email":"ulas.kozat@gmail.com","username":"u_kozat"},"change_message_id":"336867c99e5e9905a7420ac53541e80430cba5c6","unresolved":false,"context_lines":[{"line_number":399,"context_line":""},{"line_number":400,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"},{"line_number":401,"context_line":"with same unique identifier as below, It helps ceilometer to aggregate the"},{"line_number":402,"context_line":"metrics collected across the all groups defined in the targets and find"},{"line_number":403,"context_line":"the alarm criteria is met or not."},{"line_number":404,"context_line":""},{"line_number":405,"context_line":".. code-block:: yaml"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_bac46a92","line":402,"range":{"start_line":402,"start_character":25,"end_line":402,"end_character":32},"updated":"2016-06-22 09:11:40.000000000","message":"all the","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":19610,"name":"Ulas Kozat","email":"ulas.kozat@gmail.com","username":"u_kozat"},"change_message_id":"336867c99e5e9905a7420ac53541e80430cba5c6","unresolved":false,"context_lines":[{"line_number":399,"context_line":""},{"line_number":400,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"},{"line_number":401,"context_line":"with same unique identifier as below, It helps ceilometer to aggregate the"},{"line_number":402,"context_line":"metrics collected across the all groups defined in the targets and find"},{"line_number":403,"context_line":"the alarm criteria is met or not."},{"line_number":404,"context_line":""},{"line_number":405,"context_line":".. code-block:: yaml"},{"line_number":406,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_fabef2fd","line":403,"range":{"start_line":402,"start_character":67,"end_line":403,"end_character":18},"updated":"2016-06-22 09:11:40.000000000","message":"find out whether the alarm criterion","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"1a79710f1f1cf8efe6504d57184c210c56beb953","unresolved":false,"context_lines":[{"line_number":399,"context_line":""},{"line_number":400,"context_line":"In alarm based monitoring driver, its mandatory to set the matching metadata"},{"line_number":401,"context_line":"with same unique identifier as below, It helps ceilometer to aggregate the"},{"line_number":402,"context_line":"metrics collected across the all groups defined in the targets and find"},{"line_number":403,"context_line":"the alarm criteria is met or not."},{"line_number":404,"context_line":""},{"line_number":405,"context_line":".. code-block:: yaml"},{"line_number":406,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_b1bc0bbc","line":403,"range":{"start_line":402,"start_character":67,"end_line":403,"end_character":18},"in_reply_to":"3aaa91ec_fabef2fd","updated":"2016-06-24 09:11:29.000000000","message":"thanks i will fix them in next patch","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":19610,"name":"Ulas Kozat","email":"ulas.kozat@gmail.com","username":"u_kozat"},"change_message_id":"336867c99e5e9905a7420ac53541e80430cba5c6","unresolved":false,"context_lines":[{"line_number":414,"context_line":""},{"line_number":415,"context_line":"NOTE:"},{"line_number":416,"context_line":""},{"line_number":417,"context_line":"* When scaling is supported, it would mandates the Load-balancer among the VDU"},{"line_number":418,"context_line":"  in scaling group. So it can to be added as part of scaling group resource"},{"line_number":419,"context_line":"  element. This would help the user to have virtual IP for the set of VDUs in"},{"line_number":420,"context_line":"  the scaling group. The scope of thise problem could be enabled as another"},{"line_number":421,"context_line":"  Load balancer policy via separate blueprint/spec."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_faf1d2ce","line":418,"range":{"start_line":417,"start_character":32,"end_line":418,"end_character":19},"updated":"2016-06-22 09:11:40.000000000","message":"Do you mean \"would require a load balancer to be included as one of the VDUs in the scaling group\"? Or \"would require a load balancer to be used before the VDUs that are part of the same scaling group\"?","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"1a79710f1f1cf8efe6504d57184c210c56beb953","unresolved":false,"context_lines":[{"line_number":414,"context_line":""},{"line_number":415,"context_line":"NOTE:"},{"line_number":416,"context_line":""},{"line_number":417,"context_line":"* When scaling is supported, it would mandates the Load-balancer among the VDU"},{"line_number":418,"context_line":"  in scaling group. So it can to be added as part of scaling group resource"},{"line_number":419,"context_line":"  element. This would help the user to have virtual IP for the set of VDUs in"},{"line_number":420,"context_line":"  the scaling group. The scope of thise problem could be enabled as another"},{"line_number":421,"context_line":"  Load balancer policy via separate blueprint/spec."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3aaa91ec_91f0ef92","line":418,"range":{"start_line":417,"start_character":32,"end_line":418,"end_character":19},"in_reply_to":"3aaa91ec_faf1d2ce","updated":"2016-06-24 09:11:29.000000000","message":"2nd option :)","commit_id":"4d6f309602b37978f7fce3563ca877b5ebd69b6c"},{"author":{"_account_id":15755,"name":"Martin Oemke","email":"zeih@zeih.eu","username":"zeih"},"change_message_id":"0a31bec393a2c9753b5dc691f54d32e275a81cf5","unresolved":false,"context_lines":[{"line_number":198,"context_line":""},{"line_number":199,"context_line":"            # all monitoring related properties"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"            scale-[up|down]: sp1"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"            targets: [G1]"},{"line_number":204,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3aaa91ec_be90c196","line":201,"range":{"start_line":201,"start_character":18,"end_line":201,"end_character":27},"updated":"2016-06-28 13:27:40.000000000","message":"out/in","commit_id":"1bccfa4963afdefb43f0f1d667b4be631f83d317"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"84cd32272b88ca78635db40515f59b3605253961","unresolved":false,"context_lines":[{"line_number":226,"context_line":"REST API impact"},{"line_number":227,"context_line":"---------------"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"**POST on v1.0/vnfs/\u003cvnf-uuid\u003e/scale**"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"with body"},{"line_number":232,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3aaa91ec_400f8536","line":229,"updated":"2016-06-27 11:23:21.000000000","message":"for actions, POST is being followed as best practise in other services in OpenStack.","commit_id":"1bccfa4963afdefb43f0f1d667b4be631f83d317"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"bb8260738c11dafafda712a5a18642944945c750","unresolved":false,"context_lines":[{"line_number":226,"context_line":"REST API impact"},{"line_number":227,"context_line":"---------------"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"**POST on v1.0/vnfs/\u003cvnf-uuid\u003e/scale**"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"with body"},{"line_number":232,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3aaa91ec_66b42bd1","line":229,"in_reply_to":"3aaa91ec_34e1bbff","updated":"2016-06-28 04:23:25.000000000","message":"For this there won\u0027t be no response sent back, and 202 will be sent as mentioned below.\n\nNo need to support DELETE on this new URI, its action, not an resource being created.","commit_id":"1bccfa4963afdefb43f0f1d667b4be631f83d317"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"366315420a0bea0d141d103058672b0cb8b26bf3","unresolved":false,"context_lines":[{"line_number":226,"context_line":"REST API impact"},{"line_number":227,"context_line":"---------------"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"**POST on v1.0/vnfs/\u003cvnf-uuid\u003e/scale**"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"with body"},{"line_number":232,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3aaa91ec_34e1bbff","line":229,"in_reply_to":"3aaa91ec_400f8536","updated":"2016-06-27 19:56:27.000000000","message":"what would be the response in this case for the \u0027scale\u0027 operation?  will entire VNF object with the updated data be sent back?\n\nAlso, are you supporting DELETE on this?","commit_id":"1bccfa4963afdefb43f0f1d667b4be631f83d317"},{"author":{"_account_id":10182,"name":"Karthik Natarajan","email":"natarajk@brocade.com","username":"natarajk"},"change_message_id":"b7e9a452551c12737d9c02f43f3185860d625c59","unresolved":false,"context_lines":[{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below by referring [1]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new scaling group and policy definitions are given below:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"**tosca.groups.tacker.Scaling:**"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3aaa91ec_c8269b67","line":57,"range":{"start_line":57,"start_character":33,"end_line":57,"end_character":44},"updated":"2016-06-28 20:44:55.000000000","message":"Will the below scaling and policy definitions be part of VNFD ?","commit_id":"5d491692bfec706700cfa0a77c7e2f5ec8f93d49"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"c27b5c238df58072f24e4c936f33970f876bb033","unresolved":false,"context_lines":[{"line_number":54,"context_line":"in the step of 1 count to max of 3 and min of 1 instance of vdu to be running."},{"line_number":55,"context_line":"To support this case, Scaling policy would be defined as below by referring [1]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new scaling group and policy definitions are given below:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"**tosca.groups.tacker.Scaling:**"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3aaa91ec_45f1e969","line":57,"range":{"start_line":57,"start_character":33,"end_line":57,"end_character":44},"in_reply_to":"3aaa91ec_c8269b67","updated":"2016-06-29 03:19:03.000000000","message":"yes.","commit_id":"5d491692bfec706700cfa0a77c7e2f5ec8f93d49"},{"author":{"_account_id":10182,"name":"Karthik Natarajan","email":"natarajk@brocade.com","username":"natarajk"},"change_message_id":"b7e9a452551c12737d9c02f43f3185860d625c59","unresolved":false,"context_lines":[{"line_number":152,"context_line":"Below section defines the triggering mechanisms."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Once scaling is started, it will listen to the exposed heat events to track"},{"line_number":155,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":158,"context_line":"Tacker would be provided to enable the support for scaling on existing REST"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3aaa91ec_e8c9d77a","line":155,"range":{"start_line":155,"start_character":45,"end_line":155,"end_character":48},"updated":"2016-06-28 20:44:55.000000000","message":"Are we planning to call management driver after the VDU is created to perform any configuration actions ?","commit_id":"5d491692bfec706700cfa0a77c7e2f5ec8f93d49"},{"author":{"_account_id":10182,"name":"Karthik Natarajan","email":"natarajk@brocade.com","username":"natarajk"},"change_message_id":"c491594bd301ac1cc8005ad37c8e52476f3a7184","unresolved":false,"context_lines":[{"line_number":152,"context_line":"Below section defines the triggering mechanisms."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Once scaling is started, it will listen to the exposed heat events to track"},{"line_number":155,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":158,"context_line":"Tacker would be provided to enable the support for scaling on existing REST"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3aaa91ec_69e3f0a4","line":155,"range":{"start_line":155,"start_character":45,"end_line":155,"end_character":48},"in_reply_to":"3aaa91ec_281e3463","updated":"2016-06-29 20:27:07.000000000","message":"Yes, it would be better to mention the flow","commit_id":"5d491692bfec706700cfa0a77c7e2f5ec8f93d49"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"24d50a708b92f7f461ac72c5f914ed32660b1fb5","unresolved":false,"context_lines":[{"line_number":152,"context_line":"Below section defines the triggering mechanisms."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Once scaling is started, it will listen to the exposed heat events to track"},{"line_number":155,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":158,"context_line":"Tacker would be provided to enable the support for scaling on existing REST"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3aaa91ec_1de53808","line":155,"range":{"start_line":155,"start_character":45,"end_line":155,"end_character":48},"in_reply_to":"3aaa91ec_69e3f0a4","updated":"2016-06-30 04:42:57.000000000","message":"sure. thanks karthik","commit_id":"5d491692bfec706700cfa0a77c7e2f5ec8f93d49"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"c27b5c238df58072f24e4c936f33970f876bb033","unresolved":false,"context_lines":[{"line_number":152,"context_line":"Below section defines the triggering mechanisms."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Once scaling is started, it will listen to the exposed heat events to track"},{"line_number":155,"context_line":"the progress of the scaling and find out the new/deleted VDU details."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"2. Trigger Scaling Policy using an API (Manual)"},{"line_number":158,"context_line":"Tacker would be provided to enable the support for scaling on existing REST"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3aaa91ec_281e3463","line":155,"range":{"start_line":155,"start_character":45,"end_line":155,"end_character":48},"in_reply_to":"3aaa91ec_e8c9d77a","updated":"2016-06-29 03:19:03.000000000","message":"yes. I believe it will be part of tacker operations and should be implicit. kindly let me know if this should be called out explicitly here in the spec. thanks.","commit_id":"5d491692bfec706700cfa0a77c7e2f5ec8f93d49"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"83974459ee3e295c2c3ed21382023555be469742","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        type: integer"},{"line_number":86,"context_line":"        required: true"},{"line_number":87,"context_line":"        description: Initial number of instances."},{"line_number":88,"context_line":"      cooldown:"},{"line_number":89,"context_line":"        type: integer"},{"line_number":90,"context_line":"        required: false"},{"line_number":91,"context_line":"        default: 120"}],"source_content_type":"text/x-rst","patch_set":18,"id":"3aaa91ec_ed8d0c32","line":88,"updated":"2016-06-30 11:52:21.000000000","message":"this attribute is not captured in the TOSCA working book, but its good to have and has the control on the frequent scaling actions, which might be desirable.","commit_id":"49675c943711798c9b545ec9b8bf0bdffa43dd0c"}]}
