blob: cd9449b7d8f72a4b12ebb15f8e9b98fe7387b9b6 [file] [log] [blame]
Zack Williamsd698b722017-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
34# Set to True if you want to copy the admin-openrc.sh openstack config file
35use_openstack: True
36
Andy Baviera6cffe12017-03-15 17:33:42 -040037# Will be overridden if doing a full pod build
Zack Williamsfe284a12017-07-01 11:00:04 -070038use_maas: False
Andy Baviera6cffe12017-03-15 17:33:42 -040039
Zack Williamsa2763112017-01-03 11:38:38 -070040# set to True to create the xos_redis container in the bootstrap context
41use_redis: True
42
43use_vtn: True
44
Zack Williams1396aa32017-06-06 10:28:29 -070045# Docker related settings
Andy Bavier75e17122017-07-26 09:07:19 -070046pull_docker_registry: ""
47pull_docker_tag: "candidate"
Zack Williams1396aa32017-06-06 10:28:29 -070048
Zack Williamsa2763112017-01-03 11:38:38 -070049xos_docker_networks:
50 - "xos"
51
Zack Williamsa2763112017-01-03 11:38:38 -070052xos_bootstrap_ui_port: 9001
53xos_ui_port: 9000
Jonathan Hartb61ae742017-10-11 16:46:18 -070054xos_chameleon_port: 9101
Zack Williamsa2763112017-01-03 11:38:38 -070055
56xos_users: []
57
Zack Williamsc989f262017-05-11 13:02:59 -070058# name of master ssh key for this pod
59pod_sshkey_name: "headnode"
Zack Williamsa2763112017-01-03 11:38:38 -070060
Zack Williamsc989f262017-05-11 13:02:59 -070061xos_services: []
Zack Williamsa2763112017-01-03 11:38:38 -070062
Zack Williams864ba252017-12-04 14:39:14 -070063xos_gui_service_graph_constraints: []
Matteo Scandolo686f7022017-11-27 09:50:42 -080064
Zack Williamsa2763112017-01-03 11:38:38 -070065xos_tosca_config_templates: []
66
67xos_other_templates: []
68
Matteo Scandolod2221342017-05-25 18:16:57 -070069# XOS Config (xos_config.yaml)
70xos_db_name: xos
71xos_db_username: postgres
72xos_db_password: password
Matteo Scandolof9d872d2017-05-30 15:36:32 -070073xos_dir: /opt/xos
Matteo Scandolod2221342017-05-25 18:16:57 -070074
Matteo Scandolo667334f2017-02-26 10:58:08 -080075# GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2
Zack Williamsc989f262017-05-11 13:02:59 -070076
77enabled_gui_extensions: []
78
Matteo Scandolo667334f2017-02-26 10:58:08 -080079gw_port: 3000
80gui_api_endpoint: "/xosapi/v1"
81gui_websocket: "/"
82gui_project_name: "R-CORD"
83gui_favicon: "cord-favicon.png"
84gui_background: "cord-bg.jpg"
85gui_payoff: "Your VNF orchestrator"
86gui_logo: "cord-logo.png"
87gui_routes:
88 - label: "Slices"
89 state: "xos.core.slice"
90 - label: "Nodes"
91 state: "xos.core.node"
92 - label: "Instances"
93 state: "xos.core.instance"
94
Zack Williams3eca6472017-06-22 18:18:38 -070095# used in admin-openrc.sh.j2
96keystone_admin_password: "{{ lookup('password', credentials_dir ~ '/cord_keystone_admin chars=ascii_letters,digits') }}"
97
Zack Williamsa2763112017-01-03 11:38:38 -070098# used in deployment.yaml.j2
99xos_admin_user: "xosadmin@opencord.org"
Zack Williams44845c62017-04-21 13:57:14 -0700100xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}"
Zack Williamsa2763112017-01-03 11:38:38 -0700101xos_admin_first: XOS
102xos_admin_last: Admin
103
Zack Williams3eca6472017-06-22 18:18:38 -0700104site_name: placeholder-sitename
105site_humanname: "Placeholder Site HumanName"
106site_suffix: "{{ site_name }}.test"
Zack Williamsa2763112017-01-03 11:38:38 -0700107
Zack Williams3eca6472017-06-22 18:18:38 -0700108deployment_type: placeholder-deploymenttype
Zack Williamsa2763112017-01-03 11:38:38 -0700109
110deployment_flavors:
111 - m1.small
112 - m1.medium
113 - m1.large
114 - m1.xlarge
115
Zack Williams2f5f2bd2017-12-01 15:04:22 -0700116## NETWORK CONFIG ##
117# used in *-services.yaml.j2
118vtn_net_public_cidr: "10.6.1.0/24"
119vtn_net_public_hwaddr_prefix: "0242"
Zack Williamsa2763112017-01-03 11:38:38 -0700120
Zack Williams2f5f2bd2017-12-01 15:04:22 -0700121# used in management-net.yaml.j2
122management_net_cidr: "10.1.0.0/24"
123
124vtn_net_management_local_cidr: "172.27.0.0/24"
125
126use_vtn_net_management_host: False
127vtn_net_management_host_cidr: "{{ management_net_cidr }}"
128vtn_net_management_host_range_xos_low: "{{ management_net_cidr | ipaddr('129') | ipaddr('address') }}"
129vtn_net_management_host_range_xos_high: "{{ management_net_cidr | ipaddr('254') | ipaddr('address') }}"
130
131# VSG and public address pools
132use_addresspool_vsg: False
133addresspool_vsg_cidr: "10.7.1.0/24"
134addresspool_vsg_hwaddr_prefix: "0ACA"
135
136use_addresspool_public: False
137addresspool_public_cidr: "10.8.1.0/24"
138addresspool_public_hwaddr_prefix: "0EFE"
139
140## LEGACY - remove when profiles have been updated to use new vars (see above)
141# used in management-net.yaml.j2
142management_network_cidr: "{{ vtn_net_management_local_cidr }}"
143
144use_management_hosts: "{{ use_vtn_net_management_host }}"
145management_hosts_net_cidr: "{{ vtn_net_management_host_cidr }}"
146management_hosts_net_range_xos_low: "{{ vtn_net_management_host_range_xos_low }}"
147management_hosts_net_range_xos_high: "{{ vtn_net_management_host_range_xos_high }}"
Zack Williamsa2763112017-01-03 11:38:38 -0700148
149# used in fabric.yaml.j2
150use_fabric: False
151fabric_network_cfg_json: "/opt/cord_profile/fabric-network-cfg.json"
152
Zack Williamsf31df5d2017-11-27 22:48:43 -0700153# base URL of maven repo where ONOS apps are retrieved
154onos_mavenrepo_url: "{{ 'http://mavenrepo.' ~ site_suffix ~ ':8080' }}"
155
156# Need to track each ONOS application's version separately
Andy Bavier0eb3caf2017-09-11 10:13:07 -0700157cord_config_app_version: "1.4.0-SNAPSHOT"
158cord_vtn_app_version: "1.4.0-SNAPSHOT"
Zack Williamsd698b722017-11-27 09:35:47 -0700159
160# used in carrierethernet-*.yaml.j2
161carrierethernet_domainid_prefix: "{{ site_name }}"
162
Varun Belur86764532017-09-08 18:39:58 -0600163# used in platform-install / roles/cord-profile/templates/docker-compose.yml.j2
164use_elasticstack: False