)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"6a69a2326bf6dd17ca333d53cd392adf1e1cf67b","unresolved":false,"context_lines":[{"line_number":22,"context_line":"qos rules is calculated properly when intersection !\u003d the list of each"},{"line_number":23,"context_line":"plugins."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Partially-Implements: blueprint neutron-qos"},{"line_number":26,"context_line":"Change-Id: I0d18ae256877a129e203110003fcadd1d63590b4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3afb71cf_03666f29","line":25,"updated":"2015-06-11 13:10:55.000000000","message":"The link to the bp does not show anything\n\nHow is this related ot the QoS discussion that are going on?","commit_id":"eca173b3d3ca98d79bf4f4cb00c1f525d6c93abe"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"446c57bbeff1989db3a1739aebf96dec16a826ab","unresolved":false,"context_lines":[{"line_number":22,"context_line":"qos rules is calculated properly when intersection !\u003d the list of each"},{"line_number":23,"context_line":"plugins."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Partially-Implements: blueprint neutron-qos"},{"line_number":26,"context_line":"Change-Id: I0d18ae256877a129e203110003fcadd1d63590b4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa32b979_9fcac14e","line":25,"in_reply_to":"3afb71cf_03666f29","updated":"2015-06-14 12:41:33.000000000","message":"Is this \"ml2-qos\"?","commit_id":"eca173b3d3ca98d79bf4f4cb00c1f525d6c93abe"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"6f9f0ac6c27fc77865e11c3cd603a9eb5e1b8991","unresolved":false,"context_lines":[{"line_number":22,"context_line":"qos rules is calculated properly when intersection !\u003d the list of each"},{"line_number":23,"context_line":"plugins."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Partially-Implements: blueprint neutron-qos"},{"line_number":26,"context_line":"Change-Id: I0d18ae256877a129e203110003fcadd1d63590b4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa32b979_3c09ce84","line":25,"in_reply_to":"fa32b979_9fcac14e","updated":"2015-06-23 15:12:59.000000000","message":"Done","commit_id":"eca173b3d3ca98d79bf4f4cb00c1f525d6c93abe"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"23d6ae82b7e10897c1fe3af4a30c21c27c0ef852","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Introduce mechanism to determine supported qos rule types for a plugin"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Every plugin that supports some of QoS rules will define a property"},{"line_number":10,"context_line":"called supported_qos_rule_types of list type."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"For ml2, determine supported qos rule types as a subset of rule types"},{"line_number":13,"context_line":"supported by all drivers. (In the future, we may expand the list to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"fa32b979_76ef46b1","line":10,"updated":"2015-06-24 12:38:20.000000000","message":"Can we document that in devref / plugin-api.rst ?","commit_id":"a7aa15b08b146a00ab31d39efde064ca27085ed6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"ffff11925e12f552c443ea799aa075302135bd62","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Introduce mechanism to determine supported qos rule types for a plugin"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Every plugin that supports some of QoS rules will define a property"},{"line_number":10,"context_line":"called supported_qos_rule_types of list type."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"For ml2, determine supported qos rule types as a subset of rule types"},{"line_number":13,"context_line":"supported by all drivers. (In the future, we may expand the list to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"ba3cc151_4c496bb6","line":10,"in_reply_to":"fa32b979_76ef46b1","updated":"2015-07-01 20:45:59.000000000","message":"Done","commit_id":"a7aa15b08b146a00ab31d39efde064ca27085ed6"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"2491475332e4fc70badbbd52fc6d82ec88bb89da","unresolved":false,"context_lines":[{"line_number":10,"context_line":"called supported_qos_rule_types of list type."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"For ml2, determine supported qos rule types as a subset of rule types"},{"line_number":13,"context_line":"supported by all drivers. (In the future, we may expand the list to"},{"line_number":14,"context_line":"include all types supported by at least one of enabled drivers. This"},{"line_number":15,"context_line":"would require synchronized work with nova scheduler though.)"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"9a41bdd9_8b423e3d","line":13,"updated":"2015-07-13 20:45:56.000000000","message":"I think this can be achieved by other available tools for placement such as host aggregates and not mandatorily require nova scheduler. Doing the common denominator will make  it simple. But for multi backed support , it will require more advanced support. I am not sure if we should not start with listing all types supported by at least one driver.","commit_id":"da57b572313c25966033042256482662145eee1f"}],"neutron/extensions/qos.py":[{"author":{"_account_id":7018,"name":"Abhishek Raut","email":"rauta@vmware.com","username":"abhiraut"},"change_message_id":"791ff160253e1041588d533f6c18221620b5bb61","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                                  \u0027validate\u0027: {\u0027type:non_negative\u0027: None}}})"},{"line_number":81,"context_line":"    }"},{"line_number":82,"context_line":"}"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"QOS_POLICY_ID \u003d \"qos_policy_id\""},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"}],"source_content_type":"text/x-python","patch_set":25,"id":"3a50d1a3_8c73174e","line":83,"updated":"2015-07-27 18:41:11.000000000","message":"now that there is a separate file for qos constants, does it makes sense to move this over there?","commit_id":"12f7abd3982d3580abdb9055c650bdad50900cf4"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"6eaa7c3123ee080536871e376b2eefd3181ef577","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                                  \u0027validate\u0027: {\u0027type:non_negative\u0027: None}}})"},{"line_number":81,"context_line":"    }"},{"line_number":82,"context_line":"}"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"QOS_POLICY_ID \u003d \"qos_policy_id\""},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"}],"source_content_type":"text/x-python","patch_set":25,"id":"3a50d1a3_ac4373ae","line":83,"in_reply_to":"3a50d1a3_8c73174e","updated":"2015-07-27 18:43:38.000000000","message":"It makes sense, but please not for that patch. This patch must go in as-is unless there are real issues since other critical pieces are based on top of it (API tests).","commit_id":"12f7abd3982d3580abdb9055c650bdad50900cf4"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"9ac078ebcafb6419c1b0a145166591051eae4a5a","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                                  \u0027validate\u0027: {\u0027type:non_negative\u0027: None}}})"},{"line_number":81,"context_line":"    }"},{"line_number":82,"context_line":"}"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"QOS_POLICY_ID \u003d \"qos_policy_id\""},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"}],"source_content_type":"text/x-python","patch_set":25,"id":"3a50d1a3_cf97d18e","line":83,"in_reply_to":"3a50d1a3_8ca7974f","updated":"2015-07-27 18:54:25.000000000","message":"I moved it in: https://review.openstack.org/206188","commit_id":"12f7abd3982d3580abdb9055c650bdad50900cf4"},{"author":{"_account_id":7018,"name":"Abhishek Raut","email":"rauta@vmware.com","username":"abhiraut"},"change_message_id":"29571a6f24e5386a8fef88f5cb3a05ab75123227","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                                  \u0027validate\u0027: {\u0027type:non_negative\u0027: None}}})"},{"line_number":81,"context_line":"    }"},{"line_number":82,"context_line":"}"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"QOS_POLICY_ID \u003d \"qos_policy_id\""},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"EXTENDED_ATTRIBUTES_2_0 \u003d {"}],"source_content_type":"text/x-python","patch_set":25,"id":"3a50d1a3_8ca7974f","line":83,"in_reply_to":"3a50d1a3_ac4373ae","updated":"2015-07-27 18:49:08.000000000","message":"Cool!","commit_id":"12f7abd3982d3580abdb9055c650bdad50900cf4"}],"neutron/neutron_plugin_base_v2.py":[{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8bc4e385509d0fab73ca864e94a5df2e69f97d99","unresolved":false,"context_lines":[{"line_number":27,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":28,"context_line":"class NeutronPluginBaseV2(object):"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    supported_qos_rule_types \u003d []"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    @abc.abstractmethod"},{"line_number":33,"context_line":"    def create_subnet(self, context, subnet):"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_a619408a","line":30,"updated":"2015-06-23 18:45:26.000000000","message":"It looks strange to me to maintain this explicitly in the core plugin. QoS is an extension and planned to be supported by QoS plugin. I think it should be either managed by QoS plugin or maybe more generic approach, something like \u0027get_supported_capablities\u0027 can fit here.","commit_id":"65a51599c213266cadb0c7f0dbd7ba2ecd00bfeb"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"8397d42c059c42d11806720b0f5c98878d7d5622","unresolved":false,"context_lines":[{"line_number":27,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":28,"context_line":"class NeutronPluginBaseV2(object):"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    supported_qos_rule_types \u003d []"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    @abc.abstractmethod"},{"line_number":33,"context_line":"    def create_subnet(self, context, subnet):"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa32b979_7f1721ee","line":30,"in_reply_to":"fa32b979_a619408a","updated":"2015-06-24 10:40:01.000000000","message":"You\u0027re right, it was too invasive. There is nothing bad about QoS plugin checking whether an attribute is defined on a plugin before accessing it.","commit_id":"65a51599c213266cadb0c7f0dbd7ba2ecd00bfeb"}],"neutron/objects/base.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6f2b189abf86d4f3fac24d364d2d42f06da6a489","unresolved":false,"context_lines":[{"line_number":35,"context_line":"        raise NotImplementedError()"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    @classmethod"},{"line_number":38,"context_line":"    @abc.abstractmethod"},{"line_number":39,"context_line":"    def get_objects(cls, context, **kwargs):"},{"line_number":40,"context_line":"        raise NotImplementedError()"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"3a50d1a3_3a2e8a8c","line":38,"updated":"2015-07-28 14:02:40.000000000","message":"Nit: What is the reason that you use @abstractedmethod and NotImplementedError() at the same time?\nIt looks inconsistent with get_by_id above.\n\nIf get_objects is a required method implemented in a subclass,\nit looks better to me to use \u0027pass\u0027 instead.","commit_id":"12f7abd3982d3580abdb9055c650bdad50900cf4"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7d0530d33c9f274c55581fb81d7b24b03062e1ef","unresolved":false,"context_lines":[{"line_number":35,"context_line":"        raise NotImplementedError()"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    @classmethod"},{"line_number":38,"context_line":"    @abc.abstractmethod"},{"line_number":39,"context_line":"    def get_objects(cls, context, **kwargs):"},{"line_number":40,"context_line":"        raise NotImplementedError()"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":25,"id":"3a50d1a3_10aa8d71","line":38,"in_reply_to":"3a50d1a3_3a2e8a8c","updated":"2015-07-28 14:24:34.000000000","message":"I agree. I will follow up later to clean it up as you suggest.","commit_id":"12f7abd3982d3580abdb9055c650bdad50900cf4"}],"neutron/objects/qos/rule_type.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a716bd9b7c6496af558df2c46085bad74a503329","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"class RuleTypeField(obj_fields.BaseEnumField):"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def __init__(self, **kwargs):"},{"line_number":24,"context_line":"        self.AUTO_TYPE \u003d obj_fields.Enum("}],"source_content_type":"text/x-python","patch_set":22,"id":"3a50d1a3_b6aed87f","line":21,"updated":"2015-07-23 22:05:52.000000000","message":"What\u0027s the advantage of using a neutron object for this?, wouldn\u0027t a normal object do the same work?. I guess the \"to_dict\" and api returnability that we generally will support for neutron objects?","commit_id":"285a58657837cfb1527f9de29fd4f676960acdc7"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"22c559bdd521bc3db618db4a8d34074d7aa80a34","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"class RuleTypeField(obj_fields.BaseEnumField):"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def __init__(self, **kwargs):"},{"line_number":24,"context_line":"        self.AUTO_TYPE \u003d obj_fields.Enum("}],"source_content_type":"text/x-python","patch_set":22,"id":"3a50d1a3_f5220501","line":21,"in_reply_to":"3a50d1a3_8847ed4a","updated":"2015-07-24 08:42:58.000000000","message":"+ in case we add new fields, it makes versioning for us.","commit_id":"285a58657837cfb1527f9de29fd4f676960acdc7"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"ad4972919e02bd982354dfe44aec8daeb859fe8b","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from neutron.services.qos import qos_consts"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"class RuleTypeField(obj_fields.BaseEnumField):"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    def __init__(self, **kwargs):"},{"line_number":24,"context_line":"        self.AUTO_TYPE \u003d obj_fields.Enum("}],"source_content_type":"text/x-python","patch_set":22,"id":"3a50d1a3_8847ed4a","line":21,"in_reply_to":"3a50d1a3_b6aed87f","updated":"2015-07-24 07:40:54.000000000","message":"Well, yes, to_dict + consistency with other qos \u0027resources\u0027 + field validation.","commit_id":"285a58657837cfb1527f9de29fd4f676960acdc7"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6f2b189abf86d4f3fac24d364d2d42f06da6a489","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"@obj_base.VersionedObjectRegistry.register"},{"line_number":30,"context_line":"class QosRuleType(base.NeutronObject):"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    fields \u003d {"},{"line_number":33,"context_line":"        \u0027type\u0027: RuleTypeField(),"}],"source_content_type":"text/x-python","patch_set":25,"id":"3a50d1a3_3afd2ab1","line":30,"updated":"2015-07-28 14:02:40.000000000","message":"This class does not support get_by_id. \nI think it is intended. correct?","commit_id":"12f7abd3982d3580abdb9055c650bdad50900cf4"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7d0530d33c9f274c55581fb81d7b24b03062e1ef","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"@obj_base.VersionedObjectRegistry.register"},{"line_number":30,"context_line":"class QosRuleType(base.NeutronObject):"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    fields \u003d {"},{"line_number":33,"context_line":"        \u0027type\u0027: RuleTypeField(),"}],"source_content_type":"text/x-python","patch_set":25,"id":"3a50d1a3_10736d4f","line":30,"in_reply_to":"3a50d1a3_3afd2ab1","updated":"2015-07-28 14:24:34.000000000","message":"Yes, there are no ids for synthetic objects like that one.","commit_id":"12f7abd3982d3580abdb9055c650bdad50900cf4"}],"neutron/plugins/ml2/driver_api.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"53e8d7c714877030b1849d8eb9fca80e55a7c676","unresolved":false,"context_lines":[{"line_number":888,"context_line":"        \"\"\""},{"line_number":889,"context_line":"        pass"},{"line_number":890,"context_line":""},{"line_number":891,"context_line":"    @property"},{"line_number":892,"context_line":"    def supported_qos_rule_types(self):"},{"line_number":893,"context_line":"        \"\"\"Retrieve a list of QoS rule types supported by the plugin.\"\"\""},{"line_number":894,"context_line":"        return []"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_084f1d6b","line":891,"updated":"2015-06-28 10:55:03.000000000","message":"Same as for plugins, it should not be explciitly exposed as part of driver API. The property will instead be described in qos devref.","commit_id":"a7aa15b08b146a00ab31d39efde064ca27085ed6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"ffff11925e12f552c443ea799aa075302135bd62","unresolved":false,"context_lines":[{"line_number":888,"context_line":"        \"\"\""},{"line_number":889,"context_line":"        pass"},{"line_number":890,"context_line":""},{"line_number":891,"context_line":"    @property"},{"line_number":892,"context_line":"    def supported_qos_rule_types(self):"},{"line_number":893,"context_line":"        \"\"\"Retrieve a list of QoS rule types supported by the plugin.\"\"\""},{"line_number":894,"context_line":"        return []"}],"source_content_type":"text/x-python","patch_set":6,"id":"ba3cc151_ecc87f24","line":891,"in_reply_to":"fa32b979_084f1d6b","updated":"2015-07-01 20:45:59.000000000","message":"Done","commit_id":"a7aa15b08b146a00ab31d39efde064ca27085ed6"}],"neutron/plugins/ml2/drivers/linuxbridge/mech_driver/mech_linuxbridge.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a716bd9b7c6496af558df2c46085bad74a503329","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    # TODO(QoS): really, there is no support for QoS in the driver. Leaving it"},{"line_number":39,"context_line":"    # here since API tests are executed against both ovs and lb drivers, and it"},{"line_number":40,"context_line":"    # effectively makes ml2 plugin return an empty list for supported rule"},{"line_number":41,"context_line":"    # types"},{"line_number":42,"context_line":"    supported_qos_rule_types \u003d [qos_consts.RULE_TYPE_BANDWIDTH_LIMIT]"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def __init__(self):"}],"source_content_type":"text/x-python","patch_set":22,"id":"3a50d1a3_366ba887","line":41,"updated":"2015-07-23 22:05:52.000000000","message":"ack!, I was about to complain, but the comment makes sense.","commit_id":"285a58657837cfb1527f9de29fd4f676960acdc7"}],"neutron/plugins/ml2/managers.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"23d6ae82b7e10897c1fe3af4a30c21c27c0ef852","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        rule_types \u003d [driver.obj.supported_qos_rule_types"},{"line_number":318,"context_line":"                      for driver in self.ordered_mech_drivers]"},{"line_number":319,"context_line":"        # determine common subset of qos rules"},{"line_number":320,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"    def initialize(self):"},{"line_number":323,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_b6214e4f","line":320,"updated":"2015-06-24 12:38:20.000000000","message":"oh functional programming, oh ;)\n\nI understand what you\u0027re doing but I guess some readers could struggle.","commit_id":"a7aa15b08b146a00ab31d39efde064ca27085ed6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"28facb1ff2320b74b704405272c9cd1e638a11b1","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        rule_types \u003d [driver.obj.supported_qos_rule_types"},{"line_number":318,"context_line":"                      for driver in self.ordered_mech_drivers]"},{"line_number":319,"context_line":"        # determine common subset of qos rules"},{"line_number":320,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"    def initialize(self):"},{"line_number":323,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_9ccf887e","line":320,"in_reply_to":"fa32b979_91a774a6","updated":"2015-06-24 13:58:41.000000000","message":"The beauty of neutron community is that whatever you write, you always get a bike shed comment. If you do it the dumb way, you get smth like: \"last_ip \u003d net.last - (net.version \u003d\u003d 4)\" suggested. ;)","commit_id":"a7aa15b08b146a00ab31d39efde064ca27085ed6"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"9c067876be08fde2e1ec9a7ee9d14f084ef28505","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        rule_types \u003d [driver.obj.supported_qos_rule_types"},{"line_number":318,"context_line":"                      for driver in self.ordered_mech_drivers]"},{"line_number":319,"context_line":"        # determine common subset of qos rules"},{"line_number":320,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"    def initialize(self):"},{"line_number":323,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_bba6fda8","line":320,"in_reply_to":"fa32b979_9ccf887e","updated":"2015-06-24 21:33:49.000000000","message":"Honestly I left that comment on Kevin\u0027s patch to provoke him ;)","commit_id":"a7aa15b08b146a00ab31d39efde064ca27085ed6"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"6e35e92f43e3368d324b8e2f489c980cfc576e1e","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        rule_types \u003d [driver.obj.supported_qos_rule_types"},{"line_number":318,"context_line":"                      for driver in self.ordered_mech_drivers]"},{"line_number":319,"context_line":"        # determine common subset of qos rules"},{"line_number":320,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"    def initialize(self):"},{"line_number":323,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_91a774a6","line":320,"in_reply_to":"fa32b979_b6214e4f","updated":"2015-06-24 12:52:40.000000000","message":"I think it\u0027s understandable for a programmer to not understand this code.\nIt\u0027s also normal for a decent programmer to make an effort to understand it.\n\nThe beauty of this kind of code is that it opens up space for plenty of bike shedding! should we go there?","commit_id":"a7aa15b08b146a00ab31d39efde064ca27085ed6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0a65ac8037628d0a3a05a40f4760c542c2e22f5f","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        rule_types \u003d [driver.obj.supported_qos_rule_types"},{"line_number":318,"context_line":"                      for driver in self.ordered_mech_drivers]"},{"line_number":319,"context_line":"        # determine common subset of qos rules"},{"line_number":320,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"    def initialize(self):"},{"line_number":323,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_4cf36773","line":320,"in_reply_to":"fa32b979_bba6fda8","updated":"2015-06-25 08:43:22.000000000","message":"Please, ignore my comment, it\u0027s just a note for \"fun\", I actually tend to miss pure functional programming (the same way I miss C or assembler sometimes, you can\u0027t have it all -not joking-) ;)\n\nI\u0027m actually happy to see some code triggering that neuronal path on my brain before it gets aged and disconnected ;)","commit_id":"a7aa15b08b146a00ab31d39efde064ca27085ed6"},{"author":{"_account_id":16242,"name":"Rayman Lwo","email":"liangliang.luo@easystack.cn","username":"Rayman"},"change_message_id":"73f7385112fa73b4688d6477bbe8c5609b47841e","unresolved":false,"context_lines":[{"line_number":324,"context_line":"                return []"},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"        # determine common subset of qos rules"},{"line_number":327,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"    def initialize(self):"},{"line_number":330,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":10,"id":"ba3cc151_dacf1e27","line":327,"updated":"2015-07-03 09:29:40.000000000","message":"The rule_types maybe still be a empty list if self.ordered_mech_drivers is empty list, so there will raise a exception as \"TypeError: reduce() of empty sequence with no initial value\" .\n\nIs it right?\n\nMy test in python2.7 env:\n\u003e\u003e\u003e rule_types \u003d []\n\u003e\u003e\u003e test \u003d list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))\nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\nTypeError: reduce() of empty sequence with no initial value\n\u003e\u003e\u003e","commit_id":"3591f6fdc728a784f152010c452206ce00831d22"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"923fb3cac811ea853dd0a114238671cb1f71b70b","unresolved":false,"context_lines":[{"line_number":324,"context_line":"                return []"},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"        # determine common subset of qos rules"},{"line_number":327,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"    def initialize(self):"},{"line_number":330,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":10,"id":"ba3cc151_00eef7b3","line":327,"in_reply_to":"ba3cc151_3eec97f2","updated":"2015-07-07 16:51:01.000000000","message":"Great catch!","commit_id":"3591f6fdc728a784f152010c452206ce00831d22"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"e3f17f7087b60464650f333e8af96bc3a791d168","unresolved":false,"context_lines":[{"line_number":324,"context_line":"                return []"},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"        # determine common subset of qos rules"},{"line_number":327,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"    def initialize(self):"},{"line_number":330,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":10,"id":"ba3cc151_3eec97f2","line":327,"in_reply_to":"ba3cc151_5f02c40a","updated":"2015-07-07 08:38:52.000000000","message":"We may want to return an empty list in such case. And go on :)","commit_id":"3591f6fdc728a784f152010c452206ce00831d22"},{"author":{"_account_id":8976,"name":"shihanzhang","email":"ayshihanzhang@gmail.com","username":"shihanzhang"},"change_message_id":"9c4777e58d9592e6e04f30c2f0495ec92d51c15a","unresolved":false,"context_lines":[{"line_number":324,"context_line":"                return []"},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"        # determine common subset of qos rules"},{"line_number":327,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"    def initialize(self):"},{"line_number":330,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":10,"id":"ba3cc151_5f02c40a","line":327,"in_reply_to":"ba3cc151_dacf1e27","updated":"2015-07-07 01:20:49.000000000","message":"if self.ordered_mech_drivers is empty list, it will raise a exception, but I don\u0027t know in what condition self.ordered_mech_drivers will be empty?","commit_id":"3591f6fdc728a784f152010c452206ce00831d22"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"0fdd68bbb84d390eb6ec7e89ec95dc27195571d1","unresolved":false,"context_lines":[{"line_number":314,"context_line":""},{"line_number":315,"context_line":"    @property"},{"line_number":316,"context_line":"    def supported_qos_rule_types(self):"},{"line_number":317,"context_line":"        rule_types \u003d []"},{"line_number":318,"context_line":"        for driver in self.ordered_mech_drivers:"},{"line_number":319,"context_line":"            if hasattr(driver.obj, \u0027supported_qos_rule_types\u0027):"},{"line_number":320,"context_line":"                rule_types.append(driver.obj.supported_qos_rule_types)"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba3cc151_5827d611","line":317,"updated":"2015-07-08 18:30:39.000000000","message":"why not building directly the rule type set?\n\n  if not self.ordered_mech_drivers:\n    return []\n\n  rule_types \u003d set(qos.VALID_RULE_TYPES)\n  for ...:\n    if ...\n      rule_types \u0026\u003d set(driver.obj.supported_qos_rule_types)\n    else:\n      return []\n  return list(rule_types)","commit_id":"a6223eb5a04d3c779fd27c96174bd5c0a4c8ec16"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"3d4fdb9e4637685cce58be10f597e8af3d76da1d","unresolved":false,"context_lines":[{"line_number":314,"context_line":""},{"line_number":315,"context_line":"    @property"},{"line_number":316,"context_line":"    def supported_qos_rule_types(self):"},{"line_number":317,"context_line":"        rule_types \u003d []"},{"line_number":318,"context_line":"        for driver in self.ordered_mech_drivers:"},{"line_number":319,"context_line":"            if hasattr(driver.obj, \u0027supported_qos_rule_types\u0027):"},{"line_number":320,"context_line":"                rule_types.append(driver.obj.supported_qos_rule_types)"}],"source_content_type":"text/x-python","patch_set":11,"id":"9a41bdd9_89fed336","line":317,"in_reply_to":"ba3cc151_5827d611","updated":"2015-07-13 16:51:40.000000000","message":"Done","commit_id":"a6223eb5a04d3c779fd27c96174bd5c0a4c8ec16"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"0fdd68bbb84d390eb6ec7e89ec95dc27195571d1","unresolved":false,"context_lines":[{"line_number":327,"context_line":"            return []"},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"        # determine common subset of qos rules"},{"line_number":330,"context_line":"        return list(reduce(lambda x, y: x \u0026 y, map(set, rule_types)))"},{"line_number":331,"context_line":""},{"line_number":332,"context_line":"    def initialize(self):"},{"line_number":333,"context_line":"        for driver in self.ordered_mech_drivers:"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba3cc151_7823babd","line":330,"updated":"2015-07-08 18:30:39.000000000","message":"use operator.__and__ instead of a custom lambda","commit_id":"a6223eb5a04d3c779fd27c96174bd5c0a4c8ec16"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a716bd9b7c6496af558df2c46085bad74a503329","unresolved":false,"context_lines":[{"line_number":322,"context_line":""},{"line_number":323,"context_line":"        for driver in self.ordered_mech_drivers:"},{"line_number":324,"context_line":"            if hasattr(driver.obj, \u0027supported_qos_rule_types\u0027):"},{"line_number":325,"context_line":"                rule_types \u0026\u003d set(driver.obj.supported_qos_rule_types)"},{"line_number":326,"context_line":"            else:"},{"line_number":327,"context_line":"                # at least one of drivers does not support QoS, meaning there"},{"line_number":328,"context_line":"                # are no rule types supported by all of them"}],"source_content_type":"text/x-python","patch_set":22,"id":"3a50d1a3_76e61018","line":325,"updated":"2015-07-23 22:05:52.000000000","message":"I would add some info output during first calculation, so the operator can understand what\u0027s happening when he sees no rules available, or only part.\n\nTo make this reasonable, probably we need to calculate it just once, and store in an private attribute.","commit_id":"285a58657837cfb1527f9de29fd4f676960acdc7"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"ad4972919e02bd982354dfe44aec8daeb859fe8b","unresolved":false,"context_lines":[{"line_number":322,"context_line":""},{"line_number":323,"context_line":"        for driver in self.ordered_mech_drivers:"},{"line_number":324,"context_line":"            if hasattr(driver.obj, \u0027supported_qos_rule_types\u0027):"},{"line_number":325,"context_line":"                rule_types \u0026\u003d set(driver.obj.supported_qos_rule_types)"},{"line_number":326,"context_line":"            else:"},{"line_number":327,"context_line":"                # at least one of drivers does not support QoS, meaning there"},{"line_number":328,"context_line":"                # are no rule types supported by all of them"}],"source_content_type":"text/x-python","patch_set":22,"id":"3a50d1a3_888ccd80","line":325,"in_reply_to":"3a50d1a3_76e61018","updated":"2015-07-24 07:40:54.000000000","message":"Good idea to log. Though I don\u0027t want to enforce plugins to be consistent in terms of supported types throughout server execution, so I will avoid caching.","commit_id":"285a58657837cfb1527f9de29fd4f676960acdc7"}],"neutron/services/qos/qos_plugin.py":[{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"d46e8598d4955a5916b91c68d3a70e6620164525","unresolved":false,"context_lines":[{"line_number":198,"context_line":"                       sorts\u003dNone, limit\u003dNone,"},{"line_number":199,"context_line":"                       marker\u003dNone, page_reverse\u003dFalse):"},{"line_number":200,"context_line":"        #TODO(QoS): API test needed"},{"line_number":201,"context_line":"        return {\u0027type\u0027: rule"},{"line_number":202,"context_line":"                for rule in self.core_plugin.supported_qos_rule_types}"}],"source_content_type":"text/x-python","patch_set":16,"id":"3a50d1a3_314bb25b","line":201,"updated":"2015-07-19 09:49:44.000000000","message":"According to the test I ran, this should return list of dicts. something like:\nreturn [{\u0027type\u0027: \u0027bandwidth_limit\u0027}]","commit_id":"a54257e0a8ad6f6241c315212ed2539aba46d9e5"}],"neutron/tests/api/test_qos.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a716bd9b7c6496af558df2c46085bad74a503329","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        self.assertIn(rule[\u0027id\u0027], rules_ids)"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    @test.attr(type\u003d\u0027smoke\u0027)"},{"line_number":75,"context_line":"    @test.idempotent_id(\u0027cf776f77-8d3d-49f2-8572-12d6a1557224\u0027)"},{"line_number":76,"context_line":"    def test_list_rule_types(self):"},{"line_number":77,"context_line":"        # List supported rule types"},{"line_number":78,"context_line":"        expected_rule_types \u003d qos_consts.VALID_RULE_TYPES"}],"source_content_type":"text/x-python","patch_set":22,"id":"3a50d1a3_f69f8063","line":75,"updated":"2015-07-23 22:05:52.000000000","message":"ignorant question: what does the idempotent_id decorator mean?","commit_id":"285a58657837cfb1527f9de29fd4f676960acdc7"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"ad4972919e02bd982354dfe44aec8daeb859fe8b","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        self.assertIn(rule[\u0027id\u0027], rules_ids)"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    @test.attr(type\u003d\u0027smoke\u0027)"},{"line_number":75,"context_line":"    @test.idempotent_id(\u0027cf776f77-8d3d-49f2-8572-12d6a1557224\u0027)"},{"line_number":76,"context_line":"    def test_list_rule_types(self):"},{"line_number":77,"context_line":"        # List supported rule types"},{"line_number":78,"context_line":"        expected_rule_types \u003d qos_consts.VALID_RULE_TYPES"}],"source_content_type":"text/x-python","patch_set":22,"id":"3a50d1a3_a8ae69e5","line":75,"in_reply_to":"3a50d1a3_f69f8063","updated":"2015-07-24 07:40:54.000000000","message":"I presume it\u0027s used to distinguish tests in logs.","commit_id":"285a58657837cfb1527f9de29fd4f676960acdc7"}],"neutron/tests/unit/plugins/ml2/drivers/mechanism_test.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"446c57bbeff1989db3a1739aebf96dec16a826ab","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    \"\"\"Test mechanism driver for testing mechanism driver api.\"\"\""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    # TODO(ihrachyshka): replace with a constant"},{"line_number":25,"context_line":"    supported_qos_rule_types \u003d [\u0027bandwidth\u0027]"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    def initialize(self):"},{"line_number":28,"context_line":"        self.bound_ports \u003d set()"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_1f2b11ed","line":25,"updated":"2015-06-14 12:41:33.000000000","message":"Just question: Is current usecase a \"bandwidth\" only? Does we have DSCP case?","commit_id":"eca173b3d3ca98d79bf4f4cb00c1f525d6c93abe"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"6f9f0ac6c27fc77865e11c3cd603a9eb5e1b8991","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    \"\"\"Test mechanism driver for testing mechanism driver api.\"\"\""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    # TODO(ihrachyshka): replace with a constant"},{"line_number":25,"context_line":"    supported_qos_rule_types \u003d [\u0027bandwidth\u0027]"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    def initialize(self):"},{"line_number":28,"context_line":"        self.bound_ports \u003d set()"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_dc71c20d","line":25,"in_reply_to":"fa32b979_1f2b11ed","updated":"2015-06-23 15:12:59.000000000","message":"The initial plan for L is to have one rule type supported. Later, we may expand it.","commit_id":"eca173b3d3ca98d79bf4f4cb00c1f525d6c93abe"}],"neutron/tests/unit/plugins/ml2/test_plugin.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"007b93f13cbea909089b98dc011eadb9329b3cac","unresolved":false,"context_lines":[{"line_number":153,"context_line":"        # make sure both plugins have the same supported qos rule types"},{"line_number":154,"context_line":"        with mock.patch.object(mech_logger.LoggerMechanismDriver,"},{"line_number":155,"context_line":"                               \u0027get_supported_qos_rule_types\u0027) as get_types:"},{"line_number":156,"context_line":"            get_types.side_effect \u003d lambda: rules"},{"line_number":157,"context_line":"            # since manager is already loaded, we need to enforce recalculation"},{"line_number":158,"context_line":"            # to apply mocked changes"},{"line_number":159,"context_line":"            self.driver.mechanism_manager._calculate_supported_qos_rule_types()"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_7e7c5820","line":156,"updated":"2015-06-22 19:39:00.000000000","message":"i think you just want \u0027get_types.return_value \u003d rules\u0027","commit_id":"eca173b3d3ca98d79bf4f4cb00c1f525d6c93abe"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"6f9f0ac6c27fc77865e11c3cd603a9eb5e1b8991","unresolved":false,"context_lines":[{"line_number":153,"context_line":"        # make sure both plugins have the same supported qos rule types"},{"line_number":154,"context_line":"        with mock.patch.object(mech_logger.LoggerMechanismDriver,"},{"line_number":155,"context_line":"                               \u0027get_supported_qos_rule_types\u0027) as get_types:"},{"line_number":156,"context_line":"            get_types.side_effect \u003d lambda: rules"},{"line_number":157,"context_line":"            # since manager is already loaded, we need to enforce recalculation"},{"line_number":158,"context_line":"            # to apply mocked changes"},{"line_number":159,"context_line":"            self.driver.mechanism_manager._calculate_supported_qos_rule_types()"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_dc48e2b5","line":156,"in_reply_to":"fa32b979_7e7c5820","updated":"2015-06-23 15:12:59.000000000","message":"I don\u0027t believe I wrote it. Or maybe that is me unconsciously resisting attempts to kill oh so dear to me lambdas.","commit_id":"eca173b3d3ca98d79bf4f4cb00c1f525d6c93abe"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"735526c59ad82ac7eb83412d209c90f0046d1de8","unresolved":false,"context_lines":[{"line_number":160,"context_line":"                       create\u003dTrue)"},{"line_number":161,"context_line":"    def test_rule_type_in_common(self, mock_rule_types):"},{"line_number":162,"context_line":"        rules \u003d mech_test.TestMechanismDriver.supported_qos_rule_types"},{"line_number":163,"context_line":"        # Test relies on the fact that test driver supports some QoS rules, so"},{"line_number":164,"context_line":"        # make sure no later change there silently makes the test ineffective"},{"line_number":165,"context_line":"        self.assertTrue(rules)"},{"line_number":166,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"9a41bdd9_6edecc12","line":163,"updated":"2015-07-14 11:28:49.000000000","message":"this seems a bit brittle, can you just mock self.ordered_mech_drivers to return drivers with \u0027supported_qos_rule_types\u0027 mocked ?","commit_id":"da57b572313c25966033042256482662145eee1f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"36827392622706eaeb02c41d7b240073ebe484b3","unresolved":false,"context_lines":[{"line_number":160,"context_line":"                       create\u003dTrue)"},{"line_number":161,"context_line":"    def test_rule_type_in_common(self, mock_rule_types):"},{"line_number":162,"context_line":"        rules \u003d mech_test.TestMechanismDriver.supported_qos_rule_types"},{"line_number":163,"context_line":"        # Test relies on the fact that test driver supports some QoS rules, so"},{"line_number":164,"context_line":"        # make sure no later change there silently makes the test ineffective"},{"line_number":165,"context_line":"        self.assertTrue(rules)"},{"line_number":166,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"9a41bdd9_669a9170","line":163,"in_reply_to":"9a41bdd9_6edecc12","updated":"2015-07-18 10:59:55.000000000","message":"Done","commit_id":"da57b572313c25966033042256482662145eee1f"}]}
