)]}'
{"networking_odl/ml2/mech_driver_v2.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8445bc347f20976f0f552c149ca9c47644bf1d85","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    \"\"\""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def _enable_qos(self):"},{"line_number":50,"context_line":"        if \u0027qos\u0027 in cfg.CONF.ml2.extension_drivers:"},{"line_number":51,"context_line":"            qos_driver.register()"},{"line_number":52,"context_line":"        else:"},{"line_number":53,"context_line":"            pass"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_d0d8b61e","line":50,"range":{"start_line":50,"start_character":8,"end_line":50,"end_character":51},"updated":"2017-04-12 17:21:51.000000000","message":"This looks reasonable check.\novs/linuxbridge drivers don\u0027t.\nThey should be changed, too?","commit_id":"e5ab95116ed4af55fb7d1fa66e1f990b03f57eea"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3611f4f73c29d83aaa2d893f42c085b71b16f42e","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    \"\"\""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def _enable_qos(self):"},{"line_number":50,"context_line":"        if \u0027qos\u0027 in cfg.CONF.ml2.extension_drivers:"},{"line_number":51,"context_line":"            qos_driver.register()"},{"line_number":52,"context_line":"        else:"},{"line_number":53,"context_line":"            pass"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_ab15c73e","line":50,"range":{"start_line":50,"start_character":8,"end_line":50,"end_character":51},"in_reply_to":"bff0334d_d0d8b61e","updated":"2017-04-12 17:37:37.000000000","message":"they already have some sort of check in ml2_plugin it self for qos service [1], i don\u0027t lb and ovs separately need that. \n\n[1]. https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/plugin.py#L175","commit_id":"e5ab95116ed4af55fb7d1fa66e1f990b03f57eea"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8445bc347f20976f0f552c149ca9c47644bf1d85","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    def _enable_qos(self):"},{"line_number":50,"context_line":"        if \u0027qos\u0027 in cfg.CONF.ml2.extension_drivers:"},{"line_number":51,"context_line":"            qos_driver.register()"},{"line_number":52,"context_line":"        else:"},{"line_number":53,"context_line":"            pass"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def initialize(self):"},{"line_number":56,"context_line":"        LOG.debug(\"Initializing OpenDaylight ML2 driver\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_90dfce0b","line":53,"range":{"start_line":52,"start_character":0,"end_line":53,"end_character":16},"updated":"2017-04-12 17:21:51.000000000","message":"makes no sense. remove line 52, 53.","commit_id":"e5ab95116ed4af55fb7d1fa66e1f990b03f57eea"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3611f4f73c29d83aaa2d893f42c085b71b16f42e","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    def _enable_qos(self):"},{"line_number":50,"context_line":"        if \u0027qos\u0027 in cfg.CONF.ml2.extension_drivers:"},{"line_number":51,"context_line":"            qos_driver.register()"},{"line_number":52,"context_line":"        else:"},{"line_number":53,"context_line":"            pass"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def initialize(self):"},{"line_number":56,"context_line":"        LOG.debug(\"Initializing OpenDaylight ML2 driver\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_50126663","line":53,"range":{"start_line":52,"start_character":0,"end_line":53,"end_character":16},"in_reply_to":"bff0334d_90dfce0b","updated":"2017-04-12 17:37:37.000000000","message":"Done","commit_id":"e5ab95116ed4af55fb7d1fa66e1f990b03f57eea"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"b195ac8613648978315911d6022a2edf3a8dae7c","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    MechanismDriver for OpenStack Neutron."},{"line_number":47,"context_line":"    \"\"\""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def _enable_qos(self):"},{"line_number":50,"context_line":"        if \u0027qos\u0027 in cfg.CONF.ml2.extension_drivers:"},{"line_number":51,"context_line":"            qos_driver.register()"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    def initialize(self):"},{"line_number":54,"context_line":"        LOG.debug(\"Initializing OpenDaylight ML2 driver\")"}],"source_content_type":"text/x-python","patch_set":5,"id":"9ff52f3f_6480e48c","line":51,"range":{"start_line":49,"start_character":0,"end_line":51,"end_character":33},"updated":"2017-04-13 19:16:57.000000000","message":"This methods has only two lines and used by only one caller.\nCan we open code it?","commit_id":"e7c14b57f6221a81cf71727ab7a43cd3bd3bb653"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f9b4182e888c48012ed57b25ddb070a7b8dca181","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    MechanismDriver for OpenStack Neutron."},{"line_number":47,"context_line":"    \"\"\""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def _enable_qos(self):"},{"line_number":50,"context_line":"        if \u0027qos\u0027 in cfg.CONF.ml2.extension_drivers:"},{"line_number":51,"context_line":"            qos_driver.register()"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    def initialize(self):"},{"line_number":54,"context_line":"        LOG.debug(\"Initializing OpenDaylight ML2 driver\")"}],"source_content_type":"text/x-python","patch_set":5,"id":"7ffa3b31_92b7ccd9","line":51,"range":{"start_line":49,"start_character":0,"end_line":51,"end_character":33},"in_reply_to":"9ff52f3f_6480e48c","updated":"2017-04-13 22:51:13.000000000","message":"Done","commit_id":"e7c14b57f6221a81cf71727ab7a43cd3bd3bb653"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"c9b981d899925ec0126953386af33d31183a8964","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":56,"context_line":"        self.port_binding_controller \u003d port_binding.PortBindingManager.create()"},{"line_number":57,"context_line":"        self.trunk_driver \u003d trunk_driver.OpenDaylightTrunkDriverV2.create()"},{"line_number":58,"context_line":"        if \u0027qos\u0027 in cfg.CONF.ml2.extension_drivers:"},{"line_number":59,"context_line":"            qos_driver.OpenDaylightQosDriver.create()"},{"line_number":60,"context_line":"        self._start_maintenance_thread()"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7ffa3b31_1adde041","line":58,"range":{"start_line":58,"start_character":11,"end_line":58,"end_character":16},"updated":"2017-04-17 15:50:34.000000000","message":"Please use constants.","commit_id":"1ae4da038947f6f6185b117d78007a7d5628a3d4"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b424e16a460977324295ba1563e35a3bd4c8f6cf","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        self.journal \u003d journal.OpendaylightJournalThread()"},{"line_number":56,"context_line":"        self.port_binding_controller \u003d port_binding.PortBindingManager.create()"},{"line_number":57,"context_line":"        self.trunk_driver \u003d trunk_driver.OpenDaylightTrunkDriverV2.create()"},{"line_number":58,"context_line":"        if \u0027qos\u0027 in cfg.CONF.ml2.extension_drivers:"},{"line_number":59,"context_line":"            qos_driver.OpenDaylightQosDriver.create()"},{"line_number":60,"context_line":"        self._start_maintenance_thread()"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7ffa3b31_8d4ad852","line":58,"range":{"start_line":58,"start_character":11,"end_line":58,"end_character":16},"in_reply_to":"7ffa3b31_1adde041","updated":"2017-04-17 16:16:18.000000000","message":"Done","commit_id":"1ae4da038947f6f6185b117d78007a7d5628a3d4"}],"networking_odl/qos/qos_driver_v2.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8445bc347f20976f0f552c149ca9c47644bf1d85","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"DRIVER \u003d None"},{"line_number":28,"context_line":"SUPPORTED_RULES \u003d [qos_consts.RULE_TYPE_BANDWIDTH_LIMIT]"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"class OpenDaylightQosDriver(base.DriverBase):"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_50ca66a0","line":28,"range":{"start_line":28,"start_character":0,"end_line":28,"end_character":56},"updated":"2017-04-12 17:21:51.000000000","message":"This needs to be retrieved from ODL neutron northbound.\nIt can be addressed by another patch.","commit_id":"e5ab95116ed4af55fb7d1fa66e1f990b03f57eea"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3611f4f73c29d83aaa2d893f42c085b71b16f42e","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"DRIVER \u003d None"},{"line_number":28,"context_line":"SUPPORTED_RULES \u003d [qos_consts.RULE_TYPE_BANDWIDTH_LIMIT]"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"class OpenDaylightQosDriver(base.DriverBase):"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_eb386fd3","line":28,"range":{"start_line":28,"start_character":0,"end_line":28,"end_character":56},"in_reply_to":"bff0334d_50ca66a0","updated":"2017-04-12 17:37:37.000000000","message":"added a Note","commit_id":"e5ab95116ed4af55fb7d1fa66e1f990b03f57eea"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8445bc347f20976f0f552c149ca9c47644bf1d85","unresolved":false,"context_lines":[{"line_number":44,"context_line":"            requires_rpc_notifications\u003dFalse)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def __init__(self, **kwargs):"},{"line_number":47,"context_line":"        kwargs[\u0027name\u0027] \u003d \u0027OpenDaylightQosDriver\u0027,"},{"line_number":48,"context_line":"        kwargs[\u0027supported_rules\u0027] \u003d SUPPORTED_RULES"},{"line_number":49,"context_line":"        super(OpenDaylightQosDriver, self).__init__(**kwargs)"},{"line_number":50,"context_line":"        LOG.debug(\"Initializing OpenDaylight Qos driver\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_30100200","line":47,"range":{"start_line":47,"start_character":25,"end_line":47,"end_character":49},"updated":"2017-04-12 17:21:51.000000000","message":"self.__class__.__name__?\nMaybe this is a matter of preference.","commit_id":"e5ab95116ed4af55fb7d1fa66e1f990b03f57eea"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8445bc347f20976f0f552c149ca9c47644bf1d85","unresolved":false,"context_lines":[{"line_number":60,"context_line":"                       data[\u0027id\u0027], op_const, data)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        self.journal.set_sync_event()"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def is_vif_type_compatible(self, vif_type):"},{"line_number":65,"context_line":"        return True"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    def is_vnic_compatible(self, vif_type):"},{"line_number":68,"context_line":"        return True"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    # TODO(manjeets) QoS interface does not have precommit"},{"line_number":71,"context_line":"    # and postcommit mechanism for now, Revisit this driver"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_70c1ea53","line":68,"range":{"start_line":63,"start_character":0,"end_line":68,"end_character":19},"updated":"2017-04-12 17:21:51.000000000","message":"We can pass supported vnic_types, vif_types to super class constructor.\nIn future, those should be retrieved from ODL.","commit_id":"e5ab95116ed4af55fb7d1fa66e1f990b03f57eea"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3611f4f73c29d83aaa2d893f42c085b71b16f42e","unresolved":false,"context_lines":[{"line_number":60,"context_line":"                       data[\u0027id\u0027], op_const, data)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        self.journal.set_sync_event()"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def is_vif_type_compatible(self, vif_type):"},{"line_number":65,"context_line":"        return True"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    def is_vnic_compatible(self, vif_type):"},{"line_number":68,"context_line":"        return True"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    # TODO(manjeets) QoS interface does not have precommit"},{"line_number":71,"context_line":"    # and postcommit mechanism for now, Revisit this driver"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_2b58972e","line":68,"range":{"start_line":63,"start_character":0,"end_line":68,"end_character":19},"in_reply_to":"bff0334d_70c1ea53","updated":"2017-04-12 17:37:37.000000000","message":"is there any support in NB to fetch this data from ?","commit_id":"e5ab95116ed4af55fb7d1fa66e1f990b03f57eea"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"b195ac8613648978315911d6022a2edf3a8dae7c","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        self.journal.set_sync_event()"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    def is_vif_type_compatible(self, vif_type):"},{"line_number":67,"context_line":"        return True"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    def is_vnic_compatible(self, vif_type):"},{"line_number":70,"context_line":"        return True"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    # TODO(manjeets) QoS interface does not have precommit"},{"line_number":73,"context_line":"    # and postcommit mechanism for now, Revisit this driver"}],"source_content_type":"text/x-python","patch_set":5,"id":"9ff52f3f_c44a107f","line":70,"range":{"start_line":66,"start_character":0,"end_line":70,"end_character":19},"updated":"2017-04-13 19:16:57.000000000","message":"Please add note for future work.\nand don\u0027t assume all vif_type, vnic_type are supported.\nPlease be explicit to pass supported one to the super class constructor.","commit_id":"e7c14b57f6221a81cf71727ab7a43cd3bd3bb653"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f9b4182e888c48012ed57b25ddb070a7b8dca181","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        self.journal.set_sync_event()"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    def is_vif_type_compatible(self, vif_type):"},{"line_number":67,"context_line":"        return True"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    def is_vnic_compatible(self, vif_type):"},{"line_number":70,"context_line":"        return True"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    # TODO(manjeets) QoS interface does not have precommit"},{"line_number":73,"context_line":"    # and postcommit mechanism for now, Revisit this driver"}],"source_content_type":"text/x-python","patch_set":5,"id":"7ffa3b31_72bc40bb","line":70,"range":{"start_line":66,"start_character":0,"end_line":70,"end_character":19},"in_reply_to":"9ff52f3f_c44a107f","updated":"2017-04-13 22:51:13.000000000","message":"Done","commit_id":"e7c14b57f6221a81cf71727ab7a43cd3bd3bb653"}],"networking_odl/tests/unit/qos/test_qos_driver_v2.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8445bc347f20976f0f552c149ca9c47644bf1d85","unresolved":false,"context_lines":[{"line_number":29,"context_line":"        super(OpendaylightQosDriverTestCase, self).setUp()"},{"line_number":30,"context_line":"        self.db_session \u003d neutron_db_api.get_session()"},{"line_number":31,"context_line":"        self.qos_driver \u003d qos_driver.OpenDaylightQosDriver()"},{"line_number":32,"context_line":"        self.mock_sync_thread \u003d mock.patch.object("},{"line_number":33,"context_line":"            journal.OpendaylightJournalThread, \u0027start_odl_sync_thread\u0027).start()"},{"line_number":34,"context_line":"        self.thread \u003d journal.OpendaylightJournalThread()"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def _get_mock_context(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_70a68ac3","side":"PARENT","line":33,"range":{"start_line":32,"start_character":0,"end_line":33,"end_character":79},"updated":"2017-04-12 17:21:51.000000000","message":"This needs to be kept to prevent non-determinism.","commit_id":"a07ec7a85532e13673059a7cd74567beee57c95f"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3611f4f73c29d83aaa2d893f42c085b71b16f42e","unresolved":false,"context_lines":[{"line_number":29,"context_line":"        super(OpendaylightQosDriverTestCase, self).setUp()"},{"line_number":30,"context_line":"        self.db_session \u003d neutron_db_api.get_session()"},{"line_number":31,"context_line":"        self.qos_driver \u003d qos_driver.OpenDaylightQosDriver()"},{"line_number":32,"context_line":"        self.mock_sync_thread \u003d mock.patch.object("},{"line_number":33,"context_line":"            journal.OpendaylightJournalThread, \u0027start_odl_sync_thread\u0027).start()"},{"line_number":34,"context_line":"        self.thread \u003d journal.OpendaylightJournalThread()"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def _get_mock_context(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"bff0334d_70368a05","side":"PARENT","line":33,"range":{"start_line":32,"start_character":0,"end_line":33,"end_character":79},"in_reply_to":"bff0334d_70a68ac3","updated":"2017-04-12 17:37:37.000000000","message":"Done","commit_id":"a07ec7a85532e13673059a7cd74567beee57c95f"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"b195ac8613648978315911d6022a2edf3a8dae7c","unresolved":false,"context_lines":[{"line_number":29,"context_line":"        super(OpendaylightQosDriverTestCase, self).setUp()"},{"line_number":30,"context_line":"        self.db_session \u003d neutron_db_api.get_session()"},{"line_number":31,"context_line":"        self.qos_driver \u003d qos_driver.OpenDaylightQosDriver("},{"line_number":32,"context_line":"            vif_types\u003dNone,"},{"line_number":33,"context_line":"            vnic_types\u003dNone,"},{"line_number":34,"context_line":"            requires_rpc_notifications\u003dFalse)"},{"line_number":35,"context_line":"        self.mock_sync_thread \u003d mock.patch.object("},{"line_number":36,"context_line":"            journal.OpendaylightJournalThread, \u0027start_odl_sync_thread\u0027).start()"}],"source_content_type":"text/x-python","patch_set":5,"id":"9ff52f3f_845c084c","line":33,"range":{"start_line":32,"start_character":0,"end_line":33,"end_character":28},"updated":"2017-04-13 19:16:57.000000000","message":"None means no vif/vnic_type is supported.","commit_id":"e7c14b57f6221a81cf71727ab7a43cd3bd3bb653"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f9b4182e888c48012ed57b25ddb070a7b8dca181","unresolved":false,"context_lines":[{"line_number":29,"context_line":"        super(OpendaylightQosDriverTestCase, self).setUp()"},{"line_number":30,"context_line":"        self.db_session \u003d neutron_db_api.get_session()"},{"line_number":31,"context_line":"        self.qos_driver \u003d qos_driver.OpenDaylightQosDriver("},{"line_number":32,"context_line":"            vif_types\u003dNone,"},{"line_number":33,"context_line":"            vnic_types\u003dNone,"},{"line_number":34,"context_line":"            requires_rpc_notifications\u003dFalse)"},{"line_number":35,"context_line":"        self.mock_sync_thread \u003d mock.patch.object("},{"line_number":36,"context_line":"            journal.OpendaylightJournalThread, \u0027start_odl_sync_thread\u0027).start()"}],"source_content_type":"text/x-python","patch_set":5,"id":"7ffa3b31_f2685022","line":33,"range":{"start_line":32,"start_character":0,"end_line":33,"end_character":28},"in_reply_to":"9ff52f3f_845c084c","updated":"2017-04-13 22:51:13.000000000","message":"I guess these can be removed they\u0027ll get default values unless we have more types than default","commit_id":"e7c14b57f6221a81cf71727ab7a43cd3bd3bb653"}]}
