)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":9,"context_line":"schedule gateway on chassis from config file"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Right now, ovn schedules gateway router ports on all chassis."},{"line_number":12,"context_line":"Change [1] proposed to schedule on chassis which has"},{"line_number":13,"context_line":"ovn-bridge-mappings configured in external_ids."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This change is introducing a new config option i.e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"7f515b1d_c2940aeb","line":12,"updated":"2017-10-05 13:21:51.000000000","message":"to be clear \"Right now\" is the behavior described in [1].\n\nCan you fix this paragraph to only explain what we have in [1]","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This change is introducing a new config option i.e"},{"line_number":16,"context_line":"\"ovn_l3_gateway_router_chassis\", which takes list of chassis"},{"line_number":17,"context_line":"names. If provided, these chassis are consdiered as candidates"},{"line_number":18,"context_line":"to schdule gateway router. Otherwise, chassis which has"},{"line_number":19,"context_line":"ovn-bridge-mappings are considered as candidates."},{"line_number":20,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"7f515b1d_62a1d646","line":17,"range":{"start_line":17,"start_character":38,"end_line":17,"end_character":48},"updated":"2017-10-05 13:21:51.000000000","message":"considered","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":15,"context_line":"This change is introducing a new config option i.e"},{"line_number":16,"context_line":"\"ovn_l3_gateway_router_chassis\", which takes list of chassis"},{"line_number":17,"context_line":"names. If provided, these chassis are consdiered as candidates"},{"line_number":18,"context_line":"to schdule gateway router. Otherwise, chassis which has"},{"line_number":19,"context_line":"ovn-bridge-mappings are considered as candidates."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"[1] https://review.openstack.org/#/c/485176/"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"7f515b1d_a2c0eee1","line":18,"range":{"start_line":18,"start_character":3,"end_line":18,"end_character":10},"updated":"2017-10-05 13:21:51.000000000","message":"schedule","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"}],"devstack/lib/networking-ovn":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":94,"context_line":"# default OVN L3 scheduler is leastloaded"},{"line_number":95,"context_line":"OVN_L3_SCHEDULER\u003d${OVN_L3_SCHEDULER:-leastloaded}"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"# List of chassis names consdiered as candidates to schdule gateway router."},{"line_number":98,"context_line":"# If provided, ovn will schedule gateway routers on one of these chassis based"},{"line_number":99,"context_line":"# on OVN_L3_SCHEDULER algorithm. Otherwise, ovn will consider all chassis"},{"line_number":100,"context_line":"# with ovn-bridge-mappings configured in external_ids"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"df3967d1_d6d148cf","line":97,"range":{"start_line":97,"start_character":52,"end_line":97,"end_character":59},"updated":"2017-10-05 13:21:51.000000000","message":"schedule","commit_id":"6a777d6fe9e8ba5e176045f215f78ac5bb7800fa"}],"devstack/local.conf.sample":[{"author":{"_account_id":21550,"name":"xurong00037997","email":"xu.rong@zte.com.cn","username":"xurong"},"change_message_id":"8e4b7a9ec133e66cc2a571becea4d574c9dbaa60","unresolved":false,"context_lines":[{"line_number":63,"context_line":"# Default value is leastloaded."},{"line_number":64,"context_line":"#OVN_L3_SCHEDULER\u003dleastloaded"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"# List of chassis names consdiered as candidates to schdule gateway router."},{"line_number":67,"context_line":"# If provided, ovn will schedule gateway routers on one of these chassis based"},{"line_number":68,"context_line":"# on OVN_L3_SCHEDULER algorithm. Otherwise, ovn will consider all chassis"},{"line_number":69,"context_line":"# with ovn-bridge-mappings configured in external_ids"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"ff346bd7_9a1cdcc1","line":66,"range":{"start_line":66,"start_character":52,"end_line":66,"end_character":59},"updated":"2017-07-27 02:35:09.000000000","message":"schedule","commit_id":"6a777d6fe9e8ba5e176045f215f78ac5bb7800fa"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"5b28d41e08af72a69a0b694a04cb2782df90c05b","unresolved":false,"context_lines":[{"line_number":66,"context_line":"# Default value is leastloaded."},{"line_number":67,"context_line":"#OVN_L3_SCHEDULER\u003dleastloaded"},{"line_number":68,"context_line":"#"},{"line_number":69,"context_line":"# List of chassis host names consdiered as candidates to schdule gateway router."},{"line_number":70,"context_line":"# If provided, ovn will schedule gateway routers on one of these chassis based"},{"line_number":71,"context_line":"# on OVN_L3_SCHEDULER algorithm. Otherwise, ovn will consider all chassis"},{"line_number":72,"context_line":"# with ovn-bridge-mappings configured in external_ids"}],"source_content_type":"application/octet-stream","patch_set":5,"id":"7f96bb07_dade54d9","line":69,"range":{"start_line":69,"start_character":29,"end_line":69,"end_character":39},"updated":"2018-01-23 12:11:07.000000000","message":"considered","commit_id":"34879ff2ed4052b72380ef8be8f5d5486e7798fe"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"5b28d41e08af72a69a0b694a04cb2782df90c05b","unresolved":false,"context_lines":[{"line_number":66,"context_line":"# Default value is leastloaded."},{"line_number":67,"context_line":"#OVN_L3_SCHEDULER\u003dleastloaded"},{"line_number":68,"context_line":"#"},{"line_number":69,"context_line":"# List of chassis host names consdiered as candidates to schdule gateway router."},{"line_number":70,"context_line":"# If provided, ovn will schedule gateway routers on one of these chassis based"},{"line_number":71,"context_line":"# on OVN_L3_SCHEDULER algorithm. Otherwise, ovn will consider all chassis"},{"line_number":72,"context_line":"# with ovn-bridge-mappings configured in external_ids"}],"source_content_type":"application/octet-stream","patch_set":5,"id":"7f96bb07_3ae9787f","line":69,"range":{"start_line":69,"start_character":57,"end_line":69,"end_character":64},"updated":"2018-01-23 12:11:07.000000000","message":"schedule","commit_id":"34879ff2ed4052b72380ef8be8f5d5486e7798fe"}],"doc/source/install/index.rst":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":241,"context_line":"        the least number of gateway ports or ``chance`` if you want the"},{"line_number":242,"context_line":"        scheduler to randomly select a compute node from the available list of"},{"line_number":243,"context_line":"        compute nodes. Replace ``OVN_L3_GATEWAY_ROUTER_CHASSIS`` with chassis"},{"line_number":244,"context_line":"        names consdiered as candidates to schdule gateway router. If provided,"},{"line_number":245,"context_line":"        ovn will schedule gateway routers on one of these chassis based on"},{"line_number":246,"context_line":"        OVN_L3_SCHEDULER algorithm. Otherwise, ovn will consider all chassis"},{"line_number":247,"context_line":"        with ovn-bridge-mappings configured in external_ids."}],"source_content_type":"text/x-rst","patch_set":3,"id":"df3967d1_d6ea6873","line":244,"range":{"start_line":244,"start_character":14,"end_line":244,"end_character":24},"updated":"2017-10-05 13:21:51.000000000","message":"considered","commit_id":"6a777d6fe9e8ba5e176045f215f78ac5bb7800fa"},{"author":{"_account_id":21550,"name":"xurong00037997","email":"xu.rong@zte.com.cn","username":"xurong"},"change_message_id":"8e4b7a9ec133e66cc2a571becea4d574c9dbaa60","unresolved":false,"context_lines":[{"line_number":241,"context_line":"        the least number of gateway ports or ``chance`` if you want the"},{"line_number":242,"context_line":"        scheduler to randomly select a compute node from the available list of"},{"line_number":243,"context_line":"        compute nodes. Replace ``OVN_L3_GATEWAY_ROUTER_CHASSIS`` with chassis"},{"line_number":244,"context_line":"        names consdiered as candidates to schdule gateway router. If provided,"},{"line_number":245,"context_line":"        ovn will schedule gateway routers on one of these chassis based on"},{"line_number":246,"context_line":"        OVN_L3_SCHEDULER algorithm. Otherwise, ovn will consider all chassis"},{"line_number":247,"context_line":"        with ovn-bridge-mappings configured in external_ids."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff346bd7_da54a455","line":244,"range":{"start_line":244,"start_character":42,"end_line":244,"end_character":49},"updated":"2017-07-27 02:35:09.000000000","message":"schedule","commit_id":"6a777d6fe9e8ba5e176045f215f78ac5bb7800fa"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":241,"context_line":"        the least number of gateway ports or ``chance`` if you want the"},{"line_number":242,"context_line":"        scheduler to randomly select a compute node from the available list of"},{"line_number":243,"context_line":"        compute nodes. Replace ``OVN_L3_GATEWAY_ROUTER_CHASSIS`` with chassis"},{"line_number":244,"context_line":"        names consdiered as candidates to schdule gateway router. If provided,"},{"line_number":245,"context_line":"        ovn will schedule gateway routers on one of these chassis based on"},{"line_number":246,"context_line":"        OVN_L3_SCHEDULER algorithm. Otherwise, ovn will consider all chassis"},{"line_number":247,"context_line":"        with ovn-bridge-mappings configured in external_ids."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_a2658e1f","line":244,"range":{"start_line":244,"start_character":14,"end_line":244,"end_character":24},"updated":"2017-10-05 13:21:51.000000000","message":"considered","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":241,"context_line":"        the least number of gateway ports or ``chance`` if you want the"},{"line_number":242,"context_line":"        scheduler to randomly select a compute node from the available list of"},{"line_number":243,"context_line":"        compute nodes. Replace ``OVN_L3_GATEWAY_ROUTER_CHASSIS`` with chassis"},{"line_number":244,"context_line":"        names consdiered as candidates to schdule gateway router. If provided,"},{"line_number":245,"context_line":"        ovn will schedule gateway routers on one of these chassis based on"},{"line_number":246,"context_line":"        OVN_L3_SCHEDULER algorithm. Otherwise, ovn will consider all chassis"},{"line_number":247,"context_line":"        with ovn-bridge-mappings configured in external_ids."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_826cd208","line":244,"range":{"start_line":244,"start_character":42,"end_line":244,"end_character":49},"updated":"2017-10-05 13:21:51.000000000","message":"schedule","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"}],"networking_ovn/common/config.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"16c363bf91721b1180e5772ae7af70b372625736","unresolved":false,"context_lines":[{"line_number":104,"context_line":"                      \u0027leastloaded - chassis with fewest gateway ports \u0027"},{"line_number":105,"context_line":"                      \u0027selected \\n\u0027"},{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.StrOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"               default\u003d\u0027\u0027,"},{"line_number":109,"context_line":"               help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                      \u0027schdule gateway router. If provided, ovn will schedule \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_d7e632e9","line":107,"range":{"start_line":107,"start_character":8,"end_line":107,"end_character":14},"updated":"2017-07-24 09:11:53.000000000","message":"Let\u0027s use ListOpt here\n\nhttps://docs.openstack.org/oslo.config/latest/reference/types.html#oslo_config.types.List","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"e3b2d65b31aaab51d6b50484d81ffc60577860db","unresolved":false,"context_lines":[{"line_number":104,"context_line":"                      \u0027leastloaded - chassis with fewest gateway ports \u0027"},{"line_number":105,"context_line":"                      \u0027selected \\n\u0027"},{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.StrOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"               default\u003d\u0027\u0027,"},{"line_number":109,"context_line":"               help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                      \u0027schdule gateway router. If provided, ovn will schedule \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_63c5843c","line":107,"range":{"start_line":107,"start_character":8,"end_line":107,"end_character":14},"in_reply_to":"ff346bd7_d7e632e9","updated":"2017-07-24 11:45:59.000000000","message":"Yes, Thanks a lot. I should have used that.","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"16c363bf91721b1180e5772ae7af70b372625736","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.StrOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"               default\u003d\u0027\u0027,"},{"line_number":109,"context_line":"               help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                      \u0027schdule gateway router. If provided, ovn will schedule \u0027"},{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_f766d651","line":109,"range":{"start_line":109,"start_character":31,"end_line":109,"end_character":44},"updated":"2017-07-24 09:11:53.000000000","message":"Maybe I\u0027m wrong, but aren\u0027t these names auto-generated by networking-ovn ? E.g [0]\n\nIf so, how would one know the name before hand, since they seems to rely on a UUID that is auto-generated by Neutron ?\n\n[0] https://github.com/openstack/networking-ovn/blob/ad1fea3e7ba837d521c924b285294d7cf2efcefb/networking_ovn/common/utils.py#L28-L45","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"e3b2d65b31aaab51d6b50484d81ffc60577860db","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.StrOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"               default\u003d\u0027\u0027,"},{"line_number":109,"context_line":"               help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                      \u0027schdule gateway router. If provided, ovn will schedule \u0027"},{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_e334d44c","line":109,"range":{"start_line":109,"start_character":31,"end_line":109,"end_character":44},"in_reply_to":"ff346bd7_f766d651","updated":"2017-07-24 11:45:59.000000000","message":"No. I am referring chassis name described in chassis table i.e\n\nhttp://manpages.ubuntu.com/manpages/xenial/man5/ovn-sb.5.html\ncheck for \u0027name\u0027 column in Chassis TABLE i.e\n\n   Details:\n       name: string (must be unique within table)\n              A   chassis  name,  taken  from  external_ids:system-id  in  the\n              Open_vSwitch  database’s  Open_vSwitch  table.   OVN  does   not\n              prescribe a particular format for chassis names.","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"16c363bf91721b1180e5772ae7af70b372625736","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    cfg.StrOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"               default\u003d\u0027\u0027,"},{"line_number":109,"context_line":"               help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                      \u0027schdule gateway router. If provided, ovn will schedule \u0027"},{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_574fe2bc","line":110,"range":{"start_line":110,"start_character":23,"end_line":110,"end_character":30},"updated":"2017-07-24 09:11:53.000000000","message":"nit: typo schedule","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"e3b2d65b31aaab51d6b50484d81ffc60577860db","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    cfg.StrOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"               default\u003d\u0027\u0027,"},{"line_number":109,"context_line":"               help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                      \u0027schdule gateway router. If provided, ovn will schedule \u0027"},{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_c339d041","line":110,"range":{"start_line":110,"start_character":23,"end_line":110,"end_character":30},"in_reply_to":"ff346bd7_574fe2bc","updated":"2017-07-24 11:45:59.000000000","message":"thanks","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"16c363bf91721b1180e5772ae7af70b372625736","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"},{"line_number":114,"context_line":"                      \u0027configured in external_ids\u0027)),"},{"line_number":115,"context_line":"    cfg.StrOpt(\"vif_type\","},{"line_number":116,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":117,"context_line":"               deprecated_reason\u003d\"The port VIF type is now determined based \""}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_37e1fe9b","line":114,"updated":"2017-07-24 09:11:53.000000000","message":"Another question... Maybe we don\u0027t have to take in account this scenario but, what happens if one changes this configuration afterwards, let\u0027s say he/she removes some of chassis and add new ones. Do we need to reschedule the ones that are not included in the list anymore ?","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f8c4be1285000efe574d8328b85340700b07513c","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"},{"line_number":114,"context_line":"                      \u0027configured in external_ids\u0027)),"},{"line_number":115,"context_line":"    cfg.StrOpt(\"vif_type\","},{"line_number":116,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":117,"context_line":"               deprecated_reason\u003d\"The port VIF type is now determined based \""}],"source_content_type":"text/x-python","patch_set":2,"id":"df3967d1_1a7033dc","line":114,"in_reply_to":"df3967d1_0c4ca6c5","updated":"2017-08-01 14:42:48.000000000","message":"@dong, I think you\u0027re talking about different stuff, \n\n@lucas talks about, modifying this list, and what would we do with the existing ports which have been scheduled to chassis now removed.\n\nand you\u0027re probably talking about removing/inserting existing chassis into OVN.\n\nI believe that we may want to watch the existing Chassis as they come and go. Or if the ovn-bridge-mapping on chassis is modified in runtime (to un-schedule routers from a certain chassis).\n\nThis is also problematic, because when we restart an ovn-controller, a new chassis is inserted, and the old entry removed (triggering a new uuid change), that\u0027s probably a bug in ovn controller we may want to fix.","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"b6e001d97f3301b54d93d2168cdd23a7cb0e2797","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"},{"line_number":114,"context_line":"                      \u0027configured in external_ids\u0027)),"},{"line_number":115,"context_line":"    cfg.StrOpt(\"vif_type\","},{"line_number":116,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":117,"context_line":"               deprecated_reason\u003d\"The port VIF type is now determined based \""}],"source_content_type":"text/x-python","patch_set":2,"id":"df3967d1_b92595ad","line":114,"in_reply_to":"df3967d1_1a7033dc","updated":"2017-08-02 11:10:31.000000000","message":"I\u0027m not sure SBDB has any attribute to define type.\n\nWe have datapath-type, but that\u0027s used for DPDK/non-dpdk. @numans, you introduced the patch for that, could that be given other uses or would it be a missuse?\n\nhttps://mail.openvswitch.org/pipermail/ovs-dev/2016-July/320089.html\n\nOtherwise we\u0027d require another patch in core OVN to copy the ovs Open_vSwitch database entry to SBDB like for this one.\n\nBut it could be simpler than having a config file we just tag the chassis on a type, I agree on that.","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"250cdf63779d348aaf848aaaebdb2e179547d109","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"},{"line_number":114,"context_line":"                      \u0027configured in external_ids\u0027)),"},{"line_number":115,"context_line":"    cfg.StrOpt(\"vif_type\","},{"line_number":116,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":117,"context_line":"               deprecated_reason\u003d\"The port VIF type is now determined based \""}],"source_content_type":"text/x-python","patch_set":2,"id":"df3967d1_7c371be5","line":114,"in_reply_to":"df3967d1_1a7033dc","updated":"2017-08-02 11:41:41.000000000","message":"Right now(without this patch), if new chassis is inserted/removed, the existing router gateway port is not scheduled on this new chassis. This patch is also inheriting the same behaviour. If we want to change this behaviour, we need to report a bug and discuss if it is a valid behaviour change in that bug and then propose the patch.","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":10237,"name":"Numan Siddique","email":"nusiddiq@redhat.com","username":"numansiddique"},"change_message_id":"8dbf950a9cf82779c8b1da470f02d4402c5e7823","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"},{"line_number":114,"context_line":"                      \u0027configured in external_ids\u0027)),"},{"line_number":115,"context_line":"    cfg.StrOpt(\"vif_type\","},{"line_number":116,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":117,"context_line":"               deprecated_reason\u003d\"The port VIF type is now determined based \""}],"source_content_type":"text/x-python","patch_set":2,"id":"df3967d1_bc5a2327","line":114,"in_reply_to":"df3967d1_b92595ad","updated":"2017-08-02 11:41:26.000000000","message":"@Miguel - I think it would be a misuse. Because ovn-controller merely copies  external_ids:datapath-type  from open_vwitch table which is populated by ovs-vswitchd.","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"1e890c9986c47805807a211329fdc9c9f402a5ad","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"},{"line_number":114,"context_line":"                      \u0027configured in external_ids\u0027)),"},{"line_number":115,"context_line":"    cfg.StrOpt(\"vif_type\","},{"line_number":116,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":117,"context_line":"               deprecated_reason\u003d\"The port VIF type is now determined based \""}],"source_content_type":"text/x-python","patch_set":2,"id":"df3967d1_9c6abfb0","line":114,"in_reply_to":"df3967d1_b92595ad","updated":"2017-08-02 11:43:58.000000000","message":"@Miguel You are right, currently there is no attribute of chassis type. I wish it would be in the wish list:)","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"250cdf63779d348aaf848aaaebdb2e179547d109","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"},{"line_number":114,"context_line":"                      \u0027configured in external_ids\u0027)),"},{"line_number":115,"context_line":"    cfg.StrOpt(\"vif_type\","},{"line_number":116,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":117,"context_line":"               deprecated_reason\u003d\"The port VIF type is now determined based \""}],"source_content_type":"text/x-python","patch_set":2,"id":"df3967d1_fc79cb92","line":114,"in_reply_to":"df3967d1_b92595ad","updated":"2017-08-02 11:41:41.000000000","message":"No need to do that. Please see my above comment.","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"a32175389769130d2b32e365b8e0622c5a4182dd","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"},{"line_number":114,"context_line":"                      \u0027configured in external_ids\u0027)),"},{"line_number":115,"context_line":"    cfg.StrOpt(\"vif_type\","},{"line_number":116,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":117,"context_line":"               deprecated_reason\u003d\"The port VIF type is now determined based \""}],"source_content_type":"text/x-python","patch_set":2,"id":"df3967d1_0c4ca6c5","line":114,"in_reply_to":"ff346bd7_37e1fe9b","updated":"2017-07-31 13:35:31.000000000","message":"I agree with @Lucas Alvares Gomes that it\u0027s somewhat unreasonable neutron should be restarted when new gateway chassis connect to OVN SB. If it\u0027s scheduled by a fixed chassis attribute like chassis type, restarting is not needed.","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"e3b2d65b31aaab51d6b50484d81ffc60577860db","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                      \u0027gateway routers on one of these chassis based on \u0027"},{"line_number":112,"context_line":"                      \u0027OVN_L3_SCHEDULER algorithm. Otherwise, ovn will \u0027"},{"line_number":113,"context_line":"                      \u0027consider all chassis with ovn-bridge-mappings \u0027"},{"line_number":114,"context_line":"                      \u0027configured in external_ids\u0027)),"},{"line_number":115,"context_line":"    cfg.StrOpt(\"vif_type\","},{"line_number":116,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":117,"context_line":"               deprecated_reason\u003d\"The port VIF type is now determined based \""}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_b598436a","line":114,"in_reply_to":"ff346bd7_37e1fe9b","updated":"2017-07-24 11:45:59.000000000","message":"Yes. We schedule only when \"neutron router-gateway-set\" command is called. If user changes the config, the new config will be effective for new gateways created after the config got updated.","commit_id":"1a9737a3338e1aa603c8b65a62234c5122add111"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.ListOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"                default\u003d[],"},{"line_number":109,"context_line":"                help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                       \u0027schedule gateway router. If provided, ovn will \u0027"},{"line_number":111,"context_line":"                       \u0027schedule gateway routers on one of these chassis \u0027"},{"line_number":112,"context_line":"                       \u0027based on OVN_L3_SCHEDULER algorithm. Otherwise, ovn \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df3967d1_56fe7837","line":109,"range":{"start_line":109,"start_character":46,"end_line":109,"end_character":56},"updated":"2017-10-05 13:21:51.000000000","message":"considered","commit_id":"6a777d6fe9e8ba5e176045f215f78ac5bb7800fa"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    cfg.ListOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"                default\u003d[],"},{"line_number":109,"context_line":"                help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                       \u0027schedule gateway router. If provided, ovn will \u0027"},{"line_number":111,"context_line":"                       \u0027schedule gateway routers on one of these chassis \u0027"},{"line_number":112,"context_line":"                       \u0027based on OVN_L3_SCHEDULER algorithm. Otherwise, ovn \u0027"},{"line_number":113,"context_line":"                       \u0027will consider all chassis with ovn-bridge-mappings \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"df3967d1_d69f0801","line":110,"range":{"start_line":110,"start_character":41,"end_line":110,"end_character":47},"updated":"2017-10-05 13:21:51.000000000","message":"routers","commit_id":"6a777d6fe9e8ba5e176045f215f78ac5bb7800fa"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"0cd3333171cfb2ac0e297a4ef3011d09c4ade0bd","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.ListOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"                default\u003d[],"},{"line_number":109,"context_line":"                help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                       \u0027schedule gateway router. If provided, ovn will \u0027"},{"line_number":111,"context_line":"                       \u0027schedule gateway routers on one of these chassis \u0027"},{"line_number":112,"context_line":"                       \u0027based on OVN_L3_SCHEDULER algorithm. Otherwise, ovn \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f515b1d_626f96fc","line":109,"range":{"start_line":109,"start_character":46,"end_line":109,"end_character":56},"updated":"2017-10-05 13:21:51.000000000","message":"considered","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"241349b208311db6e032ad504558dfcdedce3170","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.ListOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"                default\u003d[],"},{"line_number":109,"context_line":"                help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                       \u0027schedule gateway router. If provided, ovn will \u0027"},{"line_number":111,"context_line":"                       \u0027schedule gateway routers on one of these chassis \u0027"},{"line_number":112,"context_line":"                       \u0027based on OVN_L3_SCHEDULER algorithm. Otherwise, ovn \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f96bb07_7d2a3e2c","line":109,"range":{"start_line":109,"start_character":46,"end_line":109,"end_character":56},"in_reply_to":"7f515b1d_626f96fc","updated":"2018-01-17 13:21:05.000000000","message":"I suggest we can also set chassis hostname here, it\u0027s more easier to use.","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"572754acd7cc5e2ac056d2bbc923750417ae5714","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.ListOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"                default\u003d[],"},{"line_number":109,"context_line":"                help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                       \u0027schedule gateway router. If provided, ovn will \u0027"},{"line_number":111,"context_line":"                       \u0027schedule gateway routers on one of these chassis \u0027"},{"line_number":112,"context_line":"                       \u0027based on OVN_L3_SCHEDULER algorithm. Otherwise, ovn \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f96bb07_bd31a65c","line":109,"range":{"start_line":109,"start_character":46,"end_line":109,"end_character":56},"in_reply_to":"7f96bb07_7d2a3e2c","updated":"2018-01-17 13:32:46.000000000","message":"+1 to Dong\u0027s suggestion","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"c7319bb7128a0900f527dbf1164ce89122b4454d","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.ListOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"                default\u003d[],"},{"line_number":109,"context_line":"                help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                       \u0027schedule gateway router. If provided, ovn will \u0027"},{"line_number":111,"context_line":"                       \u0027schedule gateway routers on one of these chassis \u0027"},{"line_number":112,"context_line":"                       \u0027based on OVN_L3_SCHEDULER algorithm. Otherwise, ovn \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f96bb07_8d017f07","line":109,"range":{"start_line":109,"start_character":46,"end_line":109,"end_character":56},"in_reply_to":"7f96bb07_bd31a65c","updated":"2018-01-23 06:25:15.000000000","message":"Nice suggestion Dong. Thanks","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"c98531ee06e042f694b87f64f147e63cca46a02c","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                      \u0027chance - chassis randomly selected\u0027)),"},{"line_number":107,"context_line":"    cfg.ListOpt(\"ovn_l3_gateway_router_chassis\","},{"line_number":108,"context_line":"                default\u003d[],"},{"line_number":109,"context_line":"                help\u003d_(\u0027List of chassis names consdiered as candidates to \u0027"},{"line_number":110,"context_line":"                       \u0027schedule gateway router. If provided, ovn will \u0027"},{"line_number":111,"context_line":"                       \u0027schedule gateway routers on one of these chassis \u0027"},{"line_number":112,"context_line":"                       \u0027based on OVN_L3_SCHEDULER algorithm. Otherwise, ovn \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f96bb07_4d1185ac","line":109,"range":{"start_line":109,"start_character":46,"end_line":109,"end_character":56},"in_reply_to":"7f96bb07_bd31a65c","updated":"2018-01-23 13:13:42.000000000","message":"We need something that we are able to write from TripleO... probably hostname","commit_id":"53e1fe30cb64337b1e12136458fef24312569382"}],"networking_ovn/ovsdb/impl_idl_ovn.py":[{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"bd015f332062e50a5248e51b74ad19cd4b0425f5","unresolved":false,"context_lines":[{"line_number":601,"context_line":"                    if ch.name in config]"},{"line_number":602,"context_line":"        else:"},{"line_number":603,"context_line":"            return [ch.name for ch in self.idl.tables[\u0027Chassis\u0027].rows.values()"},{"line_number":604,"context_line":"                    if ch.external_ids.get(\u0027ovn-bridge-mappings\u0027, \u0027\u0027)]"},{"line_number":605,"context_line":""},{"line_number":606,"context_line":"    def get_chassis_data_for_ml2_bind_port(self, hostname):"},{"line_number":607,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":3,"id":"bf3e73b7_7f941be9","line":604,"updated":"2017-08-05 01:48:20.000000000","message":"I know this logic was already here, but what I\u0027d really like to see is an additional check to ensure that the bridge mappings include a mapping to the network the router is connected to\n\nConsider it a wishlist item ...","commit_id":"6a777d6fe9e8ba5e176045f215f78ac5bb7800fa"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"5a951e78cf38a800c3b9ccc02578fb9f8dde3871","unresolved":false,"context_lines":[{"line_number":601,"context_line":"                    if ch.name in config]"},{"line_number":602,"context_line":"        else:"},{"line_number":603,"context_line":"            return [ch.name for ch in self.idl.tables[\u0027Chassis\u0027].rows.values()"},{"line_number":604,"context_line":"                    if ch.external_ids.get(\u0027ovn-bridge-mappings\u0027, \u0027\u0027)]"},{"line_number":605,"context_line":""},{"line_number":606,"context_line":"    def get_chassis_data_for_ml2_bind_port(self, hostname):"},{"line_number":607,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":3,"id":"bf3e73b7_9cd7bb24","line":604,"in_reply_to":"bf3e73b7_7f941be9","updated":"2017-08-07 04:51:31.000000000","message":"sure, Miguel already suggested that. I will propose follow up patch for that. thanks Russell","commit_id":"6a777d6fe9e8ba5e176045f215f78ac5bb7800fa"}]}
