Commit c720ffa9 authored by Hrvoje Ribicic's avatar Hrvoje Ribicic
Browse files

Correct docstrings



The previously present docstrings noted that only certain values were
to be used, and this patch correct this now that it is not true
anymore.
Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
parent 86012ec2
......@@ -1019,7 +1019,7 @@ def TransferInstanceData(lu, feedback_fn, src_node_uuid, dest_node_uuid,
@type dest_ip: string
@param dest_ip: IP address of destination node
@type compress: string
@param compress: one of L{constants.IEC_ALL}
@param compress: Compression tool to use
@type instance: L{objects.Instance}
@param instance: Instance object
@type all_transfers: list of L{DiskTransfer} instances
......@@ -1225,7 +1225,7 @@ class ExportInstanceHelper:
@type dest_node: L{objects.Node}
@param dest_node: Destination node
@type compress: string
@param compress: one of L{constants.IEC_ALL}
@param compress: Compression tool to use
"""
instance = self._instance
......@@ -1289,7 +1289,7 @@ class ExportInstanceHelper:
@type dest_ca_pem: string
@param dest_ca_pem: Destination X509 CA in PEM format
@type compress: string
@param compress: one of L{constants.IEC_ALL}
@param compress: Compression tool to use
@type timeouts: L{ImportExportTimeouts}
@param timeouts: Timeouts for this import
......@@ -1466,7 +1466,7 @@ def RemoteImport(lu, feedback_fn, instance, pnode, source_x509_ca,
@type cds: string
@param cds: Cluster domain secret
@type compress: string
@param compress: one of L{constants.IEC_ALL}
@param compress: Compression tool to use
@type timeouts: L{ImportExportTimeouts}
@param timeouts: Timeouts for this import
......
......@@ -2079,7 +2079,7 @@ class ImportExportOptions(ConfigObject):
@ivar key_name: X509 key name (None for cluster certificate)
@ivar ca_pem: Remote peer CA in PEM format (None for cluster certificate)
@ivar compress: Compression method (one of L{constants.IEC_ALL})
@ivar compress: Compression tool to use
@ivar magic: Used to ensure the connection goes to the right disk
@ivar ipv6: Whether to use IPv6
@ivar connect_timeout: Number of seconds for establishing connection
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment