summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/create-vm-nodes/defaults/main.yml
blob: 6ac266a508494b2c929a38de5d030be3bafd31d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
# defaults file for bifrost-create-vm-nodes
baremetal_json_file: '/tmp/baremetal.json'

# We collect these parameters from the pdf
vm_nic: "virtio"
vm_groups: {}
vm_default_groups: "{{ lookup('env', 'DEFAULT_HOST_GROUPS').split() | default(['baremetal'], true) }}"
vm_disk_cache: unsafe
node_names: "{{ lookup('env', 'NODE_NAMES').split() }}"

# NOTE(pas-ha) name and default are chosen to be the same
# as in 'bifrost-ironic-install' role
network_interface: "virbr0"
# NOTE(pas-ha) these correspond to settings for the libvirt network created by default
vm_network: "{{ lookup('env', 'VM_NET_BRIDGE') | default('default', true) }}"
node_network_netmask: "255.255.255.0"

node_storage_pool: "{{ lookup('env', 'LIBVIRT_STORAGE_POOL') | default('default', true) }}"
node_storage_pool_path: "/var/lib/libvirt/images"
node_logdir: "/var/log/libvirt/baremetal_logs"
# NOTE(pas-ha) next two are generic values for most OSes, overridden by distro-specifc vars
vm_emulator: "/usr/bin/qemu-system-x86_64"
# NOTE(pas-ha) not really tested with non-local qemu connections
vm_libvirt_uri: "{{ lookup('env', 'LIBVIRT_CONNECT_URI') | default('qemu:///system', true) }}"

opnfv_image_path: "/var/lib/libvirt/images"