diff --git a/doc/install-guide/samples/test-stack.yml b/doc/install-guide/samples/test-stack.yml deleted file mode 100644 index 966d136e38..0000000000 --- a/doc/install-guide/samples/test-stack.yml +++ /dev/null @@ -1,26 +0,0 @@ -heat_template_version: 2013-05-23 - -description: Test Template - -parameters: - ImageID: - type: string - description: Image use to boot a server - NetID: - type: string - description: Network ID for the server - -resources: - server1: - type: OS::Nova::Server - properties: - name: "Test server" - image: { get_param: ImageID } - flavor: "m1.tiny" - networks: - - network: { get_param: NetID } - -outputs: - server1_private_ip: - description: IP address of the server in the private network - value: { get_attr: [ server1, first_address ] } diff --git a/doc/install-guide/section_heat-verify.xml b/doc/install-guide/section_heat-verify.xml index 3f6aac0285..811ea51d3c 100644 --- a/doc/install-guide/section_heat-verify.xml +++ b/doc/install-guide/section_heat-verify.xml @@ -21,7 +21,36 @@ documentation. Create a test template in the test-stack.yml file with the following content: - + heat_template_version: 2014-10-16 +description: A simple server. + +parameters: + ImageID: + type: string + description: Image use to boot a server + NetID: + type: string + description: Network ID for the server + +resources: + ImageID: + type: string + description: Image use to boot a server + NetID: + type: string + description: Network ID for the server + server: + type: OS::Nova::Server + properties: + image: { get_param: ImageID } + flavor: m1.tiny + networks: + - network: { get_param: NetID } + +outputs: + private_ip: + description: IP address of the server in the private network + value: { get_attr: [ server, first_address ] } Use the heat stack-create command to create a