Merge "octavia container network address pool"

This commit is contained in:
Zuul 2018-11-02 14:47:18 +00:00 committed by Gerrit Code Review
commit 60f0254180
2 changed files with 3 additions and 1 deletions

View File

@ -346,8 +346,9 @@ octavia_management_net_dhcp: "True"
octavia_service_net_setup: True
# This sets it to the container managment network based on how you setup
# the provider net
octavia_container_network_name: "{{ octavia_provider_network_name }}_address"
octavia_provider_network: "{{ provider_networks|map(attribute='network')|selectattr('net_name','defined')|selectattr('net_name', 'equalto', octavia_provider_network_name)|list|first }}"
# The name of the network address pool
octavia_container_network_name: "{{ octavia_provider_network['ip_from_q'] }}_address"
octavia_hm_group: "octavia-health-manager"
# Note: We use some heuritsics here but if you do anyhting special make sure to use the
# ip addresses on the right network. This will use the container newtorking to figure out the ip

View File

@ -31,3 +31,4 @@ container_networks:
interface: "eth14"
netmask: "255.255.255.0"
type: "veth"
octavia_container_network_name: "lbaas_address"