Commiting merged branch nepi-3-dev
[nepi.git] / src / nepi / resources / linux / ping.py
index a80397b..3447658 100644 (file)
@@ -33,6 +33,7 @@ class LinuxPing(LinuxApplication):
         count = Attribute("count",
             "Sets ping -c option. Determines the number of ECHO_REQUEST "
             "packates to send before stopping.",
+            type = Types.Integer,
             flags = Flags.ExecReadOnly)
 
         mark = Attribute("mark",
@@ -193,6 +194,8 @@ class LinuxPing(LinuxApplication):
     def _start_command(self):
         args = []
 
+        args.append("echo 'Starting PING to %s' ;" % self.get("target"))
+
         if self.get("printTimestamp") == True:
             args.append("""echo "`date +'%Y%m%d%H%M%S'`";""")