)]}'
{"neutron/plugins/ml2/rpc.py":[{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"8dde442680cc078750770c621411abb63c826fb2","unresolved":false,"context_lines":[{"line_number":193,"context_line":"            service_constants.L3_ROUTER_NAT)"},{"line_number":194,"context_line":"        if (l3plugin and"},{"line_number":195,"context_line":"            utils.is_extension_supported(l3plugin,"},{"line_number":196,"context_line":"                                         q_const.L3_DISTRIBUTED_EXT_ALIAS)):"},{"line_number":197,"context_line":"            l3plugin.dvr_vmarp_table_update(rpc_context, port_id, \"add\")"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    def get_dvr_mac_address_by_host(self, rpc_context, **kwargs):"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_d49b6d15","line":196,"updated":"2014-07-29 22:39:44.000000000","message":"technically there could be l3 plugins which integrate with ml2 support the DVR extension, but don\u0027t need the dvr_vmwarp_table_update call.\n\nThis might be the case of a l3 service plugins which calls some 3rd party backend which does distributed routing.\n\nI\u0027m not sure if this is something that we want and can address here.\nPerhaps we could check if the l3 plugin is an instance of the dvr mixin providing this method.\n\nBut I don\u0027t have a strong opinion at the moment and I might be comfortable even with the code proposed here.","commit_id":"3eee50510fed29a7a8d97d4193a1c3c0a209a712"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"9098d7d829639edae2d3df1a2de5be9f1bf03b3a","unresolved":false,"context_lines":[{"line_number":193,"context_line":"            service_constants.L3_ROUTER_NAT)"},{"line_number":194,"context_line":"        if (l3plugin and"},{"line_number":195,"context_line":"            utils.is_extension_supported(l3plugin,"},{"line_number":196,"context_line":"                                         q_const.L3_DISTRIBUTED_EXT_ALIAS)):"},{"line_number":197,"context_line":"            l3plugin.dvr_vmarp_table_update(rpc_context, port_id, \"add\")"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    def get_dvr_mac_address_by_host(self, rpc_context, **kwargs):"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_8ff56253","line":196,"in_reply_to":"baada198_d49b6d15","updated":"2014-07-29 23:04:37.000000000","message":"I have considered both approaches here and you\u0027re right, technically, it would be possible to integrate with ML2 and not needing the method. However, I have no reference example for this, so I am kind of taking an educated guess on what\u0027s the cleanest approach.\n\nEven checking for the mixin type won\u0027t guarantee you that the method is there. The safest bet would be to verify that the method can be bound, but then again, this gets ugly.","commit_id":"3eee50510fed29a7a8d97d4193a1c3c0a209a712"}]}
