Some bugfixes for User Guide
- structural XMLfixes Change-Id: Ieebe357de841356b40c5f2456763e69e6514d672 Closes-Bug: #1419015 Closes-Bug: #1418998 Closes-Bug: #1419003
This commit is contained in:
parent
a43c87cb13
commit
2db999438d
@ -121,7 +121,7 @@
|
|||||||
</section>
|
</section>
|
||||||
<section xml:id="update_stack">
|
<section xml:id="update_stack">
|
||||||
<title>Update a stack</title>
|
<title>Update a stack</title>
|
||||||
<para xml:id="heat-stack-update">To update an existing stack from a modified
|
<para>To update an existing stack from a modified
|
||||||
template file, run a command like the following
|
template file, run a command like the following
|
||||||
command:</para>
|
command:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>heat stack-update mystack --template-file /path/to/heat/templates/WordPress_Single_Instance_v2.template</userinput>
|
<screen><prompt>$</prompt> <userinput>heat stack-update mystack --template-file /path/to/heat/templates/WordPress_Single_Instance_v2.template</userinput>
|
||||||
|
@ -151,13 +151,13 @@
|
|||||||
<para>To allow SSH access to the instances, choose one of the
|
<para>To allow SSH access to the instances, choose one of the
|
||||||
following options:</para>
|
following options:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem xml:id="sec_group_rule_add">
|
<listitem>
|
||||||
<para>Allow access from all IP addresses, specified as
|
<para>Allow access from all IP addresses, specified as
|
||||||
IP subnet <filename>0.0.0.0/0</filename> in CIDR
|
IP subnet <filename>0.0.0.0/0</filename> in CIDR
|
||||||
notation:</para>
|
notation:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>nova secgroup-add-rule <replaceable>SECURITY_GROUP_NAME</replaceable> tcp 22 22 0.0.0.0/0</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>nova secgroup-add-rule <replaceable>SECURITY_GROUP_NAME</replaceable> tcp 22 22 0.0.0.0/0</userinput></screen>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem xml:id="sec_group_rule_add_alt">
|
<listitem>
|
||||||
<para>Allow access only from IP addresses from other
|
<para>Allow access only from IP addresses from other
|
||||||
security groups (source groups) to access the
|
security groups (source groups) to access the
|
||||||
specified port:</para>
|
specified port:</para>
|
||||||
|
@ -194,8 +194,6 @@ from novaclient.client import Client</programlisting>
|
|||||||
<literal>server_exists</literal> to
|
<literal>server_exists</literal> to
|
||||||
<literal>True</literal> and break from
|
<literal>True</literal> and break from
|
||||||
the for loop:</para>
|
the for loop:</para>
|
||||||
</step>
|
|
||||||
</substeps>
|
|
||||||
<programlisting language="python">servers_list = nova_client.servers.list()
|
<programlisting language="python">servers_list = nova_client.servers.list()
|
||||||
server_del = "vm1"
|
server_del = "vm1"
|
||||||
server_exists = False
|
server_exists = False
|
||||||
@ -206,6 +204,8 @@ for s in servers_list:
|
|||||||
server_exists = True
|
server_exists = True
|
||||||
break</programlisting>
|
break</programlisting>
|
||||||
</step>
|
</step>
|
||||||
|
</substeps>
|
||||||
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>If the server exists, run the
|
<para>If the server exists, run the
|
||||||
<literal>delete</literal> method of the
|
<literal>delete</literal> method of the
|
||||||
|
Loading…
Reference in New Issue
Block a user