Zack Williams | d698b72 | 2017-11-27 09:35:47 -0700 | [diff] [blame] | 1 | --- |
Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 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 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 16 | # cord-profile/defaults/main.yml |
| 17 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 18 | # where the cord_profile directory is on the config node |
Andy Bavier | 7b90cb8 | 2017-06-22 10:33:00 -0400 | [diff] [blame] | 19 | config_cord_profile_dir: "/opt/cord_profile" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 20 | |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 21 | pki_dir: "{{ playbook_dir }}/pki" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 22 | ssh_pki_dir: "{{ playbook_dir }}/ssh_pki" |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 23 | credentials_dir: "{{ playbook_dir }}/credentials" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 24 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 25 | # where cord files are copied to on head node |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 26 | head_cord_dir: "/opt/cord" |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 27 | head_cord_profile_dir: "/opt/cord_profile" |
| 28 | head_credentials_dir: "/opt/credentials" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 29 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 30 | # For storing OpenStack images |
| 31 | image_dir: /opt/images |
| 32 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 33 | |
| 34 | # Set to True if you want to copy the admin-openrc.sh openstack config file |
| 35 | use_openstack: True |
| 36 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 37 | # Will be overridden if doing a full pod build |
Zack Williams | fe284a1 | 2017-07-01 11:00:04 -0700 | [diff] [blame] | 38 | use_maas: False |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 39 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 40 | # set to True to create the xos_redis container in the bootstrap context |
| 41 | use_redis: True |
| 42 | |
| 43 | use_vtn: True |
| 44 | |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 45 | # Docker related settings |
Andy Bavier | 75e1712 | 2017-07-26 09:07:19 -0700 | [diff] [blame] | 46 | pull_docker_registry: "" |
| 47 | pull_docker_tag: "candidate" |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 48 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 49 | xos_docker_networks: |
| 50 | - "xos" |
| 51 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 52 | xos_bootstrap_ui_port: 9001 |
| 53 | xos_ui_port: 9000 |
Jonathan Hart | b61ae74 | 2017-10-11 16:46:18 -0700 | [diff] [blame] | 54 | xos_chameleon_port: 9101 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 55 | |
| 56 | xos_users: [] |
| 57 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 58 | # name of master ssh key for this pod |
| 59 | pod_sshkey_name: "headnode" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 60 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 61 | xos_services: [] |
Matteo Scandolo | 25b23e3 | 2017-12-11 17:01:36 -0800 | [diff] [blame] | 62 | xos_dynamic_services: [] |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 63 | |
Zack Williams | 864ba25 | 2017-12-04 14:39:14 -0700 | [diff] [blame] | 64 | xos_gui_service_graph_constraints: [] |
Matteo Scandolo | 686f702 | 2017-11-27 09:50:42 -0800 | [diff] [blame] | 65 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 66 | xos_tosca_config_templates: [] |
Andy Bavier | d6144ee | 2018-02-01 15:58:06 -0700 | [diff] [blame] | 67 | xos_new_tosca_config_templates: [] # Deprecated |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 68 | |
| 69 | xos_other_templates: [] |
| 70 | |
Matteo Scandolo | d222134 | 2017-05-25 18:16:57 -0700 | [diff] [blame] | 71 | # XOS Config (xos_config.yaml) |
| 72 | xos_db_name: xos |
| 73 | xos_db_username: postgres |
| 74 | xos_db_password: password |
Matteo Scandolo | f9d872d | 2017-05-30 15:36:32 -0700 | [diff] [blame] | 75 | xos_dir: /opt/xos |
Matteo Scandolo | d222134 | 2017-05-25 18:16:57 -0700 | [diff] [blame] | 76 | |
Matteo Scandolo | 667334f | 2017-02-26 10:58:08 -0800 | [diff] [blame] | 77 | # 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] | 78 | |
| 79 | enabled_gui_extensions: [] |
| 80 | |
Matteo Scandolo | 667334f | 2017-02-26 10:58:08 -0800 | [diff] [blame] | 81 | gw_port: 3000 |
| 82 | gui_api_endpoint: "/xosapi/v1" |
| 83 | gui_websocket: "/" |
| 84 | gui_project_name: "R-CORD" |
| 85 | gui_favicon: "cord-favicon.png" |
| 86 | gui_background: "cord-bg.jpg" |
| 87 | gui_payoff: "Your VNF orchestrator" |
| 88 | gui_logo: "cord-logo.png" |
| 89 | gui_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 Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 97 | # used in admin-openrc.sh.j2 |
| 98 | keystone_admin_password: "{{ lookup('password', credentials_dir ~ '/cord_keystone_admin chars=ascii_letters,digits') }}" |
| 99 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 100 | # used in deployment.yaml.j2 |
| 101 | xos_admin_user: "xosadmin@opencord.org" |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 102 | 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] | 103 | xos_admin_first: XOS |
| 104 | xos_admin_last: Admin |
| 105 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 106 | site_name: placeholder-sitename |
| 107 | site_humanname: "Placeholder Site HumanName" |
| 108 | site_suffix: "{{ site_name }}.test" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 109 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 110 | deployment_type: placeholder-deploymenttype |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 111 | |
| 112 | deployment_flavors: |
| 113 | - m1.small |
| 114 | - m1.medium |
| 115 | - m1.large |
| 116 | - m1.xlarge |
| 117 | |
Zack Williams | 2f5f2bd | 2017-12-01 15:04:22 -0700 | [diff] [blame] | 118 | ## NETWORK CONFIG ## |
| 119 | # used in *-services.yaml.j2 |
| 120 | vtn_net_public_cidr: "10.6.1.0/24" |
| 121 | vtn_net_public_hwaddr_prefix: "0242" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 122 | |
Zack Williams | 2f5f2bd | 2017-12-01 15:04:22 -0700 | [diff] [blame] | 123 | # used in management-net.yaml.j2 |
| 124 | management_net_cidr: "10.1.0.0/24" |
| 125 | |
| 126 | vtn_net_management_local_cidr: "172.27.0.0/24" |
| 127 | |
| 128 | use_vtn_net_management_host: False |
| 129 | vtn_net_management_host_cidr: "{{ management_net_cidr }}" |
| 130 | vtn_net_management_host_range_xos_low: "{{ management_net_cidr | ipaddr('129') | ipaddr('address') }}" |
| 131 | vtn_net_management_host_range_xos_high: "{{ management_net_cidr | ipaddr('254') | ipaddr('address') }}" |
| 132 | |
| 133 | # VSG and public address pools |
| 134 | use_addresspool_vsg: False |
| 135 | addresspool_vsg_cidr: "10.7.1.0/24" |
| 136 | addresspool_vsg_hwaddr_prefix: "0ACA" |
| 137 | |
| 138 | use_addresspool_public: False |
| 139 | addresspool_public_cidr: "10.8.1.0/24" |
| 140 | addresspool_public_hwaddr_prefix: "0EFE" |
| 141 | |
Zack Williams | b61ca26 | 2018-01-29 17:01:21 -0700 | [diff] [blame] | 142 | # used in fabric.yaml.j2 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 143 | use_fabric: False |
Andy Bavier | eb418af | 2018-01-29 11:32:31 -0700 | [diff] [blame] | 144 | fabric_network_cfg_json: {} |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 145 | |
Zack Williams | 553f140 | 2018-02-06 17:59:34 -0700 | [diff] [blame] | 146 | # The following value is hardcoded and should be identical to here: |
| 147 | # https://github.com/opencord/maas/blob/master/config-generator/netconfig.tpl#L29 |
| 148 | fabric_gateway_hwaddr: "a4:23:05:06:01:01" |
| 149 | |
Zack Williams | f31df5d | 2017-11-27 22:48:43 -0700 | [diff] [blame] | 150 | # base URL of maven repo where ONOS apps are retrieved |
| 151 | onos_mavenrepo_url: "{{ 'http://mavenrepo.' ~ site_suffix ~ ':8080' }}" |
| 152 | |
| 153 | # Need to track each ONOS application's version separately |
Jonathan Hart | 71f98cb | 2018-01-29 14:29:04 -0800 | [diff] [blame] | 154 | cord_config_app_version: "1.3.1" |
| 155 | cord_vtn_app_version: "1.5.0" |
Zack Williams | d698b72 | 2017-11-27 09:35:47 -0700 | [diff] [blame] | 156 | |
| 157 | # used in carrierethernet-*.yaml.j2 |
| 158 | carrierethernet_domainid_prefix: "{{ site_name }}" |
| 159 | |
Varun Belur | 8676453 | 2017-09-08 18:39:58 -0600 | [diff] [blame] | 160 | # used in platform-install / roles/cord-profile/templates/docker-compose.yml.j2 |
| 161 | use_elasticstack: False |