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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~