aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/fixtures/test_initial_configuration
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2018-12-17 12:43:02 -0800
committerstark, steven <steven.stark@att.com>2018-12-17 13:04:00 -0800
commit1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1 (patch)
tree8092104f8be23051ff81c9f71ee34116df4d33ba /ice_validator/tests/fixtures/test_initial_configuration
parentca9085f0f77d442d3741a8c754e65cc45b6a318d (diff)
[VVP] updating validation scripts in dublin
- adding backlog of new validation scripts for dublin - updating existing tests - removing outdated tests Issue-ID: VVP-123 Change-Id: Ib8260889ac957c1dd28d8ede450fc8edc6fb0ec0 Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'ice_validator/tests/fixtures/test_initial_configuration')
-rw-r--r--ice_validator/tests/fixtures/test_initial_configuration/pass/good_yaml_eg.yaml48
1 files changed, 36 insertions, 12 deletions
diff --git a/ice_validator/tests/fixtures/test_initial_configuration/pass/good_yaml_eg.yaml b/ice_validator/tests/fixtures/test_initial_configuration/pass/good_yaml_eg.yaml
index 559c598..25ec0b3 100644
--- a/ice_validator/tests/fixtures/test_initial_configuration/pass/good_yaml_eg.yaml
+++ b/ice_validator/tests/fixtures/test_initial_configuration/pass/good_yaml_eg.yaml
@@ -37,16 +37,40 @@
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
----
- a: 1
- b:
- c: 3
- d: 4
- e:
- f: 4
- g:
- h:
- test: test
- k: g
+heat_template_version: 2015-04-30
- test: out \ No newline at end of file
+description: Simple template to deploy a single compute instance
+
+parameter_groups:
+ - label: human-readable label of parameter group
+ description: description of the parameter group
+ parameters:
+ - pga
+ - pgb
+
+parameters:
+ b:
+ type: string
+ label: Key Name
+ description: Name of key-pair to be used for compute instance
+ c:
+ type: string
+ label: Key Name
+ description: Name of key-pair to be used for compute instance
+ d:
+ type: string
+ label: Key Name
+ description: Name of key-pair to be used for compute instance
+
+resources:
+ my_instance:
+ type: OS::Nova::Server
+ properties:
+ key_name: { get_param: d }
+ image: { get_param: b }
+ flavor: { get_param: c }
+
+outputs:
+ instance_ip:
+ description: The IP address of the deployed instance
+ value: { get_attr: [my_instance, first_address] }