blob: a217af0a6904e0f989df3cd9648d1ddff8a2163c [file] [log] [blame]
Zack Williams7be935f2017-11-27 09:35:47 -07001---
Matteo Scandolo3896c472017-08-01 13:31:42 -07002# 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
Zack Williamsa2763112017-01-03 11:38:38 -070016# cord-profile/defaults/main.yml
17
Zack Williamsc989f262017-05-11 13:02:59 -070018# where the cord_profile directory is on the config node
Andy Bavier7b90cb82017-06-22 10:33:00 -040019config_cord_profile_dir: "/opt/cord_profile"
Zack Williamsc989f262017-05-11 13:02:59 -070020
Zack Williams44845c62017-04-21 13:57:14 -070021pki_dir: "{{ playbook_dir }}/pki"
Zack Williamsc989f262017-05-11 13:02:59 -070022ssh_pki_dir: "{{ playbook_dir }}/ssh_pki"
Zack Williams44845c62017-04-21 13:57:14 -070023credentials_dir: "{{ playbook_dir }}/credentials"
Zack Williamsa2763112017-01-03 11:38:38 -070024
Zack Williamsc989f262017-05-11 13:02:59 -070025# where cord files are copied to on head node
Zack Williamsc989f262017-05-11 13:02:59 -070026head_cord_dir: "/opt/cord"
Zack Williams9cea13e2017-07-25 16:32:59 -070027head_cord_profile_dir: "/opt/cord_profile"
28head_credentials_dir: "/opt/credentials"
Zack Williamsc989f262017-05-11 13:02:59 -070029
Andy Baviera6cffe12017-03-15 17:33:42 -040030# For storing OpenStack images
31image_dir: /opt/images
32
Zack Williamsa2763112017-01-03 11:38:38 -070033# used in xos.yaml.j2, if True, other synchronizer container will not be started
34frontend_only: False
35
36# Set to True if you want to copy the admin-openrc.sh openstack config file
37use_openstack: True
38
Andy Baviera6cffe12017-03-15 17:33:42 -040039# Will be overridden if doing a full pod build
Zack Williamsfe284a12017-07-01 11:00:04 -070040use_maas: False
Andy Baviera6cffe12017-03-15 17:33:42 -040041
Zack Williamsa2763112017-01-03 11:38:38 -070042# set to True to create the xos_redis container in the bootstrap context
43use_redis: True
44
45use_vtn: True
46
Zack Williams1396aa32017-06-06 10:28:29 -070047# Docker related settings
Andy Bavier75e17122017-07-26 09:07:19 -070048pull_docker_registry: ""
49pull_docker_tag: "candidate"
Zack Williams1396aa32017-06-06 10:28:29 -070050
Zack Williamsa2763112017-01-03 11:38:38 -070051xos_docker_networks:
52 - "xos"
53
Zack Williamsa2763112017-01-03 11:38:38 -070054xos_bootstrap_ui_port: 9001
55xos_ui_port: 9000
Zack Williams7f933942017-11-27 22:48:43 -070056xos_chameleon_port: 9101
Zack Williamsa2763112017-01-03 11:38:38 -070057
58xos_users: []
59
Zack Williamsc989f262017-05-11 13:02:59 -070060# name of master ssh key for this pod
61pod_sshkey_name: "headnode"
Zack Williamsa2763112017-01-03 11:38:38 -070062
Zack Williamsc989f262017-05-11 13:02:59 -070063xos_services: []
Zack Williamsa2763112017-01-03 11:38:38 -070064
65xos_tosca_config_templates: []
66
Matteo Scandolob76c2572017-10-02 18:05:58 -070067xos_new_tosca_config_templates: []
68
Zack Williamsa2763112017-01-03 11:38:38 -070069xos_other_templates: []
70
Matteo Scandolod2221342017-05-25 18:16:57 -070071# XOS Config (xos_config.yaml)
72xos_db_name: xos
73xos_db_username: postgres
74xos_db_password: password
Matteo Scandolof9d872d2017-05-30 15:36:32 -070075xos_dir: /opt/xos
Matteo Scandolod2221342017-05-25 18:16:57 -070076
Matteo Scandolo667334f2017-02-26 10:58:08 -080077# GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2
Zack Williamsc989f262017-05-11 13:02:59 -070078
79enabled_gui_extensions: []
80
Matteo Scandolo667334f2017-02-26 10:58:08 -080081gw_port: 3000
82gui_api_endpoint: "/xosapi/v1"
83gui_websocket: "/"
84gui_project_name: "R-CORD"
85gui_favicon: "cord-favicon.png"
86gui_background: "cord-bg.jpg"
87gui_payoff: "Your VNF orchestrator"
88gui_logo: "cord-logo.png"
89gui_routes:
90 - label: "Slices"
91 state: "xos.core.slice"
92 - label: "Nodes"
93 state: "xos.core.node"
94 - label: "Instances"
95 state: "xos.core.instance"
96
Zack Williams3eca6472017-06-22 18:18:38 -070097# used in admin-openrc.sh.j2
98keystone_admin_password: "{{ lookup('password', credentials_dir ~ '/cord_keystone_admin chars=ascii_letters,digits') }}"
99
Zack Williamsa2763112017-01-03 11:38:38 -0700100# used in deployment.yaml.j2
101xos_admin_user: "xosadmin@opencord.org"
Zack Williams44845c62017-04-21 13:57:14 -0700102xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}"
Zack Williamsa2763112017-01-03 11:38:38 -0700103xos_admin_first: XOS
104xos_admin_last: Admin
105
Zack Williams3eca6472017-06-22 18:18:38 -0700106site_name: placeholder-sitename
107site_humanname: "Placeholder Site HumanName"
108site_suffix: "{{ site_name }}.test"
Zack Williamsa2763112017-01-03 11:38:38 -0700109
Zack Williams3eca6472017-06-22 18:18:38 -0700110deployment_type: placeholder-deploymenttype
Zack Williamsa2763112017-01-03 11:38:38 -0700111
112deployment_flavors:
113 - m1.small
114 - m1.medium
115 - m1.large
116 - m1.xlarge
117
118# used in management-net.yaml.j2
119management_network_cidr: 172.27.0.0/24
120
121use_management_hosts: False
122management_hosts_net_cidr: 10.1.0.1/24
123management_hosts_net_range_xos_low: "10.1.0.128"
124management_hosts_net_range_xos_high: "10.1.0.254"
125
126# used in fabric.yaml.j2
127use_fabric: False
128fabric_network_cfg_json: "/opt/cord_profile/fabric-network-cfg.json"
129
Zack Williams7f933942017-11-27 22:48:43 -0700130# base URL of maven repo where ONOS apps are retrieved
131onos_mavenrepo_url: "{{ 'http://mavenrepo.' ~ site_suffix ~ ':8080' }}"
132
133# Need to track each ONOS application's version separately
Jonathan Harta9064232017-09-12 11:46:10 -0700134cord_config_app_version: "1.3.0"
135cord_vtn_app_version: "1.3.0"
Zack Williams7be935f2017-11-27 09:35:47 -0700136
137# used in carrierethernet-*.yaml.j2
138carrierethernet_domainid_prefix: "{{ site_name }}"
139