X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vvp%2Fvalidation-scripts.git;a=blobdiff_plain;f=ice_validator%2Ftests%2Ffixtures%2Ftest_initial_configuration%2Fpass%2Fgood_yaml_eg.yaml;h=25ec0b3f054111dbc8b0b89419badf4e84510a47;hp=559c598d2f103cdd5bc7e497512183a6e977a02a;hb=1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1;hpb=ca9085f0f77d442d3741a8c754e65cc45b6a318d 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] }