blob: eb11ffdb69da930234ed7d17095d259ee2cfea8c [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
Zack Williamsa2763112017-01-03 11:38:38 -070017---
18# cord-profile/defaults/main.yml
19
Zack Williamsc989f262017-05-11 13:02:59 -070020# where the cord_profile directory is on the config node
Andy Bavier7b90cb82017-06-22 10:33:00 -040021config_cord_profile_dir: "/opt/cord_profile"
Zack Williamsc989f262017-05-11 13:02:59 -070022
Zack Williams44845c62017-04-21 13:57:14 -070023pki_dir: "{{ playbook_dir }}/pki"
Zack Williamsc989f262017-05-11 13:02:59 -070024ssh_pki_dir: "{{ playbook_dir }}/ssh_pki"
Zack Williams44845c62017-04-21 13:57:14 -070025credentials_dir: "{{ playbook_dir }}/credentials"
Zack Williamsa2763112017-01-03 11:38:38 -070026
Zack Williamsc989f262017-05-11 13:02:59 -070027# where cord files are copied to on head node
Zack Williamsc989f262017-05-11 13:02:59 -070028head_cord_dir: "/opt/cord"
Zack Williams9cea13e2017-07-25 16:32:59 -070029head_cord_profile_dir: "/opt/cord_profile"
30head_credentials_dir: "/opt/credentials"
Zack Williamsc989f262017-05-11 13:02:59 -070031
Andy Baviera6cffe12017-03-15 17:33:42 -040032# For storing OpenStack images
33image_dir: /opt/images
34
Zack Williamsa2763112017-01-03 11:38:38 -070035# used in xos.yaml.j2, if True, other synchronizer container will not be started
36frontend_only: False
37
38# Set to True if you want to copy the admin-openrc.sh openstack config file
39use_openstack: True
40
Andy Baviera6cffe12017-03-15 17:33:42 -040041# Will be overridden if doing a full pod build
Zack Williamsfe284a12017-07-01 11:00:04 -070042use_maas: False
Andy Baviera6cffe12017-03-15 17:33:42 -040043
Zack Williamsa2763112017-01-03 11:38:38 -070044# set to True to create the xos_redis container in the bootstrap context
45use_redis: True
46
47use_vtn: True
48
Zack Williams1396aa32017-06-06 10:28:29 -070049# Docker related settings
Andy Bavier75e17122017-07-26 09:07:19 -070050pull_docker_registry: ""
51pull_docker_tag: "candidate"
Zack Williams1396aa32017-06-06 10:28:29 -070052
Zack Williamsa2763112017-01-03 11:38:38 -070053xos_docker_networks:
54 - "xos"
55
Zack Williamsa2763112017-01-03 11:38:38 -070056xos_bootstrap_ui_port: 9001
57xos_ui_port: 9000
58
59xos_users: []
60
61xos_libraries:
62 - "ng-xos-lib"
63
Zack Williamsc989f262017-05-11 13:02:59 -070064# name of master ssh key for this pod
65pod_sshkey_name: "headnode"
Zack Williamsa2763112017-01-03 11:38:38 -070066
Zack Williamsc989f262017-05-11 13:02:59 -070067xos_services: []
Zack Williamsa2763112017-01-03 11:38:38 -070068
69xos_tosca_config_templates: []
70
71xos_other_templates: []
72
Matteo Scandolod2221342017-05-25 18:16:57 -070073# XOS Config (xos_config.yaml)
74xos_db_name: xos
75xos_db_username: postgres
76xos_db_password: password
77xos_logging_level: debug
78xos_logging_channels:
79 - file
80 - console
Matteo Scandolof9d872d2017-05-30 15:36:32 -070081xos_dir: /opt/xos
Matteo Scandolod2221342017-05-25 18:16:57 -070082
Matteo Scandolo667334f2017-02-26 10:58:08 -080083# GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2
Zack Williamsc989f262017-05-11 13:02:59 -070084
85enabled_gui_extensions: []
86
Matteo Scandolo667334f2017-02-26 10:58:08 -080087gw_port: 3000
88gui_api_endpoint: "/xosapi/v1"
89gui_websocket: "/"
90gui_project_name: "R-CORD"
91gui_favicon: "cord-favicon.png"
92gui_background: "cord-bg.jpg"
93gui_payoff: "Your VNF orchestrator"
94gui_logo: "cord-logo.png"
95gui_routes:
96 - label: "Slices"
97 state: "xos.core.slice"
98 - label: "Nodes"
99 state: "xos.core.node"
100 - label: "Instances"
101 state: "xos.core.instance"
102
Zack Williamsa2763112017-01-03 11:38:38 -0700103# GUI branding, used in xos_common_config.j2
104disable_minidashboard: "True"
105gui_branding_name: "OpenCloud"
106gui_branding_icon: "/static/logo.png"
107gui_branding_favicon: "/static/favicon.png"
108gui_branding_bg: "/static/bg.jpg"
109gui_service_view_class: False
110
Zack Williams3eca6472017-06-22 18:18:38 -0700111# used in admin-openrc.sh.j2
112keystone_admin_password: "{{ lookup('password', credentials_dir ~ '/cord_keystone_admin chars=ascii_letters,digits') }}"
113
Zack Williamsa2763112017-01-03 11:38:38 -0700114# used in deployment.yaml.j2
115xos_admin_user: "xosadmin@opencord.org"
Zack Williams44845c62017-04-21 13:57:14 -0700116xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}"
Zack Williamsa2763112017-01-03 11:38:38 -0700117xos_admin_first: XOS
118xos_admin_last: Admin
119
Zack Williams3eca6472017-06-22 18:18:38 -0700120site_name: placeholder-sitename
121site_humanname: "Placeholder Site HumanName"
122site_suffix: "{{ site_name }}.test"
Zack Williamsa2763112017-01-03 11:38:38 -0700123
Zack Williams3eca6472017-06-22 18:18:38 -0700124deployment_type: placeholder-deploymenttype
Zack Williamsa2763112017-01-03 11:38:38 -0700125
126deployment_flavors:
127 - m1.small
128 - m1.medium
129 - m1.large
130 - m1.xlarge
131
132# used in management-net.yaml.j2
133management_network_cidr: 172.27.0.0/24
134
135use_management_hosts: False
136management_hosts_net_cidr: 10.1.0.1/24
137management_hosts_net_range_xos_low: "10.1.0.128"
138management_hosts_net_range_xos_high: "10.1.0.254"
139
140# used in fabric.yaml.j2
141use_fabric: False
142fabric_network_cfg_json: "/opt/cord_profile/fabric-network-cfg.json"
143
David K. Bainbridgecc9f19d2017-08-10 09:10:51 -0700144# Need to track each application's version separately
145cord_config_app_version: "1.2.0-SNAPSHOT"
146cord_vtn_app_version: "1.2.0-SNAPSHOT"