From 3d4ac3786772ec23791183b4c54a9d6fd922752e Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Fri, 4 May 2018 23:11:35 +0200 Subject: Use PDF to set up the XCI VMs This patch is doing the first work item of the spec: https://github.com/opnfv/releng-xci/blob/master/docs/specs/infra_manager.rst It creates the required VMs by XCI to afterwards deploy the VIM. It does that by reading the pdf provided by the user. - It is currently assumed that the OS for the VM will be installed in the first disk of the node described by the pdf - It is assumed that the opnfv VM characteristics are not described in the pdf but in a similar document called opnfv_vm.yml - All references to csv from bifrost-create-vm-nodes were removed Change-Id: I46a85284e4ce7df21cbf66f66619b35f74251e68 Signed-off-by: Manuel Buil Co-Authored-by: Markos Chandras --- xci/playbooks/roles/create-vm-nodes/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xci/playbooks') diff --git a/xci/playbooks/roles/create-vm-nodes/defaults/main.yml b/xci/playbooks/roles/create-vm-nodes/defaults/main.yml index 90ee6e5c..6ac266a5 100644 --- a/xci/playbooks/roles/create-vm-nodes/defaults/main.yml +++ b/xci/playbooks/roles/create-vm-nodes/defaults/main.yml @@ -6,7 +6,7 @@ baremetal_json_file: '/tmp/baremetal.json' vm_nic: "virtio" vm_groups: {} vm_default_groups: "{{ lookup('env', 'DEFAULT_HOST_GROUPS').split() | default(['baremetal'], true) }}" -vm_disk_cache: "{{ lookup('env', 'VM_DISK_CACHE') | default('unsafe', true) }}" +vm_disk_cache: unsafe node_names: "{{ lookup('env', 'NODE_NAMES').split() }}" # NOTE(pas-ha) name and default are chosen to be the same -- cgit 1.2.3-korg