openstack-ansible/playbooks/inventory
Matt Thompson 21a8f1ff04 Add support for specifying custom static routes
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
2015-06-29 19:26:55 +00:00
..
group_vars Moved all of group_vars into a variable file 2015-06-02 14:02:38 +01:00
dynamic_inventory.py Add support for specifying custom static routes 2015-06-29 19:26:55 +00:00