Merge "Correct port_id parameter description"

This commit is contained in:
Jenkins 2016-01-28 05:40:11 +00:00 committed by Gerrit Code Review
commit 6d1c9f1ecf
1 changed files with 5 additions and 2 deletions

View File

@ -64,9 +64,12 @@ class Port(base.IronicObject, object_base.VersionedObjectDictCompat):
# @object_base.remotable_classmethod
@classmethod
def get(cls, context, port_id):
"""Find a port based on its id or uuid and return a Port object.
"""Find a port.
:param port_id: the id *or* uuid of a port.
Find a port based on its id or uuid or MAC address and return a Port
object.
:param port_id: the id *or* uuid *or* MAC address of a port.
:returns: a :class:`Port` object.
:raises: InvalidIdentity