Fix some reST field lists in docstrings

Probably the most common format for documenting arguments is reST field
lists [1]. This change updates some docstrings to comply with the field
lists syntax.

[1] http://sphinx-doc.org/domains.html#info-field-lists

Change-Id: I80d863604357072b65e64ae2582093683be71880
This commit is contained in:
Duan Jiong 2017-03-24 21:45:33 +08:00
parent 2a5b721170
commit 672ec0e9a5

View File

@ -230,7 +230,7 @@ def _ib_mac_to_rmac_mapping(blacklist_macs, ports_active):
:param blacklist_macs: List of InfiniBand baremetal hosts macs to
blacklist.
:param ports_active: list of active ironic ports
:return baremetal InfiniBand to remote mac on ironic node mapping
:return: baremetal InfiniBand to remote mac on ironic node mapping
"""
ethoib_interfaces = CONF.firewall.ethoib_interfaces
ib_mac_to_remote_mac = {}