)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Create the QoS API extension"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch introduces the QoS API extension."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I86e8048e2d9b84690dbede9a94cfc884985069c5"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa32b979_da547055","line":10,"updated":"2015-06-23 12:35:13.000000000","message":"link to blueprint/RFE","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Create the QoS API extension"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch introduces the QoS API extension."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I86e8048e2d9b84690dbede9a94cfc884985069c5"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ba3cc151_76aa8d72","line":10,"in_reply_to":"fa32b979_da547055","updated":"2015-06-29 09:47:55.000000000","message":"Done","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"772f4ff4dd340cec81c4b4a97f414a2a83d3525d","unresolved":false,"context_lines":[{"line_number":11,"context_line":"stub, start creating some experimental test jobs that install"},{"line_number":12,"context_line":"the service plugin."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Please not that URL mapping is not fully according to spec,"},{"line_number":15,"context_line":"neither it does include any testing. We need to work that out."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"blueprint quantum-qos-api"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba3cc151_9102bb3d","line":14,"updated":"2015-06-29 09:54:19.000000000","message":"typo: note","commit_id":"6b81281a5a760124bf298f5cda8f8da836818078"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b86b8fa834167a8f52f798baa6348bbfe198ad50","unresolved":false,"context_lines":[{"line_number":11,"context_line":"stub, start creating some experimental test jobs that install"},{"line_number":12,"context_line":"the service plugin."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Please not that URL mapping is not fully according to spec,"},{"line_number":15,"context_line":"neither it does include any testing. We need to work that out."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"blueprint quantum-qos-api"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"ba3cc151_bcaa2c6f","line":14,"updated":"2015-06-29 14:34:11.000000000","message":"note","commit_id":"19de1c96b7b73424d3de43be273b5c2ca6506150"}],"etc/policy.json":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"fa32b979_7af1a469","updated":"2015-06-23 12:35:13.000000000","message":"What about network ACLs?","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"ba3cc151_963f1125","in_reply_to":"fa32b979_7af1a469","updated":"2015-06-29 09:47:55.000000000","message":"Done","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"bf1c9786fa3b6a83b13eac44c90e1b1f623307ab","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    \"create_network:router:external\": \"rule:admin_only\","},{"line_number":36,"context_line":"    \"create_network:segments\": \"rule:admin_only\","},{"line_number":37,"context_line":"    \"create_network:provider:network_type\": \"rule:admin_only\","},{"line_number":38,"context_line":"    \"create_network:provider:physical_network\": \"rule:admin_only\","},{"line_number":39,"context_line":"    \"create_network:provider:segmentation_id\": \"rule:admin_only\","},{"line_number":40,"context_line":"    \"update_network\": \"rule:admin_or_owner\","},{"line_number":41,"context_line":"    \"update_network:segments\": \"rule:admin_only\","}],"source_content_type":"application/json","patch_set":1,"id":"fa32b979_f0c9b77a","line":38,"updated":"2015-06-26 09:40:13.000000000","message":"I think we got to associate qos-policy-id with networks as well.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    \"create_network:router:external\": \"rule:admin_only\","},{"line_number":36,"context_line":"    \"create_network:segments\": \"rule:admin_only\","},{"line_number":37,"context_line":"    \"create_network:provider:network_type\": \"rule:admin_only\","},{"line_number":38,"context_line":"    \"create_network:provider:physical_network\": \"rule:admin_only\","},{"line_number":39,"context_line":"    \"create_network:provider:segmentation_id\": \"rule:admin_only\","},{"line_number":40,"context_line":"    \"update_network\": \"rule:admin_or_owner\","},{"line_number":41,"context_line":"    \"update_network:segments\": \"rule:admin_only\","}],"source_content_type":"application/json","patch_set":1,"id":"ba3cc151_f639bd42","line":38,"in_reply_to":"fa32b979_f0c9b77a","updated":"2015-06-29 09:47:55.000000000","message":"Done","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"}],"neutron/api/v2/resource_helper.py":[{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"2634761ee50d49c05ca1b326a7440d28096bc412","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    plural_mappings \u003d {}"},{"line_number":33,"context_line":"    for plural in resource_map:"},{"line_number":34,"context_line":"        singular \u003d special_mappings.get(plural, plural[:-1])"},{"line_number":35,"context_line":"        if singular[-2:] \u003d\u003d \u0027ie\u0027:"},{"line_number":36,"context_line":"            singular \u003d singular[:-2] + \u0027y\u0027"},{"line_number":37,"context_line":"        plural_mappings[plural] \u003d singular"},{"line_number":38,"context_line":"    return plural_mappings"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_e26c379e","line":35,"updated":"2015-06-23 06:39:09.000000000","message":"According to the method comment  (lines 28 -30), this code was supposed to  handle the policies \u003d\u003e policy. Maybe worth to fix it as bug by separate patch","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    plural_mappings \u003d {}"},{"line_number":33,"context_line":"    for plural in resource_map:"},{"line_number":34,"context_line":"        singular \u003d special_mappings.get(plural, plural[:-1])"},{"line_number":35,"context_line":"        if singular[-2:] \u003d\u003d \u0027ie\u0027:"},{"line_number":36,"context_line":"            singular \u003d singular[:-2] + \u0027y\u0027"},{"line_number":37,"context_line":"        plural_mappings[plural] \u003d singular"},{"line_number":38,"context_line":"    return plural_mappings"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_96263115","line":35,"in_reply_to":"fa32b979_b5673db6","updated":"2015-06-29 09:47:55.000000000","message":"true, I reverted to special_mappings, I totally ignored, but that\u0027s what it\u0027s it for..","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    plural_mappings \u003d {}"},{"line_number":33,"context_line":"    for plural in resource_map:"},{"line_number":34,"context_line":"        singular \u003d special_mappings.get(plural, plural[:-1])"},{"line_number":35,"context_line":"        if singular[-2:] \u003d\u003d \u0027ie\u0027:"},{"line_number":36,"context_line":"            singular \u003d singular[:-2] + \u0027y\u0027"},{"line_number":37,"context_line":"        plural_mappings[plural] \u003d singular"},{"line_number":38,"context_line":"    return plural_mappings"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_b5673db6","line":35,"in_reply_to":"fa32b979_e26c379e","updated":"2015-06-23 12:35:13.000000000","message":"The code is not fail proof: what if you have e.g. \u0027pies\u0027? Will you end up with \u0027py\u0027? That\u0027s wrong. There is special_mappings for a reason.\n\nYou may want to talk to Salvatore, he was going to implement (repurpose?) singular-plural map: http://eavesdrop.openstack.org/irclogs/%23openstack-neutron/%23openstack-neutron.2015-06-22.log.html#t2015-06-22T14:03:26\n\nAlso note PLURALS in neutron/api/v2/attributes.py.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"}],"neutron/extensions/qos.py":[{"author":{"_account_id":16788,"name":"Ramanjaneya Reddy Palleti","email":"ramanjaneya.palleti@huawei.com","username":"Ramanjaneya"},"change_message_id":"8fb80a7344b5babba16b8e033edcbbb492d16608","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Attribute Map"},{"line_number":29,"context_line":"QOS_RULE_COMMON_FIELDS \u003d {"},{"line_number":30,"context_line":"    \u0027id\u0027: {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"},{"line_number":31,"context_line":"           \u0027validate\u0027: {\u0027type:uuid\u0027: None},"},{"line_number":32,"context_line":"           \u0027is_visible\u0027: True,"},{"line_number":33,"context_line":"           \u0027primary_key\u0027: True},"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_53ac6d9e","line":30,"updated":"2015-06-25 05:05:25.000000000","message":"Can we assgin table name as qos_rule?","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f393834d5cf9224603894fafcf1960e73f9cafc9","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Attribute Map"},{"line_number":29,"context_line":"QOS_RULE_COMMON_FIELDS \u003d {"},{"line_number":30,"context_line":"    \u0027id\u0027: {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"},{"line_number":31,"context_line":"           \u0027validate\u0027: {\u0027type:uuid\u0027: None},"},{"line_number":32,"context_line":"           \u0027is_visible\u0027: True,"},{"line_number":33,"context_line":"           \u0027primary_key\u0027: True},"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_1a0a7120","line":30,"in_reply_to":"fa32b979_53ac6d9e","updated":"2015-06-25 09:08:24.000000000","message":"what do you mean?\n\nThis is modelling the API extension, not the DB :)","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"2b5bbd3eb370a5aed8ec40d4170bac6b8e5c3e85","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        \u0027tenant_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":58,"context_line":"                      \u0027required_by_policy\u0027: True,"},{"line_number":59,"context_line":"                      \u0027is_visible\u0027: True}},"},{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_1674619a","line":60,"updated":"2015-06-29 09:03:58.000000000","message":"Can we change this from qos_bandwidthlimit_rules to qos_bandwidth_limit_rules","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        \u0027tenant_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":58,"context_line":"                      \u0027required_by_policy\u0027: True,"},{"line_number":59,"context_line":"                      \u0027is_visible\u0027: True}},"},{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_b6d815f1","line":60,"in_reply_to":"ba3cc151_1674619a","updated":"2015-06-29 09:47:55.000000000","message":"I will, although I guess to accommodate the details of the spec in a follow up patch, we may need to register the resource manually with another controller in the middle. (I need to look at that).\n\nhttp://specs.openstack.org/openstack/neutron-specs/specs/liberty/qos-api-extension.html#rest-api-impact\n\nPOST /v2.0/qos-rules/bandwidth-limit/\n\nand also the qos-rule-types","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":16788,"name":"Ramanjaneya Reddy Palleti","email":"ramanjaneya.palleti@huawei.com","username":"Ramanjaneya"},"change_message_id":"8fb80a7344b5babba16b8e033edcbbb492d16608","unresolved":false,"context_lines":[{"line_number":59,"context_line":"                      \u0027is_visible\u0027: True}},"},{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_137a6524","line":62,"updated":"2015-06-25 05:05:25.000000000","message":"qos_bandwidth_limit_rule should have the qos_rule_id.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":59,"context_line":"                      \u0027is_visible\u0027: True}},"},{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_169541e3","line":62,"in_reply_to":"ba3cc151_36a085f4","updated":"2015-06-29 09:47:55.000000000","message":"outbound, this will be in the data model as \"egress\" by default, and we can add this field later to the API?.\n\nOtherwise we can follow up and expose directionality too.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f393834d5cf9224603894fafcf1960e73f9cafc9","unresolved":false,"context_lines":[{"line_number":59,"context_line":"                      \u0027is_visible\u0027: True}},"},{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_cf09a932","line":62,"in_reply_to":"fa32b979_137a6524","updated":"2015-06-25 09:08:24.000000000","message":"no, this is from the API perspective.\n\nThe idea is that it will render a single id, but both tables should have the same id and qos_rule_id following the multiple table inheritance pattern.\n\nMay be it\u0027s more clear if we rename qos_rule_id to just id in the 2nd table.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"2b5bbd3eb370a5aed8ec40d4170bac6b8e5c3e85","unresolved":false,"context_lines":[{"line_number":59,"context_line":"                      \u0027is_visible\u0027: True}},"},{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_36a085f4","line":62,"in_reply_to":"fa32b979_cf09a932","updated":"2015-06-29 09:03:58.000000000","message":"is this inbound and outbound?","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_b05d0b17","line":63,"updated":"2015-06-23 12:35:13.000000000","message":"Do we really need that default \u003d None value here? I would think that it\u0027s ok to omit passing the value down to db layer that will just leave the field empty.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_369ac515","line":63,"in_reply_to":"fa32b979_af60e501","updated":"2015-06-29 09:47:55.000000000","message":"Let\u0027s review that in follow up.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f393834d5cf9224603894fafcf1960e73f9cafc9","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_af60e501","line":63,"in_reply_to":"fa32b979_b05d0b17","updated":"2015-06-25 09:08:24.000000000","message":"Hmm, that needs investigation, yes, can\u0027t we require the field and not propose any default?.\n\nMy intention was not to set a default, and *always* require the field.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"},{"line_number":67,"context_line":"                                  \u0027validate\u0027: {\u0027type:integer\u0027, None}}})}"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_d041af3a","line":64,"updated":"2015-06-23 12:35:13.000000000","message":"Where is the validator defined? I don\u0027t see it in neutron/api/v2/attributes.py:validators. Should we use non_negative instead?","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"},{"line_number":67,"context_line":"                                  \u0027validate\u0027: {\u0027type:integer\u0027, None}}})}"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_762ccdab","line":64,"in_reply_to":"fa32b979_d041af3a","updated":"2015-06-29 09:47:55.000000000","message":"non_negative makes sense, yes :)","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"},{"line_number":67,"context_line":"                                  \u0027validate\u0027: {\u0027type:integer\u0027, None}}})}"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"QOS_POLICY_ID \u003d \"qos_policy_id\""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_f0d87381","line":66,"updated":"2015-06-23 12:35:13.000000000","message":"Hm, what does default value \u003d 0 mean here? \u0027No limit\u0027? If so, why default values are different for max_kbps and max_burst_kbps?","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f393834d5cf9224603894fafcf1960e73f9cafc9","unresolved":false,"context_lines":[{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"},{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"},{"line_number":67,"context_line":"                                  \u0027validate\u0027: {\u0027type:integer\u0027, None}}})}"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"QOS_POLICY_ID \u003d \"qos_policy_id\""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_0f6eb1ff","line":66,"in_reply_to":"fa32b979_f0d87381","updated":"2015-06-25 09:08:24.000000000","message":"the \"burst_kbps\" is defined as how much do you add on top of max_kbps.\n\nSo being 0 means you will allow no burst.\n\nGenerally the recommendation is 10% (I think that was it..) of max_kbps to allow TCP reaching \"max_kbps\", but we cannot model that here, I guess.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"},{"line_number":67,"context_line":"                                  \u0027validate\u0027: {\u0027type:integer\u0027, None}}})}"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"QOS_POLICY_ID \u003d \"qos_policy_id\""},{"line_number":70,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_f03cf3c0","line":67,"updated":"2015-06-23 12:35:13.000000000","message":"ditto","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                            \u0027validate\u0027: {\u0027type:integer\u0027, None}},"},{"line_number":65,"context_line":"               \u0027max_burst_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                                  \u0027is_visible\u0027: True, \u0027default\u0027: 0,"},{"line_number":67,"context_line":"                                  \u0027validate\u0027: {\u0027type:integer\u0027, None}}})}"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"QOS_POLICY_ID \u003d \"qos_policy_id\""},{"line_number":70,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_56066921","line":67,"in_reply_to":"fa32b979_f03cf3c0","updated":"2015-06-29 09:47:55.000000000","message":"Done","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        return \"The Quality of Service extension.\""},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    @classmethod"},{"line_number":100,"context_line":"    def get_namespace(cls):"},{"line_number":101,"context_line":"        # TODO(mangelajo): figure out what is this for and if we shall"},{"line_number":102,"context_line":"        # use v1 / v2, or point to"},{"line_number":103,"context_line":"        # http://developer.openstack.org/api-ref-networking-v2-ext.html ?"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_30b7bbf6","line":100,"updated":"2015-06-23 12:35:13.000000000","message":"Kill, as per https://review.openstack.org/#/c/190215/","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"bf1c9786fa3b6a83b13eac44c90e1b1f623307ab","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    @classmethod"},{"line_number":100,"context_line":"    def get_namespace(cls):"},{"line_number":101,"context_line":"        # TODO(mangelajo): figure out what is this for and if we shall"},{"line_number":102,"context_line":"        # use v1 / v2, or point to"},{"line_number":103,"context_line":"        # http://developer.openstack.org/api-ref-networking-v2-ext.html ?"},{"line_number":104,"context_line":"        return \"http://docs.openstack.org/ext/qos/api/v1.0\""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_30015f6b","line":101,"updated":"2015-06-26 09:40:13.000000000","message":"+1.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":134,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":135,"context_line":"class QoSPluginBase(service_base.ServicePluginBase):"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    def get_plugin_name(self):"},{"line_number":138,"context_line":"        return constants.QOS"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    def get_plugin_description(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_7205480f","line":137,"updated":"2015-06-23 12:35:13.000000000","message":"Where is that method used? I see other plugins have it, but there are no consumers in the tree. Seems like it\u0027s not used as of: I400ad8f544ec8bdc7d2efb597c995f284ff05829. To check whether my assumption is correct, I pushed: https://review.openstack.org/194630","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f393834d5cf9224603894fafcf1960e73f9cafc9","unresolved":false,"context_lines":[{"line_number":134,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":135,"context_line":"class QoSPluginBase(service_base.ServicePluginBase):"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    def get_plugin_name(self):"},{"line_number":138,"context_line":"        return constants.QOS"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    def get_plugin_description(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_3a7655a4","line":137,"in_reply_to":"fa32b979_7205480f","updated":"2015-06-25 09:08:24.000000000","message":"ah!, let\u0027s remove it then :-)\n\nGood cleanup man!","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    def get_plugin_description(self):"},{"line_number":141,"context_line":"        \"\"\"returns string description of the plugin.\"\"\""},{"line_number":142,"context_line":"        return (\"Quality of Service Service Plugin for port and network \""},{"line_number":143,"context_line":"                \"QoS parameters.\")"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    def get_plugin_type(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_300fbb89","line":142,"updated":"2015-06-23 12:35:13.000000000","message":"Service Service... How about \u0027QoS Service Plugin ...\u0027?","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f393834d5cf9224603894fafcf1960e73f9cafc9","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    def get_plugin_description(self):"},{"line_number":141,"context_line":"        \"\"\"returns string description of the plugin.\"\"\""},{"line_number":142,"context_line":"        return (\"Quality of Service Service Plugin for port and network \""},{"line_number":143,"context_line":"                \"QoS parameters.\")"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    def get_plugin_type(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_ba6a65b1","line":142,"in_reply_to":"fa32b979_300fbb89","updated":"2015-06-25 09:08:24.000000000","message":"Quality of Service Service Plugin Plugin ... \u0027:D ;) yeah, QoS Service Plugin sounds better.\n\nService Service Service Service ... we could version this: https://www.youtube.com/watch?v\u003dEIyixC9NsLI","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"2634761ee50d49c05ca1b326a7440d28096bc412","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        pass"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    @abc.abstractmethod"},{"line_number":167,"context_line":"    def create_qos_bandwidthlimit_rule(self, context, qos_bandwidthlimit_rule):"},{"line_number":168,"context_line":"        pass"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_4278832b","line":167,"updated":"2015-06-23 06:39:09.000000000","message":"just to make the code is open for other rule types, maybe worth to pass rule type as parameter, something like \ndef create_qos_rule(self, context, rule_type, rule). Or maybe type can be part of the rule dictionary","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"76d9e396319cb813a66ad625dda8cbd87b3dfcc2","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        pass"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    @abc.abstractmethod"},{"line_number":167,"context_line":"    def create_qos_bandwidthlimit_rule(self, context, qos_bandwidthlimit_rule):"},{"line_number":168,"context_line":"        pass"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_cb5028d7","line":167,"in_reply_to":"fa32b979_4278832b","updated":"2015-06-23 09:58:09.000000000","message":"I\u0027m not sure we can do those mappings from extension to functions manually. Can we?.\n\nI was using the helper functions (L120), but there are chances that if we do them manually we could (I don\u0027t know).\n\nI\u0027m working on the RPC bits, can you take this from here and add yourself as additional author? :)","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f393834d5cf9224603894fafcf1960e73f9cafc9","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        pass"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    @abc.abstractmethod"},{"line_number":167,"context_line":"    def create_qos_bandwidthlimit_rule(self, context, qos_bandwidthlimit_rule):"},{"line_number":168,"context_line":"        pass"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_da93a9a1","line":167,"in_reply_to":"fa32b979_b552da33","updated":"2015-06-25 09:08:24.000000000","message":"++Irena! :)","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"36e9a8fa08913cf6b9364ec17a7c366f6ee68eff","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        pass"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    @abc.abstractmethod"},{"line_number":167,"context_line":"    def create_qos_bandwidthlimit_rule(self, context, qos_bandwidthlimit_rule):"},{"line_number":168,"context_line":"        pass"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_b552da33","line":167,"in_reply_to":"fa32b979_cb5028d7","updated":"2015-06-23 13:06:04.000000000","message":"@Miguel: sure I can take this further","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        pass"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    @abc.abstractmethod"},{"line_number":167,"context_line":"    def create_qos_bandwidthlimit_rule(self, context, qos_bandwidthlimit_rule):"},{"line_number":168,"context_line":"        pass"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_b28af062","line":167,"in_reply_to":"fa32b979_cb5028d7","updated":"2015-06-23 12:35:13.000000000","message":"I like Irena\u0027s suggestion. I don\u0027t see a problem if implementation starts from single entry point for all types, and then split if they need it.\n\nI probably miss smth.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        pass"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    @abc.abstractmethod"},{"line_number":167,"context_line":"    def create_qos_bandwidthlimit_rule(self, context, qos_bandwidthlimit_rule):"},{"line_number":168,"context_line":"        pass"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_d1afe37b","line":167,"in_reply_to":"fa32b979_da93a9a1","updated":"2015-06-29 09:47:55.000000000","message":"Ok I\u0027m not fixing this on the next patchset, but let\u0027s do it in follow ups.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"659c6ff55e2eac78af95ce5676e9e477d1082509","unresolved":false,"context_lines":[{"line_number":172,"context_line":"        pass"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    @abc.abstractmethod"},{"line_number":175,"context_line":"    def delete_qos_bandwithlimit_rule(self, context, rule_id):"},{"line_number":176,"context_line":"        pass"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_e74e89c0","line":175,"updated":"2015-06-23 06:14:11.000000000","message":"We don\u0027t have any API for update? Does Update means delete and add?","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f97f7945ef575d4aaf91a3725c2ebb9cb1e1c0ff","unresolved":false,"context_lines":[{"line_number":172,"context_line":"        pass"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    @abc.abstractmethod"},{"line_number":175,"context_line":"    def delete_qos_bandwithlimit_rule(self, context, rule_id):"},{"line_number":176,"context_line":"        pass"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_91cabb4e","line":175,"in_reply_to":"fa32b979_ab6cc49c","updated":"2015-06-29 09:47:55.000000000","message":"Done","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"76d9e396319cb813a66ad625dda8cbd87b3dfcc2","unresolved":false,"context_lines":[{"line_number":172,"context_line":"        pass"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    @abc.abstractmethod"},{"line_number":175,"context_line":"    def delete_qos_bandwithlimit_rule(self, context, rule_id):"},{"line_number":176,"context_line":"        pass"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_ab6cc49c","line":175,"in_reply_to":"fa32b979_e74e89c0","updated":"2015-06-23 09:58:09.000000000","message":"True, that\u0027s missing.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"772f4ff4dd340cec81c4b4a97f414a2a83d3525d","unresolved":false,"context_lines":[{"line_number":23,"context_line":"from neutron.plugins.common import constants"},{"line_number":24,"context_line":"from neutron.services import service_base"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"VALID_RULE_TYPES \u003d [\u0027bandwidth_limit\u0027]"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Attribute Map"},{"line_number":29,"context_line":"QOS_RULE_COMMON_FIELDS \u003d {"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_f171c7e1","line":26,"updated":"2015-06-29 09:54:19.000000000","message":"+ define consts for rule types?","commit_id":"6b81281a5a760124bf298f5cda8f8da836818078"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"772f4ff4dd340cec81c4b4a97f414a2a83d3525d","unresolved":false,"context_lines":[{"line_number":162,"context_line":"        pass"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    @abc.abstractmethod"},{"line_number":165,"context_line":"    def create_qos_bandwidth_limit_rule(self, context, rule):"},{"line_number":166,"context_line":"        pass"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_b1ad7f33","line":165,"updated":"2015-06-29 09:54:19.000000000","message":"I think this part we should do like \u0027create_qos_rule_by_type\u0027","commit_id":"6b81281a5a760124bf298f5cda8f8da836818078"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b86b8fa834167a8f52f798baa6348bbfe198ad50","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        \u0027tenant_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":58,"context_line":"                      \u0027required_by_policy\u0027: True,"},{"line_number":59,"context_line":"                      \u0027is_visible\u0027: True}},"},{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_5c4a0085","line":60,"updated":"2015-06-29 14:34:11.000000000","message":"Add TODO here for subcontroller need.","commit_id":"19de1c96b7b73424d3de43be273b5c2ca6506150"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2cc31862e27ec48ca710887e16a6a27fe43a3359","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        \u0027tenant_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":58,"context_line":"                      \u0027required_by_policy\u0027: True,"},{"line_number":59,"context_line":"                      \u0027is_visible\u0027: True}},"},{"line_number":60,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":61,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":62,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":63,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_8faa8c18","line":60,"in_reply_to":"ba3cc151_5c4a0085","updated":"2015-06-29 14:50:35.000000000","message":"Done","commit_id":"19de1c96b7b73424d3de43be273b5c2ca6506150"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b86b8fa834167a8f52f798baa6348bbfe198ad50","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    @classmethod"},{"line_number":97,"context_line":"    def get_namespace(cls):"},{"line_number":98,"context_line":"        #TODO(qos): Remove, there\u0027s still a caller using it for log/debug"},{"line_number":99,"context_line":"        #           which will crash otherwise"},{"line_number":100,"context_line":"        return None"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_dc0cd044","line":98,"updated":"2015-06-29 14:34:11.000000000","message":"Note: we may want to come up with common tag for TODOs. I see \u0027qos\u0027 and \u0027QoS\u0027 in this file already.","commit_id":"19de1c96b7b73424d3de43be273b5c2ca6506150"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2cc31862e27ec48ca710887e16a6a27fe43a3359","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    @classmethod"},{"line_number":97,"context_line":"    def get_namespace(cls):"},{"line_number":98,"context_line":"        #TODO(qos): Remove, there\u0027s still a caller using it for log/debug"},{"line_number":99,"context_line":"        #           which will crash otherwise"},{"line_number":100,"context_line":"        return None"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_cfb0948e","line":98,"in_reply_to":"ba3cc151_dc0cd044","updated":"2015-06-29 14:50:35.000000000","message":"Done","commit_id":"19de1c96b7b73424d3de43be273b5c2ca6506150"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b86b8fa834167a8f52f798baa6348bbfe198ad50","unresolved":false,"context_lines":[{"line_number":136,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":137,"context_line":"class QoSPluginBase(service_base.ServicePluginBase):"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    def get_plugin_name(self):"},{"line_number":140,"context_line":"        return constants.QOS"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"    def get_plugin_description(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_0f099c2c","line":139,"updated":"2015-06-29 14:34:11.000000000","message":"Add note to clean it up.","commit_id":"19de1c96b7b73424d3de43be273b5c2ca6506150"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2cc31862e27ec48ca710887e16a6a27fe43a3359","unresolved":false,"context_lines":[{"line_number":136,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":137,"context_line":"class QoSPluginBase(service_base.ServicePluginBase):"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    def get_plugin_name(self):"},{"line_number":140,"context_line":"        return constants.QOS"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"    def get_plugin_description(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_7204cb14","line":139,"in_reply_to":"ba3cc151_0f099c2c","updated":"2015-06-29 14:50:35.000000000","message":"Done","commit_id":"19de1c96b7b73424d3de43be273b5c2ca6506150"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b86b8fa834167a8f52f798baa6348bbfe198ad50","unresolved":false,"context_lines":[{"line_number":177,"context_line":"        pass"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"    @abc.abstractmethod"},{"line_number":180,"context_line":"    def get_qos_bandwidth_limit_rule(self, context, rule_id, fields\u003dNone):"},{"line_number":181,"context_line":"        pass"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_cf41743b","line":180,"updated":"2015-06-29 14:34:11.000000000","message":"nit: the order seems to be unusual. I would have: get-create-update-delete.\n\nAlso, Irena\u0027s suggestion to make those type agnostic is worthwhile to handle in the initial version. It simplifies a lot of stuff, f.e. ignoring unknown types.","commit_id":"19de1c96b7b73424d3de43be273b5c2ca6506150"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2cc31862e27ec48ca710887e16a6a27fe43a3359","unresolved":false,"context_lines":[{"line_number":177,"context_line":"        pass"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"    @abc.abstractmethod"},{"line_number":180,"context_line":"    def get_qos_bandwidth_limit_rule(self, context, rule_id, fields\u003dNone):"},{"line_number":181,"context_line":"        pass"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_72d5ab41","line":180,"in_reply_to":"ba3cc151_cf41743b","updated":"2015-06-29 14:50:35.000000000","message":"Do you mean \"this mess is unusual\"? :) you\u0027re right :D\n\nOrder: done.\n\nCan we make them more agnostic later in a follow up?. Feel free to modify it. I need to finish something first :)","commit_id":"19de1c96b7b73424d3de43be273b5c2ca6506150"},{"author":{"_account_id":7321,"name":"Prakash Ramchandran","email":"pramchan@yahoo.com","username":"pramchan"},"change_message_id":"e74a38eddb742c1bfeb250e7cd65ffe16db26537","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    #TODO(QoS): Here instead of using the resource helper we may"},{"line_number":61,"context_line":"    #           need to set a subcontroller for qos-rules, so we"},{"line_number":62,"context_line":"    #           can meet the spec definition."},{"line_number":63,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":64,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":65,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_fb639618","line":63,"updated":"2015-06-30 19:25:57.000000000","message":"Can we consider a qos_attribute_uom or resource_uom, a unit of measure to set limits as one may want to set gbps, mbps, instaed of kbps?","commit_id":"96d1cb1ae2f0188988102a56c2886870af94d88e"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"7c59d6d8f45dd1a5d8ce707d16b08893a7ff8e30","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    #TODO(QoS): Here instead of using the resource helper we may"},{"line_number":61,"context_line":"    #           need to set a subcontroller for qos-rules, so we"},{"line_number":62,"context_line":"    #           can meet the spec definition."},{"line_number":63,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":64,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":65,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_5aa3874f","line":63,"in_reply_to":"ba3cc151_b6b443f2","updated":"2015-07-01 06:21:55.000000000","message":"we have another patch under review for updated extension https://review.openstack.org/#/c/197078/ , lets not discuss on already merged patches.","commit_id":"96d1cb1ae2f0188988102a56c2886870af94d88e"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f1467e05bb22b548f01ea3aaa97ef7c3f70754d3","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    #TODO(QoS): Here instead of using the resource helper we may"},{"line_number":61,"context_line":"    #           need to set a subcontroller for qos-rules, so we"},{"line_number":62,"context_line":"    #           can meet the spec definition."},{"line_number":63,"context_line":"    \u0027qos_bandwidthlimit_rules\u0027:"},{"line_number":64,"context_line":"        dict(QOS_RULE_COMMON_FIELDS,"},{"line_number":65,"context_line":"            **{\u0027max_kbps\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":66,"context_line":"                            \u0027is_visible\u0027: True, \u0027default\u0027: None,"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_b6b443f2","line":63,"in_reply_to":"ba3cc151_fb639618","updated":"2015-06-30 19:32:21.000000000","message":"I respectfully disagree :)\n\nThat came out during the spec definition, and we decided that it was out of scope. Using units is ok for persons, but API\u0027s are for machines where having different units of magnitude makes handling more complicated.\n\nThat could be left for the UI, but IMHO it does not belong to the API.\n\nBy the way, thank you very much for reviewing the effort and patches, any comments are valuable.","commit_id":"96d1cb1ae2f0188988102a56c2886870af94d88e"}],"neutron/plugins/common/constants.py":[{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"659c6ff55e2eac78af95ce5676e9e477d1082509","unresolved":false,"context_lines":[{"line_number":23,"context_line":"METERING \u003d \"METERING\""},{"line_number":24,"context_line":"L3_ROUTER_NAT \u003d \"L3_ROUTER_NAT\""},{"line_number":25,"context_line":"QOS \u003d \"QOS\""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Maps extension alias to service type"},{"line_number":28,"context_line":"EXT_TO_SERVICE_MAPPING \u003d {"},{"line_number":29,"context_line":"    \u0027dummy\u0027: DUMMY,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_670cb994","line":26,"updated":"2015-06-23 06:14:11.000000000","message":"I believe constants are already defined in the previous patch. If we make this patch a dependent on the other patch then this might not be required.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e628d4581959795d682ba050cf6a10863c7537d8","unresolved":false,"context_lines":[{"line_number":23,"context_line":"METERING \u003d \"METERING\""},{"line_number":24,"context_line":"L3_ROUTER_NAT \u003d \"L3_ROUTER_NAT\""},{"line_number":25,"context_line":"QOS \u003d \"QOS\""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Maps extension alias to service type"},{"line_number":28,"context_line":"EXT_TO_SERVICE_MAPPING \u003d {"},{"line_number":29,"context_line":"    \u0027dummy\u0027: DUMMY,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_d5a3e19c","line":26,"in_reply_to":"fa32b979_2bb434f0","updated":"2015-06-23 12:35:13.000000000","message":"It is.","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"76d9e396319cb813a66ad625dda8cbd87b3dfcc2","unresolved":false,"context_lines":[{"line_number":23,"context_line":"METERING \u003d \"METERING\""},{"line_number":24,"context_line":"L3_ROUTER_NAT \u003d \"L3_ROUTER_NAT\""},{"line_number":25,"context_line":"QOS \u003d \"QOS\""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Maps extension alias to service type"},{"line_number":28,"context_line":"EXT_TO_SERVICE_MAPPING \u003d {"},{"line_number":29,"context_line":"    \u0027dummy\u0027: DUMMY,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_2bb434f0","line":26,"in_reply_to":"fa32b979_670cb994","updated":"2015-06-23 09:58:09.000000000","message":"This is the first patch on the chain. Isn\u0027t it? :)","commit_id":"ac066b3196ec195abadce91a0e1889b13a7672e8"}]}
