2 heat_template_version: 2016-04-08
7 description: Name of job running this template
12 String to identify a Jenkins Master
14 Useful in scenarios where multiple Jenkins Masters might be
15 creating VMs in the same cloud to uniquely distinguish them.
17 TODO we should move to using tags once OpenStack Ocata which is
18 available to us with support for server tags properties.
21 description: SSH Key name to use (Public key must exist in OpenStack)
29 default: v1-standard-1
30 description: OpenStack Flavor to use
33 description: VM Image to spin up
37 type: "OS::Neutron::Port"
39 allowed_address_pairs:
40 - ip_address: 10.250.0.0/24
43 type: "OS::Nova::Server"
45 image: { get_param: vm_image }
46 flavor: { get_param: vm_flavor }
49 template: SILO-JOB_NAME-GROUP-VM_TYPE-INDEX
51 "SILO": { get_param: silo }
52 "JOB_NAME": { get_param: job_name }
56 - { get_param: vm_image }
58 "GROUP": { get_param: group }
59 "INDEX": { get_param: index }
61 - port: { get_resource: port }
62 key_name: { get_param: ssh_key }
65 until host devvexx.opendaylight.org &>/dev/null
67 echo "Waiting until devvexx.opendaylight.org is resolvable..."
69 git clone --recurse-submodules git://devvexx.opendaylight.org/mirror/releng/builder /opt/ciman
70 /opt/ciman/jjb/global-jjb/jenkins-init-scripts/init.sh
74 description: IP address of the instance
75 value: { get_attr: [instance, networks, odlci, 0] }