)]}'
{"neutron/api/v2/attributes.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"49ac6116f49db72286e2b26cca481f58f7ab0977","unresolved":false,"context_lines":[{"line_number":529,"context_line":"    try:"},{"line_number":530,"context_line":"        val \u003d float(val)"},{"line_number":531,"context_line":"        if val \u003c 0:"},{"line_number":532,"context_line":"            raise ValueError()"},{"line_number":533,"context_line":"    except (ValueError, TypeError):"},{"line_number":534,"context_line":"        msg \u003d _(\"\u0027%s\u0027 must be a non negative decimal.\") % val"},{"line_number":535,"context_line":"        raise n_exc.InvalidInput(error_message\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_f6051314","line":532,"updated":"2015-06-22 07:16:53.000000000","message":"This is just raising a valueerror to be immediately caught on the next line which will raise a real neutron exception to the user.","commit_id":"538a7bf3c73d968185590d81a9b3a6523190aeb4"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"479614e6d0098d3ec63a206ebbfa774b30431388","unresolved":false,"context_lines":[{"line_number":529,"context_line":"    try:"},{"line_number":530,"context_line":"        val \u003d float(val)"},{"line_number":531,"context_line":"        if val \u003c 0:"},{"line_number":532,"context_line":"            raise ValueError()"},{"line_number":533,"context_line":"    except (ValueError, TypeError):"},{"line_number":534,"context_line":"        msg \u003d _(\"\u0027%s\u0027 must be a non negative decimal.\") % val"},{"line_number":535,"context_line":"        raise n_exc.InvalidInput(error_message\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_76aa6387","line":532,"updated":"2015-06-22 06:53:39.000000000","message":"should we not try and raise a neutron exception here? but maybe that is an overkill","commit_id":"538a7bf3c73d968185590d81a9b3a6523190aeb4"}],"neutron/plugins/vmware/extensions/qos.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"d50324765c1c74f30c6b5749208228f2fa5f8bf9","unresolved":false,"context_lines":[{"line_number":69,"context_line":"    message \u003d _(\"Port is not associated with lqueue\")"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"def convert_to_positive_float_or_none(val):"},{"line_number":73,"context_line":"    if val is None:"},{"line_number":74,"context_line":"        return"},{"line_number":75,"context_line":"    try:"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_c97d136e","line":72,"updated":"2015-06-19 00:18:36.000000000","message":"This seems generically useful. Maybe just put this in the v2/attributes patch in anticipation that the upcoming qos work might use it as well? That would also solve the naming issue and the note for the tests being vendor specific.","commit_id":"d4b1706fb7cccb8e5060901b0b4b9265ccad8c9a"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"863dceb8cfa165b749fbb12006adf48a7f9fc225","unresolved":false,"context_lines":[{"line_number":69,"context_line":"    message \u003d _(\"Port is not associated with lqueue\")"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"def convert_to_positive_float_or_none(val):"},{"line_number":73,"context_line":"    if val is None:"},{"line_number":74,"context_line":"        return"},{"line_number":75,"context_line":"    try:"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_dc44e51c","line":72,"in_reply_to":"fa32b979_c97d136e","updated":"2015-06-19 10:24:23.000000000","message":"ok.....","commit_id":"d4b1706fb7cccb8e5060901b0b4b9265ccad8c9a"}],"neutron/tests/unit/api/v2/test_attributes.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"d17a11eb159271beb3cd62d0345e258f1f956fca","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron.api.v2 import attributes"},{"line_number":22,"context_line":"from neutron.common import exceptions as n_exc"},{"line_number":23,"context_line":"from neutron.plugins.vmware.extensions import qos"},{"line_number":24,"context_line":"from neutron.tests import base"},{"line_number":25,"context_line":"from neutron.tests import tools"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_647c45ec","line":23,"updated":"2015-06-18 15:20:11.000000000","message":"\"qos\" is general name. we should avoid overlapping in core file. It\u0027s better to use name such as \"nvp_qos\" or \"nsx_qos\".","commit_id":"d4b1706fb7cccb8e5060901b0b4b9265ccad8c9a"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"d50324765c1c74f30c6b5749208228f2fa5f8bf9","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron.api.v2 import attributes"},{"line_number":22,"context_line":"from neutron.common import exceptions as n_exc"},{"line_number":23,"context_line":"from neutron.plugins.vmware.extensions import qos"},{"line_number":24,"context_line":"from neutron.tests import base"},{"line_number":25,"context_line":"from neutron.tests import tools"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_a97a0f75","line":23,"updated":"2015-06-19 00:18:36.000000000","message":"can we call it salvatore_qos since he wrote the patch? :)","commit_id":"d4b1706fb7cccb8e5060901b0b4b9265ccad8c9a"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"6faecde1af69de8d65480f5999fae7ce7deb4d9a","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron.api.v2 import attributes"},{"line_number":22,"context_line":"from neutron.common import exceptions as n_exc"},{"line_number":23,"context_line":"from neutron.plugins.vmware.extensions import qos"},{"line_number":24,"context_line":"from neutron.tests import base"},{"line_number":25,"context_line":"from neutron.tests import tools"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_f7a0fb43","line":23,"in_reply_to":"fa32b979_647c45ec","updated":"2015-06-18 20:20:03.000000000","message":"are you suggesting to rename the module or use an alias here?\n\nalso, these folks at vmware should learn to not use common name for their stuff!!!","commit_id":"d4b1706fb7cccb8e5060901b0b4b9265ccad8c9a"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"15d4b08ee166b79ba03e8151023135143f79a48b","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron.api.v2 import attributes"},{"line_number":22,"context_line":"from neutron.common import exceptions as n_exc"},{"line_number":23,"context_line":"from neutron.plugins.vmware.extensions import qos"},{"line_number":24,"context_line":"from neutron.tests import base"},{"line_number":25,"context_line":"from neutron.tests import tools"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_2adfcad6","line":23,"in_reply_to":"fa32b979_69c72796","updated":"2015-06-19 06:25:08.000000000","message":"that was aaron actually.\nI can\u0027t do anything with \"quality\" in it","commit_id":"d4b1706fb7cccb8e5060901b0b4b9265ccad8c9a"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"a5d5031bc645f194ab6981291ae2b545bb81eed8","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron.api.v2 import attributes"},{"line_number":22,"context_line":"from neutron.common import exceptions as n_exc"},{"line_number":23,"context_line":"from neutron.plugins.vmware.extensions import qos"},{"line_number":24,"context_line":"from neutron.tests import base"},{"line_number":25,"context_line":"from neutron.tests import tools"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_69c72796","line":23,"in_reply_to":"fa32b979_a97a0f75","updated":"2015-06-19 00:21:52.000000000","message":"+1","commit_id":"d4b1706fb7cccb8e5060901b0b4b9265ccad8c9a"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"670bfb59c263cc37be2f8740a5b2701db60724ae","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron.api.v2 import attributes"},{"line_number":22,"context_line":"from neutron.common import exceptions as n_exc"},{"line_number":23,"context_line":"from neutron.plugins.vmware.extensions import qos"},{"line_number":24,"context_line":"from neutron.tests import base"},{"line_number":25,"context_line":"from neutron.tests import tools"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_0e88e16f","line":23,"in_reply_to":"fa32b979_f7a0fb43","updated":"2015-06-18 23:46:24.000000000","message":"alias is reasonable.\n\nThere was nothing they can do since vmware plugin leads Neutron:) When it was created in vmware plugin, there was no discussion about QoS in Neutron.","commit_id":"d4b1706fb7cccb8e5060901b0b4b9265ccad8c9a"}]}
