diff --git a/defaults/main.yml b/defaults/main.yml index cbbe0c21..c6eb19d6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/tests/host_vars/octavia1.yml b/tests/host_vars/octavia1.yml index 0680b5d3..ff91b1a7 100644 --- a/tests/host_vars/octavia1.yml +++ b/tests/host_vars/octavia1.yml @@ -31,3 +31,4 @@ container_networks: interface: "eth14" netmask: "255.255.255.0" type: "veth" +octavia_container_network_name: "lbaas_address"