Module Expr Str Import alias Import alias Import alias ClassDef bases AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Dict Str ListLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str Return ListComp SubscriptLoad Call AttributeLoad NameLoad attr Index Num comprehension NameStore Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str attr attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp SubscriptLoad Call AttributeLoad NameLoad attr Index Num comprehension NameStore Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str attr attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Str orelse Expr Call AttributeLoad NameLoad attr Str Str If CompareEq NameLoad Str body Return CompareIn Call AttributeLoad NameLoad attr Str NameLoad orelse Return CompareNotIn Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad NameLoad attr Str Return NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Str body If NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str Str body If NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Str orelse Expr Call AttributeLoad NameLoad attr Str Str Return BoolOpAnd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad Call AttributeLoad NameLoad attr Str attr If CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Return NameLoad Assign NameStore CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str If BoolOpAnd BoolOpAnd CompareEq Call AttributeLoad NameLoad attr Str Str UnaryOpNot NameLoad CompareEq Call AttributeLoad NameLoad attr Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd BoolOpOr CompareEq Call AttributeLoad NameLoad attr Str Str NameLoad CompareEq Call AttributeLoad NameLoad attr Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Return BoolOpAnd NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad NameLoad attr Return ListComp Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Str keyword NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad decorator_list decorator_list
N/A N/A This is rc-update support. N/A os N/A Bcfg2.Client.Tools N/A Bcfg2.Client.XML RcUpdate N/A N/A N/A N/A Bcfg2 Client Tools SvcTool N/A N/A RcUpdate support for Bcfg2. N/A name RcUpdate N/A __execs__ N/A /sbin/rc-update /bin/rc-status N/A __handles__ N/A N/A Service rc-update N/A __req__ N/A Service N/A name status get_enabled_svcs N/A N/A self N/A N/A N/A 
        Return a list of all enabled services.
         N/A N/A N/A N/A N/A line split N/A 0 N/A line N/A N/A N/A N/A N/A N/A self cmd run N/A /bin/rc-status -s stdout splitlines N/A started line N/A get_default_svcs N/A N/A self N/A N/A N/A Return a list of services in the 'default' runlevel. N/A N/A N/A N/A N/A line split N/A 0 N/A line N/A N/A N/A N/A N/A N/A self cmd run N/A /sbin/rc-update show stdout splitlines N/A default line N/A verify_bootstatus N/A N/A self entry bootstatus N/A N/A N/A Verify bootstatus for entry. N/A allsrv N/A N/A self get_default_svcs N/A N/A N/A N/A entry get name allsrv N/A N/A N/A N/A entry set current_bootstatus on N/A N/A N/A N/A entry set current_bootstatus off N/A N/A bootstatus on N/A N/A N/A N/A N/A entry get name allsrv N/A N/A N/A N/A N/A entry get name allsrv N/A VerifyService N/A N/A self entry _ N/A N/A N/A 
        Verify Service status for entry.
        Assumes we run in the "default" runlevel.

         N/A N/A N/A entry set target_status N/A N/A entry get status N/A bootstatus N/A N/A self get_bootstatus entry N/A N/A bootstatus None N/A N/A True N/A current_bootstatus N/A N/A self verify_bootstatus entry bootstatus N/A N/A N/A N/A N/A os stat N/A /etc/init.d/%s N/A N/A entry get name N/A N/A N/A OSError N/A N/A N/A N/A N/A self logger debug N/A Init script for service %s does not exist N/A N/A entry get name N/A False N/A N/A N/A N/A entry get status ignore N/A N/A current_svcstatus True N/A svcstatus True N/A N/A svcstatus N/A N/A self check_service entry N/A N/A N/A N/A entry get status on N/A N/A svcstatus N/A N/A current_svcstatus True N/A N/A current_svcstatus False N/A N/A N/A N/A N/A entry get status off N/A N/A svcstatus N/A N/A current_svcstatus False N/A N/A current_svcstatus True N/A svcstatus N/A N/A N/A N/A entry set current_status on N/A N/A N/A N/A entry set current_status off N/A N/A current_bootstatus current_svcstatus N/A InstallService N/A N/A self entry N/A N/A N/A Install Service entry. N/A N/A N/A N/A self logger info N/A Installing Service %s N/A N/A entry get name N/A bootstatus N/A N/A self get_bootstatus entry N/A N/A bootstatus None N/A N/A N/A bootstatus on N/A N/A bootcmd /sbin/rc-update add %s default N/A N/A N/A bootstatus off N/A N/A bootcmd /sbin/rc-update del %s default N/A bootcmdrv N/A N/A N/A N/A self cmd run N/A bootcmd N/A N/A entry get name success N/A N/A N/A N/A N/A Bcfg2 Options setup service_mode disabled N/A N/A bootcmdrv N/A buildmode N/A N/A N/A N/A Bcfg2 Options setup service_mode build N/A N/A N/A N/A N/A N/A entry get status on N/A buildmode N/A N/A N/A entry get current_status off N/A N/A svccmdrv N/A N/A self start_service entry N/A N/A N/A N/A N/A N/A N/A entry get status off buildmode N/A N/A N/A entry get current_status on N/A N/A svccmdrv N/A N/A self stop_service entry N/A N/A svccmdrv True N/A N/A bootcmdrv svccmdrv N/A N/A True N/A FindExtra N/A N/A self N/A N/A N/A Locate extra rc-update services. N/A allsrv N/A N/A self get_enabled_svcs N/A N/A N/A N/A self logger debug Found active services: N/A N/A N/A N/A self logger debug allsrv N/A specified N/A N/A N/A srv get name N/A srv N/A N/A self getSupportedEntries N/A N/A N/A N/A N/A N/A Bcfg2 Client XML Element Service type rc-update name name N/A name allsrv N/A name specified N/A N/A