Merge "Fix docstrings in Tempest REST client for Ironic"
This commit is contained in:
commit
80d8641847
@ -84,7 +84,7 @@ class BaremetalClient(base.BaremetalClient):
|
||||
def show_node_by_instance_uuid(self, instance_uuid):
|
||||
"""Gets a node associated with given instance uuid.
|
||||
|
||||
:param uuid: Unique identifier of the node in UUID format.
|
||||
:param instance_uuid: Unique identifier of the instance in UUID format.
|
||||
:return: Serialized node as a dictionary.
|
||||
|
||||
"""
|
||||
@ -138,6 +138,7 @@ class BaremetalClient(base.BaremetalClient):
|
||||
def create_node(self, chassis_id=None, **kwargs):
|
||||
"""Create a baremetal node with the specified parameters.
|
||||
|
||||
:param chassis_id: The unique identifier of the chassis.
|
||||
:param cpu_arch: CPU architecture of the node. Default: x86_64.
|
||||
:param cpus: Number of CPUs. Default: 8.
|
||||
:param local_gb: Disk size. Default: 1024.
|
||||
@ -269,7 +270,7 @@ class BaremetalClient(base.BaremetalClient):
|
||||
"""Set power state of the specified node.
|
||||
|
||||
:param node_uuid: The unique identifier of the node.
|
||||
:state: desired state to set (on/off/reboot).
|
||||
:param state: desired state to set (on/off/reboot).
|
||||
|
||||
"""
|
||||
target = {'target': state}
|
||||
@ -280,7 +281,7 @@ class BaremetalClient(base.BaremetalClient):
|
||||
def validate_driver_interface(self, node_uuid):
|
||||
"""Get all driver interfaces of a specific node.
|
||||
|
||||
:param uuid: Unique identifier of the node in UUID format.
|
||||
:param node_uuid: Unique identifier of the node in UUID format.
|
||||
|
||||
"""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user