import os
-nping_sources = dict({
- "i686": "http://nmap.org/dist/nping-0.6.25-1.i386.rpm",
- "amd64": "http://nmap.org/dist/nping-0.6.25-1.x86_64.rpm",
- })
-
@clsinit_copy
class LinuxNPing(LinuxApplication):
_rtype = "LinuxNPing"
" )"
" && %s && sudo alien -i nping.rpm ) " % install_alien)
- return ("( nping || %s )" % install)
+ return ("( nping --version || %s )" % install)
def valid_connection(self, guid):
# TODO: Validate!
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",