197 lines
7.7 KiB
YAML
197 lines
7.7 KiB
YAML
---
|
|
# (C)2016 Brocade Communications Systems, Inc.
|
|
# 130 Holger Way, San Jose, CA 95134.
|
|
# All rights reserved.
|
|
#
|
|
# 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.
|
|
|
|
|
|
## Verbosity Options
|
|
debug: False
|
|
|
|
# Set the host which will execute the shade modules
|
|
# for the service setup. The host must already have
|
|
# clouds.yaml properly configured.
|
|
tacker_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}"
|
|
|
|
# Set the package install state for distribution packages
|
|
# Options are 'present' and 'latest'
|
|
tacker_package_state: "latest"
|
|
tacker_pip_package_state: "latest"
|
|
|
|
tacker_git_repo: https://git.openstack.org/openstack/tacker
|
|
tacker_git_install_branch: master
|
|
tacker_developer_mode: false
|
|
tacker_developer_constraints:
|
|
- "git+{{ tacker_git_repo }}@{{ tacker_git_install_branch }}#egg=tacker"
|
|
|
|
# TODO(odyssey4me):
|
|
# This can be simplified once all the roles are using
|
|
# python_venv_build. We can then switch to using a
|
|
# set of constraints in pip.conf inside the venv,
|
|
# perhaps prepared by giving a giving a list of
|
|
# constraints to the role.
|
|
tacker_pip_install_args: >-
|
|
{{ tacker_developer_mode | ternary(pip_install_developer_constraints | default('--constraint /opt/developer-pip-constraints.txt'), '') }}
|
|
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''), '') }}
|
|
{{ pip_install_options | default('') }}
|
|
|
|
# Name of the virtual env to deploy into
|
|
tacker_venv_tag: "{{ venv_tag | default('untagged') }}"
|
|
tacker_bin: "/openstack/venvs/tacker-{{ tacker_venv_tag }}/bin"
|
|
|
|
# Set the etc dir path where tacker is installed.
|
|
# This is used for role access to the db migrations.
|
|
# Example:
|
|
# tacker_etc_dir: "/usr/local/etc/tacker"
|
|
tacker_etc_dir: "/etc/tacker"
|
|
|
|
# venv_download, even when true, will use the fallback method of building the
|
|
# venv from scratch if the venv download fails.
|
|
tacker_venv_download: "{{ not tacker_developer_mode | bool }}"
|
|
tacker_venv_download_url: http://127.0.0.1/venvs/untagged/ubuntu/tacker.tgz
|
|
|
|
|
|
## System info
|
|
tacker_system_user_name: tacker
|
|
tacker_system_group_name: tacker
|
|
tacker_system_shell: /bin/false
|
|
tacker_system_comment: tacker system user
|
|
tacker_system_user_home: "/var/lib/{{ tacker_system_user_name }}"
|
|
|
|
## Configuration for Oslo Messaging
|
|
|
|
# RPC
|
|
tacker_oslomsg_rpc_host_group: "{{ oslomsg_rpc_host_group | default('rabbitmq_all') }}"
|
|
tacker_oslomsg_rpc_setup_host: "{{ (tacker_oslomsg_rpc_host_group in groups) | ternary(groups[tacker_oslomsg_rpc_host_group][0], 'localhost') }}"
|
|
tacker_oslomsg_rpc_transport: "{{ oslomsg_rpc_transport | default('rabbit') }}"
|
|
tacker_oslomsg_rpc_servers: "{{ oslomsg_rpc_servers | default('127.0.0.1') }}"
|
|
tacker_oslomsg_rpc_port: "{{ oslomsg_rpc_port | default('5672') }}"
|
|
tacker_oslomsg_rpc_use_ssl: "{{ oslomsg_rpc_use_ssl | default(False) }}"
|
|
tacker_oslomsg_rpc_userid: tacker
|
|
tacker_oslomsg_rpc_vhost: /tacker
|
|
|
|
# Notify
|
|
tacker_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}"
|
|
tacker_oslomsg_notify_setup_host: "{{ (tacker_oslomsg_notify_host_group in groups) | ternary(groups[tacker_oslomsg_notify_host_group][0], 'localhost') }}"
|
|
tacker_oslomsg_notify_transport: "{{ oslomsg_notify_transport | default('rabbit') }}"
|
|
tacker_oslomsg_notify_servers: "{{ oslomsg_notify_servers | default('127.0.0.1') }}"
|
|
tacker_oslomsg_notify_port: "{{ oslomsg_notify_port | default('5672') }}"
|
|
tacker_oslomsg_notify_use_ssl: "{{ oslomsg_notify_use_ssl | default(False) }}"
|
|
tacker_oslomsg_notify_userid: "{{ tacker_oslomsg_rpc_userid }}"
|
|
tacker_oslomsg_notify_password: "{{ tacker_oslomsg_rpc_password }}"
|
|
tacker_oslomsg_notify_vhost: "{{ tacker_oslomsg_rpc_vhost }}"
|
|
|
|
## (Qdrouterd) integration
|
|
# TODO(ansmith): Change structure when more backends will be supported
|
|
tacker_oslomsg_amqp1_enabled: "{{ tacker_oslomsg_rpc_transport == 'amqp' }}"
|
|
|
|
tacker_optional_oslomsg_amqp1_pip_packages:
|
|
- oslo.messaging[amqp1]
|
|
|
|
## Database info
|
|
tacker_db_setup_host: "{{ ('galera_all' in groups) | ternary(groups['galera_all'][0], 'localhost') }}"
|
|
tacker_galera_address: "{{ galera_address | default('127.0.0.1') }}"
|
|
tacker_galera_database: tacker
|
|
tacker_galera_user: tacker
|
|
tacker_galera_use_ssl: "{{ galera_use_ssl | default(False) }}"
|
|
tacker_galera_ssl_ca_cert: "{{ galera_ssl_ca_cert | default('/etc/ssl/certs/galera-ca.pem') }}"
|
|
|
|
tacker_role_name: admin
|
|
tacker_bind_address: 0.0.0.0
|
|
tacker_service_port: 9890
|
|
tacker_program_name: tacker-server
|
|
|
|
## Service Type and Data
|
|
tacker_service_region: RegionOne
|
|
tacker_service_name: tacker
|
|
tacker_service_proto: http
|
|
tacker_service_type: nfv-orchestration
|
|
tacker_service_description: "tacker service"
|
|
tacker_service_publicuri: "{{ tacker_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ tacker_service_port }}"
|
|
tacker_service_publicurl: "{{ tacker_service_publicuri }}"
|
|
tacker_service_internaluri: "{{ tacker_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ tacker_service_port }}"
|
|
tacker_service_internalurl: "{{ tacker_service_internaluri }}"
|
|
tacker_service_adminuri: "{{ tacker_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ tacker_service_port }}"
|
|
tacker_service_adminurl: "{{ tacker_service_adminuri }}"
|
|
tacker_service_registry_proto: "{{ tacker_service_proto }}"
|
|
tacker_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(tacker_service_proto) }}"
|
|
tacker_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(tacker_service_proto) }}"
|
|
tacker_service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(tacker_service_proto) }}"
|
|
|
|
|
|
#NOTE: move password to tests/test-vars.yml
|
|
tacker_service_password: password
|
|
|
|
## Keystone
|
|
tacker_service_project_domain_id: default
|
|
tacker_service_project_name: service
|
|
tacker_service_user_domain_id: default
|
|
tacker_service_user_name: tacker
|
|
tacker_keystone_auth_plugin: password
|
|
|
|
tacker_service_in_ldap: false
|
|
|
|
## Common pip packages
|
|
tacker_pip_packages:
|
|
- networking-sfc
|
|
- osprofiler
|
|
- PyMySQL
|
|
- python-heatclient
|
|
- python-tackerclient
|
|
- tacker
|
|
|
|
|
|
## Service Names
|
|
tacker_service_names:
|
|
- "tacker-server"
|
|
|
|
tacker_config_options: --config-file {{ tacker_etc_dir }}/tacker.conf
|
|
|
|
## tacker config
|
|
tacker_heat_stack_retires: 60
|
|
tacker_heat_stack_retry_wait: 5
|
|
|
|
# heat service paramter for tacker.conf
|
|
heat_service_adminurl: "{{ tacker_service_publicuri_proto }}://{{ external_lb_vip_address }}:8004/v1"
|
|
|
|
#NOTE: these default should be updated approprietly
|
|
# tacker-horizon uses this
|
|
tackerclient_git_url: https://github.com/openstack/python-tackerclient.git
|
|
tacker_git_branch: "master"
|
|
|
|
# tacker horizon vars
|
|
tacker_horizon_venv: "/openstack/venvs/horizon-{{ openstack_release }}"
|
|
tacker_horizon_venv_bin: "{{ tacker_horizon_venv }}/bin"
|
|
tacker_horizon_enable_path: "{{ tacker_horizon_venv }}/lib/python2.7/site-packages/openstack_dashboard/enabled"
|
|
tacker_horizon_git: https://github.com/openstack/tacker-horizon.git
|
|
|
|
|
|
tacker_horizon_dashboard_disable: "False"
|
|
tacker_horizon_pip_packages:
|
|
- python-tackerclient
|
|
|
|
|
|
|
|
# This variable is used by the repo_build process to determine
|
|
# which host group to check for members of before building the
|
|
# pip packages required by this role. The value is picked up
|
|
# by the py_pkgs lookup.
|
|
tacker_role_project_group: tacker_all
|
|
|
|
## Tunable overrides
|
|
tacker_tacker_conf_overrides: {}
|
|
tacker_api_paste_ini_overrides: {}
|
|
tacker_policy_overrides: {}
|
|
tacker_rootwrap_overrides: {}
|