)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"a1ea79667ef1659ae3be03c889b2e9eaa432ec39","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Assaf Muller \u003camuller@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-10-01 12:21:25 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Improve ml2 port binding failure logging"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Port binding failure is an error and should be reported as such."},{"line_number":10,"context_line":"Additionally, if a port binding fails on a host due to missing"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"baa201ad_511bb51a","line":7,"updated":"2014-10-03 09:36:03.000000000","message":"please report a bug on this","commit_id":"fb36877e8ac4ba6d208315532b6d54c291d94485"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"0ef2298427add5da260a9a6a028314d9dbca55b0","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Assaf Muller \u003camuller@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-10-01 12:21:25 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Improve ml2 port binding failure logging"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Port binding failure is an error and should be reported as such."},{"line_number":10,"context_line":"Additionally, if a port binding fails on a host due to missing"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"baa201ad_d9fa5242","line":7,"in_reply_to":"baa201ad_511bb51a","updated":"2014-10-05 19:08:40.000000000","message":"Done","commit_id":"fb36877e8ac4ba6d208315532b6d54c291d94485"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"068edb0fab28c65e0b923427b17786d3117dffb6","unresolved":false,"context_lines":[{"line_number":10,"context_line":"Additionally, if a port binding fails on a host due to missing"},{"line_number":11,"context_line":"bridge mappings, it\u0027s currently quite a mystery to find out. This"},{"line_number":12,"context_line":"should be logged instead of requiring users to debug code. Not"},{"line_number":13,"context_line":"everyone enjoy debugging Python, as weird as that is!"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"I refactored out the common code in check_segment_for_agent"},{"line_number":16,"context_line":"in order to make logging more robust for all agent-based mechanism"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"3a961159_66fedd39","line":13,"updated":"2015-01-08 09:05:39.000000000","message":"s/enjoy/enjoys/","commit_id":"3ca174c58f89eff73a152c680dd84a1f595c35ca"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"108c4741fb58b3087e77f8ddc67561850618908a","unresolved":false,"context_lines":[{"line_number":10,"context_line":"Additionally, if a port binding fails on a host due to missing"},{"line_number":11,"context_line":"bridge mappings, it\u0027s currently quite a mystery to find out. This"},{"line_number":12,"context_line":"should be logged instead of requiring users to debug code. Not"},{"line_number":13,"context_line":"everyone enjoy debugging Python, as weird as that is!"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"I refactored out the common code in check_segment_for_agent"},{"line_number":16,"context_line":"in order to make logging more robust for all agent-based mechanism"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"3a961159_313e748c","line":13,"in_reply_to":"3a961159_66fedd39","updated":"2015-01-20 16:25:53.000000000","message":"Done","commit_id":"3ca174c58f89eff73a152c680dd84a1f595c35ca"}],"neutron/plugins/ml2/drivers/mech_agent.py":[{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"364e014114c964c1c23b46975bbddeae13ebce73","unresolved":false,"context_lines":[{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    def physnet_in_mappings(self, physnet, mappings):"},{"line_number":148,"context_line":"        \"\"\"Is the physical network part of the given mappings?\"\"\""},{"line_number":149,"context_line":"        return mappings and physnet in mappings"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    def check_segment_for_agent(self, segment, agent):"},{"line_number":152,"context_line":"        \"\"\"Check if segment can be bound for agent."}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_1f2fa089","line":149,"updated":"2014-11-20 17:29:24.000000000","message":"If mappings is empty, it will be returned. Is that desired? I think\n\n return physnet in mappings\n\nshould be enough. Am I missing something?","commit_id":"ad2d54667874e57da312fababb42e9bd5c133fb7"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"5c07c59719e2d951775001c5f32fccaaea9b49d3","unresolved":false,"context_lines":[{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    def physnet_in_mappings(self, physnet, mappings):"},{"line_number":148,"context_line":"        \"\"\"Is the physical network part of the given mappings?\"\"\""},{"line_number":149,"context_line":"        return mappings and physnet in mappings"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    def check_segment_for_agent(self, segment, agent):"},{"line_number":152,"context_line":"        \"\"\"Check if segment can be bound for agent."}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_1f716044","line":149,"in_reply_to":"5a890539_1f2fa089","updated":"2014-11-20 17:36:23.000000000","message":"I don\u0027t think that\u0027s desirable, curious that all of the tests are passing, I\u0027ll have a closer look.","commit_id":"ad2d54667874e57da312fababb42e9bd5c133fb7"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"cb9353f461a427087e6f329b982192fb239d44d3","unresolved":false,"context_lines":[{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    def physnet_in_mappings(self, physnet, mappings):"},{"line_number":148,"context_line":"        \"\"\"Is the physical network part of the given mappings?\"\"\""},{"line_number":149,"context_line":"        return mappings and physnet in mappings"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    def check_segment_for_agent(self, segment, agent):"},{"line_number":152,"context_line":"        \"\"\"Check if segment can be bound for agent."}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_7d77b502","line":149,"in_reply_to":"5a890539_1f716044","updated":"2014-11-21 09:46:49.000000000","message":"I would guess tests are passing because physnet_in_mappings() is used with \"if\", so even if empty dict is returned, it\u0027s still evaluated as False.","commit_id":"ad2d54667874e57da312fababb42e9bd5c133fb7"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"808c2185af8b185eccd017c9253b84c23ad4f8d8","unresolved":false,"context_lines":[{"line_number":165,"context_line":"        mappings \u003d self.get_mappings(agent)"},{"line_number":166,"context_line":"        allowed_network_types \u003d self.get_allowed_network_types(agent)"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"        LOG.debug(_(\"Checking segment: %(segment)s \""},{"line_number":169,"context_line":"                    \"for mappings: %(mappings)s \""},{"line_number":170,"context_line":"                    \"with network types: %(network_types)s\"),"},{"line_number":171,"context_line":"                  {\u0027segment\u0027: segment, \u0027mappings\u0027: mappings,"}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_fc766205","line":168,"updated":"2014-11-20 17:18:57.000000000","message":"debug() messages are not translated","commit_id":"ad2d54667874e57da312fababb42e9bd5c133fb7"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"5c07c59719e2d951775001c5f32fccaaea9b49d3","unresolved":false,"context_lines":[{"line_number":165,"context_line":"        mappings \u003d self.get_mappings(agent)"},{"line_number":166,"context_line":"        allowed_network_types \u003d self.get_allowed_network_types(agent)"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"        LOG.debug(_(\"Checking segment: %(segment)s \""},{"line_number":169,"context_line":"                    \"for mappings: %(mappings)s \""},{"line_number":170,"context_line":"                    \"with network types: %(network_types)s\"),"},{"line_number":171,"context_line":"                  {\u0027segment\u0027: segment, \u0027mappings\u0027: mappings,"}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_7f99846d","line":168,"in_reply_to":"5a890539_fc766205","updated":"2014-11-20 17:36:23.000000000","message":"Done","commit_id":"ad2d54667874e57da312fababb42e9bd5c133fb7"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"84ab045dceffc007b9171e4da7e18d7d57cf21f1","unresolved":false,"context_lines":[{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    @abc.abstractmethod"},{"line_number":140,"context_line":"    def get_allowed_network_types(self, agent\u003dNone):"},{"line_number":141,"context_line":"        \"\"\"Return the agent\u0027s or driver\u0027s allowed network types.\"\"\""},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    @abc.abstractmethod"},{"line_number":144,"context_line":"    def get_mappings(self, agent):"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_2674aa9b","line":141,"updated":"2014-12-07 12:11:56.000000000","message":"please add pass, return None, return [] or NotImplemented here or something that indicates what should be returned by the oevrriding class","commit_id":"1301935472adfedfc28fa353b048e107ae5be589"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"eace3b94c0e88cf40a5c09e9065ddef25302231d","unresolved":false,"context_lines":[{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    @abc.abstractmethod"},{"line_number":140,"context_line":"    def get_allowed_network_types(self, agent\u003dNone):"},{"line_number":141,"context_line":"        \"\"\"Return the agent\u0027s or driver\u0027s allowed network types.\"\"\""},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    @abc.abstractmethod"},{"line_number":144,"context_line":"    def get_mappings(self, agent):"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_06b6ce3d","line":141,"in_reply_to":"3a961159_2674aa9b","updated":"2014-12-07 12:20:06.000000000","message":"It\u0027s an abstract method?","commit_id":"1301935472adfedfc28fa353b048e107ae5be589"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"84ab045dceffc007b9171e4da7e18d7d57cf21f1","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    @abc.abstractmethod"},{"line_number":144,"context_line":"    def get_mappings(self, agent):"},{"line_number":145,"context_line":"        \"\"\"Return the agent\u0027s bridge or interface mappings.\"\"\""},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    def physnet_in_mappings(self, physnet, mappings):"},{"line_number":148,"context_line":"        \"\"\"Is the physical network part of the given mappings?\"\"\""}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_4679b692","line":145,"updated":"2014-12-07 12:11:56.000000000","message":"ditto","commit_id":"1301935472adfedfc28fa353b048e107ae5be589"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"77ff57030f3d2d88afd9d2376858794020e7a7cc","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    def get_allowed_network_types(self, agent\u003dNone):"},{"line_number":141,"context_line":"        \"\"\"Return the agent\u0027s or driver\u0027s allowed network types."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"        For example: return (\u0027flat\u0027, ...). You can also refer to configuration"},{"line_number":144,"context_line":"        the given agent exposes."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a961159_86463e22","line":143,"updated":"2014-12-07 12:39:46.000000000","message":"to configuration \u003d\u003e to the configuration","commit_id":"987595514fbc7c40a6e470b476760c44cee9d75d"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"54e6318080ab674272bfbf0ab7a412f4f2181671","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    def get_allowed_network_types(self, agent\u003dNone):"},{"line_number":141,"context_line":"        \"\"\"Return the agent\u0027s or driver\u0027s allowed network types."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"        For example: return (\u0027flat\u0027, ...). You can also refer to configuration"},{"line_number":144,"context_line":"        the given agent exposes."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a961159_06aa4e70","line":143,"in_reply_to":"3a961159_86463e22","updated":"2014-12-07 13:12:24.000000000","message":"Done","commit_id":"987595514fbc7c40a6e470b476760c44cee9d75d"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"77ff57030f3d2d88afd9d2376858794020e7a7cc","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        For example: return (\u0027flat\u0027, ...). You can also refer to configuration"},{"line_number":144,"context_line":"        the given agent exposes."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        pass"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"    @abc.abstractmethod"},{"line_number":149,"context_line":"    def get_mappings(self, agent):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a961159_e65462cc","line":146,"updated":"2014-12-07 12:39:46.000000000","message":"i wonder if this should be set()\nif this method is implemented by the mech driver will there be an exception in 184","commit_id":"987595514fbc7c40a6e470b476760c44cee9d75d"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"54e6318080ab674272bfbf0ab7a412f4f2181671","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        For example: return (\u0027flat\u0027, ...). You can also refer to configuration"},{"line_number":144,"context_line":"        the given agent exposes."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        pass"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"    @abc.abstractmethod"},{"line_number":149,"context_line":"    def get_mappings(self, agent):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a961159_46bb76c4","line":146,"in_reply_to":"3a961159_e65462cc","updated":"2014-12-07 13:12:24.000000000","message":"If a driver inherits from this class but doesn\u0027t implement this method or get_mappings, instantiating it will result in an error. That means that abstract methods have no default implementations, they cannot be used.","commit_id":"987595514fbc7c40a6e470b476760c44cee9d75d"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"77ff57030f3d2d88afd9d2376858794020e7a7cc","unresolved":false,"context_lines":[{"line_number":151,"context_line":""},{"line_number":152,"context_line":"        For example: agent[\u0027configurations\u0027].get(\u0027bridge_mappings\u0027, {})."},{"line_number":153,"context_line":"        \"\"\""},{"line_number":154,"context_line":"        pass"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"    def physnet_in_mappings(self, physnet, mappings):"},{"line_number":157,"context_line":"        \"\"\"Is the physical network part of the given mappings?\"\"\""}],"source_content_type":"text/x-python","patch_set":9,"id":"3a961159_06524edd","line":154,"updated":"2014-12-07 12:39:46.000000000","message":"consider return {}","commit_id":"987595514fbc7c40a6e470b476760c44cee9d75d"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"ddb46b7875f24ed65288d0e04f6de5aaedc2b610","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        For example: return (\u0027flat\u0027, ...). You can also refer to the"},{"line_number":144,"context_line":"        configuration the given agent exposes."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        pass"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"    @abc.abstractmethod"},{"line_number":149,"context_line":"    def get_mappings(self, agent):"}],"source_content_type":"text/x-python","patch_set":10,"id":"3a961159_66123264","line":146,"updated":"2014-12-07 14:43:07.000000000","message":"I would prefer that you raise NotImplemented here just for completeness","commit_id":"3ca174c58f89eff73a152c680dd84a1f595c35ca"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"068edb0fab28c65e0b923427b17786d3117dffb6","unresolved":false,"context_lines":[{"line_number":151,"context_line":""},{"line_number":152,"context_line":"        For example: agent[\u0027configurations\u0027].get(\u0027bridge_mappings\u0027, {})."},{"line_number":153,"context_line":"        \"\"\""},{"line_number":154,"context_line":"        pass"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"    def physnet_in_mappings(self, physnet, mappings):"},{"line_number":157,"context_line":"        \"\"\"Is the physical network part of the given mappings?\"\"\""}],"source_content_type":"text/x-python","patch_set":10,"id":"3a961159_86f90950","line":154,"updated":"2015-01-08 09:05:39.000000000","message":"The only downside to the is_network_type_allowed approach is that the logging of allowed network types is up to the driver again instead of being common. Same for the mappings. I think the whole point of this patch was to automatically expose this stuff to make that easier.","commit_id":"3ca174c58f89eff73a152c680dd84a1f595c35ca"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"5c72ebb2933ffab2be36e6f02a4d51922455e8fb","unresolved":false,"context_lines":[{"line_number":151,"context_line":""},{"line_number":152,"context_line":"        For example: agent[\u0027configurations\u0027].get(\u0027bridge_mappings\u0027, {})."},{"line_number":153,"context_line":"        \"\"\""},{"line_number":154,"context_line":"        pass"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"    def physnet_in_mappings(self, physnet, mappings):"},{"line_number":157,"context_line":"        \"\"\"Is the physical network part of the given mappings?\"\"\""}],"source_content_type":"text/x-python","patch_set":10,"id":"3a961159_feabffd3","line":154,"updated":"2014-12-08 05:36:59.000000000","message":"i don\u0027t think it\u0027s a good idea to expose these driver details to the common code.\n\nhow about having the following instead?\n\n* is_network_type_allowed(self, network_type, agent)\n* can_bind_physnet(self, physnet, agent)","commit_id":"3ca174c58f89eff73a152c680dd84a1f595c35ca"},{"author":{"_account_id":1923,"name":"Mohammad Banikazemi","email":"mbanikazemi@gmail.com","username":"mb-s"},"change_message_id":"1a45c3b6dcff7e6e3f42fc6d5afbd108ae3671c9","unresolved":false,"context_lines":[{"line_number":151,"context_line":""},{"line_number":152,"context_line":"        For example: agent[\u0027configurations\u0027].get(\u0027bridge_mappings\u0027, {})."},{"line_number":153,"context_line":"        \"\"\""},{"line_number":154,"context_line":"        pass"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"    def physnet_in_mappings(self, physnet, mappings):"},{"line_number":157,"context_line":"        \"\"\"Is the physical network part of the given mappings?\"\"\""}],"source_content_type":"text/x-python","patch_set":10,"id":"3a961159_84037ab7","line":154,"in_reply_to":"3a961159_feabffd3","updated":"2014-12-08 17:12:08.000000000","message":"+1","commit_id":"3ca174c58f89eff73a152c680dd84a1f595c35ca"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"08dad66d3c68856302aa10be8e5271ad048af0bb","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    def get_allowed_network_types(self, agent\u003dNone):"},{"line_number":141,"context_line":"        \"\"\"Return the agent\u0027s or driver\u0027s allowed network types."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"        For example: return (\u0027flat\u0027, ...). You can also refer to the"},{"line_number":144,"context_line":"        configuration the given agent exposes."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":11,"id":"3a961159_029da5bb","line":143,"updated":"2015-01-20 18:31:41.000000000","message":"nit: looks like the actual implementation returns a list not a tuple .","commit_id":"db024224facd841b443dcb90ae9fbc3de81b26cc"}],"neutron/plugins/ml2/drivers/mech_linuxbridge.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"2547bdb14b134b4486c5410c06326fecb0c1bc32","unresolved":false,"context_lines":[{"line_number":52,"context_line":"            return True"},{"line_number":53,"context_line":"        elif network_type in tunnel_types:"},{"line_number":54,"context_line":"            return True"},{"line_number":55,"context_line":"        elif network_type in [\u0027flat\u0027, \u0027vlan\u0027]:"},{"line_number":56,"context_line":"            physnet \u003d segment[api.PHYSICAL_NETWORK]"},{"line_number":57,"context_line":"            if physnet not in mappings:"},{"line_number":58,"context_line":"                LOG.info(_LI("}],"source_content_type":"text/x-python","patch_set":5,"id":"5a890539_b20ad123","line":55,"updated":"2014-11-17 12:47:04.000000000","message":"nit: Just to reduce the number of returns, you could do:\n\n    elif network_type in [\u0027flat\u0027, \u0027vlan\u0027]:\n        physnet \u003d segment[api.PHYSICAL_NETWORK]\n        if physnet in mappings:\n            return True\n        LOG.info(...)\n    return False","commit_id":"15be91f0ea84580860d2dd935805f659f3b781ff"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"4c5b0fb32a50ca3c7e8b7792abf6bed269c5b70f","unresolved":false,"context_lines":[{"line_number":52,"context_line":"            return True"},{"line_number":53,"context_line":"        elif network_type in tunnel_types:"},{"line_number":54,"context_line":"            return True"},{"line_number":55,"context_line":"        elif network_type in [\u0027flat\u0027, \u0027vlan\u0027]:"},{"line_number":56,"context_line":"            physnet \u003d segment[api.PHYSICAL_NETWORK]"},{"line_number":57,"context_line":"            if physnet not in mappings:"},{"line_number":58,"context_line":"                LOG.info(_LI("}],"source_content_type":"text/x-python","patch_set":5,"id":"5a890539_3392e24b","line":55,"in_reply_to":"5a890539_b20ad123","updated":"2014-11-20 14:51:48.000000000","message":"Done","commit_id":"15be91f0ea84580860d2dd935805f659f3b781ff"}],"neutron/plugins/ml2/drivers/mech_ofagent.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"815bbf4f22ca758da86113686a85d5d8deaa2a0b","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def get_mappings(self, agent):"},{"line_number":57,"context_line":"        return dict(agent[\u0027configurations\u0027].get(\u0027interface_mappings\u0027, {}),"},{"line_number":58,"context_line":"                    **agent[\u0027configurations\u0027].get(\u0027bridge_mappings\u0027, {}))"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a930d6b_39c76214","line":58,"updated":"2015-01-21 08:32:28.000000000","message":"why adding bridge_mappings?","commit_id":"57ff187ec463178b48c9a15efbece3fa147e2ed0"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"3f497214737d77d402be5676d07595be16eb2ac5","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def get_mappings(self, agent):"},{"line_number":57,"context_line":"        return dict(agent[\u0027configurations\u0027].get(\u0027interface_mappings\u0027, {}),"},{"line_number":58,"context_line":"                    **agent[\u0027configurations\u0027].get(\u0027bridge_mappings\u0027, {}))"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a930d6b_a9bf7acf","line":58,"in_reply_to":"1a930d6b_39c76214","updated":"2015-01-21 13:12:46.000000000","message":"I\u0027m now remembering a patch that removed the usage of bridge_mappings for the OFAgent (After I had submitted the original version for this patch). I\u0027ll have to spin up a new version.","commit_id":"57ff187ec463178b48c9a15efbece3fa147e2ed0"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"342d66c6334244c23e071deb0b53d6feae0d75a4","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def get_mappings(self, agent):"},{"line_number":57,"context_line":"        return dict(agent[\u0027configurations\u0027].get(\u0027interface_mappings\u0027, {}),"},{"line_number":58,"context_line":"                    **agent[\u0027configurations\u0027].get(\u0027bridge_mappings\u0027, {}))"}],"source_content_type":"text/x-python","patch_set":12,"id":"1a930d6b_0995ee3f","line":58,"in_reply_to":"1a930d6b_a9bf7acf","updated":"2015-01-21 13:13:49.000000000","message":"Good catch Oleg, thanks.","commit_id":"57ff187ec463178b48c9a15efbece3fa147e2ed0"}],"neutron/plugins/ml2/drivers/mech_openvswitch.py":[{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"d6c2df496ed2b311e5790dbf31b5d915f16b9363","unresolved":false,"context_lines":[{"line_number":65,"context_line":"                    {\u0027network_id\u0027: segment[\u0027id\u0027],"},{"line_number":66,"context_line":"                     \u0027physnet\u0027: physnet,"},{"line_number":67,"context_line":"                     \u0027agent\u0027: agent[\u0027host\u0027],"},{"line_number":68,"context_line":"                     \u0027mappings\u0027: mappings})"},{"line_number":69,"context_line":"                return False"},{"line_number":70,"context_line":"            return True"},{"line_number":71,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_47b182e0","line":68,"updated":"2014-09-30 17:31:56.000000000","message":"Being unable to bind is not necessarily an error, and may be very frequent in certain deployments. The ML2 model allows any registered mechanism driver to bind the port. If this mechanism driver cannot bind, it simply returns False, and some other mechanism driver may be able to bind. Maybe logging at debug or info level would be more appropriate here.","commit_id":"84fe3a41954ad5191e6961ac9333a220122ce920"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"e24934f71dd8df82ed6a0a670729aa93e45caf0e","unresolved":false,"context_lines":[{"line_number":65,"context_line":"                    {\u0027network_id\u0027: segment[\u0027id\u0027],"},{"line_number":66,"context_line":"                     \u0027physnet\u0027: physnet,"},{"line_number":67,"context_line":"                     \u0027agent\u0027: agent[\u0027host\u0027],"},{"line_number":68,"context_line":"                     \u0027mappings\u0027: mappings})"},{"line_number":69,"context_line":"                return False"},{"line_number":70,"context_line":"            return True"},{"line_number":71,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_f29b12c7","line":68,"in_reply_to":"baa201ad_47b182e0","updated":"2014-09-30 17:48:13.000000000","message":"Ahh, very true. Changed to info.","commit_id":"84fe3a41954ad5191e6961ac9333a220122ce920"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c83894eb42116fd8e8b3ce9920f8d7a541b40598","unresolved":false,"context_lines":[{"line_number":61,"context_line":"                    \u0027network %(physnet)s, but agent %(agent)s reported \u0027"},{"line_number":62,"context_line":"                    \u0027physical networks %(mappings)s. \u0027"},{"line_number":63,"context_line":"                    \u0027The physical network must be configured on the \u0027"},{"line_number":64,"context_line":"                    \u0027agent.\u0027),"},{"line_number":65,"context_line":"                    {\u0027network_id\u0027: segment[\u0027id\u0027],"},{"line_number":66,"context_line":"                     \u0027physnet\u0027: physnet,"},{"line_number":67,"context_line":"                     \u0027agent\u0027: agent[\u0027host\u0027],"}],"source_content_type":"text/x-python","patch_set":2,"id":"baa201ad_d979cefd","line":64,"updated":"2014-10-01 01:34:10.000000000","message":"\"must\" is a too strong wording for this.\n\ngiven that this might be non-issue depending on deployments,\nhow about just removing L63-64?","commit_id":"a0a4ef55287d79df15df320d189e63ab1abf1bcb"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"4a9c3218737e1ba750a0dbbd8ecf570a775a26f7","unresolved":false,"context_lines":[{"line_number":61,"context_line":"                    \u0027network %(physnet)s, but agent %(agent)s reported \u0027"},{"line_number":62,"context_line":"                    \u0027physical networks %(mappings)s. \u0027"},{"line_number":63,"context_line":"                    \u0027The physical network must be configured on the \u0027"},{"line_number":64,"context_line":"                    \u0027agent.\u0027),"},{"line_number":65,"context_line":"                    {\u0027network_id\u0027: segment[\u0027id\u0027],"},{"line_number":66,"context_line":"                     \u0027physnet\u0027: physnet,"},{"line_number":67,"context_line":"                     \u0027agent\u0027: agent[\u0027host\u0027],"}],"source_content_type":"text/x-python","patch_set":2,"id":"baa201ad_eebfa3fa","line":64,"in_reply_to":"baa201ad_d979cefd","updated":"2014-10-01 09:22:26.000000000","message":"Done","commit_id":"a0a4ef55287d79df15df320d189e63ab1abf1bcb"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"2547bdb14b134b4486c5410c06326fecb0c1bc32","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        elif network_type in tunnel_types:"},{"line_number":55,"context_line":"            return True"},{"line_number":56,"context_line":"        elif network_type in [\u0027flat\u0027, \u0027vlan\u0027]:"},{"line_number":57,"context_line":"            physnet \u003d segment[api.PHYSICAL_NETWORK]"},{"line_number":58,"context_line":"            if physnet not in mappings:"},{"line_number":59,"context_line":"                LOG.info(_LI("},{"line_number":60,"context_line":"                    \u0027Network %(network_id)s is connected to physical \u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a890539_8d16944a","line":57,"updated":"2014-11-17 12:47:04.000000000","message":"ditto. Should this be pushed up into a common helper method, since used in multiple places? Looks like the overall method has some differences, but, seems like most of it is the same.","commit_id":"15be91f0ea84580860d2dd935805f659f3b781ff"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"4c5b0fb32a50ca3c7e8b7792abf6bed269c5b70f","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        elif network_type in tunnel_types:"},{"line_number":55,"context_line":"            return True"},{"line_number":56,"context_line":"        elif network_type in [\u0027flat\u0027, \u0027vlan\u0027]:"},{"line_number":57,"context_line":"            physnet \u003d segment[api.PHYSICAL_NETWORK]"},{"line_number":58,"context_line":"            if physnet not in mappings:"},{"line_number":59,"context_line":"                LOG.info(_LI("},{"line_number":60,"context_line":"                    \u0027Network %(network_id)s is connected to physical \u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a890539_739c6a5e","line":57,"in_reply_to":"5a890539_8d16944a","updated":"2014-11-20 14:51:48.000000000","message":"Done","commit_id":"15be91f0ea84580860d2dd935805f659f3b781ff"}],"neutron/plugins/ml2/managers.py":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"29056011556ebaca0ad64b246c68d5dcea5f8046","unresolved":false,"context_lines":[{"line_number":596,"context_line":"                LOG.exception(_(\"Mechanism driver %s failed in \""},{"line_number":597,"context_line":"                                \"bind_port\"),"},{"line_number":598,"context_line":"                              driver.name)"},{"line_number":599,"context_line":"        binding.vif_type \u003d portbindings.VIF_TYPE_BINDING_FAILED"},{"line_number":600,"context_line":"        LOG.warning(_(\"Failed to bind port %(port)s on host %(host)s\"),"},{"line_number":601,"context_line":"                    {\u0027port\u0027: context._port[\u0027id\u0027],"},{"line_number":602,"context_line":"                     \u0027host\u0027: binding.host})"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_0475b897","side":"PARENT","line":599,"updated":"2014-09-30 16:35:12.000000000","message":"Why is this a warning currently? Isn\u0027t this strictly a failure?","commit_id":"dd238d0aac25ffec2734c75a7f893040ec42eb7b"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"d6c2df496ed2b311e5790dbf31b5d915f16b9363","unresolved":false,"context_lines":[{"line_number":596,"context_line":"                LOG.exception(_(\"Mechanism driver %s failed in \""},{"line_number":597,"context_line":"                                \"bind_port\"),"},{"line_number":598,"context_line":"                              driver.name)"},{"line_number":599,"context_line":"        binding.vif_type \u003d portbindings.VIF_TYPE_BINDING_FAILED"},{"line_number":600,"context_line":"        LOG.warning(_(\"Failed to bind port %(port)s on host %(host)s\"),"},{"line_number":601,"context_line":"                    {\u0027port\u0027: context._port[\u0027id\u0027],"},{"line_number":602,"context_line":"                     \u0027host\u0027: binding.host})"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_c7f1f2ce","side":"PARENT","line":599,"in_reply_to":"baa201ad_0475b897","updated":"2014-09-30 17:31:56.000000000","message":"My thinking was that, in a heterogeneous deployment, failure to bind could be due to tenant error, and not necessarily indicate a failure of the infrastructure. For example, (until nova scheduling is neutron-aware) the tenant may need to specify a particular flavor or something when booting a VM to ensure it gets scheduled on a host with the needed connectivity, and failure to bind could be due to ignoring this or getting it wrong.\n\nI\u0027m not opposed to changing this to error, though.","commit_id":"dd238d0aac25ffec2734c75a7f893040ec42eb7b"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"e24934f71dd8df82ed6a0a670729aa93e45caf0e","unresolved":false,"context_lines":[{"line_number":596,"context_line":"                LOG.exception(_(\"Mechanism driver %s failed in \""},{"line_number":597,"context_line":"                                \"bind_port\"),"},{"line_number":598,"context_line":"                              driver.name)"},{"line_number":599,"context_line":"        binding.vif_type \u003d portbindings.VIF_TYPE_BINDING_FAILED"},{"line_number":600,"context_line":"        LOG.warning(_(\"Failed to bind port %(port)s on host %(host)s\"),"},{"line_number":601,"context_line":"                    {\u0027port\u0027: context._port[\u0027id\u0027],"},{"line_number":602,"context_line":"                     \u0027host\u0027: binding.host})"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_d25fee0c","side":"PARENT","line":599,"in_reply_to":"baa201ad_c7f1f2ce","updated":"2014-09-30 17:48:13.000000000","message":"We do output a lot of stuff as error when it\u0027s a user error and not admin error. In this case it can be either/or, I think error will be a better fit more often than not.","commit_id":"dd238d0aac25ffec2734c75a7f893040ec42eb7b"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"5fccd3b80a2eca19807232a20e04fc72b9f32f8f","unresolved":false,"context_lines":[{"line_number":600,"context_line":"        binding.vif_type \u003d portbindings.VIF_TYPE_BINDING_FAILED"},{"line_number":601,"context_line":"        LOG.error(_LE(\"Failed to bind port %(port)s on host %(host)s\"),"},{"line_number":602,"context_line":"                  {\u0027port\u0027: context._port[\u0027id\u0027],"},{"line_number":603,"context_line":"                   \u0027host\u0027: binding.host})"},{"line_number":604,"context_line":""},{"line_number":605,"context_line":""},{"line_number":606,"context_line":"class ExtensionManager(stevedore.named.NamedExtensionManager):"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a890539_d1ebed75","line":603,"updated":"2014-11-16 09:58:58.000000000","message":"I think we should raise exception here to avoid creating not-able-to-bind port. It is a tricky problem when we have a VM with such a kind of port. not easy to troubleshoot.","commit_id":"15be91f0ea84580860d2dd935805f659f3b781ff"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"fe6231fbbad687bd13eb13d736db3cab7c0e9e91","unresolved":false,"context_lines":[{"line_number":600,"context_line":"        binding.vif_type \u003d portbindings.VIF_TYPE_BINDING_FAILED"},{"line_number":601,"context_line":"        LOG.error(_LE(\"Failed to bind port %(port)s on host %(host)s\"),"},{"line_number":602,"context_line":"                  {\u0027port\u0027: context._port[\u0027id\u0027],"},{"line_number":603,"context_line":"                   \u0027host\u0027: binding.host})"},{"line_number":604,"context_line":""},{"line_number":605,"context_line":""},{"line_number":606,"context_line":"class ExtensionManager(stevedore.named.NamedExtensionManager):"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a890539_6c841c5e","line":603,"in_reply_to":"5a890539_d1ebed75","updated":"2014-11-16 11:10:55.000000000","message":"That\u0027s an interesting debate, but it has nothing to do with this patch.","commit_id":"15be91f0ea84580860d2dd935805f659f3b781ff"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"e47bdc45a4d7e6a64f6947a17c904536b7a3e1b9","unresolved":false,"context_lines":[{"line_number":594,"context_line":"                                  \"bind_port\"),"},{"line_number":595,"context_line":"                              driver.name)"},{"line_number":596,"context_line":"        binding.vif_type \u003d portbindings.VIF_TYPE_BINDING_FAILED"},{"line_number":597,"context_line":"        LOG.error(_LE(\"Failed to bind port %(port)s on host %(host)s\"),"},{"line_number":598,"context_line":"                  {\u0027port\u0027: context._port[\u0027id\u0027],"},{"line_number":599,"context_line":"                   \u0027host\u0027: binding.host})"},{"line_number":600,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"1a930d6b_d0460cbf","line":597,"updated":"2015-01-22 04:10:41.000000000","message":"I prefer to just raise exception here.","commit_id":"72e285ac1aad2f5a4b246435cf4d4b0126fb3431"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"41ba80d29e69a9cb7392034b2cd2dc7f08d0d492","unresolved":false,"context_lines":[{"line_number":594,"context_line":"                                  \"bind_port\"),"},{"line_number":595,"context_line":"                              driver.name)"},{"line_number":596,"context_line":"        binding.vif_type \u003d portbindings.VIF_TYPE_BINDING_FAILED"},{"line_number":597,"context_line":"        LOG.error(_LE(\"Failed to bind port %(port)s on host %(host)s\"),"},{"line_number":598,"context_line":"                  {\u0027port\u0027: context._port[\u0027id\u0027],"},{"line_number":599,"context_line":"                   \u0027host\u0027: binding.host})"},{"line_number":600,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"1a930d6b_9e263715","line":597,"in_reply_to":"1a930d6b_d0460cbf","updated":"2015-01-22 18:58:37.000000000","message":"That is not what the code calling this expects. It looks at the resulting vif_type in the PortContext to determine the outcome of the binding.","commit_id":"72e285ac1aad2f5a4b246435cf4d4b0126fb3431"}],"neutron/tests/unit/ml2/test_mech_linuxbridge.py":[{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"5fccd3b80a2eca19807232a20e04fc72b9f32f8f","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    AGENTS \u003d [{\u0027alive\u0027: True,"},{"line_number":38,"context_line":"               \u0027configurations\u0027: GOOD_CONFIGS,"},{"line_number":39,"context_line":"               \u0027host\u0027: \u0027host\u0027}]"},{"line_number":40,"context_line":"    AGENTS_DEAD \u003d [{\u0027alive\u0027: False,"},{"line_number":41,"context_line":"                    \u0027configurations\u0027: GOOD_CONFIGS,"},{"line_number":42,"context_line":"                    \u0027host\u0027: \u0027dead_host\u0027}]"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a890539_51f7fd58","line":39,"updated":"2014-11-16 09:58:58.000000000","message":"do u have cases to use this addition?","commit_id":"15be91f0ea84580860d2dd935805f659f3b781ff"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"fe6231fbbad687bd13eb13d736db3cab7c0e9e91","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    AGENTS \u003d [{\u0027alive\u0027: True,"},{"line_number":38,"context_line":"               \u0027configurations\u0027: GOOD_CONFIGS,"},{"line_number":39,"context_line":"               \u0027host\u0027: \u0027host\u0027}]"},{"line_number":40,"context_line":"    AGENTS_DEAD \u003d [{\u0027alive\u0027: False,"},{"line_number":41,"context_line":"                    \u0027configurations\u0027: GOOD_CONFIGS,"},{"line_number":42,"context_line":"                    \u0027host\u0027: \u0027dead_host\u0027}]"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a890539_acf1a402","line":39,"in_reply_to":"5a890539_51f7fd58","updated":"2014-11-16 11:10:55.000000000","message":"The only agent configuration that requires a host value for the current unit tests to pass is the 2nd bad agent (Line 48). However, to my mind it makes sense for these agents to have the same key. Do you think I should add it to line 48 but leave it out for the rest? Then the next guy that needs a host key for some test will be surprised because these test agent configurations don\u0027t actually contain all of the expected keys?","commit_id":"15be91f0ea84580860d2dd935805f659f3b781ff"}],"neutron/tests/unit/ml2/test_mech_openvswitch.py":[{"author":{"_account_id":10370,"name":"Romil Gupta","email":"romilgupta19@gmail.com","username":"romilg"},"change_message_id":"a2cdb705bd32e2418aaa33736275609f4a88f62c","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    CAP_PORT_FILTER \u003d True"},{"line_number":25,"context_line":"    AGENT_TYPE \u003d constants.AGENT_TYPE_OVS"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    HOST \u003d \u0027vader\u0027"},{"line_number":28,"context_line":"    GOOD_MAPPINGS \u003d {\u0027fake_physical_network\u0027: \u0027fake_bridge\u0027}"},{"line_number":29,"context_line":"    GOOD_TUNNEL_TYPES \u003d [\u0027gre\u0027, \u0027vxlan\u0027]"},{"line_number":30,"context_line":"    GOOD_CONFIGS \u003d {\u0027bridge_mappings\u0027: GOOD_MAPPINGS,"}],"source_content_type":"text/x-python","patch_set":4,"id":"baa201ad_34c23c34","line":27,"updated":"2014-10-17 18:18:01.000000000","message":"I think HOST \u003d \u0027fake_host\u0027  might have looked better.","commit_id":"3ec34ff9c2ad9584b24fa653723dd24c63f60d99"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"cc6c695cb62ab1ab20c8844fa1390e5274785645","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    CAP_PORT_FILTER \u003d True"},{"line_number":25,"context_line":"    AGENT_TYPE \u003d constants.AGENT_TYPE_OVS"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    HOST \u003d \u0027vader\u0027"},{"line_number":28,"context_line":"    GOOD_MAPPINGS \u003d {\u0027fake_physical_network\u0027: \u0027fake_bridge\u0027}"},{"line_number":29,"context_line":"    GOOD_TUNNEL_TYPES \u003d [\u0027gre\u0027, \u0027vxlan\u0027]"},{"line_number":30,"context_line":"    GOOD_CONFIGS \u003d {\u0027bridge_mappings\u0027: GOOD_MAPPINGS,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a890539_b133c160","line":27,"in_reply_to":"9aa7fdbe_459ad36e","updated":"2014-11-16 09:43:00.000000000","message":"Done","commit_id":"3ec34ff9c2ad9584b24fa653723dd24c63f60d99"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"2c1a33ddf01dba7388d82dca07ae61d7a94b2653","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    CAP_PORT_FILTER \u003d True"},{"line_number":25,"context_line":"    AGENT_TYPE \u003d constants.AGENT_TYPE_OVS"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    HOST \u003d \u0027vader\u0027"},{"line_number":28,"context_line":"    GOOD_MAPPINGS \u003d {\u0027fake_physical_network\u0027: \u0027fake_bridge\u0027}"},{"line_number":29,"context_line":"    GOOD_TUNNEL_TYPES \u003d [\u0027gre\u0027, \u0027vxlan\u0027]"},{"line_number":30,"context_line":"    GOOD_CONFIGS \u003d {\u0027bridge_mappings\u0027: GOOD_MAPPINGS,"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aa7fdbe_459ad36e","line":27,"in_reply_to":"9aa7fdbe_c083b5ca","updated":"2014-10-26 07:31:46.000000000","message":"I too prefer that we go with fake-host","commit_id":"3ec34ff9c2ad9584b24fa653723dd24c63f60d99"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"c506e6f49e53ce176c2ff3d07627c9fc7646247c","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    CAP_PORT_FILTER \u003d True"},{"line_number":25,"context_line":"    AGENT_TYPE \u003d constants.AGENT_TYPE_OVS"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    HOST \u003d \u0027vader\u0027"},{"line_number":28,"context_line":"    GOOD_MAPPINGS \u003d {\u0027fake_physical_network\u0027: \u0027fake_bridge\u0027}"},{"line_number":29,"context_line":"    GOOD_TUNNEL_TYPES \u003d [\u0027gre\u0027, \u0027vxlan\u0027]"},{"line_number":30,"context_line":"    GOOD_CONFIGS \u003d {\u0027bridge_mappings\u0027: GOOD_MAPPINGS,"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aa7fdbe_c083b5ca","line":27,"in_reply_to":"baa201ad_34c23c34","updated":"2014-10-20 13:29:53.000000000","message":"Star Wars references aside, I agree with Romil, but I\u0027m fine with this as-is.","commit_id":"3ec34ff9c2ad9584b24fa653723dd24c63f60d99"}]}
