Apply python code style to usage doc

Change-Id: If2dff5591b36b1b20ee34dc0252b5acbeff4ce69
This commit is contained in:
Lin Yang 2018-12-10 09:50:02 -08:00
parent 6b8108311c
commit 2568b89225

View File

@ -96,6 +96,8 @@ Composing and using a logical node
Discovering Remote Storage Services Discovering Remote Storage Services
----------------------------------- -----------------------------------
.. code-block:: python
# Get the storage service collection object # Get the storage service collection object
storage_service_col = rsd.get_storage_service_collection() storage_service_col = rsd.get_storage_service_collection()
@ -139,6 +141,8 @@ Discovering Remote Storage Services
Discovering NVMe Devices and Attaching them to Nodes Discovering NVMe Devices and Attaching them to Nodes
---------------------------------------------------- ----------------------------------------------------
.. code-block:: python
# Get the fabric collection object # Get the fabric collection object
fabric_col = rsd.get_fabric_collection() fabric_col = rsd.get_fabric_collection()