)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"1aefaec606f0928fc3c05eeb5abeb843f8d71b13","unresolved":false,"context_lines":[{"line_number":16,"context_line":"            \u0027--bind-dynamic\u0027,"},{"line_number":17,"context_line":"            \u0027--interface\u003d%s\u0027 % device_name,"},{"line_number":18,"context_line":"            \u0027--interface\u003dtap*\u0027,"},{"line_number":19,"context_line":"            \u0027--bridge-interface\u003d%s,tap*\u0027 % device_name,"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: I2c6bbd9df6833a65088173b021790eb23e64616b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3a50d1a3_a69cea6a","line":19,"updated":"2015-07-27 20:59:29.000000000","message":"This needs to reference a bug or bp/rfe","commit_id":"13aee5d8194910869edab92cb5e87c90de05c649"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"4e2387e9967c6d36211c403dc7e96d037121958f","unresolved":false,"context_lines":[{"line_number":16,"context_line":"            \u0027--bind-dynamic\u0027,"},{"line_number":17,"context_line":"            \u0027--interface\u003d%s\u0027 % device_name,"},{"line_number":18,"context_line":"            \u0027--interface\u003dtap*\u0027,"},{"line_number":19,"context_line":"            \u0027--bridge-interface\u003d%s,tap*\u0027 % device_name,"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: I2c6bbd9df6833a65088173b021790eb23e64616b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3a50d1a3_78cc2fbb","line":19,"in_reply_to":"3a50d1a3_a69cea6a","updated":"2015-07-28 07:49:52.000000000","message":"OK, will do, thanks.","commit_id":"13aee5d8194910869edab92cb5e87c90de05c649"},{"author":{"_account_id":8976,"name":"shihanzhang","email":"ayshihanzhang@gmail.com","username":"shihanzhang"},"change_message_id":"a93e24b15826ca34e34fd15af8ed3355f41977ea","unresolved":false,"context_lines":[{"line_number":18,"context_line":"            \u0027--interface\u003dtap*\u0027,"},{"line_number":19,"context_line":"            \u0027--bridge-interface\u003d%s,tap*\u0027 % device_name,"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: I2c6bbd9df6833a65088173b021790eb23e64616b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3a50d1a3_d3ef64af","line":21,"updated":"2015-07-28 08:22:40.000000000","message":"I think it is better to file a Bug on launchpad to track this change","commit_id":"13aee5d8194910869edab92cb5e87c90de05c649"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"044ade4b931a5d3aa33723051688f6151b06a8a6","unresolved":false,"context_lines":[{"line_number":18,"context_line":"            \u0027--interface\u003dtap*\u0027,"},{"line_number":19,"context_line":"            \u0027--bridge-interface\u003d%s,tap*\u0027 % device_name,"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: I2c6bbd9df6833a65088173b021790eb23e64616b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3a50d1a3_e17955fd","line":21,"in_reply_to":"3a50d1a3_d3ef64af","updated":"2015-07-28 15:17:04.000000000","message":"Done","commit_id":"13aee5d8194910869edab92cb5e87c90de05c649"}],"neutron/agent/linux/dhcp.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"1aefaec606f0928fc3c05eeb5abeb843f8d71b13","unresolved":false,"context_lines":[{"line_number":309,"context_line":"            \u0027--strict-order\u0027,"},{"line_number":310,"context_line":"        ]"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"        cmd +\u003d \\"},{"line_number":313,"context_line":"           self.device_manager.driver.dnsmasq_bind_options(self.interface_name)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"        cmd +\u003d ["}],"source_content_type":"text/x-python","patch_set":3,"id":"3a50d1a3_66a262b0","line":312,"updated":"2015-07-27 20:59:29.000000000","message":"why inserting elements in the middle of cmd when you can insert it at the end?","commit_id":"13aee5d8194910869edab92cb5e87c90de05c649"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"dc3e7666c81ffbacdaee83c7df91ead996ab4288","unresolved":false,"context_lines":[{"line_number":309,"context_line":"            \u0027--strict-order\u0027,"},{"line_number":310,"context_line":"        ]"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"        cmd +\u003d \\"},{"line_number":313,"context_line":"           self.device_manager.driver.dnsmasq_bind_options(self.interface_name)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"        cmd +\u003d ["}],"source_content_type":"text/x-python","patch_set":3,"id":"3a50d1a3_5029009a","line":312,"in_reply_to":"3a50d1a3_38aea7e6","updated":"2015-07-28 11:16:53.000000000","message":"dnsmasq like many binaries don\u0027t care about argument ordering (it\u0027s a POSIX recommendation[1]).\n\n[1] http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html","commit_id":"13aee5d8194910869edab92cb5e87c90de05c649"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"044ade4b931a5d3aa33723051688f6151b06a8a6","unresolved":false,"context_lines":[{"line_number":309,"context_line":"            \u0027--strict-order\u0027,"},{"line_number":310,"context_line":"        ]"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"        cmd +\u003d \\"},{"line_number":313,"context_line":"           self.device_manager.driver.dnsmasq_bind_options(self.interface_name)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"        cmd +\u003d ["}],"source_content_type":"text/x-python","patch_set":3,"id":"3a50d1a3_e1c71510","line":312,"in_reply_to":"3a50d1a3_5029009a","updated":"2015-07-28 15:17:04.000000000","message":"OK, I\u0027ll make this neater by reordering.  Check and gate jobs should catch any issues with that, anyway, I suppose.","commit_id":"13aee5d8194910869edab92cb5e87c90de05c649"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"4e2387e9967c6d36211c403dc7e96d037121958f","unresolved":false,"context_lines":[{"line_number":309,"context_line":"            \u0027--strict-order\u0027,"},{"line_number":310,"context_line":"        ]"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"        cmd +\u003d \\"},{"line_number":313,"context_line":"           self.device_manager.driver.dnsmasq_bind_options(self.interface_name)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"        cmd +\u003d ["}],"source_content_type":"text/x-python","patch_set":3,"id":"3a50d1a3_38aea7e6","line":312,"in_reply_to":"3a50d1a3_66a262b0","updated":"2015-07-28 07:49:52.000000000","message":"Just because I didn\u0027t want to risk any possible effect of changing the ordering of the dnsmasq options.  What do you think?","commit_id":"13aee5d8194910869edab92cb5e87c90de05c649"}],"neutron/agent/linux/interface.py":[{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"2aba0ece6b4536940bf8968bb968fcb529cab1c0","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        # The DHCP port and VM TAP interfaces are bridged, so bind"},{"line_number":175,"context_line":"        # only to the DHCP port interface."},{"line_number":176,"context_line":"        return ["},{"line_number":177,"context_line":"            \u0027--bind-interfaces\u0027,"},{"line_number":178,"context_line":"            \u0027--interface\u003d%s\u0027 % device_name,"},{"line_number":179,"context_line":"        ]"},{"line_number":180,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa1b9901_06bce96a","line":177,"updated":"2015-08-24 22:31:56.000000000","message":"This seems like the wrong level of abstraction for details about how to invoke dnsmasq.  Is there a better abstraction?","commit_id":"328abffe68ed58149f42da634da84433209f9b5d"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"c0fd8dafaa70ce0cd11005048ea9624e0b6d2c02","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        # The DHCP port and VM TAP interfaces are bridged, so bind"},{"line_number":175,"context_line":"        # only to the DHCP port interface."},{"line_number":176,"context_line":"        return ["},{"line_number":177,"context_line":"            \u0027--bind-interfaces\u0027,"},{"line_number":178,"context_line":"            \u0027--interface\u003d%s\u0027 % device_name,"},{"line_number":179,"context_line":"        ]"},{"line_number":180,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa1b9901_3c1a6018","line":177,"in_reply_to":"fa1b9901_06bce96a","updated":"2015-08-24 23:04:53.000000000","message":"I\u0027ve pondered that too.  Originally my abstraction was the higher-level one of \u0027behave as required for a routed setup on the compute host\u0027, represented by a single \u0027bridged\u0027 property (default True) in the interface driver.\n\nBut then I saw that that could be factored into 4 independently representable things, 2 of which can be done entirely in the interface driver - which can be out of tree - and hence leaving 2 independent concepts to represent in the DHCP agent, under the control of interface driver properties, as I\u0027ve presented things at the moment.  Those things being:\n\n1. Enforce that we\u0027re not using namespaces.  The interface driver can do this.\n\n2. Use a Linux dummy interface, and delete the subnet route that Linux automatically creates for it.  The interface driver can (and clearly should!) also do this.\n\n3. Put the subnet gateway IP onto the Linux device, instead of allocating a fresh IP from Neutron.\n\n4. Tell Dnsmasq to listen on all TAP interfaces as well as the DHCP device, and to treat the TAPs as aliases of the DHCP device.\n\nSo that was the thought process.  Like you, I don\u0027t feel sure that I\u0027ve ended up in the optimal place; but also I don\u0027t see any clearly better alternative.  Do you?","commit_id":"328abffe68ed58149f42da634da84433209f9b5d"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"29629bae5808c1658de86178295c1cf15f2220ba","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        # The DHCP port and VM TAP interfaces are bridged, so bind"},{"line_number":175,"context_line":"        # only to the DHCP port interface."},{"line_number":176,"context_line":"        return ["},{"line_number":177,"context_line":"            \u0027--bind-interfaces\u0027,"},{"line_number":178,"context_line":"            \u0027--interface\u003d%s\u0027 % device_name,"},{"line_number":179,"context_line":"        ]"},{"line_number":180,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa1b9901_9078e57f","line":177,"in_reply_to":"fa1b9901_16406933","updated":"2015-08-26 06:58:32.000000000","message":"I can only say, +1","commit_id":"328abffe68ed58149f42da634da84433209f9b5d"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"b84c8a2ab447a167b7bb477740a2b3de1064af71","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        # The DHCP port and VM TAP interfaces are bridged, so bind"},{"line_number":175,"context_line":"        # only to the DHCP port interface."},{"line_number":176,"context_line":"        return ["},{"line_number":177,"context_line":"            \u0027--bind-interfaces\u0027,"},{"line_number":178,"context_line":"            \u0027--interface\u003d%s\u0027 % device_name,"},{"line_number":179,"context_line":"        ]"},{"line_number":180,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa1b9901_16406933","line":177,"in_reply_to":"fa1b9901_3c1a6018","updated":"2015-08-25 17:59:26.000000000","message":"The thing that I don\u0027t like specifically here is that dnsmasq options are embedded in the interface driver.  At the least, I might recommend you follow the pattern that you set here [1] and have the dhcp class do the work thing based on a driver property.  That way, dnsmasq options are contained in the dhcp class and not leaked out here.  Does that make sense?\n\n [1] https://review.openstack.org/#/c/206078/12/neutron/agent/linux/interface.py","commit_id":"328abffe68ed58149f42da634da84433209f9b5d"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"2cf7ec98cea9c8f20f86e972d642055502e71ae7","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        # The DHCP port and VM TAP interfaces are bridged, so bind"},{"line_number":175,"context_line":"        # only to the DHCP port interface."},{"line_number":176,"context_line":"        return ["},{"line_number":177,"context_line":"            \u0027--bind-interfaces\u0027,"},{"line_number":178,"context_line":"            \u0027--interface\u003d%s\u0027 % device_name,"},{"line_number":179,"context_line":"        ]"},{"line_number":180,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"da20952f_d9495390","line":177,"in_reply_to":"fa1b9901_7094318a","updated":"2015-08-26 15:57:55.000000000","message":"Thanks, Carl and Miguel.  I\u0027ve just uploaded a new revision to show what an alternative abstraction - of the kind that I think you have in mind - would look like.  Please let me know what you think!","commit_id":"328abffe68ed58149f42da634da84433209f9b5d"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a57a029c115e7eea5106427a1b3fffc0954abb22","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        # The DHCP port and VM TAP interfaces are bridged, so bind"},{"line_number":175,"context_line":"        # only to the DHCP port interface."},{"line_number":176,"context_line":"        return ["},{"line_number":177,"context_line":"            \u0027--bind-interfaces\u0027,"},{"line_number":178,"context_line":"            \u0027--interface\u003d%s\u0027 % device_name,"},{"line_number":179,"context_line":"        ]"},{"line_number":180,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa1b9901_7094318a","line":177,"in_reply_to":"fa1b9901_9078e57f","updated":"2015-08-26 06:58:58.000000000","message":"I wonder how I missed that detail :(","commit_id":"328abffe68ed58149f42da634da84433209f9b5d"}]}
