X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Flinux%2Ftunnel.py;h=c0e4a7324082faa1c9ef9082b40f9aa300e52baf;hb=47bfadde39e0d22c3df7e2bd1cd4d52f07ad8c0a;hp=5f8b7f8f5a95cdc6f63fec3437ebda1cbb972ecb;hpb=0fb87d99cce02d9806a4557459e279d96a975b08;p=nepi.git diff --git a/src/nepi/resources/linux/tunnel.py b/src/nepi/resources/linux/tunnel.py index 5f8b7f8f..c0e4a732 100644 --- a/src/nepi/resources/linux/tunnel.py +++ b/src/nepi/resources/linux/tunnel.py @@ -46,12 +46,7 @@ class LinuxTunnel(LinuxApplication): def get_endpoints(self): """ Returns the list of RM that are endpoints to the tunnel """ - connected = [] - for guid in self.connections: - rm = self.ec.get_resource(guid) - if hasattr(rm, "udp_connect_command"): - connected.append(rm) - return connected + raise NotImplementedError @property def endpoint1(self):