Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Num Num Assign NameStore Str FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str orelse Raise Call NameLoad Str For NameStore NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str Assign NameStore ListComp SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Slice Num comprehension NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore ListComp BinOpMod Str TupleLoad NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Call NameLoad Call NameLoad ListLoad Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Call NameLoad Call NameLoad ListLoad Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If CompareEq AttributeLoad NameLoad attr Str body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad orelse Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str orelse If CompareEq AttributeLoad NameLoad attr Str body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad orelse Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Str Assign NameStore Str orelse If CompareEq AttributeLoad NameLoad attr Str body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad orelse Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str orelse If CompareEq AttributeLoad NameLoad attr Str body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Assign NameStore Dict Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad orelse Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str orelse If CompareIn AttributeLoad NameLoad attr ListLoad Str Str Str Str body Pass orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign NameStore Dict TryExcept body Assign NameStore Dict Str Str SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str Str orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Assign NameStore ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Assign NameStore ListLoad Str Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If NameLoad body AugAssignAdd NameStore NameLoad orelse If NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareGt Call AttributeLoad NameLoad attr Num body For TupleStore NameStore NameStore NameLoad body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str orelse For TupleStore NameStore NameStore NameLoad body Print BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword UnaryOpNot AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body ImportFrom alias Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq AttributeLoad NameLoad attr Str body ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list Print Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad Print Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Print NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore ListLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotIn SubscriptLoad NameLoad Index Str NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Continue If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr body For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Str If SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body For NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Assign NameStore SubscriptLoad NameLoad Index Str If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str attr NameLoad If SubscriptLoad NameLoad Index Str body For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If NameLoad body Print NameLoad If AttributeLoad NameLoad attr body Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr For NameStore TupleLoad Str Str body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Str body Assign NameStore NameLoad orelse If CompareIn SubscriptLoad SubscriptLoad NameLoad Index Str Index Str ListLoad Str Str body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore ListLoad If SubscriptLoad NameLoad Index Str body If SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body For NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore ListLoad If SubscriptLoad NameLoad Index Str body If SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Num
N/A N/A 
Client tool for GDC Smoker daemon

See pydoc for command line tool smoker.py
 N/A argparse N/A datetime N/A glob N/A logging N/A os N/A simplejson N/A sys N/A yaml smoker.client Client N/A smoker.logger smoker.client.out_junit plugins_to_xml smoker.util.tap TapTest Tap N/A N/A N/A N/A smoker logger init syslog False N/A lg N/A N/A logging getLogger smokercli N/A COLORS N/A default magenta yellow gold red blue green cyan gray [0;0m [1;35m [1;33m [0;33m [1;31m [1;34m [1;32m [1;36m [0;37m N/A EXIT_CODES N/A ERROR WARN 69 0 N/A CONFIG_FILE /etc/smokercli.yaml _get_plugins N/A N/A N/A N/A N/A 
    Get list of available host discovery plugin module names
     N/A plugins N/A N/A conf_file N/A N/A N/A os path expanduser ~/.smokercli.yaml N/A N/A N/A N/A N/A os path exists conf_file N/A N/A conf_file CONFIG_FILE N/A N/A N/A N/A N/A os path exists conf_file N/A N/A plugins N/A N/A open conf_file f N/A N/A config N/A N/A yaml safe_load f N/A N/A config N/A plugin_paths config N/A N/A paths N/A config N/A plugin_paths N/A N/A N/A Exception Invalid config file N/A path paths N/A N/A N/A N/A module N/A __import__ path N/A N/A N/A ImportError N/A N/A N/A Exception Invalid config file N/A toplevel N/A N/A N/A os path dirname N/A module __file__ N/A submodule N/A N/A / join N/A N/A N/A path split . N/A 1 N/A plugin_dir N/A N/A N/A os path join toplevel submodule *.py N/A modules N/A N/A N/A N/A N/A os path basename name N/A -3 N/A name N/A N/A glob glob plugin_dir N/A N/A N/A modules remove __init__ N/A plugins N/A N/A %s.%s N/A path name N/A name modules N/A plugins N/A _get_plugin_arguments N/A N/A name N/A N/A N/A 
    Get list of host discovery plugin specific cmdline arguments

    :param name: plugin module name
     N/A N/A N/A plugin N/A __import__ name N/A globals N/A locals N/A HostDiscoveryPlugin N/A N/A N/A ImportError N/A e N/A N/A N/A N/A lg error N/A Can't load module %s: %s N/A name e N/A N/A N/A N/A plugin HostDiscoveryPlugin arguments N/A _add_plugin_arguments N/A N/A parser N/A N/A N/A 
    Add host discovery plugin specific options to the cmdline argument parser

    :param parser: argparse.ArgumentParser instance
     N/A plugins N/A _get_plugins N/A N/A plugins N/A N/A N/A argument_group N/A N/A parser add_argument_group Plugin arguments N/A plugin plugins N/A N/A args N/A _get_plugin_arguments plugin N/A argument args N/A N/A N/A N/A argument_group add_argument N/A argument args N/A argument kwargs N/A _run_discovery_plugin N/A N/A name args N/A N/A N/A 
    Run the host discovery plugin
    :param name: plugin module name
    :param args: attribute namespace
    :return: discovered hosts list
     N/A N/A N/A this_plugin N/A __import__ name N/A globals N/A locals N/A HostDiscoveryPlugin N/A N/A N/A ImportError N/A e N/A N/A N/A N/A lg error N/A Can't load module %s: %s N/A name e N/A N/A plugin N/A N/A this_plugin HostDiscoveryPlugin N/A N/A N/A plugin get_hosts args N/A _host_discovery N/A N/A args N/A N/A N/A 
    Run all the discovery plugins

    :param args: attribute namespace
    :return: discovered hosts list
     N/A discovered N/A N/A plugin N/A _get_plugins N/A N/A hosts N/A _run_discovery_plugin plugin args N/A hosts N/A N/A discovered hosts N/A discovered N/A main N/A N/A N/A N/A N/A 
    Main entrance
     N/A parser N/A N/A argparse ArgumentParser description Smoker client tool add_help False N/A group_action N/A N/A parser add_argument_group Action switchers N/A N/A N/A group_action add_argument -f --force dest force action store_true help Force plugins run (otherwise just print last results) N/A N/A N/A group_action add_argument -l --list dest list action store_true help List plugins N/A N/A N/A group_action add_argument -h --help dest help action store_true help Show this help and exit N/A group_main N/A N/A parser add_argument_group Target host switchers N/A N/A N/A group_main add_argument -s --hosts dest hosts nargs + help Hosts with running smokerd (default localhost) N/A group_filters N/A N/A parser add_argument_group Filters N/A N/A N/A group_filters add_argument -p --plugins dest plugins nargs + help Filter plugins by name N/A N/A N/A group_filters add_argument --exclude-plugins dest exclude_plugins nargs + help Exclude plugins by names N/A N/A N/A group_filters add_argument --filter dest filter default N/A nargs + help Filter plugins by it's parameters, eg. --filter 'Category connectors' N/A N/A N/A group_filters add_argument --exclude action store_true help Negative filters (exclude) - currently works only for one filter N/A N/A N/A group_filters add_argument --category help Filter plugins by Category parameter N/A N/A N/A group_filters add_argument --component help Filter plugins by Component parameter (eg. server) N/A N/A N/A group_filters add_argument --health action store_true help Filter plugins by Type healthCheck N/A N/A N/A group_filters add_argument --smoke action store_true help Filter plugins by Type smokeTest N/A N/A N/A group_filters add_argument --filter-status dest filter_status default N/A nargs + help Filter plugins by it's state, eg. --filter-state ERROR WARN N/A N/A N/A group_filters add_argument --nook dest state_nook action store_true help Only non-OK plugins (ERROR, WARN, UNKNOWN). Can't be used together with --filter-state N/A N/A N/A group_filters add_argument --error dest state_error action store_true help Only ERROR. Can't be used together with --filter-state N/A N/A N/A group_filters add_argument --warn --warning dest state_warn action store_true help Only WARN. Can't be used together with --filter-state N/A N/A N/A group_filters add_argument --unknown dest state_unknown action store_true help Only UNKNOWN. Can't be used together with --filter-state N/A N/A N/A group_filters add_argument --ok dest state_ok action store_true help Only OK. Can't be used together with --filter-state N/A group_output N/A N/A parser add_argument_group Output switchers N/A N/A N/A group_output add_argument -o --pretty dest pretty default normal help Output format: minimal / normal / long / full / raw / json / tap / xml N/A N/A N/A group_output add_argument --no-colors dest no_colors action store_true help Don't use colors in output N/A N/A N/A group_output add_argument --no-progress dest no_progress action store_true help Don't show progress bar N/A N/A N/A group_output add_argument -v --verbose dest verbose action store_true help Be verbose N/A N/A N/A group_output add_argument -d --debug dest debug action store_true help Debug output N/A N/A N/A group_output add_argument -e --exitcode dest exitcode action store_true help Nonzero exit code if any of plugins failed N/A N/A N/A group_output add_argument --junit-config-file dest junit_config_file help Name of configuration file for junit xml formatter N/A N/A _add_plugin_arguments parser N/A args N/A N/A parser parse_args N/A N/A args verbose N/A N/A N/A N/A lg setLevel N/A logging INFO N/A N/A args no_progress True N/A N/A args debug N/A N/A N/A N/A lg setLevel N/A logging DEBUG N/A N/A args no_progress True N/A N/A args help N/A N/A N/A N/A parser print_help N/A N/A N/A sys exit 0 N/A N/A N/A args pretty minimal N/A N/A N/A N/A args no_colors N/A N/A format_host N/A OK WARN ERROR UNKNOWN N/A %(gold)s{name:<34}%(default)s [%(green)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(yellow)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(red)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(magenta)s{status}%(default)s] COLORS N/A format_plugin N/A OK WARN ERROR UNKNOWN N/A - {name:<32} [%(yellow)s{lastResult[status]}%(default)s]   (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(red)s{lastResult[status]}%(default)s] (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(magenta)s{lastResult[status]}%(default)s] COLORS N/A format_plugin_component N/A OK WARN ERROR UNKNOWN N/A  -- {name:<30} [%(yellow)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(red)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(magenta)s{status}%(default)s] COLORS N/A N/A format_host {name:<34} [{status}] N/A format_plugin N/A OK WARN ERROR UNKNOWN - {name:<32} [{lastResult[status]}] ({lastResult[lastRun]}) - {name:<32} [{lastResult[status]}] ({lastResult[lastRun]}) - {name:<32} [{lastResult[status]}] N/A format_plugin_component N/A OK WARN ERROR UNKNOWN  -- {name:<30} [{status}]  -- {name:<30} [{status}]  -- {name:<30} [{status}] N/A format_plugin_msg N/A format_plugin_component_msg N/A format_plugin_run N/A format_plugin_param N/A N/A N/A N/A args pretty normal N/A N/A N/A N/A args no_colors N/A N/A format_host N/A OK WARN ERROR UNKNOWN N/A %(gold)s{name:<34}%(default)s [%(green)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(yellow)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(red)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(magenta)s{status}%(default)s] COLORS N/A format_plugin N/A OK WARN ERROR UNKNOWN N/A - {name:<32} [%(green)s{lastResult[status]}%(default)s]    (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(yellow)s{lastResult[status]}%(default)s]   (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(red)s{lastResult[status]}%(default)s] (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(magenta)s{lastResult[status]}%(default)s] COLORS N/A format_plugin_msg N/A info warn error N/A   [%(yellow)s{level}%(default)s] {msg} COLORS N/A   [%(red)s{level}%(default)s] {msg} COLORS N/A format_plugin_component N/A OK WARN ERROR UNKNOWN N/A  -- {name:<30} [%(yellow)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(red)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(magenta)s{status}%(default)s] COLORS N/A format_plugin_component_msg N/A info warn error N/A     [%(yellow)s{level}%(default)s] {msg} COLORS N/A     [%(red)s{level}%(default)s] {msg} COLORS N/A N/A format_host {name:<34} [{status}] N/A format_plugin - {name:<32} [{lastResult[status]}] ({lastResult[lastRun]}) N/A format_plugin_msg N/A info warn error   [{level}] {msg}   [{level}] {msg} N/A format_plugin_component N/A OK WARN ERROR UNKNOWN  -- {name:<30} [{status}]  -- {name:<30} [{status}]  -- {name:<30} [{status}] N/A format_plugin_component_msg N/A info warn error     [{level}] {msg}     [{level}] {msg} N/A format_plugin_run N/A format_plugin_param N/A N/A N/A N/A args pretty long N/A N/A N/A N/A args no_colors N/A N/A format_host N/A OK WARN ERROR UNKNOWN N/A %(gold)s{name:<34}%(default)s [%(green)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(yellow)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(red)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(magenta)s{status}%(default)s] COLORS N/A format_plugin N/A OK WARN ERROR UNKNOWN N/A - {name:<32} [%(green)s{lastResult[status]}%(default)s]    (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(yellow)s{lastResult[status]}%(default)s]   (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(red)s{lastResult[status]}%(default)s]    (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(magenta)s{lastResult[status]}%(default)s] COLORS N/A format_plugin_msg N/A info warn error N/A   [%(blue)s{level}%(default)s] {msg} COLORS N/A   [%(yellow)s{level}%(default)s] {msg} COLORS N/A   [%(red)s{level}%(default)s] {msg} COLORS N/A format_plugin_component N/A OK WARN ERROR UNKNOWN N/A  -- {name:<30} [%(green)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(yellow)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(red)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(magenta)s{status}%(default)s] COLORS N/A format_plugin_component_msg N/A info warn error N/A     [%(blue)s{level}%(default)s] {msg} COLORS N/A     [%(yellow)s{level}%(default)s] {msg} COLORS N/A     [%(red)s{level}%(default)s] {msg} COLORS N/A N/A format_host {name:<34} [{status}] N/A format_plugin - {name:<32} [{lastResult[status]}] ({lastResult[lastRun]}) N/A format_plugin_msg   [{level}] {msg} N/A format_plugin_component  -- {name:<30} [{status}] N/A format_plugin_component_msg     [{level}] {msg} N/A format_plugin_run N/A format_plugin_param N/A N/A N/A N/A args pretty full N/A N/A N/A N/A args no_colors N/A N/A format_host N/A OK WARN ERROR UNKNOWN N/A %(gold)s{name:<34}%(default)s [%(green)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(yellow)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(red)s{status}%(default)s] COLORS N/A %(gold)s{name:<34}%(default)s [%(magenta)s{status}%(default)s] COLORS N/A format_plugin N/A OK WARN ERROR UNKNOWN N/A - {name:<32} [%(green)s{lastResult[status]}%(default)s]    (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(yellow)s{lastResult[status]}%(default)s]   (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(red)s{lastResult[status]}%(default)s]    (%(gray)s{lastResult[lastRun]}%(default)s) COLORS N/A - {name:<32} [%(magenta)s{lastResult[status]}%(default)s] COLORS N/A format_plugin_msg N/A info warn error N/A   [%(blue)s{level}%(default)s] {msg} COLORS N/A   [%(yellow)s{level}%(default)s] {msg} COLORS N/A   [%(red)s{level}%(default)s] {msg} COLORS N/A format_plugin_component N/A OK WARN ERROR UNKNOWN N/A  -- {name:<30} [%(green)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(yellow)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(red)s{status}%(default)s] COLORS N/A  -- {name:<30} [%(magenta)s{status}%(default)s] COLORS N/A format_plugin_component_msg N/A info warn error N/A     [%(blue)s{level}%(default)s] {msg} COLORS N/A     [%(yellow)s{level}%(default)s] {msg} COLORS N/A     [%(red)s{level}%(default)s] {msg} COLORS N/A N/A format_host {name:<34} [{status}] N/A format_plugin - {name:<32} [{lastResult[status]}] ({lastResult[lastRun]}) N/A format_plugin_msg   [{level}] {msg} N/A format_plugin_component  -- {name:<30} [{status}] N/A format_plugin_component_msg     [{level}] {msg} N/A format_plugin_run   Last run: {lastResult[lastRun]!s}
  Next run: {nextRun!s} N/A format_plugin_param   {key:<10} {value} N/A N/A N/A N/A args pretty N/A raw json tap xml N/A N/A N/A N/A N/A N/A lg error N/A Invalid pretty output %s N/A args pretty N/A N/A N/A sys exit 1 N/A N/A args category N/A N/A N/A N/A N/A args filter append N/A Category %s N/A args category N/A N/A args component N/A N/A N/A N/A N/A args filter append N/A Component %s N/A args component N/A N/A N/A args health N/A args smoke N/A N/A N/A args health N/A N/A N/A N/A N/A args filter append Type healthCheck N/A N/A args smoke N/A N/A N/A N/A N/A args filter append Type smokeTest N/A filters N/A N/A N/A args filter N/A N/A f N/A args filter N/A N/A filter N/A N/A N/A N/A filter N/A key value N/A N/A N/A f split N/A 0 N/A N/A N/A f split N/A 1 N/A N/A N/A N/A N/A N/A lg error Invalid filter parameter format! N/A N/A N/A sys exit 1 N/A N/A N/A filters append filter N/A N/A filters N/A args plugins N/A N/A N/A N/A lg warn Plugin filter and plugin list used together. Only plugins matching both will be displayed. N/A N/A args plugins N/A N/A N/A N/A filters append N/A args plugins N/A states N/A N/A N/A args filter_status N/A N/A states N/A args filter_status N/A N/A N/A args state_nook N/A N/A states N/A ERROR WARN UNKNOWN N/A N/A N/A args state_ok N/A N/A N/A N/A states append OK N/A N/A args state_error N/A N/A N/A N/A states append ERROR N/A N/A args state_warn N/A N/A N/A N/A states append WARN N/A N/A args state_unknown N/A N/A N/A N/A states append UNKNOWN N/A N/A states N/A N/A states N/A OK ERROR WARN UNKNOWN N/A N/A N/A filters append N/A status states N/A hosts N/A localhost N/A discovered_hosts N/A _host_discovery args N/A N/A args hosts N/A N/A hosts N/A args hosts N/A discovered_hosts N/A N/A hosts discovered_hosts N/A N/A discovered_hosts N/A N/A hosts discovered_hosts N/A client N/A Client hosts N/A plugins N/A N/A client get_plugins filters filters_negative N/A args exclude exclude_plugins N/A args exclude_plugins N/A N/A plugins N/A N/A N/A N/A lg error No plugins found N/A N/A N/A sys exit 1 N/A N/A args list N/A N/A plugins_tuple N/A N/A plugins get_host_plugins N/A N/A N/A N/A plugins count_hosts 1 N/A N/A N/A host plugin plugins_tuple N/A N/A N/A %s/%s N/A N/A host N/A name N/A plugin N/A name N/A N/A N/A host plugin plugins_tuple N/A N/A N/A %s N/A plugin N/A name N/A N/A N/A sys exit 0 N/A N/A args force N/A N/A plugins N/A N/A client force_run plugins progress N/A N/A args no_progress N/A N/A N/A args pretty raw N/A pprint pprint N/A N/A pprint plugins N/A N/A N/A sys exit 0 N/A N/A N/A N/A args pretty json N/A JSONEncoder N/A N/A simplejson JSONEncoder N/A N/A 
            JSON encoder that converts datetime.datetime object to isoformat
            string
             default N/A N/A self obj N/A N/A N/A N/A isinstance obj N/A datetime datetime N/A N/A N/A N/A obj isoformat N/A N/A N/A N/A simplejson JSONEncoder default self obj N/A N/A N/A N/A N/A simplejson dumps plugins cls JSONEncoder N/A N/A N/A sys exit 0 N/A N/A N/A N/A args pretty tap N/A N/A dump N/A dump_tap plugins N/A N/A N/A dump encode ascii ignore N/A N/A N/A sys exit 0 N/A N/A N/A N/A args pretty xml N/A N/A dump N/A plugins_to_xml plugins N/A args junit_config_file N/A dump N/A N/A N/A sys exit 0 N/A output N/A N/A hosts_printed N/A N/A N/A host plugin N/A N/A plugins get_host_plugins N/A N/A N/A N/A host N/A name hosts_printed N/A N/A hosts_printed N/A N/A N/A N/A output append N/A N/A isinstance format_host dict N/A N/A N/A N/A output append N/A N/A N/A format_host N/A N/A host N/A status format host N/A N/A N/A N/A output append N/A N/A format_host format host N/A N/A N/A hosts_printed append N/A host N/A name N/A N/A N/A isinstance plugin dict N/A N/A N/A N/A isinstance format_plugin basestring N/A N/A N/A N/A output append N/A N/A format_plugin format plugin N/A N/A N/A N/A output append N/A N/A N/A format_plugin N/A N/A N/A plugin N/A lastResult N/A status format plugin N/A N/A N/A output append N/A N/A format_plugin_run format plugin N/A N/A key value N/A N/A N/A plugin N/A parameters iteritems N/A N/A N/A N/A output append N/A N/A format_plugin_param format key key value value N/A N/A N/A plugin N/A lastResult N/A messages N/A N/A N/A level message N/A N/A N/A N/A plugin N/A lastResult N/A messages iteritems N/A N/A msg message N/A N/A N/A isinstance format_plugin_msg basestring N/A N/A N/A N/A output append N/A N/A format_plugin_msg format level level msg N/A N/A msg encode utf8 N/A N/A N/A N/A output append N/A N/A N/A format_plugin_msg N/A level format level level msg N/A N/A msg encode utf8 N/A N/A N/A plugin N/A lastResult N/A componentResults N/A N/A component N/A N/A plugin N/A lastResult N/A componentResults N/A N/A component N/A component N/A componentResult N/A N/A isinstance format_plugin_component basestring N/A N/A N/A N/A output append N/A N/A format_plugin_component format component N/A N/A N/A N/A output append N/A N/A N/A format_plugin_component N/A N/A component N/A status format component N/A N/A component N/A messages N/A N/A N/A level message N/A N/A N/A component N/A messages iteritems N/A N/A msg message N/A N/A N/A isinstance format_plugin_component_msg basestring N/A N/A N/A N/A output append N/A N/A format_plugin_component_msg format level level msg N/A N/A msg encode utf8 N/A N/A N/A N/A output append N/A N/A N/A format_plugin_component_msg N/A level format level level msg N/A N/A msg encode utf8 N/A line output N/A N/A line N/A N/A line N/A N/A args exitcode N/A N/A statuses N/A N/A host N/A status N/A N/A host _ N/A N/A plugins get_host_plugins N/A status N/A ERROR WARN N/A N/A N/A status statuses N/A N/A N/A N/A sys exit N/A EXIT_CODES N/A status N/A dump_tap N/A N/A plugins N/A N/A N/A 
    Dump plugins result to TAP
    Take OK and also WARN statuses as ok
    Print only error and warn results
     N/A tap N/A Tap N/A name N/A sorted plugins N/A N/A host N/A plugins N/A name N/A N/A N/A host N/A status N/A OK WARN N/A N/A host_ok True N/A N/A host_ok False N/A tap_host N/A TapTest name host_ok N/A N/A N/A tap add_test tap_host N/A key N/A sorted N/A host N/A plugins N/A N/A plugin N/A N/A host N/A plugins N/A key N/A N/A N/A plugin N/A lastResult N/A N/A plugin_ok False N/A N/A N/A N/A N/A plugin N/A lastResult N/A status N/A OK WARN N/A N/A plugin_ok True N/A N/A plugin_ok False N/A messages N/A N/A N/A plugin N/A lastResult N/A N/A N/A N/A plugin N/A lastResult N/A messages N/A N/A messages N/A N/A plugin N/A lastResult N/A messages N/A tap_plugin N/A TapTest N/A plugin N/A name plugin_ok messages N/A N/A N/A tap_host add_subtest tap_plugin N/A N/A N/A plugin N/A lastResult N/A N/A plugin N/A lastResult N/A componentResults N/A N/A component N/A N/A plugin N/A lastResult N/A componentResults N/A N/A component N/A component N/A componentResult N/A N/A N/A component N/A status N/A OK WARN N/A N/A component_ok True N/A N/A component_ok False N/A messages N/A N/A N/A component N/A messages N/A N/A N/A component N/A messages N/A N/A messages N/A component N/A messages N/A tap_component N/A TapTest N/A component N/A name component_ok messages N/A N/A N/A tap_plugin add_subtest tap_component N/A N/A N/A tap dump N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A main N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A sys exit 1