X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnepi%2Fresources%2Flinux%2Fgretunnel.py;h=0d4962fa15dcbaa08c851f54e4f0fd60087f09b0;hb=d50ba1a08e541ded7a8b322493ebb1d0cc59c6ff;hp=087eb7a8db4f9c8fd9aa6c3ebab093997428cbdd;hpb=4762aa96c7f41a86d919db6dac0feca2c6ca8e16;p=nepi.git diff --git a/src/nepi/resources/linux/gretunnel.py b/src/nepi/resources/linux/gretunnel.py index 087eb7a8..0d4962fa 100644 --- a/src/nepi/resources/linux/gretunnel.py +++ b/src/nepi/resources/linux/gretunnel.py @@ -30,7 +30,7 @@ import os @clsinit_copy class LinuxGRETunnel(LinuxTunnel): - _rtype = "LinuxGRETunnel" + _rtype = "linux::GRETunnel" _help = "Constructs a tunnel between two Linux endpoints using a UDP connection " _backend = "linux" @@ -72,7 +72,7 @@ class LinuxGRETunnel(LinuxTunnel): m = re.search("(\d+)% packet loss", str(out)) if not m or int(m.groups()[0]) == 100: - msg = " Erroro establishing GRE Tunnel" + msg = " Error establishing GRE Tunnel" self.error(msg, out, err) raise RuntimeError, msg