Fix docstrings to match with method arguments
Change-Id: I7022215d9a8d866379a2cb12f7dbf105e284bb7d
This commit is contained in:
parent
344399a579
commit
347f53b989
|
@ -99,7 +99,7 @@ class BaseBaremetalTest(test.BaseTestCase):
|
|||
def create_chassis(cls, description=None):
|
||||
"""Wrapper utility for creating test chassis.
|
||||
|
||||
:param description: A description of the chassis. if not supplied,
|
||||
:param description: A description of the chassis. If not supplied,
|
||||
a random value will be generated.
|
||||
:return: Created chassis.
|
||||
|
||||
|
@ -114,6 +114,7 @@ class BaseBaremetalTest(test.BaseTestCase):
|
|||
memory_mb=4096):
|
||||
"""Wrapper utility for creating test baremetal nodes.
|
||||
|
||||
:param chassis_id: The unique identifier of the chassis.
|
||||
:param cpu_arch: CPU architecture of the node. Default: x86.
|
||||
:param cpus: Number of CPUs. Default: 8.
|
||||
:param local_gb: Disk size. Default: 10.
|
||||
|
@ -133,6 +134,7 @@ class BaseBaremetalTest(test.BaseTestCase):
|
|||
def create_port(cls, node_id, address, extra=None, uuid=None):
|
||||
"""Wrapper utility for creating test ports.
|
||||
|
||||
:param node_id: The unique identifier of the node.
|
||||
:param address: MAC address of the port.
|
||||
:param extra: Meta data of the port. If not supplied, an empty
|
||||
dictionary will be created.
|
||||
|
@ -150,7 +152,7 @@ class BaseBaremetalTest(test.BaseTestCase):
|
|||
def delete_chassis(cls, chassis_id):
|
||||
"""Deletes a chassis having the specified UUID.
|
||||
|
||||
:param uuid: The unique identifier of the chassis.
|
||||
:param chassis_id: The unique identifier of the chassis.
|
||||
:return: Server response.
|
||||
|
||||
"""
|
||||
|
@ -166,7 +168,7 @@ class BaseBaremetalTest(test.BaseTestCase):
|
|||
def delete_node(cls, node_id):
|
||||
"""Deletes a node having the specified UUID.
|
||||
|
||||
:param uuid: The unique identifier of the node.
|
||||
:param node_id: The unique identifier of the node.
|
||||
:return: Server response.
|
||||
|
||||
"""
|
||||
|
@ -182,7 +184,7 @@ class BaseBaremetalTest(test.BaseTestCase):
|
|||
def delete_port(cls, port_id):
|
||||
"""Deletes a port having the specified UUID.
|
||||
|
||||
:param uuid: The unique identifier of the port.
|
||||
:param port_id: The unique identifier of the port.
|
||||
:return: Server response.
|
||||
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue