)]}'
{"neutron/api/v2/resource_helper.py":[{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"71d4ecf304d0f207fc3018adcb14bb36dbdf9f6c","unresolved":false,"context_lines":[{"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"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3afb71cf_10c4d75c","line":36,"updated":"2015-06-09 15:28:22.000000000","message":"ah le policy...\nI know I\u0027m not supposed to review this, but it\u0027s ugly.\nAlso we\u0027re already terrible enough with python syntax, let\u0027s not try and fiddle with english syntax too.\n\nI think we need bidirectional singular/plural mappings - so far we only map plurals to singular. if that helps you I\u0027ll provide that in a different patch","commit_id":"05dc64688f641cc765ced24f2e8bc3d685a442c0"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2442c08bf3ee2a985f843628675117945a34f0b2","unresolved":false,"context_lines":[{"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"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3afb71cf_7029cbe5","line":36,"in_reply_to":"3afb71cf_10c4d75c","updated":"2015-06-09 15:32:10.000000000","message":"Hi salvatore!, \n\nThanks a lot, if you can provide it that\u0027d help a lot, I\u0027m not sure I fully understand what you mean :)\n\nAnd early reviews are ok, that\u0027d discover if I\u0027m doing anything *too stupid* which certainly could (and will eventually) happen.","commit_id":"05dc64688f641cc765ced24f2e8bc3d685a442c0"}],"neutron/db/db_base_plugin_v2.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"3ff35414ad75dee273f0bdfd82d485113d0b734b","unresolved":false,"context_lines":[{"line_number":1264,"context_line":""},{"line_number":1265,"context_line":"    def get_port(self, context, id, fields\u003dNone):"},{"line_number":1266,"context_line":"        port \u003d self._get_port(context, id)"},{"line_number":1267,"context_line":"        port_dict \u003d self._make_port_dict(port, fields)"},{"line_number":1268,"context_line":"        kwargs \u003d {\u0027context\u0027: context, \u0027port_id\u0027: port_dict[\u0027id\u0027],"},{"line_number":1269,"context_line":"                  \u0027port_dict\u0027: port_dict}"},{"line_number":1270,"context_line":"        registry.notify("}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_831a7cc4","line":1267,"updated":"2015-06-10 21:23:49.000000000","message":"I\u0027d personally pass the entire object \u0027port\u0027, but things are a bit in flux right now and I guess we can take the \u0027liberty\u0027 to be flexible :)\n\nWhen I originally designed the registry\u0027s notify interface I was hoping I could pass around proper objects instead (so to find a way to standardize on the notification payload), but until we get that sorted, this is still going to be a bit piecemeal.\n\nWhere are you consuming the notification?","commit_id":"eb2472d2e2dd9017701968ec531c717023f5405a"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"7bd931e1c57f47cf63992ba6a0ae64c7e1eae583","unresolved":false,"context_lines":[{"line_number":1264,"context_line":""},{"line_number":1265,"context_line":"    def get_port(self, context, id, fields\u003dNone):"},{"line_number":1266,"context_line":"        port \u003d self._get_port(context, id)"},{"line_number":1267,"context_line":"        port_dict \u003d self._make_port_dict(port, fields)"},{"line_number":1268,"context_line":"        kwargs \u003d {\u0027context\u0027: context, \u0027port_id\u0027: port_dict[\u0027id\u0027],"},{"line_number":1269,"context_line":"                  \u0027port_dict\u0027: port_dict}"},{"line_number":1270,"context_line":"        registry.notify("}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_26563606","line":1267,"in_reply_to":"3afb71cf_831a7cc4","updated":"2015-06-10 21:34:54.000000000","message":"Yes, it\u0027s just an example, I guess just passing port_dict may work instead of replicating the ID, and in the future we can pass \"port\" ..\n\nMay be it\u0027s also worthy to document which \"kwargs\" is every callback supposed to send in your (excellent) callback devref, I can start by this one.\n\nIt\u0027s consumed here: https://review.openstack.org/#/c/189628/3/neutron/services/qos/qos_plugin.py   Line 64\n\nand it even works! ;)\n\nhttps://etherpad.openstack.org/p/neutron-qos-jun-10-2015  (line 18)\n\ncheers! :)","commit_id":"eb2472d2e2dd9017701968ec531c717023f5405a"}],"neutron/extensions/qos.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"635e4cf7a7bb73b859ff1ed5fe80bb54a9c13b26","unresolved":false,"context_lines":[{"line_number":105,"context_line":"        # TODO(mangelajo): figure out what is this for and if we shall"},{"line_number":106,"context_line":"        # use v1 / v2, or point to"},{"line_number":107,"context_line":"        # http://developer.openstack.org/api-ref-networking-v2-ext.html ?"},{"line_number":108,"context_line":"        return \"http://docs.openstack.org/ext/qos/api/v1.0\""},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    @classmethod"},{"line_number":111,"context_line":"    def get_updated(cls):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afb71cf_bf4dab9b","line":108,"updated":"2015-06-10 09:58:36.000000000","message":"AFAIK there was a discussion recently on openstack-dev@: http://lists.openstack.org/pipermail/openstack-dev/2015-June/066219.html","commit_id":"05dc64688f641cc765ced24f2e8bc3d685a442c0"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"75d78bc25b5687c4414dbcdf473fb59441e6e28e","unresolved":false,"context_lines":[{"line_number":125,"context_line":"                                                   RESOURCE_ATTRIBUTE_MAP,"},{"line_number":126,"context_line":"                                                   constants.QOS,"},{"line_number":127,"context_line":"                                                   translate_name\u003dTrue,"},{"line_number":128,"context_line":"                                                   allow_bulk\u003dTrue)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    def get_extended_resources(self, version):"},{"line_number":131,"context_line":"        if version \u003d\u003d \"2.0\":"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afb71cf_d0dabf4b","line":128,"updated":"2015-06-09 15:28:46.000000000","message":"This is mapped the \"lazy\" way for testing. I need to figure out how to set another controller -I guess- to do as we said (/qos/rules/\u003ctype\u003e/ , etc...)","commit_id":"05dc64688f641cc765ced24f2e8bc3d685a442c0"},{"author":{"_account_id":4656,"name":"Sean M. Collins","email":"sean@coreitpro.com","username":"scollins"},"change_message_id":"22244c74266507e81b62e4138b18ac6b8871f958","unresolved":false,"context_lines":[{"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\""},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    @classmethod"},{"line_number":107,"context_line":"    def get_updated(cls):"}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_f7669f28","line":104,"updated":"2015-06-10 14:02:56.000000000","message":"This looks OK - I have that thread on the mailing list about what exactly this is used for. It doesn\u0027t appear to be used for anything - mostly just pro forma. So this LGTM.","commit_id":"eb2472d2e2dd9017701968ec531c717023f5405a"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"b08241d2b6d70fd8f3da6919e0f5b640b367ab20","unresolved":false,"context_lines":[{"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\""},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    @classmethod"},{"line_number":107,"context_line":"    def get_updated(cls):"}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_ce4f8232","line":104,"in_reply_to":"3afb71cf_f7669f28","updated":"2015-06-10 19:01:34.000000000","message":"Thanks for confirmation and asking Sean!\nsc68cal++ ! ;)","commit_id":"eb2472d2e2dd9017701968ec531c717023f5405a"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"0e18feed1ab318637dea47da4715edaeb21541be","unresolved":false,"context_lines":[{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    def get_plugin_type(self):"},{"line_number":146,"context_line":"        return constants.QOS"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"    @abc.abstractmethod"},{"line_number":149,"context_line":"    def create_qos_policy(self, context, qos_policy):"},{"line_number":150,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_190ed134","line":147,"updated":"2015-06-14 05:59:16.000000000","message":"what about get_qos_rule_types?","commit_id":"eb2472d2e2dd9017701968ec531c717023f5405a"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"290888198c7b756e30f440b97c546a13fd202d49","unresolved":false,"context_lines":[{"line_number":148,"context_line":"    @abc.abstractmethod"},{"line_number":149,"context_line":"    def create_qos_policy(self, context, qos_policy):"},{"line_number":150,"context_line":"        pass"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    @abc.abstractmethod"},{"line_number":153,"context_line":"    def delete_qos_policy(self, context, qos_policy_id):"},{"line_number":154,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":3,"id":"1af86dd1_47821202","line":151,"updated":"2015-06-12 15:33:10.000000000","message":"what about update_qos_policy","commit_id":"eb2472d2e2dd9017701968ec531c717023f5405a"},{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"290888198c7b756e30f440b97c546a13fd202d49","unresolved":false,"context_lines":[{"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"},{"line_number":179,"context_line":"    def get_qos_bandwithlimit_rules(self, context, filters\u003dNone, fields\u003dNone,"}],"source_content_type":"text/x-python","patch_set":3,"id":"1af86dd1_a79c266a","line":176,"updated":"2015-06-12 15:33:10.000000000","message":"what about update_qos_bandwithlimit_rule","commit_id":"eb2472d2e2dd9017701968ec531c717023f5405a"}],"neutron/plugins/common/constants.py":[{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"b2bcb32901afdab6b91afdd9c3e3aa284518cb74","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    \u0027vpnaas\u0027: VPN,"},{"line_number":34,"context_line":"    \u0027metering\u0027: METERING,"},{"line_number":35,"context_line":"    \u0027router\u0027: L3_ROUTER_NAT,"},{"line_number":36,"context_line":"    \u0027qos\u0027: QOS,"},{"line_number":37,"context_line":"}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# TODO(salvatore-orlando): Move these (or derive them) from conf file"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_a75e41e7","line":36,"updated":"2015-06-23 06:00:54.000000000","message":"I feel we can follow a uniform naming convention for QOS. I can find it to be QoS/QOS/qos/ at different places. QoS will be better.","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"c7e7c4e1767e4bc8df6a874b5ce712a02e5a633a","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    \u0027vpnaas\u0027: VPN,"},{"line_number":34,"context_line":"    \u0027metering\u0027: METERING,"},{"line_number":35,"context_line":"    \u0027router\u0027: L3_ROUTER_NAT,"},{"line_number":36,"context_line":"    \u0027qos\u0027: QOS,"},{"line_number":37,"context_line":"}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# TODO(salvatore-orlando): Move these (or derive them) from conf file"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_b5ec1abc","line":36,"in_reply_to":"fa32b979_a75e41e7","updated":"2015-06-23 13:12:36.000000000","message":"It seems though that the convention is to have it uppercase.","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2d298bcaee1ecc67f8e9ac567f1944245685245b","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    \u0027vpnaas\u0027: VPN,"},{"line_number":34,"context_line":"    \u0027metering\u0027: METERING,"},{"line_number":35,"context_line":"    \u0027router\u0027: L3_ROUTER_NAT,"},{"line_number":36,"context_line":"    \u0027qos\u0027: QOS,"},{"line_number":37,"context_line":"}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# TODO(salvatore-orlando): Move these (or derive them) from conf file"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_38a1e146","line":36,"in_reply_to":"fa32b979_b5ec1abc","updated":"2015-06-24 10:09:56.000000000","message":"Yes, I thought of QoS, but then I followed the normal convention for constants.","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"b2bcb32901afdab6b91afdd9c3e3aa284518cb74","unresolved":false,"context_lines":[{"line_number":39,"context_line":"# TODO(salvatore-orlando): Move these (or derive them) from conf file"},{"line_number":40,"context_line":"ALLOWED_SERVICES \u003d [CORE, DUMMY, LOADBALANCER, FIREWALL, VPN, METERING,"},{"line_number":41,"context_line":"                    L3_ROUTER_NAT, LOADBALANCERV2, QOS]"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"COMMON_PREFIXES \u003d {"},{"line_number":44,"context_line":"    CORE: \"\","},{"line_number":45,"context_line":"    DUMMY: \"/dummy_svc\","}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_87e0ddfb","line":42,"updated":"2015-06-23 06:00:54.000000000","message":"Please add the newer extension in etc\\neutron.conf and \\neutron.egg-info\\entry_points.txt","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"c7e7c4e1767e4bc8df6a874b5ce712a02e5a633a","unresolved":false,"context_lines":[{"line_number":39,"context_line":"# TODO(salvatore-orlando): Move these (or derive them) from conf file"},{"line_number":40,"context_line":"ALLOWED_SERVICES \u003d [CORE, DUMMY, LOADBALANCER, FIREWALL, VPN, METERING,"},{"line_number":41,"context_line":"                    L3_ROUTER_NAT, LOADBALANCERV2, QOS]"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"COMMON_PREFIXES \u003d {"},{"line_number":44,"context_line":"    CORE: \"\","},{"line_number":45,"context_line":"    DUMMY: \"/dummy_svc\","}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_f53dc22b","line":42,"in_reply_to":"fa32b979_87e0ddfb","updated":"2015-06-23 13:12:36.000000000","message":"neutron.egg-info is not maintained in git. As for etc/neutron.conf, yes, please do. Also, update neutron.service_plugins in setup.cfg.","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e3144ccd7d8bb7d5da297cfd94880878e7069f18","unresolved":false,"context_lines":[{"line_number":39,"context_line":"# TODO(salvatore-orlando): Move these (or derive them) from conf file"},{"line_number":40,"context_line":"ALLOWED_SERVICES \u003d [CORE, DUMMY, LOADBALANCER, FIREWALL, VPN, METERING,"},{"line_number":41,"context_line":"                    L3_ROUTER_NAT, LOADBALANCERV2, QOS]"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"COMMON_PREFIXES \u003d {"},{"line_number":44,"context_line":"    CORE: \"\","},{"line_number":45,"context_line":"    DUMMY: \"/dummy_svc\","}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_a77c5a21","line":42,"in_reply_to":"fa32b979_f53dc22b","updated":"2015-06-29 14:09:24.000000000","message":"Done.","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"}],"neutron/services/qos/qos_plugin.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"75d78bc25b5687c4414dbcdf473fb59441e6e28e","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    def get_qos_policies(self, context, filters\u003dNone, fields\u003dNone,"},{"line_number":115,"context_line":"                         sorts\u003dNone, limit\u003dNone, marker\u003dNone,"},{"line_number":116,"context_line":"                         page_reverse\u003dFalse):"},{"line_number":117,"context_line":"        import pudb; pudb.set_trace()"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    def create_qos_bandwidthlimit_rule(self, context, qos_bandwidthlimit_rule):"},{"line_number":120,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afb71cf_7098ab78","line":117,"updated":"2015-06-09 15:28:46.000000000","message":"it does even trigger^, I\u0027m amazed ;)","commit_id":"05dc64688f641cc765ced24f2e8bc3d685a442c0"},{"author":{"_account_id":4656,"name":"Sean M. Collins","email":"sean@coreitpro.com","username":"scollins"},"change_message_id":"9dd1479b757f8229c4f5b5b1a4f33f0e111e2964","unresolved":false,"context_lines":[{"line_number":20,"context_line":"#from neutron.callbacks import exceptions"},{"line_number":21,"context_line":"from neutron.callbacks import registry"},{"line_number":22,"context_line":"from neutron.callbacks import resources"},{"line_number":23,"context_line":"#from neutron.plugins.common import constants"},{"line_number":24,"context_line":"from neutron.extensions import qos"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_ce113d06","line":23,"updated":"2015-06-22 15:34:53.000000000","message":"I guess your next patch will comment this stuff out?","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":4656,"name":"Sean M. Collins","email":"sean@coreitpro.com","username":"scollins"},"change_message_id":"088fe546fb8904ff3a8e1fd30953dfc4566f6768","unresolved":false,"context_lines":[{"line_number":20,"context_line":"#from neutron.callbacks import exceptions"},{"line_number":21,"context_line":"from neutron.callbacks import registry"},{"line_number":22,"context_line":"from neutron.callbacks import resources"},{"line_number":23,"context_line":"#from neutron.plugins.common import constants"},{"line_number":24,"context_line":"from neutron.extensions import qos"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_eed20134","line":23,"in_reply_to":"fa32b979_ce113d06","updated":"2015-06-22 15:35:33.000000000","message":"Err - I mean delete these commented out lines","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e3144ccd7d8bb7d5da297cfd94880878e7069f18","unresolved":false,"context_lines":[{"line_number":20,"context_line":"#from neutron.callbacks import exceptions"},{"line_number":21,"context_line":"from neutron.callbacks import registry"},{"line_number":22,"context_line":"from neutron.callbacks import resources"},{"line_number":23,"context_line":"#from neutron.plugins.common import constants"},{"line_number":24,"context_line":"from neutron.extensions import qos"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_b9747efd","line":23,"in_reply_to":"fa32b979_eed20134","updated":"2015-06-29 14:09:24.000000000","message":"Done","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"c7e7c4e1767e4bc8df6a874b5ce712a02e5a633a","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        pass"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    @staticmethod"},{"line_number":51,"context_line":"    def _port_policy_associations(resource, event, trigger, **kwargs):"},{"line_number":52,"context_line":"        #port_id \u003d kwargs[\u0027port\u0027][\u0027id\u0027]"},{"line_number":53,"context_line":"        #TODO(ajo): Really associate"},{"line_number":54,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_f8ccd98a","line":51,"updated":"2015-06-23 13:12:36.000000000","message":"Consider renaming those two methods into something more \u0027verb\u0027-al/actionable, like _associate_port_policy().","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e3144ccd7d8bb7d5da297cfd94880878e7069f18","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        pass"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    @staticmethod"},{"line_number":51,"context_line":"    def _port_policy_associations(resource, event, trigger, **kwargs):"},{"line_number":52,"context_line":"        #port_id \u003d kwargs[\u0027port\u0027][\u0027id\u0027]"},{"line_number":53,"context_line":"        #TODO(ajo): Really associate"},{"line_number":54,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_395f0e74","line":51,"in_reply_to":"fa32b979_f8ccd98a","updated":"2015-06-29 14:09:24.000000000","message":"I\u0027m removing those functions to cleanup the stub. We can do them in follow up patches. Let them live in PS4 ;)","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":2888,"name":"Mathieu Rohon","email":"mathieu.rohon@gmail.com","username":"mathieu-rohon"},"change_message_id":"b31f2246060d31ca98e25f8f32891913b5b675c7","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        for event in [events.AFTER_CREATE, events.AFTER_UPDATE]:"},{"line_number":81,"context_line":"            registry.subscribe(after_write_function, resource, event)"},{"line_number":82,"context_line":"            registry.subscribe(after_read_function, resource,"},{"line_number":83,"context_line":"                               events.AFTER_READ)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def register_port_callbacks(self):"},{"line_number":86,"context_line":"        self._register_callbacks(resources.PORT,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_ba899ecc","line":83,"updated":"2015-06-22 13:51:39.000000000","message":"the last registration could be done outside the \"for\" loop, am I wrong? otherwise it will be done twice.","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e3144ccd7d8bb7d5da297cfd94880878e7069f18","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        for event in [events.AFTER_CREATE, events.AFTER_UPDATE]:"},{"line_number":81,"context_line":"            registry.subscribe(after_write_function, resource, event)"},{"line_number":82,"context_line":"            registry.subscribe(after_read_function, resource,"},{"line_number":83,"context_line":"                               events.AFTER_READ)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def register_port_callbacks(self):"},{"line_number":86,"context_line":"        self._register_callbacks(resources.PORT,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_59c77212","line":83,"in_reply_to":"fa32b979_753a479a","updated":"2015-06-29 14:09:24.000000000","message":"Will do in follow up patches, removed for now.","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"c870748c173297ba221ae833fb6de6a86286d63f","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        for event in [events.AFTER_CREATE, events.AFTER_UPDATE]:"},{"line_number":81,"context_line":"            registry.subscribe(after_write_function, resource, event)"},{"line_number":82,"context_line":"            registry.subscribe(after_read_function, resource,"},{"line_number":83,"context_line":"                               events.AFTER_READ)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def register_port_callbacks(self):"},{"line_number":86,"context_line":"        self._register_callbacks(resources.PORT,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_753a479a","line":83,"in_reply_to":"fa32b979_ba899ecc","updated":"2015-06-22 13:59:57.000000000","message":"whoops, good catch :-)\n\nI think it\u0027s idempotent but we definitely don\u0027t need to call subscription twice.","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":16788,"name":"Ramanjaneya Reddy Palleti","email":"ramanjaneya.palleti@huawei.com","username":"Ramanjaneya"},"change_message_id":"7c1e90e47fa5960ebecb29d16f516308f64ac316","unresolved":false,"context_lines":[{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def create_qos_bandwidthlimit_rule(self, context, qos_bandwidthlimit_rule):"},{"line_number":113,"context_line":"        pass"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    def get_qos_bandwithlimit_rule(self, context, rule_id, fields\u003dNone):"},{"line_number":116,"context_line":"        pass"},{"line_number":117,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_64a477a5","line":114,"updated":"2015-06-24 09:24:11.000000000","message":"Support qos update rule/policy?","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e3144ccd7d8bb7d5da297cfd94880878e7069f18","unresolved":false,"context_lines":[{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def create_qos_bandwidthlimit_rule(self, context, qos_bandwidthlimit_rule):"},{"line_number":113,"context_line":"        pass"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    def get_qos_bandwithlimit_rule(self, context, rule_id, fields\u003dNone):"},{"line_number":116,"context_line":"        pass"},{"line_number":117,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_19d1eacd","line":114,"in_reply_to":"fa32b979_64a477a5","updated":"2015-06-29 14:09:24.000000000","message":"Correct. Done. Thanks.","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"c7e7c4e1767e4bc8df6a874b5ce712a02e5a633a","unresolved":false,"context_lines":[{"line_number":120,"context_line":""},{"line_number":121,"context_line":"    def get_qos_bandwithlimit_rules(self, context, filters\u003dNone, fields\u003dNone,"},{"line_number":122,"context_line":"                                 sorts\u003dNone, limit\u003dNone, marker\u003dNone,"},{"line_number":123,"context_line":"                                 page_reverse\u003dFalse):"},{"line_number":124,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa32b979_f87a9923","line":123,"updated":"2015-06-23 13:12:36.000000000","message":"+update","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e3144ccd7d8bb7d5da297cfd94880878e7069f18","unresolved":false,"context_lines":[{"line_number":120,"context_line":""},{"line_number":121,"context_line":"    def get_qos_bandwithlimit_rules(self, context, filters\u003dNone, fields\u003dNone,"},{"line_number":122,"context_line":"                                 sorts\u003dNone, limit\u003dNone, marker\u003dNone,"},{"line_number":123,"context_line":"                                 page_reverse\u003dFalse):"},{"line_number":124,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_b9e23e9e","line":123,"in_reply_to":"fa32b979_f87a9923","updated":"2015-06-29 14:09:24.000000000","message":"Done","commit_id":"4b6681506f00a60ee8625fc31f1e1cb0ae23c7a6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"9060c01643901963c86d4b8ce555e6ccdbc49670","unresolved":false,"context_lines":[{"line_number":70,"context_line":"                                        qos_bandwidthlimit_rule):"},{"line_number":71,"context_line":"        pass"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def update_qos_bandwidth_limit_rule(self, context, rule_id, rule):"},{"line_number":74,"context_line":"        pass"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def get_qos_bandwidth_limit_rule(self, context, rule_id, fields\u003dNone):"}],"source_content_type":"text/x-python","patch_set":6,"id":"ba3cc151_4f2b24ec","line":73,"updated":"2015-06-29 14:40:49.000000000","message":"Should not be type specific.","commit_id":"2b833ca1cfb757a3d90842338b64b8785bd11094"}]}
