diff options
author | 2017-09-18 20:21:35 +0200 | |
---|---|---|
committer | 2017-09-18 20:25:00 +0200 | |
commit | 1a1c03d865c55872d5912ac60ce4a1af5e814de2 (patch) | |
tree | 058769bed59d1d1af4e2630c1f14c0992db569de /config/installers/daisy/pod_config.yaml.j2 | |
parent | 74cdf3ea93fb3a91ed03924fdb17076d36fc4cb9 (diff) |
config/installers: Add PDF installer adapters
Previously, PDF installer adapters resided in securedlab git repo, but
since we want to be able to use it in both securedlab (for validation
of new PDF files during verify jobs) and installer projects (for
actually parsing the PDF file into usable installer inputs), we
decided to move them to a common location, also available for regular
users.
This change merely replicates the current adapter files from securedlab
git repo for the following projects:
- apex;
- compass4nfv;
- daisy;
- joid;
Change-Id: Ic4bd75e1b2dc339c15cd4943dfc5a1c74c68b094
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'config/installers/daisy/pod_config.yaml.j2')
-rw-r--r-- | config/installers/daisy/pod_config.yaml.j2 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/config/installers/daisy/pod_config.yaml.j2 b/config/installers/daisy/pod_config.yaml.j2 new file mode 100644 index 00000000..9a4ac7b5 --- /dev/null +++ b/config/installers/daisy/pod_config.yaml.j2 @@ -0,0 +1,51 @@ +adapter: {{ conf['jumphost']['remote_params']['type'] }} +hosts: +- name: 'controller01' + roles: + - 'CONTROLLER_LB' + ipmi_ip: {{ conf['nodes'][0]['remote_management']['address'] }} + ipmi_user: {{ conf['nodes'][0]['remote_management']['user'] }} + ipmi_pass: {{ conf['nodes'][0]['remote_management']['pass'] }} + mac_addresses:{% for nic in conf['nodes'][0]['interfaces'] %} + - {{ nic['mac_address'] }}{% endfor %} +- name: 'controller02' + roles: + - 'CONTROLLER_LB' + ipmi_ip: {{ conf['nodes'][1]['remote_management']['address'] }} + ipmi_user: {{ conf['nodes'][1]['remote_management']['user'] }} + ipmi_pass: {{ conf['nodes'][1]['remote_management']['pass'] }} + mac_addresses:{% for nic in conf['nodes'][1]['interfaces'] %} + - {{ nic['mac_address'] }}{% endfor %} +- name: 'controller03' + roles: + - 'CONTROLLER_LB' + ipmi_ip: {{ conf['nodes'][2]['remote_management']['address'] }} + ipmi_user: {{ conf['nodes'][2]['remote_management']['user'] }} + ipmi_pass: {{ conf['nodes'][2]['remote_management']['pass'] }} + mac_addresses:{% for nic in conf['nodes'][2]['interfaces'] %} + - {{ nic['mac_address'] }}{% endfor %} +- name: 'computer01' + roles: + - 'COMPUTER' + ipmi_ip: {{ conf['nodes'][3]['remote_management']['address'] }} + ipmi_user: {{ conf['nodes'][3]['remote_management']['user'] }} + ipmi_pass: {{ conf['nodes'][3]['remote_management']['pass'] }} + mac_addresses:{% for nic in conf['nodes'][3]['interfaces'] %} + - {{ nic['mac_address'] }}{% endfor %} +- name: 'computer02' + roles: + - 'COMPUTER' + ipmi_ip: {{ conf['nodes'][4]['remote_management']['address'] }} + ipmi_user: {{ conf['nodes'][4]['remote_management']['user'] }} + ipmi_pass: {{ conf['nodes'][4]['remote_management']['pass'] }} + mac_addresses:{% for nic in conf['nodes'][4]['interfaces'] %} + - {{ nic['mac_address'] }}{% endfor %} +disks: + daisy: 50 +daisy_passwd: 'r00tme' +{% if 'fixed_ips' in conf['jumphost'] -%} +daisy_gateway: {{ conf['jumphost']['fixed_ips']['admin'] }} +{%- else -%} +daisy_gateway: {{ conf['jumphost']['interfaces'][0]['address'][0] }} +{%- endif %} +ceph_disk_name: '/dev/sdb' |