Merge "Removes get_port_by_vif"
This commit is contained in:
commit
2d59074349
@ -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):
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user