)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"48bd7f03bb433fd7d78c5ae76c0c6e07acd178b8","unresolved":false,"context_lines":[{"line_number":13,"context_line":"provides a \u0027register_opts\u0027 function, which will register whatever groups"},{"line_number":14,"context_line":"and opts we need. We call each of the these functions on startup."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"The unfortunate downside of this is that every single non-command line"},{"line_number":17,"context_line":"option is registered against every single service (we are more selective"},{"line_number":18,"context_line":"about how we register the command line options). One solution to this"},{"line_number":19,"context_line":"could be to namespace the \u0027nova.conf\u0027 module, so that instead of"},{"line_number":20,"context_line":"\u0027nova.conf.vnc\u0027 we would have \u0027nova.conf.compute.vnc\u0027 and"},{"line_number":21,"context_line":"\u0027nova.conf.novncconsole.vnc\u0027. This is undesirable because some options"},{"line_number":22,"context_line":"are shared by multiple services and it would require a lot of code"},{"line_number":23,"context_line":"shuffling. Another option would be to replace the \u0027register_opts\u0027"},{"line_number":24,"context_line":"function in each module with separate functions for each service. This"},{"line_number":25,"context_line":"would allow us to register multiple opts but still necessitates a lot of"},{"line_number":26,"context_line":"tedious shuffling around."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"This change introduces a third option, a new \u0027Opt.progs\u0027 option. This is"},{"line_number":29,"context_line":"a list or tuple containing a list of \u0027prog\u0027 strings that the option"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3f79a3b5_a4512368","line":26,"range":{"start_line":16,"start_character":0,"end_line":26,"end_character":25},"updated":"2018-12-13 14:25:34.000000000","message":"note that, as far as I can tell, neither of these solutions would work for glance etc. which have not centralized their configuration","commit_id":"9df925cbf3363f9b71a999f356e12e60738c3852"}]}
