From 1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1 Mon Sep 17 00:00:00 2001 From: "stark, steven" Date: Mon, 17 Dec 2018 12:43:02 -0800 Subject: [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 --- .../pass/good_yaml_eg.yaml | 48 ++++++++++++++++------ 1 file changed, 36 insertions(+), 12 deletions(-) (limited to 'ice_validator/tests/fixtures/test_initial_configuration') 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] } -- cgit 1.2.3-korg