summaryrefslogtreecommitdiffstats
path: root/src/test/resources/heatExample.yaml
diff options
context:
space:
mode:
authorPavel Aharoni <pa0916@att.com>2017-03-29 13:35:45 +0300
committerPavel Aharoni <pa0916@att.com>2017-03-29 13:35:45 +0300
commite2cc2530fc6d54ebc975c01a4ff887ce12f0a736 (patch)
tree38385867295c8a09fb0d7f8eaf5fa78179e5b13a /src/test/resources/heatExample.yaml
parentbccebaa9888906f8ff78172f62ec592956066d82 (diff)
[SDC-6] sdc-distribution-client 1707 rebasing
Change-Id: I322a05fd79beb6ba4fee4d32afffecf531b86e98 Signed-off-by: Pavel Aharoni <pa0916@att.com>
Diffstat (limited to 'src/test/resources/heatExample.yaml')
-rw-r--r--src/test/resources/heatExample.yaml52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/test/resources/heatExample.yaml b/src/test/resources/heatExample.yaml
deleted file mode 100644
index 85b4e7c..0000000
--- a/src/test/resources/heatExample.yaml
+++ /dev/null
@@ -1,52 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: Simple template to deploy a stack with two virtual machine instances
-
-parameters:
- image_name_1:
- type: string
- label: Image Name
- description: SCOIMAGE Specify an image name for instance1
- default: cirros-0.3.1-x86_64
- image_name_2:
- type: string
- label: Image Name
- description: SCOIMAGE Specify an image name for instance2
- default: cirros-0.3.1-x86_64
- network_id:
- type: string
- label: Network ID
- description: SCONETWORK Network to be used for the compute instance
- hidden: true
- constraints:
- - length: { min: 6, max: 8 }
- description: Password length must be between 6 and 8 characters.
- - range: { min: 6, max: 8 }
- description: Range description
- - allowed_values:
- - m1.small
- - m1.medium
- - m1.large
- description: Allowed values description
- - allowed_pattern: "[a-zA-Z0-9]+"
- description: Password must consist of characters and numbers only.
- - allowed_pattern: "[A-Z]+[a-zA-Z0-9]*"
- description: Password must start with an uppercase character.
- - custom_constraint: nova.keypair
- description: Custom description
-
-resources:
- my_instance1:
- type: OS::Nova::Server
- properties:
- image: { get_param: image_name_1 }
- flavor: m1.small
- networks:
- - network : { get_param : network_id }
- my_instance2:
- type: OS::Nova::Server
- properties:
- image: { get_param: image_name_2 }
- flavor: m1.tiny
- networks:
- - network : { get_param : network_id } \ No newline at end of file