Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 1 | |
| 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 Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 17 | --- |
| 18 | # cord-profile/defaults/main.yml |
| 19 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 20 | # where the cord_profile directory is on the config node |
Andy Bavier | 7b90cb8 | 2017-06-22 10:33:00 -0400 | [diff] [blame] | 21 | config_cord_profile_dir: "/opt/cord_profile" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 22 | |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 23 | pki_dir: "{{ playbook_dir }}/pki" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 24 | ssh_pki_dir: "{{ playbook_dir }}/ssh_pki" |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 25 | credentials_dir: "{{ playbook_dir }}/credentials" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 26 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 27 | # where cord files are copied to on head node |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 28 | head_cord_dir: "/opt/cord" |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 29 | head_cord_profile_dir: "/opt/cord_profile" |
| 30 | head_credentials_dir: "/opt/credentials" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 31 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 32 | # For storing OpenStack images |
| 33 | image_dir: /opt/images |
| 34 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 35 | # used in xos.yaml.j2, if True, other synchronizer container will not be started |
| 36 | frontend_only: False |
| 37 | |
| 38 | # Set to True if you want to copy the admin-openrc.sh openstack config file |
| 39 | use_openstack: True |
| 40 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 41 | # Will be overridden if doing a full pod build |
Zack Williams | fe284a1 | 2017-07-01 11:00:04 -0700 | [diff] [blame] | 42 | use_maas: False |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 43 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 44 | # set to True to create the xos_redis container in the bootstrap context |
| 45 | use_redis: True |
| 46 | |
| 47 | use_vtn: True |
| 48 | |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 49 | # Docker related settings |
Andy Bavier | 75e1712 | 2017-07-26 09:07:19 -0700 | [diff] [blame] | 50 | pull_docker_registry: "" |
| 51 | pull_docker_tag: "candidate" |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 52 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 53 | xos_docker_networks: |
| 54 | - "xos" |
| 55 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 56 | xos_bootstrap_ui_port: 9001 |
| 57 | xos_ui_port: 9000 |
Jonathan Hart | b61ae74 | 2017-10-11 16:46:18 -0700 | [diff] [blame] | 58 | xos_chameleon_port: 9101 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 59 | |
| 60 | xos_users: [] |
| 61 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 62 | # name of master ssh key for this pod |
| 63 | pod_sshkey_name: "headnode" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 64 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 65 | xos_services: [] |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 66 | |
| 67 | xos_tosca_config_templates: [] |
| 68 | |
Matteo Scandolo | 3fc188e | 2017-10-02 18:05:58 -0700 | [diff] [blame] | 69 | xos_new_tosca_config_templates: [] |
| 70 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 71 | xos_other_templates: [] |
| 72 | |
Matteo Scandolo | d222134 | 2017-05-25 18:16:57 -0700 | [diff] [blame] | 73 | # XOS Config (xos_config.yaml) |
| 74 | xos_db_name: xos |
| 75 | xos_db_username: postgres |
| 76 | xos_db_password: password |
Matteo Scandolo | f9d872d | 2017-05-30 15:36:32 -0700 | [diff] [blame] | 77 | xos_dir: /opt/xos |
Matteo Scandolo | d222134 | 2017-05-25 18:16:57 -0700 | [diff] [blame] | 78 | |
Matteo Scandolo | 667334f | 2017-02-26 10:58:08 -0800 | [diff] [blame] | 79 | # GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2 |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 80 | |
| 81 | enabled_gui_extensions: [] |
| 82 | |
Matteo Scandolo | 667334f | 2017-02-26 10:58:08 -0800 | [diff] [blame] | 83 | gw_port: 3000 |
| 84 | gui_api_endpoint: "/xosapi/v1" |
| 85 | gui_websocket: "/" |
| 86 | gui_project_name: "R-CORD" |
| 87 | gui_favicon: "cord-favicon.png" |
| 88 | gui_background: "cord-bg.jpg" |
| 89 | gui_payoff: "Your VNF orchestrator" |
| 90 | gui_logo: "cord-logo.png" |
| 91 | gui_routes: |
| 92 | - label: "Slices" |
| 93 | state: "xos.core.slice" |
| 94 | - label: "Nodes" |
| 95 | state: "xos.core.node" |
| 96 | - label: "Instances" |
| 97 | state: "xos.core.instance" |
| 98 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 99 | # used in admin-openrc.sh.j2 |
| 100 | keystone_admin_password: "{{ lookup('password', credentials_dir ~ '/cord_keystone_admin chars=ascii_letters,digits') }}" |
| 101 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 102 | # used in deployment.yaml.j2 |
| 103 | xos_admin_user: "xosadmin@opencord.org" |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 104 | xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 105 | xos_admin_first: XOS |
| 106 | xos_admin_last: Admin |
| 107 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 108 | site_name: placeholder-sitename |
| 109 | site_humanname: "Placeholder Site HumanName" |
| 110 | site_suffix: "{{ site_name }}.test" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 111 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 112 | deployment_type: placeholder-deploymenttype |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 113 | |
| 114 | deployment_flavors: |
| 115 | - m1.small |
| 116 | - m1.medium |
| 117 | - m1.large |
| 118 | - m1.xlarge |
| 119 | |
| 120 | # used in management-net.yaml.j2 |
| 121 | management_network_cidr: 172.27.0.0/24 |
| 122 | |
| 123 | use_management_hosts: False |
| 124 | management_hosts_net_cidr: 10.1.0.1/24 |
| 125 | management_hosts_net_range_xos_low: "10.1.0.128" |
| 126 | management_hosts_net_range_xos_high: "10.1.0.254" |
| 127 | |
| 128 | # used in fabric.yaml.j2 |
| 129 | use_fabric: False |
| 130 | fabric_network_cfg_json: "/opt/cord_profile/fabric-network-cfg.json" |
| 131 | |
David K. Bainbridge | cc9f19d | 2017-08-10 09:10:51 -0700 | [diff] [blame] | 132 | # Need to track each application's version separately |
Andy Bavier | 0eb3caf | 2017-09-11 10:13:07 -0700 | [diff] [blame] | 133 | cord_config_app_version: "1.4.0-SNAPSHOT" |
| 134 | cord_vtn_app_version: "1.4.0-SNAPSHOT" |