)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"a85a7554a4e758c97155d8d03c752c6197fafe45","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"The mechanism to override defaults in devstack is called very early in"},{"line_number":10,"context_line":"the stack process, even before calling the plugin.sh of the plugin that"},{"line_number":11,"context_line":"is being loaded. This causes an issue, since the default settings of ODL"},{"line_number":12,"context_line":"live in devstack/settings.odl but they are not imported by the time the"},{"line_number":13,"context_line":"override mechanism is called and therefore it doesn\u0027t execute correctly."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This patch makes sure that the override mechanism imports the default"},{"line_number":16,"context_line":"settings of ODL before executing the script. That way we can depend on"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7f96bb07_864eee6c","line":13,"range":{"start_line":11,"start_character":17,"end_line":13,"end_character":72},"updated":"2018-01-16 22:18:20.000000000","message":"Can you please elaborate more?\nall the default values in setting.odl is set only when the value isn\u0027t defined before.\nso importing override-defaults and then import setting.odl works as intentional. Am I missing anything?","commit_id":"537bc2b88f243a529635cad69ff74fb1c32bfbc5"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"7bf9e5eec04370a9363611dedfd85ba5d0103782","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"The mechanism to override defaults in devstack is called very early in"},{"line_number":10,"context_line":"the stack process, even before calling the plugin.sh of the plugin that"},{"line_number":11,"context_line":"is being loaded. This causes an issue, since the default settings of ODL"},{"line_number":12,"context_line":"live in devstack/settings.odl but they are not imported by the time the"},{"line_number":13,"context_line":"override mechanism is called and therefore it doesn\u0027t execute correctly."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This patch makes sure that the override mechanism imports the default"},{"line_number":16,"context_line":"settings of ODL before executing the script. That way we can depend on"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7f96bb07_70b71fda","line":13,"range":{"start_line":11,"start_character":17,"end_line":13,"end_character":72},"in_reply_to":"7f96bb07_864eee6c","updated":"2018-01-23 13:06:06.000000000","message":"The thing is that the override and setting.odl had different defaults. In setting.odl V2 is the default and here the default is V1. I\u0027ve changed the patch as Mike proposed to make it simpler.","commit_id":"537bc2b88f243a529635cad69ff74fb1c32bfbc5"}],"devstack/override-defaults":[{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"74d4bd18ccf2d57108dc0a786e80e01e84f5040f","unresolved":false,"context_lines":[{"line_number":9,"context_line":"fi"},{"line_number":10,"context_line":"source $NETWORKING_ODL_DIR/devstack/odl-releases/common $ODL_RELEASE"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"# We will enable the opendaylight ML2 MechanismDriver v1 version by default."},{"line_number":13,"context_line":"# Note we are also enabling the logger driver, which is helpful for"},{"line_number":14,"context_line":"# debugging things on the Neutron side."},{"line_number":15,"context_line":"if [[ \"$ODL_V2DRIVER\" \u003d\u003d \"True\" ]]; then"},{"line_number":16,"context_line":"    V2_POSTFIX\u003d\"_v2\""},{"line_number":17,"context_line":"else"},{"line_number":18,"context_line":"    V2_POSTFIX\u003d\"\""},{"line_number":19,"context_line":"fi"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Q_ML2_PLUGIN_MECHANISM_DRIVERS\u003d${Q_ML2_PLUGIN_MECHANISM_DRIVERS:-\"logger,opendaylight${V2_POSTFIX}\"}"},{"line_number":22,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"7f96bb07_226278af","line":19,"range":{"start_line":12,"start_character":0,"end_line":19,"end_character":2},"updated":"2018-01-16 12:38:10.000000000","message":"Change the if so that v2 is default","commit_id":"537bc2b88f243a529635cad69ff74fb1c32bfbc5"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"7bf9e5eec04370a9363611dedfd85ba5d0103782","unresolved":false,"context_lines":[{"line_number":9,"context_line":"fi"},{"line_number":10,"context_line":"source $NETWORKING_ODL_DIR/devstack/odl-releases/common $ODL_RELEASE"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"# We will enable the opendaylight ML2 MechanismDriver v1 version by default."},{"line_number":13,"context_line":"# Note we are also enabling the logger driver, which is helpful for"},{"line_number":14,"context_line":"# debugging things on the Neutron side."},{"line_number":15,"context_line":"if [[ \"$ODL_V2DRIVER\" \u003d\u003d \"True\" ]]; then"},{"line_number":16,"context_line":"    V2_POSTFIX\u003d\"_v2\""},{"line_number":17,"context_line":"else"},{"line_number":18,"context_line":"    V2_POSTFIX\u003d\"\""},{"line_number":19,"context_line":"fi"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Q_ML2_PLUGIN_MECHANISM_DRIVERS\u003d${Q_ML2_PLUGIN_MECHANISM_DRIVERS:-\"logger,opendaylight${V2_POSTFIX}\"}"},{"line_number":22,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"7f96bb07_30b197e2","line":19,"range":{"start_line":12,"start_character":0,"end_line":19,"end_character":2},"in_reply_to":"7f96bb07_226278af","updated":"2018-01-23 13:06:06.000000000","message":"Done","commit_id":"537bc2b88f243a529635cad69ff74fb1c32bfbc5"}]}
