openstack-ansible-os_octavia/tests/os_octavia-overrides.yml
Jesse Pretorius 7783857675 Clean up test override vars
Several override vars aren't used, or are only used in one
test playbook will will get revamped to eliminate the need
for them after the service delegation patch merges.

As such, we remove the unnecessary vars and move those to
be cleaned up later into the play to make it simpler to do.

Change-Id: Idfcf5fb400079eadd080b30992a90cc758e1cac8
2018-08-01 19:58:40 +00:00

74 lines
2.5 KiB
YAML

---
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
test_octavia_amphora: True
octavia_v2: True
octavia_v1: False
octavia_legacy_policy: True
# Infra hosts don't have enough disk for the 20 GB
# introduced by Change # I94f5af2055d1b6b41a9a170ca9b4daf57363c972
octavia_amp_disk: 3
# The defaults refer to the load balancer address, so
# we must provide them here.
external_lb_vip_address: "{{ hostvars['octavia1']['ansible_host'] }}"
internal_lb_vip_address: "{{ external_lb_vip_address }}"
octavia_developer_mode: True
octavia_galera_address: "{{ test_galera_host }}"
octavia_service_password: "secrete"
octavia_container_mysql_password: "secrete"
octavia_oslomsg_rpc_password: "{{ oslomsg_rpc_password }}"
octavia_swift_temp_url_secret_key: secrete
octavia_health_hmac_key: secrete
test_swift_storage_network: "eth3"
test_swift_repl_network: "eth3"
glance_file_store: swift
test_swift_repl_number: 2
nova_console_type: novnc
neutron_provider_networks:
network_types: "vxlan,flat"
network_vxlan_ranges: "1:1000"
network_flat_networks: "flat,lbaas"
network_mappings: "flat:eth12,lbaas:eth14"
#couldn't find provider_networks inventory var?
octavia_container_interface: "eth14"
# Must be set to a normal MTU
neutron_network_device_mtu: 1500
neutron_l2_population: True
neutron_dhcp_config:
dhcp-option-force: "26,1500"
log-facility: "/var/log/neutron/neutron-dnsmasq.log"
neutron_l3: True
neutron_metadata: True
octavia_pip_package_state: latest
octavia_neutron_management_network_name: lbaas-mgmt
octavia_management_net_subnet_cidr: 10.1.7.0/24
octavia_ssh_enabled: True
octavia_amphora_driver: "{% if test_octavia_amphora | bool %}amphora_haproxy_rest_driver{% else %}amphora_noop_driver{% endif %}"
octavia_compute_driver: "{% if test_octavia_amphora | bool %}compute_nova_driver{% else %}compute_noop_driver{% endif %}"
octavia_network_driver: "{% if test_octavia_amphora | bool %}allowed_address_pairs_driver{% else %}network_noop_driver{% endif %}"
# cert generation
octavia_cert_client_password: 'changeme'