summaryrefslogtreecommitdiffstats
path: root/foreman/ci/opnfv_ksgen_settings.yml
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2015-09-03 17:12:11 -0400
committerTim Rozet <trozet@redhat.com>2015-09-09 17:03:29 -0400
commit5384a722ffae47bc3519512d34802102ebc7be5b (patch)
treecb820a176047a895c29e0488abe8ffaf15604cdc /foreman/ci/opnfv_ksgen_settings.yml
parent2b551f29f886a28e609203063418ffeabfe86127 (diff)
Adds functionality to modify VM resources
VM resources (vcpus, memory, disk size) are now configurable in the opnfv_ksgen_settings files. Each node in the ksgen settings file now has "memory, cpus, disk" attributes: - cpus is an integer number of CPUs to assign to the VM - memory is an integer size in kilobytes - disk is an integer size in gigabytes The vagrant box vmdk is resized for each VM. Each VM will then modify its partition to the new size, execute the normal reboot, then extend the physical+logical volumes and filesystem using vagrant provisioning scripts. JIRA: APEX-1 Change-Id: I471319db14d2189052961b2f533c65850ebeb1e7 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'foreman/ci/opnfv_ksgen_settings.yml')
-rw-r--r--foreman/ci/opnfv_ksgen_settings.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/foreman/ci/opnfv_ksgen_settings.yml b/foreman/ci/opnfv_ksgen_settings.yml
index b41a41b..0478c60 100644
--- a/foreman/ci/opnfv_ksgen_settings.yml
+++ b/foreman/ci/opnfv_ksgen_settings.yml
@@ -114,6 +114,9 @@ nodes:
admin_ip: compute_admin
ansible_ssh_pass: "Op3nStack"
admin_password: ""
+ cpus: 2
+ memory: 2048
+ disk: 40
groups:
- compute
- foreman_nodes
@@ -137,6 +140,9 @@ nodes:
private_mac: "10:23:45:67:87:AC"
ansible_ssh_pass: "Op3nStack"
admin_password: "octopus"
+ cpus: 2
+ memory: 4096
+ disk: 40
groups:
- controller
- foreman_nodes
@@ -160,6 +166,9 @@ nodes:
private_mac: "10:23:45:67:87:AD"
ansible_ssh_pass: "Op3nStack"
admin_password: "octopus"
+ cpus: 2
+ memory: 4096
+ disk: 40
groups:
- controller
- foreman_nodes
@@ -183,6 +192,9 @@ nodes:
private_mac: "10:23:45:67:87:AE"
ansible_ssh_pass: "Op3nStack"
admin_password: "octopus"
+ cpus: 2
+ memory: 4096
+ disk: 40
groups:
- controller
- foreman_nodes