403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/landscape/manager/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/landscape/manager/service.pyc

}9Rc@sddlmZddlmZmZddlmZddlmZddl	m
Z
ddlmZdefdYZ
d	Zd
S(i(t
namedClass(tLandscapeServicetrun_landscape_service(tManagerConfiguration(tRemoteBrokerConnector(tComponentPublisher(tManagertManagerServicecBs;eZdZejZdZdZdZdZ	RS(sm
    The core Twisted Service which creates and runs all necessary managing
    components when started.
    cCs_tt|j||j|_t|j|j|_t	|j|j|j|_
dS(N(tsuperRt__init__tget_pluginstpluginsRtreactortconfigtmanagerRt	publisher(tselfR
((s=/usr/lib/python2.7/dist-packages/landscape/manager/service.pyR	s
cCs6g|jjD]%}td|j|f^q
S(sAReturn instances of all the plugins enabled in the configuration.slandscape.manager.%s.%s(R
tplugin_factoriesRtlower(Rtplugin_name((s=/usr/lib/python2.7/dist-packages/landscape/manager/service.pyR
scscttjjjfd}tjj_jj	}|j
|S(sStart the manager service.

        This method does 3 things, in this order:

          - Start listening for connections on the manager socket.
          - Connect to the broker.
          - Add all configured plugins, that will in turn register themselves.
        csL|_|j_x!jD]}jj|qWjjjS(N(tbrokerRRtaddtregister_clienttservice_name(Rtplugin(R(s=/usr/lib/python2.7/dist-packages/landscape/manager/service.pyt
start_plugins+s
	(RRtstartServiceRtstartRRR
t	connectortconnecttaddCallback(RRt	connected((Rs=/usr/lib/python2.7/dist-packages/landscape/manager/service.pyRs	
cCs1|jj|jjtt|jdS(s:Stop the manager and close the connection with the broker.N(Rt
disconnectRtstopRRtstopService(R((s=/usr/lib/python2.7/dist-packages/landscape/manager/service.pyR"6s

(
t__name__t
__module__t__doc__RtnameRR	R
RR"(((s=/usr/lib/python2.7/dist-packages/landscape/manager/service.pyR
s				cCsttt|dS(N(RRR(targs((s=/usr/lib/python2.7/dist-packages/landscape/manager/service.pytrun=sN(ttwisted.python.reflectRtlandscape.serviceRRtlandscape.manager.configRtlandscape.broker.ampRt
landscape.ampRtlandscape.manager.managerRRR((((s=/usr/lib/python2.7/dist-packages/landscape/manager/service.pyt<module>s3

Youez - 2016 - github.com/yon3zu
LinuXploit