this is for the v2 agent namespace driver.
looking at the code here:
https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/drivers/haproxy/namespace_driver.py#L314-L319
Looks like if the subnet has no gateway then it'll use the host routes. If it does have a gateway then it will not configure the host routes.
this is for the v2 agent namespace driver.
looking at the code here:
https:/ /github. com/openstack/ neutron- lbaas/blob/ master/ neutron_ lbaas/drivers/ haproxy/ namespace_ driver. py#L314- L319
Looks like if the subnet has no gateway then it'll use the host routes. If it does have a gateway then it will not configure the host routes.