)]}'
{"networking_odl/bgpvpn/odl_v2.py":[{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"3163686da97ca10ff7f4d9a549ac6660b8e87ffb","unresolved":false,"context_lines":[{"line_number":55,"context_line":"    }"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    @log_helpers.log_method_call"},{"line_number":58,"context_line":"    def __init__(self, service_plugin):"},{"line_number":59,"context_line":"        LOG.info(\"Initializing OpenDaylight BGPVPN v2 driver\")"},{"line_number":60,"context_line":"        super(OpenDaylightBgpvpnDriver, self).__init__(bgpvpn_const.LABEL,"},{"line_number":61,"context_line":"                                                       service_plugin)"}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_a32cd04a","line":58,"range":{"start_line":58,"start_character":4,"end_line":58,"end_character":38},"updated":"2017-12-13 11:45:37.000000000","message":"Please add *args, **kwargs to make it safe","commit_id":"6be2543bc42508a31be235f6258907278822b46c"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"3163686da97ca10ff7f4d9a549ac6660b8e87ffb","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    @log_helpers.log_method_call"},{"line_number":58,"context_line":"    def __init__(self, service_plugin):"},{"line_number":59,"context_line":"        LOG.info(\"Initializing OpenDaylight BGPVPN v2 driver\")"},{"line_number":60,"context_line":"        super(OpenDaylightBgpvpnDriver, self).__init__(bgpvpn_const.LABEL,"},{"line_number":61,"context_line":"                                                       service_plugin)"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        self.journal \u003d journal.OpenDaylightJournalThread()"},{"line_number":64,"context_line":"        full_sync.register(bgpvpn_const.LABEL, self.RESOURCES,"}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_0317bcef","line":61,"range":{"start_line":60,"start_character":55,"end_line":61,"end_character":69},"updated":"2017-12-13 11:45:37.000000000","message":"Target kwargs and pass *args, **kwargs","commit_id":"6be2543bc42508a31be235f6258907278822b46c"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"3163686da97ca10ff7f4d9a549ac6660b8e87ffb","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        plugin \u003d directory.get_plugin(bgpvpn_const.LABEL)"},{"line_number":70,"context_line":"        if resource_type \u003d\u003d odl_const.ODL_BGPVPN:"},{"line_number":71,"context_line":"            obj_getter \u003d getattr(plugin,"},{"line_number":72,"context_line":"                                 \u0027get_%s\u0027 % cls.RESOURCES[resource_type])"},{"line_number":73,"context_line":"            return obj_getter(context)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"        method_name \u003d \u0027get_%s\u0027 % cls.RESOURCES[resource_type]"}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_c309d495","line":72,"range":{"start_line":72,"start_character":33,"end_line":72,"end_character":72},"updated":"2017-12-13 11:45:37.000000000","message":"didn\u0027t you create a function to NOT do this?","commit_id":"6be2543bc42508a31be235f6258907278822b46c"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"3163686da97ca10ff7f4d9a549ac6660b8e87ffb","unresolved":false,"context_lines":[{"line_number":72,"context_line":"                                 \u0027get_%s\u0027 % cls.RESOURCES[resource_type])"},{"line_number":73,"context_line":"            return obj_getter(context)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"        method_name \u003d \u0027get_%s\u0027 % cls.RESOURCES[resource_type]"},{"line_number":76,"context_line":"        return full_sync.get_resources_require_id(plugin, context,"},{"line_number":77,"context_line":"                                                  plugin.get_bgpvpns,"},{"line_number":78,"context_line":"                                                  method_name)"}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_43f5c482","line":75,"range":{"start_line":75,"start_character":8,"end_line":75,"end_character":61},"updated":"2017-12-13 11:45:37.000000000","message":"again?","commit_id":"6be2543bc42508a31be235f6258907278822b46c"}],"networking_odl/ml2/mech_driver_v2.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"0d53f563277721841822b3355a1ea16785a7b65c","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        odl_const.ODL_SUBNET: odl_const.ODL_SUBNETS,"},{"line_number":56,"context_line":"        odl_const.ODL_PORT: odl_const.ODL_PORTS"},{"line_number":57,"context_line":"    }"},{"line_number":58,"context_line":"    plugin_type \u003d nlib_const.CORE"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    def initialize(self):"},{"line_number":61,"context_line":"        LOG.debug(\"Initializing OpenDaylight ML2 driver\")"}],"source_content_type":"text/x-python","patch_set":7,"id":"3fa0c359_5fdddddd","line":58,"range":{"start_line":58,"start_character":1,"end_line":58,"end_character":33},"updated":"2018-02-13 03:41:27.000000000","message":"Is this change due to patch dependency?\nanyway let\u0027s address ml2 driver first.","commit_id":"54e6e82146903834b965df0725c44f75de4b468f"}],"networking_odl/tests/unit/bgpvpn/test_odl_v2.py":[{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"3163686da97ca10ff7f4d9a549ac6660b8e87ffb","unresolved":false,"context_lines":[{"line_number":32,"context_line":"        self.driver \u003d driverv2.OpenDaylightBgpvpnDriver(service_plugin\u003dNone)"},{"line_number":33,"context_line":"        self.addCleanup(base_driver.ALL_RESOURCES.clear)"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def test_plugin_type(self):"},{"line_number":36,"context_line":"        self.assertEqual(self.driver.plugin_type, bgpvpn_const.LABEL)"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def test_registered_bgpvpn_resources(self):"},{"line_number":39,"context_line":"        for resource in self.driver.RESOURCES:"},{"line_number":40,"context_line":"            self.assertIn(resource, base_driver.ALL_RESOURCES)"},{"line_number":41,"context_line":"            self.assertEqual(self.driver, base_driver.ALL_RESOURCES[resource])"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def _get_fake_bgpvpn(self, net\u003dFalse, router\u003dFalse):"},{"line_number":44,"context_line":"        net_id \u003d []"}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_e34658c1","line":41,"range":{"start_line":35,"start_character":0,"end_line":41,"end_character":78},"updated":"2017-12-13 11:45:37.000000000","message":"I commented on other patches the problem of testing like this. Also, if the test is going to be the same in all tests then better find a better way to do it.","commit_id":"6be2543bc42508a31be235f6258907278822b46c"}]}
