Support gateway which is not in subnet CIDR in ha_router
There is case that gateway is not in subnet CIDR.
We can set 2 routes as follows to support this:
ip route add 172.16.0.1/32 dev eth0
ip route add default via 172.16.0.1 dev eth0
Closes-bug: #1861674
Change-Id: I69356e926b15de7f1f99540e7cb98671c634e8a9
(cherry picked from commit 554b5c226750ec75e99ebce241df8b7a700ff016)
Reviewed: https:/ /review. opendev. org/757044 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2bedb02a80d 7518918c54d47f7 4282c81700b624
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 2bedb02a80d7518 918c54d47f74282 c81700b624
Author: jufeng <email address hidden>
Date: Mon Feb 3 14:54:12 2020 +0800
Support gateway which is not in subnet CIDR in ha_router
There is case that gateway is not in subnet CIDR.
We can set 2 routes as follows to support this:
ip route add 172.16.0.1/32 dev eth0
ip route add default via 172.16.0.1 dev eth0
Closes-bug: #1861674 7f1f99540e7cb98 671c634e8a9 5e99ebce241df8b 7a700ff016)
Change-Id: I69356e926b15de
(cherry picked from commit 554b5c226750ec7