crowbar/crowbar-openstack

View on GitHub
chef/cookbooks/octavia/attributes/default.rb

Summary

Maintainability
A
0 mins
Test Coverage
# Copyright 2019, SUSE LLC.
#
# 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.
#

default[:octavia][:user] = "octavia"
default[:octavia][:group] = "octavia"
default[:octavia][:debug] = false
default[:octavia][:octavia_log_dir] = "/var/log/octavia"
default[:octavia][:octavia_config_dir] = "/etc/octavia"

default[:octavia][:api][:port] = 9876
default[:octavia][:api][:protocol] = "http"

default[:octavia][:db][:user] = "octavia"
default[:octavia][:db][:database] = "octavia"
default[:octavia][:db][:password] = nil

default[:octavia][:oslo][:rpc_thread_pool_size] = 2
default[:octavia][:networking][:port_detach_timeout] = 900

default[:octavia][:health_manager][:port] = 5555
default[:octavia][:health_manager][:heartbeat_interval] = 10
default[:octavia][:health_manager][:heartbeat_timeout] = 180
default[:octavia][:health_manager][:health_check_interval] = 3
default[:octavia][:health_manager][:heartbeat_key] = nil

default[:octavia][:sudoers_file] = "/etc/sudoers.d/octavia"

default[:octavia][:certs][:cert_path] = "/etc/octavia/certs/"
default[:octavia][:certs][:passphrase] = ""
default[:octavia][:certs][:server_ca_cert_path] = "server_ca/certs/ca.cert.pem"
default[:octavia][:certs][:server_ca_key_path] = "server_ca/private/ca.key.pem"
default[:octavia][:certs][:client_ca_cert_path] = "client_ca/certs/ca.cert.pem"
default[:octavia][:certs][:client_cert_and_key_path] = "client_ca/private/client.cert-and-key.pem"

default[:octavia][:amphora][:flavor] = "m1.lbaas.amphora"
default[:octavia][:amphora][:sec_group] = "lb-mgmt-sec-group"
default[:octavia][:amphora][:manage_net] = "lb-mgmt-net"
default[:octavia][:amphora][:image_tag] = "amphora"
default[:octavia][:amphora][:project] = "service"
default[:octavia][:amphora][:enable_anti_affinity] = false
default[:octavia][:amphora][:loadbalancer_topology] = "SINGLE"
default[:octavia][:amphora][:spare_amphora_pool_size] = 0
default[:octavia][:amphora][:ssh_access][:keyname] = ""

default[:octavia][:ssl][:certfile] = "/etc/octavia/ssl/certs/signing_cert.pem"
default[:octavia][:ssl][:keyfile] = "/etc/octavia/ssl/private/signing_key.pem"
default[:octavia][:ssl][:generate_certs] = false
default[:octavia][:ssl][:insecure] = false
default[:octavia][:ssl][:cert_required] = false
default[:octavia][:ssl][:ca_certs] = "/etc/octavia/ssl/certs/ca.pem"

default[:octavia][:ha][:ports][:api] = 19876