From b464744d334ded4dba1e2fe1217457ad589b27c3 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Sat, 16 Jan 2016 10:51:13 +0800 Subject: [PATCH] Correct port_id parameter description Change-Id: I798caafbc2bffd132207c4402fa53e1922acc3a2 --- ironic/objects/port.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ironic/objects/port.py b/ironic/objects/port.py index 5e9cd8cd53..b1adf144fc 100644 --- a/ironic/objects/port.py +++ b/ironic/objects/port.py @@ -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