Merge "Removes get_port_by_vif"

This commit is contained in:
Jenkins 2014-08-18 11:39:10 +00:00 committed by Gerrit Code Review
commit 2d59074349
2 changed files with 0 additions and 12 deletions

View File

@ -213,14 +213,6 @@ class Connection(object):
:returns: A port.
"""
@abc.abstractmethod
def get_port_by_vif(self, vif):
"""Return the port corresponding to this VIF.
:param vif: The uuid of the VIF.
:returns: A port.
"""
@abc.abstractmethod
def get_port_list(self, limit=None, marker=None,
sort_key=None, sort_dir=None):

View File

@ -377,10 +377,6 @@ class Connection(api.Connection):
except NoResultFound:
raise exception.PortNotFound(port=address)
@objects.objectify(objects.Port)
def get_port_by_vif(self, vif):
pass
def get_port_list(self, limit=None, marker=None,
sort_key=None, sort_dir=None):
return _paginate_query(models.Port, limit, marker,