The pass is useless because there is a docstring in the methods.
Generally considered as uncovered by coverage tool.
Change-Id: Id1275c51e9adb865a3da9f0db007f3092b55b140
param ip: the IP address of the endpoint
param host: the Host name of the endpoint
"""
- pass
@abc.abstractmethod
def get_endpoints(self):
:returns a list of dict [{ip_address:endpoint_ip, host:endpoint_host},
..]
"""
- pass
@abc.abstractmethod
def get_endpoint_by_host(self, host):
else
:returns None
"""
- pass
@abc.abstractmethod
def get_endpoint_by_ip(self, ip):
else
:returns None
"""
- pass
@abc.abstractmethod
def delete_endpoint(self, ip):
param ip: the IP address of the endpoint
"""
- pass
def _initialize(self, raw_tunnel_ranges):
self.tunnel_ranges = []