summaryrefslogtreecommitdiffstats
path: root/func/overlord/cmd_modules/ping.py
Commit message (Collapse)AuthorAgeFilesLines
* move command.py:BaseCommand() to it's own module, base_command.pyAdrian Likins2008-03-281-2/+2
| | | | | update the cmd_modules/* classes accordingly also cleanup some imports in the cmd_modules/* classes
* add a BaseCommand class to func/overlord/command.py.Adrian Likins2008-03-281-11/+7
| | | | | | | | | | | | | This class adds data about the default settings for the Overlord class that the various cmd_module classes were hardcoding, notable DEFAULT_PORT. update all the cmd_modules/* classes to use the new BaseCommand class. Remove any DEFAULT_PORT references. Also remove the ill advised --port option some of them had, since this doesnt really make much sense. Progress on https://fedorahosted.org/func/ticket/31
* Changing func/func/overlord/client.py:Client() to Overlord(). Client() stillAdrian Likins2008-03-281-3/+6
| | | | | | | works but will dive a deprecation warning. First pass at this refactor. I think just about everything has been updated, but some questions remain. Like if client.py needs a name change.
* Fixing func "*" ping functionality, which had an earlier reference to ↵Michael DeHaan2008-02-211-2/+2
| | | | expand_servers that is no longer supported. To do this, I've exposed an additional method in the client.minions() API. Also some more work done on func "check" command to diagnose setup problems.
* initial work on "func '*' check" command for diagnosing basic setup problems,Michael DeHaan2008-02-211-1/+1
| | | | still more to do.
* Our client.command.Command class looks for 'usage', not 'useage'Luke Macken2008-01-141-1/+1
|
* removed a lot of misplaced shebangs.Steve 'Ashcrow' Milner2008-01-131-7/+1
|
* Slight changes to make it easier to establish seperate client handles to all ↵Michael DeHaan2007-10-251-11/+16
| | | | | | | | | | servers and walk them, rather than using the Client as a multiplexer object. In most cases things won't care, but since ping is an interactive command that is not intended to ever be parsed, this gives the impression that things are more speedy for that one command. Syntax is still "func '*' ping"
* Added a ping function to the test module and a new command "func '*' ping" ↵Michael DeHaan2007-10-251-0/+70
which can be used to see what servers are contactable from the command line for any given operation, without needing to run an otherwise meaningful command on them. Note that it does try to contact each server before showing results, so ideally we should provide a method in the client class to get the system list and create the client objects seperately for each contact, so output can stream back one line at a time. TBA.