Fix all the code syntax error

Fix all the code syntax error in the manuals

Change-Id: I81d3837ee5eaf131c88184cd6687b0e5fc33d7fc
This commit is contained in:
zhu.rong 2015-08-21 21:36:36 +08:00
parent 69fa5b72b9
commit d0a458fc68
2 changed files with 8 additions and 7 deletions

View File

@ -146,7 +146,7 @@ method (see the list below) overrides it. Currently, no logging calls
override the sample rate, but it is conceivable that some meters may
require accuracy (sample\_rate == 1) while others may not.
.. code:
.. code::
[DEFAULT]
...

View File

@ -119,13 +119,14 @@ You can assign a floating IP address to a project and to an instance.
.. note::
If an instance is connected to multiple networks, you can associate a
floating IP address with a specific fixed IP address using the optional
``--fixed-address`` parameter:
If an instance is connected to multiple networks, you can associate a
floating IP address with a specific fixed IP address using the optional
``--fixed-address`` parameter:
.. code:
$ nova floating-ip-associate --fixed-address FIXED_IP_ADDRESS
INSTANCE_NAME_OR_ID FLOATING_IP_ADDRESS
.. code-block:: console
$ nova floating-ip-associate --fixed-address FIXED_IP_ADDRESS \
INSTANCE_NAME_OR_ID FLOATING_IP_ADDRESS
Disassociate floating IP addresses
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~