)]}'
{"neutron/api/rpc/handlers/dvr_rpc.py":[{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"17658986935fc1ea9255573751db6868b7d0bc3d","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    @log.log"},{"line_number":37,"context_line":"    def get_dvr_mac_address_by_host(self, context, host):"},{"line_number":38,"context_line":"        cctxt \u003d self.client.prepare(version\u003dself.DVR_RPC_VERSION)"},{"line_number":39,"context_line":"        return cctxt.call(context, \u0027get_dvr_mac_address_by_host\u0027, host\u003dhost)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    @log.log"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_2899176e","line":38,"updated":"2015-01-27 01:21:45.000000000","message":"An alternative (my preference, but it\u0027s not a big deal either way) would be to drop specifying the version like this within each method and just let it use the default of \u00271.0\u0027.  The way it\u0027s written now kind of makes it look like you would want it to change across all of the methods at the same time, and that\u0027s rarely, if ever, the case","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"eb011a3d79460c4490087af3fbd352b2dcc5b662","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    @log.log"},{"line_number":37,"context_line":"    def get_dvr_mac_address_by_host(self, context, host):"},{"line_number":38,"context_line":"        cctxt \u003d self.client.prepare(version\u003dself.DVR_RPC_VERSION)"},{"line_number":39,"context_line":"        return cctxt.call(context, \u0027get_dvr_mac_address_by_host\u0027, host\u003dhost)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    @log.log"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_5c01c468","line":38,"in_reply_to":"1a930d6b_2899176e","updated":"2015-01-27 02:04:05.000000000","message":"agreed...I was going for the patch with the fewest changes involved, but I can respin.","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"83d9265cfa0426c3c6296734f72367e20e179e99","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    @log.log"},{"line_number":37,"context_line":"    def get_dvr_mac_address_by_host(self, context, host):"},{"line_number":38,"context_line":"        cctxt \u003d self.client.prepare(version\u003dself.DVR_RPC_VERSION)"},{"line_number":39,"context_line":"        return cctxt.call(context, \u0027get_dvr_mac_address_by_host\u0027, host\u003dhost)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    @log.log"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_a448c1b3","line":38,"in_reply_to":"1a930d6b_5c01c468","updated":"2015-01-27 12:36:37.000000000","message":"Sure, makes sense.  I was still +1 with it this way, but I do like the new rev better.  :-)","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"e054d7d03e14924ad55618b30ea1983f4c8bed40","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"class DVRAgentRpcApiMixin(object):"},{"line_number":91,"context_line":"    \"\"\"Plugin-side RPC (stub) for plugin-to-agent interaction.\"\"\""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    DVR_RPC_VERSION \u003d \"1.0\""},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def _get_dvr_update_topic(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_7f4e723c","line":92,"updated":"2015-01-27 02:29:20.000000000","message":"seems we can remove it, and change Line 105 accordingly to keep consistency  at least in this file.","commit_id":"42fbf2cc9a60de1d3ed1904d7015a7c075f95ba4"},{"author":{"_account_id":9361,"name":"Vivekanandan Narasimhan","email":"n.vivekanandan@ericsson.com","username":"viveknarasimhan"},"change_message_id":"dc16a3aee4fd9be4c34cfe47752cc824ce58384c","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"class DVRAgentRpcApiMixin(object):"},{"line_number":91,"context_line":"    \"\"\"Plugin-side RPC (stub) for plugin-to-agent interaction.\"\"\""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    DVR_RPC_VERSION \u003d \"1.0\""},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def _get_dvr_update_topic(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_70b781f5","line":92,"in_reply_to":"1a930d6b_30897975","updated":"2015-01-27 05:03:29.000000000","message":"+1 with a variation.\n\nRather I would request to re-insert DVR_RPC_API_VERSION back into DvrServerRPCAPI, instead of removing all of them and hardcoding version inside the \u0027messaging.Target\u003d \u0027 call.\n\nWould help later when we want to bump the RPC Versions due to signature changes in RPCs themselves.","commit_id":"42fbf2cc9a60de1d3ed1904d7015a7c075f95ba4"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"0492412ff53eb211209c6839122a8e383e879739","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"class DVRAgentRpcApiMixin(object):"},{"line_number":91,"context_line":"    \"\"\"Plugin-side RPC (stub) for plugin-to-agent interaction.\"\"\""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    DVR_RPC_VERSION \u003d \"1.0\""},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def _get_dvr_update_topic(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_e41809d5","line":92,"in_reply_to":"1a930d6b_70b781f5","updated":"2015-01-27 12:34:03.000000000","message":"You never change the base version specified in __init__ until you go to \u00272.0\u0027.  it should always be \u00271.0\u0027 there as the default.  More specific requirements are specified on a per method basis as changes are made.","commit_id":"42fbf2cc9a60de1d3ed1904d7015a7c075f95ba4"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"c5307a630c3bf0b14a5055b3938d6e8d663ef1cf","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"class DVRAgentRpcApiMixin(object):"},{"line_number":91,"context_line":"    \"\"\"Plugin-side RPC (stub) for plugin-to-agent interaction.\"\"\""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    DVR_RPC_VERSION \u003d \"1.0\""},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def _get_dvr_update_topic(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_30897975","line":92,"in_reply_to":"1a930d6b_7f4e723c","updated":"2015-01-27 04:52:23.000000000","message":"+1  Consistency would be good.","commit_id":"42fbf2cc9a60de1d3ed1904d7015a7c075f95ba4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"396f8ecaf15afcb7c8b46a9c4a40d278b0f2d004","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"class DVRAgentRpcApiMixin(object):"},{"line_number":91,"context_line":"    \"\"\"Plugin-side RPC (stub) for plugin-to-agent interaction.\"\"\""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    DVR_RPC_VERSION \u003d \"1.0\""},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def _get_dvr_update_topic(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_18e012f9","line":92,"in_reply_to":"1a930d6b_e41809d5","updated":"2015-01-27 14:05:04.000000000","message":"Sooner or later, we will change this mixin class to a separate class.\nI don\u0027t think we need to remove this here.\n\nRegarding \u00271.0\u0027 passed messaging.Target, I agree with Russel. It is almost a constant and it looks good to use \u00271.0\u0027 without defining a variable.","commit_id":"42fbf2cc9a60de1d3ed1904d7015a7c075f95ba4"}],"neutron/tests/unit/api/rpc/handlers/test_dvr_rpc.py":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"07781dea79afa3dda2ede42bfef44c99423ef6b2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 OpenStack Foundation."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_fc0a7588","line":1,"updated":"2015-01-26 23:10:36.000000000","message":"2015","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"eb011a3d79460c4490087af3fbd352b2dcc5b662","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 OpenStack Foundation."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_7cfbe078","line":1,"in_reply_to":"1a930d6b_08bd3bb7","updated":"2015-01-27 02:04:05.000000000","message":"oh well...I must have copied from somewhere...as I don\u0027t really know this on the top of my head :)","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"22097fa7bfa548f13aeda7b845fb4ddfddc8f7f7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 OpenStack Foundation."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_fc66f028","line":1,"in_reply_to":"1a930d6b_7cfbe078","updated":"2015-01-27 02:16:42.000000000","message":"what should it be? I don\u0027t particularly think this patch is worth claiming intellectual property on :)","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"17658986935fc1ea9255573751db6868b7d0bc3d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 OpenStack Foundation."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_08bd3bb7","line":1,"in_reply_to":"1a930d6b_a7e61a42","updated":"2015-01-27 01:21:45.000000000","message":"heh, if we\u0027re going to be pedantic, I suspect \"OpenStack Foundation\" isn\u0027t right, either.  Also, \"All Rights Reserved\" below doesn\u0027t make any sense.","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"540228e8512031a15c3a107a299dbbfdf65986ec","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 OpenStack Foundation."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_a7e61a42","line":1,"in_reply_to":"1a930d6b_dc7cd9ee","updated":"2015-01-26 23:27:22.000000000","message":"I didn\u0027t -1 :)","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"2c0f00b53fdbda5520fba423743d4b72e453fa7a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 OpenStack Foundation."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_dc7cd9ee","line":1,"in_reply_to":"1a930d6b_fc0a7588","updated":"2015-01-26 23:25:08.000000000","message":"come on! :)","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"83d9265cfa0426c3c6296734f72367e20e179e99","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 OpenStack Foundation."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_24ebf178","line":1,"in_reply_to":"1a930d6b_fc66f028","updated":"2015-01-27 12:36:37.000000000","message":"FWIW, it\u0027s Copyright 2015, your employer, assuming they own your work (most do).  Alternatively, you don\u0027t have to include the copyright line at all.","commit_id":"e4d067f4472e0ce5106ea44ea2e8b28cdc48e157"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"c5307a630c3bf0b14a5055b3938d6e8d663ef1cf","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        self.client \u003d self.client_p.start()"},{"line_number":27,"context_line":"        self.rpc \u003d dvr_rpc.DVRServerRpcApi(\u0027fake_topic\u0027)"},{"line_number":28,"context_line":"        self.mock_cctxt \u003d self.rpc.client.prepare.return_value"},{"line_number":29,"context_line":"        self.ctxt \u003d mock.ANY"},{"line_number":30,"context_line":"        super(DVRServerRpcApiTestCase, self).setUp()"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    def test_get_dvr_mac_address_by_host(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_f02e118b","line":29,"updated":"2015-01-27 04:52:23.000000000","message":"nit: A mock sentinel object might be more appropriate than ANY.","commit_id":"42fbf2cc9a60de1d3ed1904d7015a7c075f95ba4"}]}
