Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd BinOpAdd Str SubscriptLoad AttributeLoad NameLoad attr Index Str Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Print Str Expr Call AttributeLoad NameLoad attr Print Str If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str If UnaryOpNot CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Num NameLoad If CompareNotEq Str Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A Health Check module for TFTP service. N/A os N/A socket N/A xmlrpclib compass.actions.health_check base compass.actions.health_check utils health_check_utils TftpCheck N/A N/A base BaseCheck N/A N/A tftp health check class. N/A NAME TFTP Check run N/A N/A self N/A N/A N/A do health check. N/A method_name N/A N/A self.check_ N/A N/A self os_installer N/A name _tftp() N/A N/A eval method_name N/A check_cobbler_tftp N/A N/A self N/A N/A N/A Checks if Cobbler manages TFTP service.

        :note: we assume TFTP service is running at the
        same machine where this health check runs at
         N/A N/A N/A remote N/A N/A xmlrpclib Server N/A N/A self os_installer N/A cobbler_url allow_none True N/A credentials N/A N/A self os_installer N/A credentials N/A N/A N/A remote login N/A credentials N/A username N/A credentials N/A password N/A N/A N/A Exception N/A N/A N/A N/A self _set_status 0 N/A [%s]Error: Cannot login to Cobbler with the tokens  provided in the config file N/A self NAME N/A N/A N/A self code N/A self messages N/A cobbler_settings N/A N/A remote get_settings N/A N/A N/A cobbler_settings N/A manage_tftp 0 N/A N/A N/A N/A N/A self messages append [TFTP]Info: tftp service is not managed by Compass N/A N/A 0 N/A self messages N/A N/A N/A self check_tftp_dir N/A [Done] N/A N/A N/A self check_tftp_service N/A [Done] N/A N/A N/A self code 1 N/A N/A N/A N/A N/A self messages append N/A [%s]Info: tftp service health check has completed. No problems found, all systems go. N/A self NAME N/A N/A N/A self code N/A self messages N/A check_tftp_dir N/A N/A self N/A N/A N/A Validates TFTP directories and configurations. N/A Checking TFTP directories...... N/A N/A N/A N/A N/A os path exists /var/lib/tftpboot/ N/A N/A N/A N/A self _set_status 0 N/A [%s]Error: No tftp-boot libraries found, please check if tftp server is properly installed/managed N/A self NAME N/A True N/A check_tftp_service N/A N/A self N/A N/A N/A Checks if TFTP is running on port 69. N/A Checking TFTP services...... N/A serv_err_msg N/A N/A health_check_utils check_service_running N/A self NAME xinetd N/A N/A N/A serv_err_msg N/A N/A N/A N/A self _set_status 0 serv_err_msg N/A N/A tftp N/A N/A socket getservbyport 69 N/A N/A N/A N/A self _set_status 0 N/A [%s]Error: tftp doesn't seem to be listening on Port 60. N/A self NAME N/A True N/A N/A