summaryrefslogtreecommitdiffstats
path: root/opensteak/tools/config.yaml
diff options
context:
space:
mode:
authorarnaudmorin <arnaud.morin@gmail.com>2015-05-29 15:56:50 +0200
committerarnaudmorin <arnaud.morin@gmail.com>2015-06-26 14:10:20 +0200
commitbff17c3ed2f7ba8a665a1ff2a0ba89ace4d3a5c9 (patch)
tree78d34c7cb7dc369fa1b2d0144f3c32cf7a081946 /opensteak/tools/config.yaml
parent5cc4c1455698767349e88022449c0c00d0e61239 (diff)
Add create vm script and foreman config
Add a script to create a KVM machine and install foreman in it. This is the beginning of the OpenSteak installation mecanism. It is very similare as what is done in the Foreman/Quickstack approach with small differences: - Ubuntu as base OS (instead of CentOS) - Foreman v1.8 (instead of 1.7.5 - KVM (libvirt) virtual machine (instead of Vagrant) - Only python/bash scripts to manage all the stuff (instead of Khaleesi/Ansible/Astaport playbooks) Change-Id: Ie66b1da4288372927e30163f82f5a0f45e2e73d0 JIRA: BGS-9 Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
Diffstat (limited to 'opensteak/tools/config.yaml')
-rw-r--r--opensteak/tools/config.yaml78
1 files changed, 78 insertions, 0 deletions
diff --git a/opensteak/tools/config.yaml b/opensteak/tools/config.yaml
new file mode 100644
index 0000000..c618a52
--- /dev/null
+++ b/opensteak/tools/config.yaml
@@ -0,0 +1,78 @@
+domains: "test-infra.opensteak.fr"
+media: "Ubuntu mirror"
+environments: "production"
+operatingsystems: "Ubuntu14.04Cloud"
+subnets: "Admin"
+compute_profiles: "Test"
+smart_proxies: "foreman.infra.opensteak.fr"
+ptables: "Preseed default"
+architectures: "x86_64"
+
+operatingsystems:
+ "Ubuntu 14.04.1 LTS":
+ name: "Ubuntu"
+ description: "Ubuntu 14.04.1 LTS"
+ major: "14"
+ minor: "04"
+ family: "Debian"
+ release_name: "trusty"
+ password_hash: "MD5"
+ "Ubuntu 14.04 Cloud":
+ name: "Ubuntu14.04Cloud"
+ description: "Ubuntu 14.04 Cloud"
+ major: "14"
+ minor: "04"
+ family: "Debian"
+ release_name: "trusty"
+ password_hash: "MD5"
+
+hostgroupTop:
+ name: 'test'
+ classes:
+ - "ntp"
+ subnet: "Admin"
+ params:
+ password: 'toto'
+hostgroups:
+ hostgroupController:
+ name: 'controller'
+ classes:
+ - "opensteak::base-network"
+ - "opensteak::libvirt"
+ params:
+ foreman_sshkey: 'xxxx'
+ hostgroupControllerVM:
+ name: 'controller_VM'
+ classes:
+ - "opensteak::apt"
+ params:
+ foreman_sshkey: 'xxxx'
+ password: 'toto'
+ hostgroupCompute:
+ name: 'compute'
+ classes:
+ - "opensteak::neutron-compute"
+ - "opensteak::nova-compute"
+subnets:
+ Admin:
+ shared: False
+ data:
+ network: "172.16.0.0"
+ mask: "255.255.255.0"
+ vlanid:
+ gateway: "172.16.0.1"
+ dns_primary: "172.16.0.1"
+ from: "172.16.0.10"
+ to: "172.16.0.200"
+ ipam: "DHCP"
+ boot_mode: "DHCP"
+
+foreman:
+ ip: "172.16.0.2"
+ password: "opnfv"
+ cpu: "2"
+ ram: "2097152"
+ iso: "trusty-server-cloudimg-amd64-disk1.img"
+ disksize: "5G"
+ force: True
+ dns: "8.8.8.8"