)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":20153,"name":"Duan Kebo","email":"duankebo@gmail.com"},"change_message_id":"68377ceed1d33ad7f4ed495c16d54ff9f4df4ff4","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Get chassis from config file"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Allow local controller to get chassis name from the configuration option"},{"line_number":10,"context_line":"\u0027host\u0027 in neutron.conf. The \u0027host\u0027 will be got from socket.gethostname by"},{"line_number":11,"context_line":"default"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Ia9142928b52cefae3ed2666a36eae0755e13d5ca"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"fa31d9ce_8e89ed77","line":10,"range":{"start_line":10,"start_character":10,"end_line":10,"end_character":17},"updated":"2017-02-14 06:37:23.000000000","message":"1. can you place it in dragonflow\u0027s own configuration file(dragonflow.ini)?\n2. please briefly introduce when the user want/need to config it?","commit_id":"086efe87ec04d397e782685489ff3a606ddcd3f2"},{"author":{"_account_id":9044,"name":"Will","email":"wangjian.ika@bytedance.com","username":"Will"},"change_message_id":"ccada24d2c8ced5eb64a693f7b329c5305fbf581","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Get chassis from config file"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Allow local controller to get chassis name from the configuration option"},{"line_number":10,"context_line":"\u0027host\u0027 in neutron.conf. The \u0027host\u0027 will be got from socket.gethostname by"},{"line_number":11,"context_line":"default"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Ia9142928b52cefae3ed2666a36eae0755e13d5ca"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"fa31d9ce_8e3e4d8a","line":10,"range":{"start_line":10,"start_character":10,"end_line":10,"end_character":17},"in_reply_to":"fa31d9ce_8e89ed77","updated":"2017-02-14 06:44:58.000000000","message":"1. I guess no. It is a configuration already in neutron.conf\n2. Neutron server and all Neutron agents use this option to get the host name, I think we just need to follow","commit_id":"086efe87ec04d397e782685489ff3a606ddcd3f2"}],"dragonflow/controller/df_local_controller.py":[{"author":{"_account_id":20153,"name":"Duan Kebo","email":"duankebo@gmail.com"},"change_message_id":"68377ceed1d33ad7f4ed495c16d54ff9f4df4ff4","unresolved":false,"context_lines":[{"line_number":583,"context_line":"# python df_local_controller.py \u003cchassis_unique_name\u003e"},{"line_number":584,"context_line":"# \u003clocal ip address\u003e \u003csouthbound_db_ip_address\u003e"},{"line_number":585,"context_line":"def main():"},{"line_number":586,"context_line":"    chassis_name \u003d cfg.CONF.host"},{"line_number":587,"context_line":"    common_config.init(sys.argv[1:])"},{"line_number":588,"context_line":"    config.setup_logging()"},{"line_number":589,"context_line":"    init_ryu_config()"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa31d9ce_0e3a5dcc","line":586,"range":{"start_line":586,"start_character":28,"end_line":586,"end_character":32},"updated":"2017-02-14 06:37:23.000000000","message":"What if the user doesn\u0027t config this?","commit_id":"086efe87ec04d397e782685489ff3a606ddcd3f2"},{"author":{"_account_id":9044,"name":"Will","email":"wangjian.ika@bytedance.com","username":"Will"},"change_message_id":"ccada24d2c8ced5eb64a693f7b329c5305fbf581","unresolved":false,"context_lines":[{"line_number":583,"context_line":"# python df_local_controller.py \u003cchassis_unique_name\u003e"},{"line_number":584,"context_line":"# \u003clocal ip address\u003e \u003csouthbound_db_ip_address\u003e"},{"line_number":585,"context_line":"def main():"},{"line_number":586,"context_line":"    chassis_name \u003d cfg.CONF.host"},{"line_number":587,"context_line":"    common_config.init(sys.argv[1:])"},{"line_number":588,"context_line":"    config.setup_logging()"},{"line_number":589,"context_line":"    init_ryu_config()"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa31d9ce_2e5481c8","line":586,"range":{"start_line":586,"start_character":28,"end_line":586,"end_character":32},"in_reply_to":"fa31d9ce_0e3a5dcc","updated":"2017-02-14 06:44:58.000000000","message":"The default value will be generated from socket.gethostname(). \nThis is from neutron code:\n    cfg.StrOpt(\u0027host\u0027, default\u003dutils.get_hostname(),\n               sample_default\u003d\u0027example.domain\u0027,\n               help\u003d_(\"Hostname to be used by the Neutron server, agents and \"\n                      \"services running on this machine. All the agents and \"\n                      \"services running on this machine must use the same \"\n                      \"host value.\")),","commit_id":"086efe87ec04d397e782685489ff3a606ddcd3f2"}]}
