Merge "Remove useless pass from methods in type_tunnel.py"
This commit is contained in:
commit
65a3fb39a4
|
@ -53,7 +53,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
|
||||||
param ip: the IP address of the endpoint
|
param ip: the IP address of the endpoint
|
||||||
param host: the Host name of the endpoint
|
param host: the Host name of the endpoint
|
||||||
"""
|
"""
|
||||||
pass
|
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def get_endpoints(self):
|
def get_endpoints(self):
|
||||||
|
@ -62,7 +61,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
|
||||||
:returns a list of dict [{ip_address:endpoint_ip, host:endpoint_host},
|
:returns a list of dict [{ip_address:endpoint_ip, host:endpoint_host},
|
||||||
..]
|
..]
|
||||||
"""
|
"""
|
||||||
pass
|
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def get_endpoint_by_host(self, host):
|
def get_endpoint_by_host(self, host):
|
||||||
|
@ -75,7 +73,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
|
||||||
else
|
else
|
||||||
:returns None
|
:returns None
|
||||||
"""
|
"""
|
||||||
pass
|
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def get_endpoint_by_ip(self, ip):
|
def get_endpoint_by_ip(self, ip):
|
||||||
|
@ -88,7 +85,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
|
||||||
else
|
else
|
||||||
:returns None
|
:returns None
|
||||||
"""
|
"""
|
||||||
pass
|
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def delete_endpoint(self, ip):
|
def delete_endpoint(self, ip):
|
||||||
|
@ -96,7 +92,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
|
||||||
|
|
||||||
param ip: the IP address of the endpoint
|
param ip: the IP address of the endpoint
|
||||||
"""
|
"""
|
||||||
pass
|
|
||||||
|
|
||||||
def _initialize(self, raw_tunnel_ranges):
|
def _initialize(self, raw_tunnel_ranges):
|
||||||
self.tunnel_ranges = []
|
self.tunnel_ranges = []
|
||||||
|
|
Loading…
Reference in New Issue