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