This change allows you to specify static routes for a given network in
your openstack_user_config.yml file:
global_overrides:
provider_networks:
- network:
group_binds:
- glance_api
- nova_compute
- neutron_linuxbridge_agent
type: "raw"
container_bridge: "br-snet"
container_interface: "eth3"
container_type: "veth"
ip_from_q: "snet"
static_routes:
- cidr: 10.176.0.0/12
gateway: 172.29.248.1
This will result in the following being written to
/etc/network/interfaces.d/eth3.cfg for the affected containers:
post-up ip route add 10.176.0.0/12 via 172.29.248.1 || true
Change-Id: Id5a74db2399166af2d6ac289b71ebb0de04f5679
Closes-Bug: #1464639