)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"0e17e0437978daaad76d6448a4091d5a15a2e3a4","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch add support for qos extension according to the"},{"line_number":10,"context_line":"spec modification."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I9226932191464face6e20625e35ad4b7529db4ca"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba3cc151_a7d737be","line":11,"updated":"2015-06-30 18:55:58.000000000","message":"This should Depends-On spec change.","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d0f7908b84d455b834756a2429ee4976c2f3e37","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch add support for qos extension according to the"},{"line_number":10,"context_line":"spec modification."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I9226932191464face6e20625e35ad4b7529db4ca"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba3cc151_303c9fe1","line":11,"in_reply_to":"ba3cc151_a7d737be","updated":"2015-07-01 08:37:19.000000000","message":"Done","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"}],"neutron/extensions/qos.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"d7e54a3f03504988da5793c5278b069d4b57716c","unresolved":false,"context_lines":[{"line_number":71,"context_line":"                                  \u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":72,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":73,"context_line":"                                  \u0027validate\u0027: {\u0027type:non_negative\u0027, None}},"},{"line_number":74,"context_line":"                                \u0027max_burst_kbps\u0027: {"},{"line_number":75,"context_line":"                                  \u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":76,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"},{"line_number":77,"context_line":"                                  \u0027validate\u0027: {\u0027type:non_negative\u0027, None}}})}"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_13d2f3d2","line":74,"updated":"2015-06-30 14:13:11.000000000","message":"indent issue?","commit_id":"921307746c49ab313759416316f886eb53a4a16b"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"d7e54a3f03504988da5793c5278b069d4b57716c","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        plural_mappings \u003d resource_helper.build_plural_mappings("},{"line_number":129,"context_line":"            {}, RESOURCE_ATTRIBUTE_MAP)"},{"line_number":130,"context_line":"        plural_mappings[\u0027qos_policies\u0027] \u003d \u0027qos_policy\u0027"},{"line_number":131,"context_line":"        plural_mappings[\u0027bandwidth_limit_rules\u0027] \u003d \u0027bandwidth_limit_rule\u0027"},{"line_number":132,"context_line":"        attr.PLURALS.update(plural_mappings)"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"        #TODO(QoS): manually register some resources to make sure"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_8eab3c1d","line":131,"updated":"2015-06-30 14:13:11.000000000","message":"It\u0027 better to define a constant if we use it repeatedly.\n\n QOS_POLICIES\u003d\u0027qos_policies\u0027\n BANDWIDTH_LIMIT_RULES\u003d\u0027bandwidth_limit_rules\u0027","commit_id":"921307746c49ab313759416316f886eb53a4a16b"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"0e17e0437978daaad76d6448a4091d5a15a2e3a4","unresolved":false,"context_lines":[{"line_number":65,"context_line":"SUB_RESOURCE_ATTRIBUTE_MAP \u003d {"},{"line_number":66,"context_line":"    \u0027bandwidth_limit_rules\u0027: {"},{"line_number":67,"context_line":"        \u0027parent\u0027: {\u0027collection_name\u0027: \u0027qos_policies\u0027,"},{"line_number":68,"context_line":"                   \u0027member_name\u0027: \u0027qos_policies\u0027},"},{"line_number":69,"context_line":"        \u0027parameters\u0027: dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":70,"context_line":"                           **{\u0027max_kbps\u0027: {"},{"line_number":71,"context_line":"                                  \u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_604a75ae","line":68,"updated":"2015-06-30 18:55:58.000000000","message":"Will it mean that in plugin, we\u0027ll have e.g. get_qos_policies_bandwidth_limit_rules() handler? I think it should be get_qos_policy_bandwidth_limit_rules, shouldn\u0027t it?","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d0f7908b84d455b834756a2429ee4976c2f3e37","unresolved":false,"context_lines":[{"line_number":65,"context_line":"SUB_RESOURCE_ATTRIBUTE_MAP \u003d {"},{"line_number":66,"context_line":"    \u0027bandwidth_limit_rules\u0027: {"},{"line_number":67,"context_line":"        \u0027parent\u0027: {\u0027collection_name\u0027: \u0027qos_policies\u0027,"},{"line_number":68,"context_line":"                   \u0027member_name\u0027: \u0027qos_policies\u0027},"},{"line_number":69,"context_line":"        \u0027parameters\u0027: dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":70,"context_line":"                           **{\u0027max_kbps\u0027: {"},{"line_number":71,"context_line":"                                  \u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_50484387","line":68,"in_reply_to":"ba3cc151_604a75ae","updated":"2015-07-01 08:37:19.000000000","message":"Will investigate and fix if needed. Thanks for the suggestion","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"0e17e0437978daaad76d6448a4091d5a15a2e3a4","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        plural_mappings \u003d resource_helper.build_plural_mappings("},{"line_number":129,"context_line":"            {}, RESOURCE_ATTRIBUTE_MAP)"},{"line_number":130,"context_line":"        plural_mappings[\u0027qos_policies\u0027] \u003d \u0027qos_policy\u0027"},{"line_number":131,"context_line":"        plural_mappings[\u0027bandwidth_limit_rules\u0027] \u003d \u0027bandwidth_limit_rule\u0027"},{"line_number":132,"context_line":"        attr.PLURALS.update(plural_mappings)"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"        #TODO(QoS): manually register some resources to make sure"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_60ed95ee","line":131,"updated":"2015-06-30 18:55:58.000000000","message":"nit: this singular form could be determined autormatically, by passing SUB_RESOURCE_ATTRIBUTE_MAP into build_plural_mappings too (you would need to iterate thru both maps, so you would need e.g. itertools.chain).\n\nAlso, for qos_policies, please instead of modifying plural_mappings in place, pass the mapping via special_mappings argument of build_plural_mappings.","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d0f7908b84d455b834756a2429ee4976c2f3e37","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        plural_mappings \u003d resource_helper.build_plural_mappings("},{"line_number":129,"context_line":"            {}, RESOURCE_ATTRIBUTE_MAP)"},{"line_number":130,"context_line":"        plural_mappings[\u0027qos_policies\u0027] \u003d \u0027qos_policy\u0027"},{"line_number":131,"context_line":"        plural_mappings[\u0027bandwidth_limit_rules\u0027] \u003d \u0027bandwidth_limit_rule\u0027"},{"line_number":132,"context_line":"        attr.PLURALS.update(plural_mappings)"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"        #TODO(QoS): manually register some resources to make sure"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_507123df","line":131,"in_reply_to":"ba3cc151_60ed95ee","updated":"2015-07-01 08:37:19.000000000","message":"Will look into this. Thanks a lot for suggestion","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"0e17e0437978daaad76d6448a4091d5a15a2e3a4","unresolved":false,"context_lines":[{"line_number":137,"context_line":"                plural_mappings,"},{"line_number":138,"context_line":"                RESOURCE_ATTRIBUTE_MAP,"},{"line_number":139,"context_line":"                constants.QOS,"},{"line_number":140,"context_line":"                translate_name\u003dTrue,"},{"line_number":141,"context_line":"                allow_bulk\u003dTrue)"},{"line_number":142,"context_line":"        plugin \u003d manager.NeutronManager.get_service_plugins()[constants.QOS]"},{"line_number":143,"context_line":"        for collection_name in SUB_RESOURCE_ATTRIBUTE_MAP:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_a0915d54","line":140,"updated":"2015-06-30 18:55:58.000000000","message":"(No action required) I see the function supports register_quota\u003d optional argument. It makes me wonder whether we want it for our resources.","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d0f7908b84d455b834756a2429ee4976c2f3e37","unresolved":false,"context_lines":[{"line_number":137,"context_line":"                plural_mappings,"},{"line_number":138,"context_line":"                RESOURCE_ATTRIBUTE_MAP,"},{"line_number":139,"context_line":"                constants.QOS,"},{"line_number":140,"context_line":"                translate_name\u003dTrue,"},{"line_number":141,"context_line":"                allow_bulk\u003dTrue)"},{"line_number":142,"context_line":"        plugin \u003d manager.NeutronManager.get_service_plugins()[constants.QOS]"},{"line_number":143,"context_line":"        for collection_name in SUB_RESOURCE_ATTRIBUTE_MAP:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_10dabb78","line":140,"in_reply_to":"ba3cc151_a0915d54","updated":"2015-07-01 08:37:19.000000000","message":"I think we may want it, probably will need spec update :-).\nLets make it future enhancement","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"0e17e0437978daaad76d6448a4091d5a15a2e3a4","unresolved":false,"context_lines":[{"line_number":141,"context_line":"                allow_bulk\u003dTrue)"},{"line_number":142,"context_line":"        plugin \u003d manager.NeutronManager.get_service_plugins()[constants.QOS]"},{"line_number":143,"context_line":"        for collection_name in SUB_RESOURCE_ATTRIBUTE_MAP:"},{"line_number":144,"context_line":"            # Special handling needed for sub-resources with \u0027y\u0027 ending"},{"line_number":145,"context_line":"            # (e.g. proxies -\u003e proxy)"},{"line_number":146,"context_line":"            resource_name \u003d collection_name[:-1]"},{"line_number":147,"context_line":"            parent \u003d SUB_RESOURCE_ATTRIBUTE_MAP[collection_name].get(\u0027parent\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_a0cddd5e","line":144,"updated":"2015-06-30 18:55:58.000000000","message":"It should be marked with TODO(QoS):","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d0f7908b84d455b834756a2429ee4976c2f3e37","unresolved":false,"context_lines":[{"line_number":141,"context_line":"                allow_bulk\u003dTrue)"},{"line_number":142,"context_line":"        plugin \u003d manager.NeutronManager.get_service_plugins()[constants.QOS]"},{"line_number":143,"context_line":"        for collection_name in SUB_RESOURCE_ATTRIBUTE_MAP:"},{"line_number":144,"context_line":"            # Special handling needed for sub-resources with \u0027y\u0027 ending"},{"line_number":145,"context_line":"            # (e.g. proxies -\u003e proxy)"},{"line_number":146,"context_line":"            resource_name \u003d collection_name[:-1]"},{"line_number":147,"context_line":"            parent \u003d SUB_RESOURCE_ATTRIBUTE_MAP[collection_name].get(\u0027parent\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_b0566fd0","line":144,"in_reply_to":"ba3cc151_a0cddd5e","updated":"2015-07-01 08:37:19.000000000","message":"Done","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"67393724a16ec27677f716ad122d872e10bc3167","unresolved":false,"context_lines":[{"line_number":214,"context_line":"        pass"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"    @abc.abstractmethod"},{"line_number":217,"context_line":"    def get_bandwith_limit_rules(self, context, filters\u003dNone, fields\u003dNone,"},{"line_number":218,"context_line":"                                 sorts\u003dNone, limit\u003dNone, marker\u003dNone,"},{"line_number":219,"context_line":"                                 page_reverse\u003dFalse):"},{"line_number":220,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_b5bf44fa","line":217,"updated":"2015-07-01 06:36:10.000000000","message":"bandwidth? Also, seems like handler name does not correspond to what will be used by wsgi controller.","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d0f7908b84d455b834756a2429ee4976c2f3e37","unresolved":false,"context_lines":[{"line_number":214,"context_line":"        pass"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"    @abc.abstractmethod"},{"line_number":217,"context_line":"    def get_bandwith_limit_rules(self, context, filters\u003dNone, fields\u003dNone,"},{"line_number":218,"context_line":"                                 sorts\u003dNone, limit\u003dNone, marker\u003dNone,"},{"line_number":219,"context_line":"                                 page_reverse\u003dFalse):"},{"line_number":220,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_90300ba0","line":217,"in_reply_to":"ba3cc151_b5bf44fa","updated":"2015-07-01 08:37:19.000000000","message":"with fix, thanks","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"67393724a16ec27677f716ad122d872e10bc3167","unresolved":false,"context_lines":[{"line_number":228,"context_line":"        pass"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"    @abc.abstractmethod"},{"line_number":231,"context_line":"    def delete_bandwith_limit_rule(self, context, rule_id):"},{"line_number":232,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_b55664d0","line":231,"updated":"2015-07-01 06:36:10.000000000","message":"ditto for bandwidth","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d0f7908b84d455b834756a2429ee4976c2f3e37","unresolved":false,"context_lines":[{"line_number":228,"context_line":"        pass"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"    @abc.abstractmethod"},{"line_number":231,"context_line":"    def delete_bandwith_limit_rule(self, context, rule_id):"},{"line_number":232,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_10f63bd7","line":231,"in_reply_to":"ba3cc151_b55664d0","updated":"2015-07-01 08:37:19.000000000","message":"will fix","commit_id":"472469b0dc2cdf23ef98dfd4d19f764c382f3409"}]}
