Use correct language for Bash and Python snippets.

Change-Id: If417af59574802c75b4721559c05bc5a2271df61
This commit is contained in:
Stephen Gordon 2013-10-14 21:22:02 -04:00
parent 77f5b721c0
commit 54a001c90e
3 changed files with 12 additions and 12 deletions

View File

@ -581,7 +581,7 @@ password = "PLUMgrid-director-admin-password"</programlisting>
<para>The following DHCP agent options are required in the
<filename>/etc/neutron/dhcp_agent.ini</filename> file for
the OVS plugin:</para>
<programlisting language="bash">[DEFAULT]
<programlisting language="ini">[DEFAULT]
ovs_use_veth = True
enable_isolated_metadata = True
use_namespaces = True
@ -592,7 +592,7 @@ interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver</programlist
<para>The following DHCP agent options are required in the
<filename>/etc/neutron/dhcp_agent.ini</filename> file for
the NVP plugin:</para>
<programlisting language="bash">[DEFAULT]
<programlisting language="ini">[DEFAULT]
ovs_use_veth = True
enable_metadata_network = True
enable_isolated_metadata = True
@ -604,7 +604,7 @@ interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver</programlist
<para>The following DHCP agent options are required in the
<filename>/etc/neutron/dhcp_agent.ini</filename> file for
the Ryu plugin:</para>
<programlisting language="bash">[DEFAULT]
<programlisting language="ini">[DEFAULT]
ovs_use_veth = True
use_namespace = True
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver</programlisting>

View File

@ -58,7 +58,7 @@
<filename os="centos;fedora;rhel"
>/etc/openstack-dashboard/local_settings</filename>
and look for this line:</para>
<programlisting language="bash" linenumbering="unnumbered"><?db-font-size 75%?>CACHES = {
<programlisting language="python" linenumbering="unnumbered"><?db-font-size 75%?>CACHES = {
'default': {
'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION' : '127.0.0.1:11211'
@ -114,7 +114,7 @@
os="opensuse"
>/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>
and change <literal>OPENSTACK_HOST</literal> to the hostname of your Identity Service.</para>
<programlisting language="bash" linenumbering="unnumbered"><?db-font-size 75%?>OPENSTACK_HOST = "controller"
<programlisting language="python" linenumbering="unnumbered"><?db-font-size 75%?>OPENSTACK_HOST = "controller"
</programlisting>
</step>
<step os="opensuse">

View File

@ -114,7 +114,7 @@ rabbit_password = guest</programlisting>
<para>Edit file <filename>
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini</filename>
and modify:</para>
<programlisting language="bash">[database]
<programlisting language="ini">[database]
sql_connection = mysql://neutron:password@localhost:3306/neutron
[ovs]
tenant_network_type = vlan
@ -124,7 +124,7 @@ network_vlan_ranges = physnet1:100:2999</programlisting>
<para>Edit file <filename>
/etc/neutron/api-paste.ini</filename>
and modify:</para>
<programlisting language="bash">admin_tenant_name = service
<programlisting language="ini">admin_tenant_name = service
admin_user = neutron
admin_password = password</programlisting>
</listitem>
@ -168,7 +168,7 @@ rabbit_host = controller</programlisting>
<filename>
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
</filename>:</para>
<programlisting language="bash">[database]
<programlisting language="ini">[database]
sql_connection = mysql://neutron:password@192.168.0.1:3306/neutron
[ovs]
tenant_network_type=vlan
@ -193,7 +193,7 @@ bridge_mappings = physnet1:br-eth1</programlisting>
<para>Edit the file <filename>
/etc/neutron/l3_agent.ini</filename>
and modify:</para>
<programlisting language="bash">[DEFAULT]
<programlisting language="ini">[DEFAULT]
auth_url = http://192.168.0.1:35357/v2.0
admin_tenant_name = service
admin_user = neutron
@ -205,7 +205,7 @@ use_namespaces = True</programlisting>
<para>Edit the file <filename>
/etc/neutron/api-paste.ini</filename>
and modify:</para>
<programlisting language="bash">[DEFAULT]
<programlisting language="ini">[DEFAULT]
auth_host = 192.168.0.1
admin_tenant_name = service
admin_user = neutron
@ -215,7 +215,7 @@ admin_password = password</programlisting>
<para>Edit the file <filename>
/etc/neutron/dhcp_agent.ini</filename>
and modify:</para>
<programlisting language="bash">use_namespaces = True</programlisting>
<programlisting language="ini">use_namespaces = True</programlisting>
</step>
<step>
<para>Restart networking services:</para>
@ -260,7 +260,7 @@ rabbit_host = controller</programlisting>
<step>
<para>Update the file <filename>
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini</filename>:</para>
<programlisting language="bash">[database]
<programlisting language="ini">[database]
sql_connection = mysql://neutron:password@192.168.0.1:3306/neutron
[ovs]
tenant_network_type = vlan