Minor documentation fixes for the method parameters

Change-Id: Ic9cb27c63e12948039bda201e33b8e3b8008d10f
This commit is contained in:
Peter Penchev 2015-12-03 12:26:52 +02:00
parent e5ccc19a4b
commit 26caabfc9d

View File

@ -104,7 +104,7 @@ def get_connector_properties(root_helper, my_ip, multipath, enforce_multipath,
can be found via sendtargets discovery. can be found via sendtargets discovery.
:param root_helper: The command prefix for executing as root. :param root_helper: The command prefix for executing as root.
:type my_ip: str :type root_helper: str
:param my_ip: The IP address of the local host. :param my_ip: The IP address of the local host.
:type my_ip: str :type my_ip: str
:param multipath: Enable multipath? :param multipath: Enable multipath?
@ -287,11 +287,11 @@ class InitiatorConnector(executor.Executor):
the specific protocol to use to make the connection. the specific protocol to use to make the connection.
The connection_properties is a dictionary that describes the target The connection_properties is a dictionary that describes the target
volume. It varies slightly from protocol type, (iscsi, fibre_channel), volume. It varies slightly by protocol type (iscsi, fibre_channel),
but the structure is usually the same. but the structure is usually the same.
An exmaple for iSCSI: An example for iSCSI:
{'driver_volume_type': 'iscsi', {'driver_volume_type': 'iscsi',
'data': { 'data': {