Merge "[trivial] Fix argument descriptions"
This commit is contained in:
commit
39c8779716
@ -1204,7 +1204,7 @@ class NodeVIFController(rest.RestController):
|
||||
def post(self, vif):
|
||||
"""Attach a VIF to this node
|
||||
|
||||
:param vif_info: a dictionary of information about a VIF.
|
||||
:param vif: a dictionary of information about a VIF.
|
||||
It must have an 'id' key, whose value is a unique identifier
|
||||
for that VIF.
|
||||
"""
|
||||
|
@ -50,6 +50,7 @@ class Chassis(base.IronicObject, object_base.VersionedObjectDictCompat):
|
||||
def get(cls, context, chassis_id):
|
||||
"""Find a chassis based on its id or uuid and return a Chassis object.
|
||||
|
||||
:param context: Security context
|
||||
:param chassis_id: the id *or* uuid of a chassis.
|
||||
:returns: a :class:`Chassis` object.
|
||||
"""
|
||||
|
@ -162,6 +162,7 @@ class Node(base.IronicObject, object_base.VersionedObjectDictCompat):
|
||||
def get(cls, context, node_id):
|
||||
"""Find a node based on its id or uuid and return a Node object.
|
||||
|
||||
:param context: Security context
|
||||
:param node_id: the id *or* uuid of a node.
|
||||
:returns: a :class:`Node` object.
|
||||
"""
|
||||
|
@ -66,6 +66,7 @@ class Port(base.IronicObject, object_base.VersionedObjectDictCompat):
|
||||
Find a port based on its id or uuid or MAC address and return a Port
|
||||
object.
|
||||
|
||||
:param context: Security context
|
||||
:param port_id: the id *or* uuid *or* MAC address of a port.
|
||||
:returns: a :class:`Port` object.
|
||||
:raises: InvalidIdentity
|
||||
|
Loading…
Reference in New Issue
Block a user