From d0a458fc686bde9228bb9ad46d324240dd7ecc16 Mon Sep 17 00:00:00 2001 From: "zhu.rong" Date: Fri, 21 Aug 2015 21:36:36 +0800 Subject: [PATCH] Fix all the code syntax error Fix all the code syntax error in the manuals Change-Id: I81d3837ee5eaf131c88184cd6687b0e5fc33d7fc --- .../source/objectstorage-monitoring.rst | 2 +- doc/user-guide/source/cli_manage_ip_addresses.rst | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/admin-guide-cloud/source/objectstorage-monitoring.rst b/doc/admin-guide-cloud/source/objectstorage-monitoring.rst index ff9de20240..63736a27a5 100644 --- a/doc/admin-guide-cloud/source/objectstorage-monitoring.rst +++ b/doc/admin-guide-cloud/source/objectstorage-monitoring.rst @@ -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] ... diff --git a/doc/user-guide/source/cli_manage_ip_addresses.rst b/doc/user-guide/source/cli_manage_ip_addresses.rst index fa9c257248..54e8d6a208 100644 --- a/doc/user-guide/source/cli_manage_ip_addresses.rst +++ b/doc/user-guide/source/cli_manage_ip_addresses.rst @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~