blob: 3a5669477124250a48d68824ea0fbb4b408c1648 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
2# cord-profile/defaults/main.yml
3
Zack Williamsc989f262017-05-11 13:02:59 -07004# where the cord_profile directory is on the config node
Andy Bavier7b90cb82017-06-22 10:33:00 -04005config_cord_profile_dir: "/opt/cord_profile"
Zack Williamsc989f262017-05-11 13:02:59 -07006
Zack Williams44845c62017-04-21 13:57:14 -07007pki_dir: "{{ playbook_dir }}/pki"
Zack Williamsc989f262017-05-11 13:02:59 -07008ssh_pki_dir: "{{ playbook_dir }}/ssh_pki"
Zack Williams44845c62017-04-21 13:57:14 -07009credentials_dir: "{{ playbook_dir }}/credentials"
Zack Williamsa2763112017-01-03 11:38:38 -070010
Zack Williamsc989f262017-05-11 13:02:59 -070011# where cord files are copied to on head node
Zack Williamsc989f262017-05-11 13:02:59 -070012head_cord_dir: "/opt/cord"
Zack Williams9cea13e2017-07-25 16:32:59 -070013head_cord_profile_dir: "/opt/cord_profile"
14head_credentials_dir: "/opt/credentials"
Zack Williamsc989f262017-05-11 13:02:59 -070015
Andy Baviera6cffe12017-03-15 17:33:42 -040016# For storing OpenStack images
17image_dir: /opt/images
18
Zack Williamsa2763112017-01-03 11:38:38 -070019# used in xos.yaml.j2, if True, other synchronizer container will not be started
20frontend_only: False
21
22# Set to True if you want to copy the admin-openrc.sh openstack config file
23use_openstack: True
24
Andy Baviera6cffe12017-03-15 17:33:42 -040025# Will be overridden if doing a full pod build
Zack Williamsfe284a12017-07-01 11:00:04 -070026use_maas: False
Andy Baviera6cffe12017-03-15 17:33:42 -040027
Zack Williamsa2763112017-01-03 11:38:38 -070028# set to True to create the xos_redis container in the bootstrap context
29use_redis: True
30
31use_vtn: True
32
Zack Williams1396aa32017-06-06 10:28:29 -070033# Docker related settings
Andy Bavier75e17122017-07-26 09:07:19 -070034pull_docker_registry: ""
35pull_docker_tag: "candidate"
Zack Williams1396aa32017-06-06 10:28:29 -070036
Zack Williamsa2763112017-01-03 11:38:38 -070037xos_docker_networks:
38 - "xos"
39
Zack Williamsa2763112017-01-03 11:38:38 -070040xos_bootstrap_ui_port: 9001
41xos_ui_port: 9000
42
43xos_users: []
44
45xos_libraries:
46 - "ng-xos-lib"
47
Zack Williamsc989f262017-05-11 13:02:59 -070048# name of master ssh key for this pod
49pod_sshkey_name: "headnode"
Zack Williamsa2763112017-01-03 11:38:38 -070050
Zack Williamsc989f262017-05-11 13:02:59 -070051xos_services: []
Zack Williamsa2763112017-01-03 11:38:38 -070052
53xos_tosca_config_templates: []
54
55xos_other_templates: []
56
Matteo Scandolod2221342017-05-25 18:16:57 -070057# XOS Config (xos_config.yaml)
58xos_db_name: xos
59xos_db_username: postgres
60xos_db_password: password
61xos_logging_level: debug
62xos_logging_channels:
63 - file
64 - console
Matteo Scandolof9d872d2017-05-30 15:36:32 -070065xos_dir: /opt/xos
Matteo Scandolod2221342017-05-25 18:16:57 -070066
Matteo Scandolo667334f2017-02-26 10:58:08 -080067# GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2
Zack Williamsc989f262017-05-11 13:02:59 -070068
69enabled_gui_extensions: []
70
Matteo Scandolo667334f2017-02-26 10:58:08 -080071gw_port: 3000
72gui_api_endpoint: "/xosapi/v1"
73gui_websocket: "/"
74gui_project_name: "R-CORD"
75gui_favicon: "cord-favicon.png"
76gui_background: "cord-bg.jpg"
77gui_payoff: "Your VNF orchestrator"
78gui_logo: "cord-logo.png"
79gui_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 Williamsa2763112017-01-03 11:38:38 -070087# GUI branding, used in xos_common_config.j2
88disable_minidashboard: "True"
89gui_branding_name: "OpenCloud"
90gui_branding_icon: "/static/logo.png"
91gui_branding_favicon: "/static/favicon.png"
92gui_branding_bg: "/static/bg.jpg"
93gui_service_view_class: False
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
116# used in management-net.yaml.j2
117management_network_cidr: 172.27.0.0/24
118
119use_management_hosts: False
120management_hosts_net_cidr: 10.1.0.1/24
121management_hosts_net_range_xos_low: "10.1.0.128"
122management_hosts_net_range_xos_high: "10.1.0.254"
123
124# used in fabric.yaml.j2
125use_fabric: False
126fabric_network_cfg_json: "/opt/cord_profile/fabric-network-cfg.json"
127
128# used in volt-devices.yaml.j2
129volt_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
136cord_app_version: "1.2-SNAPSHOT"