some doc structure changes
This commit is contained in:
parent
16e76efdf8
commit
ce758c3d7b
79 changed files with 1678 additions and 1300 deletions
|
|
@ -1,115 +1,117 @@
|
|||
lib lib-module.html
|
||||
lib.__package__ lib-module.html#__package__
|
||||
lib.config lib.config-module.html
|
||||
lib.config.__package__ lib.config-module.html#__package__
|
||||
lib.config.config lib.config.config-module.html
|
||||
lib.config.config.parsePeriodList lib.config.periods-module.html#parsePeriodList
|
||||
lib.config.config.serviceList lib.config.services-module.html#serviceList
|
||||
lib.config.config.parseMemberList lib.config.members-module.html#parseMemberList
|
||||
lib.config.config.parseHostList lib.config.hosts-module.html#parseHostList
|
||||
lib.config.config.__package__ lib.config.config-module.html#__package__
|
||||
lib.config.config.parseFilterList lib.config.filters-module.html#parseFilterList
|
||||
lib.config.config.parseHostGroupList lib.config.hostgroups-module.html#parseHostGroupList
|
||||
lib.config.filters lib.config.filters-module.html
|
||||
lib.config.filters.parseFilterList lib.config.filters-module.html#parseFilterList
|
||||
lib.config.filters.__package__ lib.config.filters-module.html#__package__
|
||||
lib.config.hostgroups lib.config.hostgroups-module.html
|
||||
lib.config.hostgroups.parseHostGroupList lib.config.hostgroups-module.html#parseHostGroupList
|
||||
lib.config.hostgroups.__package__ lib.config.hostgroups-module.html#__package__
|
||||
lib.config.hosts lib.config.hosts-module.html
|
||||
lib.config.hosts.parseHostList lib.config.hosts-module.html#parseHostList
|
||||
lib.config.hosts.__package__ lib.config.hosts-module.html#__package__
|
||||
lib.config.layouts lib.config.layouts-module.html
|
||||
lib.config.members lib.config.members-module.html
|
||||
lib.config.members.parseMemberList lib.config.members-module.html#parseMemberList
|
||||
lib.config.members.__package__ lib.config.members-module.html#__package__
|
||||
lib.config.periods lib.config.periods-module.html
|
||||
lib.config.periods.parsePeriodList lib.config.periods-module.html#parsePeriodList
|
||||
lib.config.periods.__package__ lib.config.periods-module.html#__package__
|
||||
lib.config.services lib.config.services-module.html
|
||||
lib.config.services.serviceList lib.config.services-module.html#serviceList
|
||||
lib.config.services.__package__ lib.config.services-module.html#__package__
|
||||
lib.core lib.core-module.html
|
||||
lib.core.__package__ lib.core-module.html#__package__
|
||||
lib.core.command lib.core.command-module.html
|
||||
lib.core.command.__package__ lib.core.command-module.html#__package__
|
||||
lib.core.daemon lib.core.daemon-module.html
|
||||
lib.core.daemon.__package__ lib.core.daemon-module.html#__package__
|
||||
lib.core.job lib.core.job-module.html
|
||||
lib.core.job.__package__ lib.core.job-module.html#__package__
|
||||
lib.core.linspector_daemon lib.core.linspector_daemon-module.html
|
||||
lib.core.linspector_daemon.__package__ lib.core.linspector_daemon-module.html#__package__
|
||||
lib.core.logger lib.core.logger-module.html
|
||||
lib.core.logger.__package__ lib.core.logger-module.html#__package__
|
||||
lib.config.config.Config lib.config.config.Config-class.html
|
||||
lib.config.config.Config.__init__ lib.config.config.Config-class.html#__init__
|
||||
lib.config.filters.Filter lib.config.filters.Filter-class.html
|
||||
lib.config.filters.Filter.clone lib.config.filters.Filter-class.html#clone
|
||||
lib.config.filters.Filter.__str__ lib.config.filters.Filter-class.html#__str__
|
||||
lib.config.filters.Filter.__init__ lib.config.filters.Filter-class.html#__init__
|
||||
lib.config.hostgroups.HostGroup lib.config.hostgroups.HostGroup-class.html
|
||||
lib.config.hostgroups.HostGroup.__str__ lib.config.hostgroups.HostGroup-class.html#__str__
|
||||
lib.config.hostgroups.HostGroup.__init__ lib.config.hostgroups.HostGroup-class.html#__init__
|
||||
lib.config.hostgroups.HostGroupService lib.config.hostgroups.HostGroupService-class.html
|
||||
lib.config.hostgroups.HostGroupService.__str__ lib.config.hostgroups.HostGroupService-class.html#__str__
|
||||
lib.config.hostgroups.HostGroupService.__init__ lib.config.hostgroups.HostGroupService-class.html#__init__
|
||||
lib.config.hosts.Host lib.config.hosts.Host-class.html
|
||||
lib.config.hosts.Host.__str__ lib.config.hosts.Host-class.html#__str__
|
||||
lib.config.hosts.Host.__init__ lib.config.hosts.Host-class.html#__init__
|
||||
lib.config.hosts.HostService lib.config.hosts.HostService-class.html
|
||||
lib.config.hosts.HostService.setCommand lib.config.hosts.HostService-class.html#setCommand
|
||||
lib.config.hosts.HostService.__str__ lib.config.hosts.HostService-class.html#__str__
|
||||
lib.config.hosts.HostService.getCommand lib.config.hosts.HostService-class.html#getCommand
|
||||
lib.config.hosts.HostService.__init__ lib.config.hosts.HostService-class.html#__init__
|
||||
lib.config.layouts.Layout lib.config.layouts.Layout-class.html
|
||||
lib.config.layouts.Layout.__str__ lib.config.layouts.Layout-class.html#__str__
|
||||
lib.config.layouts.Layout.__init__ lib.config.layouts.Layout-class.html#__init__
|
||||
lib.config.layouts.LayoutList lib.config.layouts.LayoutList-class.html
|
||||
lib.config.layouts.LayoutList.__str__ lib.config.layouts.LayoutList-class.html#__str__
|
||||
lib.config.layouts.LayoutList.__init__ lib.config.layouts.LayoutList-class.html#__init__
|
||||
lib.config.members.Member lib.config.members.Member-class.html
|
||||
lib.config.members.Member.__str__ lib.config.members.Member-class.html#__str__
|
||||
lib.config.members.Member.__init__ lib.config.members.Member-class.html#__init__
|
||||
lib.config.members.MemberFilter lib.config.members.MemberFilter-class.html
|
||||
lib.config.members.MemberFilter.__str__ lib.config.members.MemberFilter-class.html#__str__
|
||||
lib.config.members.MemberFilter.__init__ lib.config.members.MemberFilter-class.html#__init__
|
||||
lib.config.periods.Period lib.config.periods.Period-class.html
|
||||
lib.config.periods.Period.__str__ lib.config.periods.Period-class.html#__str__
|
||||
lib.config.periods.Period.__init__ lib.config.periods.Period-class.html#__init__
|
||||
lib.config.services.Service lib.config.services.Service-class.html
|
||||
lib.config.services.Service.clone lib.config.services.Service-class.html#clone
|
||||
lib.config.services.Service.__str__ lib.config.services.Service-class.html#__str__
|
||||
lib.config.services.Service.__init__ lib.config.services.Service-class.html#__init__
|
||||
lib.core.command.Command lib.core.command.Command-class.html
|
||||
lib.core.command.Command.getError lib.core.command.Command-class.html#getError
|
||||
lib.core.command.Command.__str__ lib.core.command.Command-class.html#__str__
|
||||
lib.core.command.Command.getOutput lib.core.command.Command-class.html#getOutput
|
||||
lib.core.command.Command.hasProcessed lib.core.command.Command-class.html#hasProcessed
|
||||
lib.core.command.Command.doProcess lib.core.command.Command-class.html#doProcess
|
||||
lib.core.command.Command.__init__ lib.core.command.Command-class.html#__init__
|
||||
lib.core.daemon.Daemon lib.core.daemon.Daemon-class.html
|
||||
lib.core.daemon.Daemon.delpid lib.core.daemon.Daemon-class.html#delpid
|
||||
lib.core.daemon.Daemon.run lib.core.daemon.Daemon-class.html#run
|
||||
lib.core.daemon.Daemon.stop lib.core.daemon.Daemon-class.html#stop
|
||||
lib.core.daemon.Daemon.start lib.core.daemon.Daemon-class.html#start
|
||||
lib.core.daemon.Daemon.daemonize lib.core.daemon.Daemon-class.html#daemonize
|
||||
lib.core.daemon.Daemon.__init__ lib.core.daemon.Daemon-class.html#__init__
|
||||
lib.core.daemon.Daemon.restart lib.core.daemon.Daemon-class.html#restart
|
||||
lib.core.job.Job lib.core.job.Job-class.html
|
||||
lib.core.job.Job.__init__ lib.core.job.Job-class.html#__init__
|
||||
lib.core.linspector_daemon.LinspectorDaemon lib.core.linspector_daemon.LinspectorDaemon-class.html
|
||||
lib.core.daemon.Daemon.delpid lib.core.daemon.Daemon-class.html#delpid
|
||||
lib.core.linspector_daemon.LinspectorDaemon.run lib.core.linspector_daemon.LinspectorDaemon-class.html#run
|
||||
lib.core.daemon.Daemon.stop lib.core.daemon.Daemon-class.html#stop
|
||||
lib.core.daemon.Daemon.start lib.core.daemon.Daemon-class.html#start
|
||||
lib.core.daemon.Daemon.daemonize lib.core.daemon.Daemon-class.html#daemonize
|
||||
lib.core.daemon.Daemon.restart lib.core.daemon.Daemon-class.html#restart
|
||||
lib.core.daemon.Daemon.__init__ lib.core.daemon.Daemon-class.html#__init__
|
||||
lib.core.logger.Logger lib.core.logger.Logger-class.html
|
||||
lib.core.logger.Logger.c lib.core.logger.Logger-class.html#c
|
||||
lib.core.logger.Logger.e lib.core.logger.Logger-class.html#e
|
||||
lib.core.logger.Logger.d lib.core.logger.Logger-class.html#d
|
||||
lib.core.logger.Logger.i lib.core.logger.Logger-class.html#i
|
||||
lib.core.logger.Logger.w lib.core.logger.Logger-class.html#w
|
||||
lib.core.logger.Logger.close lib.core.logger.Logger-class.html#close
|
||||
lib.core.logger.Logger.__init__ lib.core.logger.Logger-class.html#__init__
|
||||
linspector linspector-module.html
|
||||
linspector.__package__ linspector-module.html#__package__
|
||||
linspector.lib linspector.lib-module.html
|
||||
linspector.lib.__package__ linspector.lib-module.html#__package__
|
||||
linspector.lib.config linspector.lib.config-module.html
|
||||
linspector.lib.config.__package__ linspector.lib.config-module.html#__package__
|
||||
linspector.lib.config.config linspector.lib.config.config-module.html
|
||||
linspector.lib.config.config.parsePeriodList linspector.lib.config.periods-module.html#parsePeriodList
|
||||
linspector.lib.config.config.serviceList linspector.lib.config.services-module.html#serviceList
|
||||
linspector.lib.config.config.parseMemberList linspector.lib.config.members-module.html#parseMemberList
|
||||
linspector.lib.config.config.parseHostList linspector.lib.config.hosts-module.html#parseHostList
|
||||
linspector.lib.config.config.__package__ linspector.lib.config.config-module.html#__package__
|
||||
linspector.lib.config.config.parseFilterList linspector.lib.config.filters-module.html#parseFilterList
|
||||
linspector.lib.config.config.parseHostGroupList linspector.lib.config.hostgroups-module.html#parseHostGroupList
|
||||
linspector.lib.config.filters linspector.lib.config.filters-module.html
|
||||
linspector.lib.config.filters.parseFilterList linspector.lib.config.filters-module.html#parseFilterList
|
||||
linspector.lib.config.filters.__package__ linspector.lib.config.filters-module.html#__package__
|
||||
linspector.lib.config.hostgroups linspector.lib.config.hostgroups-module.html
|
||||
linspector.lib.config.hostgroups.parseHostGroupList linspector.lib.config.hostgroups-module.html#parseHostGroupList
|
||||
linspector.lib.config.hostgroups.__package__ linspector.lib.config.hostgroups-module.html#__package__
|
||||
linspector.lib.config.hosts linspector.lib.config.hosts-module.html
|
||||
linspector.lib.config.hosts.parseHostList linspector.lib.config.hosts-module.html#parseHostList
|
||||
linspector.lib.config.hosts.__package__ linspector.lib.config.hosts-module.html#__package__
|
||||
linspector.lib.config.layouts linspector.lib.config.layouts-module.html
|
||||
linspector.lib.config.members linspector.lib.config.members-module.html
|
||||
linspector.lib.config.members.parseMemberList linspector.lib.config.members-module.html#parseMemberList
|
||||
linspector.lib.config.members.__package__ linspector.lib.config.members-module.html#__package__
|
||||
linspector.lib.config.periods linspector.lib.config.periods-module.html
|
||||
linspector.lib.config.periods.parsePeriodList linspector.lib.config.periods-module.html#parsePeriodList
|
||||
linspector.lib.config.periods.__package__ linspector.lib.config.periods-module.html#__package__
|
||||
linspector.lib.config.services linspector.lib.config.services-module.html
|
||||
linspector.lib.config.services.serviceList linspector.lib.config.services-module.html#serviceList
|
||||
linspector.lib.config.services.__package__ linspector.lib.config.services-module.html#__package__
|
||||
linspector.lib.core linspector.lib.core-module.html
|
||||
linspector.lib.core.__package__ linspector.lib.core-module.html#__package__
|
||||
linspector.lib.core.command linspector.lib.core.command-module.html
|
||||
linspector.lib.core.command.__package__ linspector.lib.core.command-module.html#__package__
|
||||
linspector.lib.core.daemon linspector.lib.core.daemon-module.html
|
||||
linspector.lib.core.daemon.__package__ linspector.lib.core.daemon-module.html#__package__
|
||||
linspector.lib.core.job linspector.lib.core.job-module.html
|
||||
linspector.lib.core.job.__package__ linspector.lib.core.job-module.html#__package__
|
||||
linspector.lib.core.linspector_daemon linspector.lib.core.linspector_daemon-module.html
|
||||
linspector.lib.core.linspector_daemon.__package__ linspector.lib.core.linspector_daemon-module.html#__package__
|
||||
linspector.lib.core.logger linspector.lib.core.logger-module.html
|
||||
linspector.lib.core.logger.__package__ linspector.lib.core.logger-module.html#__package__
|
||||
linspector.lib.config.config.Config linspector.lib.config.config.Config-class.html
|
||||
linspector.lib.config.config.Config.__init__ linspector.lib.config.config.Config-class.html#__init__
|
||||
linspector.lib.config.filters.Filter linspector.lib.config.filters.Filter-class.html
|
||||
linspector.lib.config.filters.Filter.clone linspector.lib.config.filters.Filter-class.html#clone
|
||||
linspector.lib.config.filters.Filter.__str__ linspector.lib.config.filters.Filter-class.html#__str__
|
||||
linspector.lib.config.filters.Filter.__init__ linspector.lib.config.filters.Filter-class.html#__init__
|
||||
linspector.lib.config.hostgroups.HostGroup linspector.lib.config.hostgroups.HostGroup-class.html
|
||||
linspector.lib.config.hostgroups.HostGroup.__str__ linspector.lib.config.hostgroups.HostGroup-class.html#__str__
|
||||
linspector.lib.config.hostgroups.HostGroup.__init__ linspector.lib.config.hostgroups.HostGroup-class.html#__init__
|
||||
linspector.lib.config.hostgroups.HostGroupService linspector.lib.config.hostgroups.HostGroupService-class.html
|
||||
linspector.lib.config.hostgroups.HostGroupService.__str__ linspector.lib.config.hostgroups.HostGroupService-class.html#__str__
|
||||
linspector.lib.config.hostgroups.HostGroupService.__init__ linspector.lib.config.hostgroups.HostGroupService-class.html#__init__
|
||||
linspector.lib.config.hosts.Host linspector.lib.config.hosts.Host-class.html
|
||||
linspector.lib.config.hosts.Host.__str__ linspector.lib.config.hosts.Host-class.html#__str__
|
||||
linspector.lib.config.hosts.Host.__init__ linspector.lib.config.hosts.Host-class.html#__init__
|
||||
linspector.lib.config.hosts.HostService linspector.lib.config.hosts.HostService-class.html
|
||||
linspector.lib.config.hosts.HostService.setCommand linspector.lib.config.hosts.HostService-class.html#setCommand
|
||||
linspector.lib.config.hosts.HostService.__str__ linspector.lib.config.hosts.HostService-class.html#__str__
|
||||
linspector.lib.config.hosts.HostService.getCommand linspector.lib.config.hosts.HostService-class.html#getCommand
|
||||
linspector.lib.config.hosts.HostService.__init__ linspector.lib.config.hosts.HostService-class.html#__init__
|
||||
linspector.lib.config.layouts.Layout linspector.lib.config.layouts.Layout-class.html
|
||||
linspector.lib.config.layouts.Layout.__str__ linspector.lib.config.layouts.Layout-class.html#__str__
|
||||
linspector.lib.config.layouts.Layout.__init__ linspector.lib.config.layouts.Layout-class.html#__init__
|
||||
linspector.lib.config.layouts.LayoutList linspector.lib.config.layouts.LayoutList-class.html
|
||||
linspector.lib.config.layouts.LayoutList.__str__ linspector.lib.config.layouts.LayoutList-class.html#__str__
|
||||
linspector.lib.config.layouts.LayoutList.__init__ linspector.lib.config.layouts.LayoutList-class.html#__init__
|
||||
linspector.lib.config.members.Member linspector.lib.config.members.Member-class.html
|
||||
linspector.lib.config.members.Member.__str__ linspector.lib.config.members.Member-class.html#__str__
|
||||
linspector.lib.config.members.Member.__init__ linspector.lib.config.members.Member-class.html#__init__
|
||||
linspector.lib.config.members.MemberFilter linspector.lib.config.members.MemberFilter-class.html
|
||||
linspector.lib.config.members.MemberFilter.__str__ linspector.lib.config.members.MemberFilter-class.html#__str__
|
||||
linspector.lib.config.members.MemberFilter.__init__ linspector.lib.config.members.MemberFilter-class.html#__init__
|
||||
linspector.lib.config.periods.Period linspector.lib.config.periods.Period-class.html
|
||||
linspector.lib.config.periods.Period.__str__ linspector.lib.config.periods.Period-class.html#__str__
|
||||
linspector.lib.config.periods.Period.__init__ linspector.lib.config.periods.Period-class.html#__init__
|
||||
linspector.lib.config.services.Service linspector.lib.config.services.Service-class.html
|
||||
linspector.lib.config.services.Service.clone linspector.lib.config.services.Service-class.html#clone
|
||||
linspector.lib.config.services.Service.__str__ linspector.lib.config.services.Service-class.html#__str__
|
||||
linspector.lib.config.services.Service.__init__ linspector.lib.config.services.Service-class.html#__init__
|
||||
linspector.lib.core.command.Command linspector.lib.core.command.Command-class.html
|
||||
linspector.lib.core.command.Command.getError linspector.lib.core.command.Command-class.html#getError
|
||||
linspector.lib.core.command.Command.__str__ linspector.lib.core.command.Command-class.html#__str__
|
||||
linspector.lib.core.command.Command.getOutput linspector.lib.core.command.Command-class.html#getOutput
|
||||
linspector.lib.core.command.Command.hasProcessed linspector.lib.core.command.Command-class.html#hasProcessed
|
||||
linspector.lib.core.command.Command.doProcess linspector.lib.core.command.Command-class.html#doProcess
|
||||
linspector.lib.core.command.Command.__init__ linspector.lib.core.command.Command-class.html#__init__
|
||||
linspector.lib.core.daemon.Daemon linspector.lib.core.daemon.Daemon-class.html
|
||||
linspector.lib.core.daemon.Daemon.delpid linspector.lib.core.daemon.Daemon-class.html#delpid
|
||||
linspector.lib.core.daemon.Daemon.run linspector.lib.core.daemon.Daemon-class.html#run
|
||||
linspector.lib.core.daemon.Daemon.stop linspector.lib.core.daemon.Daemon-class.html#stop
|
||||
linspector.lib.core.daemon.Daemon.start linspector.lib.core.daemon.Daemon-class.html#start
|
||||
linspector.lib.core.daemon.Daemon.daemonize linspector.lib.core.daemon.Daemon-class.html#daemonize
|
||||
linspector.lib.core.daemon.Daemon.__init__ linspector.lib.core.daemon.Daemon-class.html#__init__
|
||||
linspector.lib.core.daemon.Daemon.restart linspector.lib.core.daemon.Daemon-class.html#restart
|
||||
linspector.lib.core.job.Job linspector.lib.core.job.Job-class.html
|
||||
linspector.lib.core.job.Job.__init__ linspector.lib.core.job.Job-class.html#__init__
|
||||
linspector.lib.core.linspector_daemon.LinspectorDaemon linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html
|
||||
linspector.lib.core.daemon.Daemon.delpid linspector.lib.core.daemon.Daemon-class.html#delpid
|
||||
linspector.lib.core.linspector_daemon.LinspectorDaemon.run linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html#run
|
||||
linspector.lib.core.daemon.Daemon.stop linspector.lib.core.daemon.Daemon-class.html#stop
|
||||
linspector.lib.core.daemon.Daemon.start linspector.lib.core.daemon.Daemon-class.html#start
|
||||
linspector.lib.core.daemon.Daemon.daemonize linspector.lib.core.daemon.Daemon-class.html#daemonize
|
||||
linspector.lib.core.daemon.Daemon.restart linspector.lib.core.daemon.Daemon-class.html#restart
|
||||
linspector.lib.core.daemon.Daemon.__init__ linspector.lib.core.daemon.Daemon-class.html#__init__
|
||||
linspector.lib.core.logger.Logger linspector.lib.core.logger.Logger-class.html
|
||||
linspector.lib.core.logger.Logger.c linspector.lib.core.logger.Logger-class.html#c
|
||||
linspector.lib.core.logger.Logger.e linspector.lib.core.logger.Logger-class.html#e
|
||||
linspector.lib.core.logger.Logger.d linspector.lib.core.logger.Logger-class.html#d
|
||||
linspector.lib.core.logger.Logger.i linspector.lib.core.logger.Logger-class.html#i
|
||||
linspector.lib.core.logger.Logger.w linspector.lib.core.logger.Logger-class.html#w
|
||||
linspector.lib.core.logger.Logger.close linspector.lib.core.logger.Logger-class.html#close
|
||||
linspector.lib.core.logger.Logger.__init__ linspector.lib.core.logger.Logger-class.html#__init__
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th bgcolor="#70b0f0" class="navbar-select"
|
||||
|
|
@ -55,44 +55,44 @@
|
|||
</b></center><br />
|
||||
<h1 class="epydoc">Class Hierarchy</h1>
|
||||
<ul class="nomargin-top">
|
||||
<li> <strong class="uidlink"><a href="lib.core.command.Command-class.html">lib.core.command.Command</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.command.Command-class.html">linspector.lib.core.command.Command</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.config.Config-class.html">lib.config.config.Config</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.config.Config-class.html">linspector.lib.config.config.Config</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.daemon.Daemon-class.html">lib.core.daemon.Daemon</a></strong>:
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.daemon.Daemon-class.html">linspector.lib.core.daemon.Daemon</a></strong>:
|
||||
<em class="summary">A generic daemon class.</em>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="lib.core.linspector_daemon.LinspectorDaemon-class.html">lib.core.linspector_daemon.LinspectorDaemon</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html">linspector.lib.core.linspector_daemon.LinspectorDaemon</a></strong>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.filters.Filter-class.html">lib.config.filters.Filter</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.filters.Filter-class.html">linspector.lib.config.filters.Filter</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hosts.Host-class.html">lib.config.hosts.Host</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hosts.Host-class.html">linspector.lib.config.hosts.Host</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hostgroups.HostGroup-class.html">lib.config.hostgroups.HostGroup</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hostgroups.HostGroup-class.html">linspector.lib.config.hostgroups.HostGroup</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hostgroups.HostGroupService-class.html">lib.config.hostgroups.HostGroupService</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hostgroups.HostGroupService-class.html">linspector.lib.config.hostgroups.HostGroupService</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hosts.HostService-class.html">lib.config.hosts.HostService</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hosts.HostService-class.html">linspector.lib.config.hosts.HostService</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.job.Job-class.html">lib.core.job.Job</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.job.Job-class.html">linspector.lib.core.job.Job</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.layouts.Layout-class.html">lib.config.layouts.Layout</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.layouts.Layout-class.html">linspector.lib.config.layouts.Layout</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.layouts.LayoutList-class.html">lib.config.layouts.LayoutList</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.layouts.LayoutList-class.html">linspector.lib.config.layouts.LayoutList</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.logger.Logger-class.html">lib.core.logger.Logger</a></strong>:
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.logger.Logger-class.html">linspector.lib.core.logger.Logger</a></strong>:
|
||||
<em class="summary">Logger class that prints its messages and keeps them also inside a
|
||||
logfile</em>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.members.Member-class.html">lib.config.members.Member</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.members.Member-class.html">linspector.lib.config.members.Member</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.members.MemberFilter-class.html">lib.config.members.MemberFilter</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.members.MemberFilter-class.html">linspector.lib.config.members.MemberFilter</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.periods.Period-class.html">lib.config.periods.Period</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.periods.Period-class.html">linspector.lib.config.periods.Period</a></strong>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.services.Service-class.html">lib.config.services.Service</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.services.Service-class.html">linspector.lib.config.services.Service</a></strong>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ==================== NAVIGATION BAR ==================== -->
|
||||
|
|
@ -101,7 +101,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th bgcolor="#70b0f0" class="navbar-select"
|
||||
|
|
@ -121,7 +121,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@
|
|||
<frame src="toc-everything.html" name="moduleFrame"
|
||||
id="moduleFrame" />
|
||||
</frameset>
|
||||
<frame src="lib-module.html" name="mainFrame" id="mainFrame" />
|
||||
<frame src="linspector-module.html" name="mainFrame" id="mainFrame" />
|
||||
</frameset>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -226,7 +226,7 @@ page was last updated. </p>
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -246,7 +246,7 @@ page was last updated. </p>
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -88,33 +88,33 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger.Logger-class.html#c">c()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.command-module.html">command</a><br />
|
||||
<span class="index-where">(in <a href="lib.core-module.html">lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.config.Config-class.html">Config</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.config-module.html">lib.config.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger.Logger-class.html#c">c()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.command-module.html">command</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core-module.html">linspector.lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.config.Config-class.html">Config</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.config-module.html">linspector.lib.config.config</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.filters.Filter-class.html#clone">clone()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.filters.Filter-class.html">Filter</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.command.Command-class.html">Command</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.command-module.html">lib.core.command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core-module.html">core</a><br />
|
||||
<span class="index-where">(in <a href="lib-module.html">lib</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.filters.Filter-class.html#clone">clone()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.filters.Filter-class.html">Filter</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.command.Command-class.html">Command</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.command-module.html">linspector.lib.core.command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core-module.html">core</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib-module.html">linspector.lib</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.services.Service-class.html#clone">clone()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.services.Service-class.html">Service</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config-module.html">config</a><br />
|
||||
<span class="index-where">(in <a href="lib-module.html">lib</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.services.Service-class.html#clone">clone()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.services.Service-class.html">Service</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config-module.html">config</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib-module.html">linspector.lib</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger.Logger-class.html#close">close()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.config-module.html">config</a><br />
|
||||
<span class="index-where">(in <a href="lib.config-module.html">lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger.Logger-class.html#close">close()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.config-module.html">config</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config-module.html">linspector.lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -123,20 +123,20 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger.Logger-class.html#d">d()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon.Daemon-class.html">Daemon</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.daemon-module.html">lib.core.daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon.Daemon-class.html#delpid">delpid()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger.Logger-class.html#d">d()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon.Daemon-class.html">Daemon</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.daemon-module.html">linspector.lib.core.daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon.Daemon-class.html#delpid">delpid()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon-module.html">daemon</a><br />
|
||||
<span class="index-where">(in <a href="lib.core-module.html">lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon.Daemon-class.html#daemonize">daemonize()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.command.Command-class.html#doProcess">doProcess()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon-module.html">daemon</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core-module.html">linspector.lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon.Daemon-class.html#daemonize">daemonize()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.command.Command-class.html#doProcess">doProcess()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
|
|
@ -144,8 +144,8 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger.Logger-class.html#e">e()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger.Logger-class.html#e">e()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
|
|
@ -156,10 +156,10 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.filters.Filter-class.html">Filter</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.filters-module.html">lib.config.filters</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.filters-module.html">filters</a><br />
|
||||
<span class="index-where">(in <a href="lib.config-module.html">lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.filters.Filter-class.html">Filter</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.filters-module.html">linspector.lib.config.filters</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.filters-module.html">filters</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config-module.html">linspector.lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
<tr><td class="link-index"> </td><td class="link-index"> </td><td class="link-index"> </td></tr>
|
||||
|
|
@ -169,12 +169,12 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts.HostService-class.html#getCommand">getCommand()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts.HostService-class.html">HostService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.command.Command-class.html#getError">getError()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.command.Command-class.html#getOutput">getOutput()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts.HostService-class.html#getCommand">getCommand()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts.HostService-class.html">HostService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.command.Command-class.html#getError">getError()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.command.Command-class.html#getOutput">getOutput()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
</tr>
|
||||
<tr><td class="link-index"> </td><td class="link-index"> </td><td class="link-index"> </td></tr>
|
||||
</table>
|
||||
|
|
@ -183,25 +183,25 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.command.Command-class.html#hasProcessed">hasProcessed()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hostgroups-module.html">hostgroups</a><br />
|
||||
<span class="index-where">(in <a href="lib.config-module.html">lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts.HostService-class.html">HostService</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts-module.html">lib.config.hosts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.command.Command-class.html#hasProcessed">hasProcessed()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hostgroups-module.html">hostgroups</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config-module.html">linspector.lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts.HostService-class.html">HostService</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts-module.html">linspector.lib.config.hosts</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts.Host-class.html">Host</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts-module.html">lib.config.hosts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hostgroups.HostGroupService-class.html">HostGroupService</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hostgroups-module.html">lib.config.hostgroups</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts.Host-class.html">Host</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts-module.html">linspector.lib.config.hosts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hostgroups.HostGroupService-class.html">HostGroupService</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hostgroups-module.html">linspector.lib.config.hostgroups</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hostgroups.HostGroup-class.html">HostGroup</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hostgroups-module.html">lib.config.hostgroups</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts-module.html">hosts</a><br />
|
||||
<span class="index-where">(in <a href="lib.config-module.html">lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hostgroups.HostGroup-class.html">HostGroup</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hostgroups-module.html">linspector.lib.config.hostgroups</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts-module.html">hosts</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config-module.html">linspector.lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -210,8 +210,8 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger.Logger-class.html#i">i()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger.Logger-class.html#i">i()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
|
|
@ -222,10 +222,10 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.job-module.html">job</a><br />
|
||||
<span class="index-where">(in <a href="lib.core-module.html">lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.job.Job-class.html">Job</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.job-module.html">lib.core.job</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.job-module.html">job</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core-module.html">linspector.lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.job.Job-class.html">Job</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.job-module.html">linspector.lib.core.job</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
<tr><td class="link-index"> </td><td class="link-index"> </td><td class="link-index"> </td></tr>
|
||||
|
|
@ -235,26 +235,27 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.layouts.Layout-class.html">Layout</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.layouts-module.html">lib.config.layouts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib-module.html">lib</a></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger-module.html">logger</a><br />
|
||||
<span class="index-where">(in <a href="lib.core-module.html">lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.layouts.Layout-class.html">Layout</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.layouts-module.html">linspector.lib.config.layouts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib-module.html">lib</a><br />
|
||||
<span class="index-where">(in <a href="linspector-module.html">linspector</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html">LinspectorDaemon</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.linspector_daemon-module.html">linspector.lib.core.linspector_daemon</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.layouts.LayoutList-class.html">LayoutList</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.layouts-module.html">lib.config.layouts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.linspector_daemon-module.html">linspector_daemon</a><br />
|
||||
<span class="index-where">(in <a href="lib.core-module.html">lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger.Logger-class.html">Logger</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.logger-module.html">lib.core.logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.layouts.LayoutList-class.html">LayoutList</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.layouts-module.html">linspector.lib.config.layouts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector-module.html">linspector</a></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger-module.html">logger</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core-module.html">linspector.lib.core</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.layouts-module.html">layouts</a><br />
|
||||
<span class="index-where">(in <a href="lib.config-module.html">lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.linspector_daemon.LinspectorDaemon-class.html">LinspectorDaemon</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.linspector_daemon-module.html">lib.core.linspector_daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.layouts-module.html">layouts</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config-module.html">linspector.lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.linspector_daemon-module.html">linspector_daemon</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core-module.html">linspector.lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger.Logger-class.html">Logger</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.logger-module.html">linspector.lib.core.logger</a>)</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
|
|
@ -262,12 +263,12 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.members.Member-class.html">Member</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.members-module.html">lib.config.members</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.members.MemberFilter-class.html">MemberFilter</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.members-module.html">lib.config.members</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.members-module.html">members</a><br />
|
||||
<span class="index-where">(in <a href="lib.config-module.html">lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.members.Member-class.html">Member</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.members-module.html">linspector.lib.config.members</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.members.MemberFilter-class.html">MemberFilter</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.members-module.html">linspector.lib.config.members</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.members-module.html">members</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config-module.html">linspector.lib.config</a>)</span></td>
|
||||
</tr>
|
||||
<tr><td class="link-index"> </td><td class="link-index"> </td><td class="link-index"> </td></tr>
|
||||
</table>
|
||||
|
|
@ -276,25 +277,25 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.filters-module.html#parseFilterList">parseFilterList()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.filters-module.html">lib.config.filters</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.members-module.html#parseMemberList">parseMemberList()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.members-module.html">lib.config.members</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.periods-module.html">periods</a><br />
|
||||
<span class="index-where">(in <a href="lib.config-module.html">lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.filters-module.html#parseFilterList">parseFilterList()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.filters-module.html">linspector.lib.config.filters</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.members-module.html#parseMemberList">parseMemberList()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.members-module.html">linspector.lib.config.members</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.periods-module.html">periods</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config-module.html">linspector.lib.config</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hostgroups-module.html#parseHostGroupList">parseHostGroupList()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hostgroups-module.html">lib.config.hostgroups</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.periods-module.html#parsePeriodList">parsePeriodList()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.periods-module.html">lib.config.periods</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hostgroups-module.html#parseHostGroupList">parseHostGroupList()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hostgroups-module.html">linspector.lib.config.hostgroups</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.periods-module.html#parsePeriodList">parsePeriodList()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.periods-module.html">linspector.lib.config.periods</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts-module.html#parseHostList">parseHostList()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts-module.html">lib.config.hosts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.periods.Period-class.html">Period</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.periods-module.html">lib.config.periods</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts-module.html#parseHostList">parseHostList()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts-module.html">linspector.lib.config.hosts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.periods.Period-class.html">Period</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.periods-module.html">linspector.lib.config.periods</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -303,12 +304,12 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon.Daemon-class.html#restart">restart()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon.Daemon-class.html#run">run()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.linspector_daemon.LinspectorDaemon-class.html#run">run()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.linspector_daemon.LinspectorDaemon-class.html">LinspectorDaemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon.Daemon-class.html#restart">restart()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon.Daemon-class.html#run">run()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html#run">run()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html">LinspectorDaemon</a>)</span></td>
|
||||
</tr>
|
||||
<tr><td class="link-index"> </td><td class="link-index"> </td><td class="link-index"> </td></tr>
|
||||
</table>
|
||||
|
|
@ -317,20 +318,20 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.services.Service-class.html">Service</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.services-module.html">lib.config.services</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.services-module.html">services</a><br />
|
||||
<span class="index-where">(in <a href="lib.config-module.html">lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon.Daemon-class.html#start">start()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.services.Service-class.html">Service</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.services-module.html">linspector.lib.config.services</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.services-module.html">services</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config-module.html">linspector.lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon.Daemon-class.html#start">start()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.services-module.html#serviceList">serviceList()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.services-module.html">lib.config.services</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts.HostService-class.html#setCommand">setCommand()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts.HostService-class.html">HostService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon.Daemon-class.html#stop">stop()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.services-module.html#serviceList">serviceList()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.services-module.html">linspector.lib.config.services</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts.HostService-class.html#setCommand">setCommand()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts.HostService-class.html">HostService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon.Daemon-class.html#stop">stop()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
|
|
@ -338,8 +339,8 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger.Logger-class.html#w">w()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger.Logger-class.html#w">w()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
|
|
@ -350,121 +351,122 @@
|
|||
<td valign="top">
|
||||
<table class="link-index" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.config.Config-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.config.Config-class.html">Config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger.Logger-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.logger-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.logger-module.html">lib.core.logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.config.Config-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.config.Config-class.html">Config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger.Logger-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.logger.Logger-class.html">Logger</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.linspector_daemon-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.linspector_daemon-module.html">linspector.lib.core.linspector_daemon</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.filters.Filter-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.filters.Filter-class.html">Filter</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib-module.html">lib</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.filters.Filter-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.filters.Filter-class.html">Filter</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.filters.Filter-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.filters.Filter-class.html">Filter</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector-module.html">linspector</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.logger-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.logger-module.html">linspector.lib.core.logger</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hostgroups.HostGroup-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hostgroups.HostGroup-class.html">HostGroup</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.config-module.html">lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hostgroups.HostGroup-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hostgroups.HostGroup-class.html">HostGroup</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hostgroups.HostGroup-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hostgroups.HostGroup-class.html">HostGroup</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib-module.html">linspector.lib</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.filters.Filter-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.filters.Filter-class.html">Filter</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hostgroups.HostGroupService-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hostgroups.HostGroupService-class.html">HostGroupService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.config-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.config-module.html">lib.config.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hostgroups.HostGroupService-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hostgroups.HostGroupService-class.html">HostGroupService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hostgroups.HostGroupService-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hostgroups.HostGroupService-class.html">HostGroupService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config-module.html">linspector.lib.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hostgroups.HostGroup-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hostgroups.HostGroup-class.html">HostGroup</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts.Host-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts.Host-class.html">Host</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.filters-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.filters-module.html">lib.config.filters</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts.Host-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts.Host-class.html">Host</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts.Host-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts.Host-class.html">Host</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.config-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.config-module.html">linspector.lib.config.config</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hostgroups.HostGroupService-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hostgroups.HostGroupService-class.html">HostGroupService</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts.HostService-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts.HostService-class.html">HostService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hostgroups-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hostgroups-module.html">lib.config.hostgroups</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts.HostService-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts.HostService-class.html">HostService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts.HostService-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts.HostService-class.html">HostService</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.filters-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.filters-module.html">linspector.lib.config.filters</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts.Host-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts.Host-class.html">Host</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.layouts.Layout-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.layouts.Layout-class.html">Layout</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.hosts-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.hosts-module.html">lib.config.hosts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.layouts.Layout-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.layouts.Layout-class.html">Layout</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.layouts.Layout-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.layouts.Layout-class.html">Layout</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hostgroups-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hostgroups-module.html">linspector.lib.config.hostgroups</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts.HostService-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts.HostService-class.html">HostService</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.layouts.LayoutList-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.layouts.LayoutList-class.html">LayoutList</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.members-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.members-module.html">lib.config.members</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.layouts.LayoutList-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.layouts.LayoutList-class.html">LayoutList</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.layouts.LayoutList-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.layouts.LayoutList-class.html">LayoutList</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.hosts-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.hosts-module.html">linspector.lib.config.hosts</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.layouts.Layout-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.layouts.Layout-class.html">Layout</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.members.Member-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.members.Member-class.html">Member</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.periods-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.periods-module.html">lib.config.periods</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.members.Member-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.members.Member-class.html">Member</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.members.Member-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.members.Member-class.html">Member</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.members-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.members-module.html">linspector.lib.config.members</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.layouts.LayoutList-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.layouts.LayoutList-class.html">LayoutList</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.members.MemberFilter-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.members.MemberFilter-class.html">MemberFilter</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.services-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.services-module.html">lib.config.services</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.members.MemberFilter-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.members.MemberFilter-class.html">MemberFilter</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.members.MemberFilter-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.members.MemberFilter-class.html">MemberFilter</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.periods-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.periods-module.html">linspector.lib.config.periods</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.members.Member-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.members.Member-class.html">Member</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.periods.Period-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.periods.Period-class.html">Period</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.core-module.html">lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.periods.Period-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.periods.Period-class.html">Period</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.periods.Period-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.periods.Period-class.html">Period</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.services-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.services-module.html">linspector.lib.config.services</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.members.MemberFilter-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.members.MemberFilter-class.html">MemberFilter</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.config.services.Service-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.services.Service-class.html">Service</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.command-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.command-module.html">lib.core.command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.config.services.Service-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.config.services.Service-class.html">Service</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.services.Service-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.services.Service-class.html">Service</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core-module.html">linspector.lib.core</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.periods.Period-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.periods.Period-class.html">Period</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.command.Command-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.daemon-module.html">lib.core.daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.command.Command-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.command.Command-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.command-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.command-module.html">linspector.lib.core.command</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.config.services.Service-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.config.services.Service-class.html">Service</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.daemon.Daemon-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.job-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.job-module.html">lib.core.job</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon.Daemon-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.daemon.Daemon-class.html">Daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.daemon-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.daemon-module.html">linspector.lib.core.daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.command.Command-class.html#__str__">__str__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.command.Command-class.html">Command</a>)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" class="link-index"><a href="lib.core.job.Job-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.job.Job-class.html">Job</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="lib.core.linspector_daemon-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="lib.core.linspector_daemon-module.html">lib.core.linspector_daemon</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.job.Job-class.html#__init__">__init__()</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.job.Job-class.html">Job</a>)</span></td>
|
||||
<td width="33%" class="link-index"><a href="linspector.lib.core.job-module.html#__package__">__package__</a><br />
|
||||
<span class="index-where">(in <a href="linspector.lib.core.job-module.html">linspector.lib.core.job</a>)</span></td>
|
||||
<td width="33%" class="link-index"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -476,7 +478,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -496,7 +498,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@
|
|||
<frame src="toc-everything.html" name="moduleFrame"
|
||||
id="moduleFrame" />
|
||||
</frameset>
|
||||
<frame src="lib-module.html" name="mainFrame" id="mainFrame" />
|
||||
<frame src="linspector-module.html" name="mainFrame" id="mainFrame" />
|
||||
</frameset>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,151 +0,0 @@
|
|||
<?xml version="1.0" encoding="ascii"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.config</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
||||
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
||||
alink="#204080">
|
||||
<!-- ==================== NAVIGATION BAR ==================== -->
|
||||
<table class="navbar" border="0" width="100%" cellpadding="0"
|
||||
bgcolor="#a0c0ff" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
href="module-tree.html">Trees</a> </th>
|
||||
|
||||
<!-- Index link -->
|
||||
<th> <a
|
||||
href="identifier-index.html">Indices</a> </th>
|
||||
|
||||
<!-- Help link -->
|
||||
<th> <a
|
||||
href="help.html">Help</a> </th>
|
||||
|
||||
<th class="navbar" width="100%"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
Module config
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<!-- hide/show private -->
|
||||
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.config-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.config.config-module.html">Module lib.config.config</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">json</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Module lib.config.services=lib.config.services-module.html"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-0', 'services', 'link-0');">services</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Function lib.config.services.serviceList()=lib.config.services-module.html#serviceList"><a title="lib.config.services.serviceList" class="py-name" href="#" onclick="return doclink('link-1', 'serviceList', 'link-1');">serviceList</a></tt> </tt>
|
||||
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name" targets="Module lib.config.filters=lib.config.filters-module.html"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-2', 'filters', 'link-2');">filters</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Function lib.config.filters.parseFilterList()=lib.config.filters-module.html#parseFilterList"><a title="lib.config.filters.parseFilterList" class="py-name" href="#" onclick="return doclink('link-3', 'parseFilterList', 'link-3');">parseFilterList</a></tt> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name" targets="Module lib.config.members=lib.config.members-module.html"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-4', 'members', 'link-4');">members</a></tt> <tt class="py-keyword">import</tt> <tt id="link-5" class="py-name" targets="Function lib.config.members.parseMemberList()=lib.config.members-module.html#parseMemberList"><a title="lib.config.members.parseMemberList" class="py-name" href="#" onclick="return doclink('link-5', 'parseMemberList', 'link-5');">parseMemberList</a></tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-6" class="py-name" targets="Module lib.config.hosts=lib.config.hosts-module.html"><a title="lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-6', 'hosts', 'link-6');">hosts</a></tt> <tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Function lib.config.hosts.parseHostList()=lib.config.hosts-module.html#parseHostList"><a title="lib.config.hosts.parseHostList" class="py-name" href="#" onclick="return doclink('link-7', 'parseHostList', 'link-7');">parseHostList</a></tt> </tt>
|
||||
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-8" class="py-name" targets="Module lib.config.periods=lib.config.periods-module.html"><a title="lib.config.periods" class="py-name" href="#" onclick="return doclink('link-8', 'periods', 'link-8');">periods</a></tt> <tt class="py-keyword">import</tt> <tt id="link-9" class="py-name" targets="Function lib.config.periods.parsePeriodList()=lib.config.periods-module.html#parsePeriodList"><a title="lib.config.periods.parsePeriodList" class="py-name" href="#" onclick="return doclink('link-9', 'parsePeriodList', 'link-9');">parsePeriodList</a></tt> </tt>
|
||||
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-10" class="py-name" targets="Module lib.config.hostgroups=lib.config.hostgroups-module.html"><a title="lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-10', 'hostgroups', 'link-10');">hostgroups</a></tt> <tt class="py-keyword">import</tt> <tt id="link-11" class="py-name" targets="Function lib.config.hostgroups.parseHostGroupList()=lib.config.hostgroups-module.html#parseHostGroupList"><a title="lib.config.hostgroups.parseHostGroupList" class="py-name" href="#" onclick="return doclink('link-11', 'parseHostGroupList', 'link-11');">parseHostGroupList</a></tt> </tt>
|
||||
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment">#from layouts import *</tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> </tt>
|
||||
<a name="Config"></a><div id="Config-def"><a name="L11"></a><tt class="py-lineno">11</tt> <a class="py-toggle" href="#" id="Config-toggle" onclick="return toggle('Config');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.config.Config-class.html">Config</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Config-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Config-expanded"><a name="Config.__init__"></a><div id="Config.__init__-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="Config.__init__-toggle" onclick="return toggle('Config.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.config.Config-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">configFile</tt><tt class="py-op">,</tt> <tt class="py-param">log</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Config.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Config.__init__-expanded"><a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">configfile</tt> <tt class="py-op">=</tt> <tt class="py-name">configFile</tt> </tt>
|
||||
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> <tt class="py-name">f</tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">configFile</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Package lib.config=lib.config-module.html,Module lib.config.config=lib.config.config-module.html"><a title="lib.config
|
||||
lib.config.config" class="py-name" href="#" onclick="return doclink('link-12', 'config', 'link-12');">config</a></tt> <tt class="py-op">=</tt> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Method lib.core.logger.Logger.close()=lib.core.logger.Logger-class.html#close"><a title="lib.core.logger.Logger.close" class="py-name" href="#" onclick="return doclink('link-13', 'close', 'link-13');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> </tt>
|
||||
<a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="lib.config
|
||||
lib.config.config" class="py-name" href="#" onclick="return doclink('link-14', 'config', 'link-12');">config</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> </tt>
|
||||
<a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-15', 'services', 'link-0');">services</a></tt> <tt class="py-op">=</tt> <tt id="link-16" class="py-name"><a title="lib.config.services.serviceList" class="py-name" href="#" onclick="return doclink('link-16', 'serviceList', 'link-1');">serviceList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'services'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> </tt>
|
||||
<a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-17', 'filters', 'link-2');">filters</a></tt> <tt class="py-op">=</tt> <tt id="link-18" class="py-name"><a title="lib.config.filters.parseFilterList" class="py-name" href="#" onclick="return doclink('link-18', 'parseFilterList', 'link-3');">parseFilterList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'filters'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> </tt>
|
||||
<a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-19', 'members', 'link-4');">members</a></tt> <tt class="py-op">=</tt> <tt id="link-20" class="py-name"><a title="lib.config.members.parseMemberList" class="py-name" href="#" onclick="return doclink('link-20', 'parseMemberList', 'link-5');">parseMemberList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'members'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-21', 'filters', 'link-2');">filters</a></tt><tt class="py-op">,</tt> <tt class="py-name">log</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"> </tt>
|
||||
<a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="lib.config.periods" class="py-name" href="#" onclick="return doclink('link-22', 'periods', 'link-8');">periods</a></tt> <tt class="py-op">=</tt> <tt id="link-23" class="py-name"><a title="lib.config.periods.parsePeriodList" class="py-name" href="#" onclick="return doclink('link-23', 'parsePeriodList', 'link-9');">parsePeriodList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'periods'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> </tt>
|
||||
<a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-24', 'hosts', 'link-6');">hosts</a></tt> <tt class="py-op">=</tt> <tt id="link-25" class="py-name"><a title="lib.config.hosts.parseHostList" class="py-name" href="#" onclick="return doclink('link-25', 'parseHostList', 'link-7');">parseHostList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'hosts'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-26', 'services', 'link-0');">services</a></tt><tt class="py-op">,</tt> <tt class="py-name">log</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> </tt>
|
||||
<a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-27', 'hostgroups', 'link-10');">hostgroups</a></tt> <tt class="py-op">=</tt> <tt id="link-28" class="py-name"><a title="lib.config.hostgroups.parseHostGroupList" class="py-name" href="#" onclick="return doclink('link-28', 'parseHostGroupList', 'link-11');">parseHostGroupList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'hostgroups'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name"><a title="lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-29', 'hosts', 'link-6');">hosts</a></tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-30', 'members', 'link-4');">members</a></tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="lib.config.periods" class="py-name" href="#" onclick="return doclink('link-31', 'periods', 'link-8');">periods</a></tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-32', 'services', 'link-0');">services</a></tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">)</tt> </tt>
|
||||
</div></div><a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"> </tt>
|
||||
<a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-comment">#self.layouts = LayoutList(self.dict['layouts'], self.hostgroups)</tt> </tt>
|
||||
<a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
expandto(location.href);
|
||||
// -->
|
||||
</script>
|
||||
</pre>
|
||||
<br />
|
||||
<!-- ==================== NAVIGATION BAR ==================== -->
|
||||
<table class="navbar" border="0" width="100%" cellpadding="0"
|
||||
bgcolor="#a0c0ff" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
href="module-tree.html">Trees</a> </th>
|
||||
|
||||
<!-- Index link -->
|
||||
<th> <a
|
||||
href="identifier-index.html">Indices</a> </th>
|
||||
|
||||
<!-- Help link -->
|
||||
<th> <a
|
||||
href="help.html">Help</a> </th>
|
||||
|
||||
<th class="navbar" width="100%"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
>http://epydoc.sourceforge.net</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
// Private objects are initially displayed (because if
|
||||
// javascript is turned off then we want them to be
|
||||
// visible); but by default, we want to hide them. So hide
|
||||
// them unless we have a cookie that says to show them.
|
||||
checkCookie();
|
||||
// -->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib</title>
|
||||
<title>linspector</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
Package lib
|
||||
Package linspector
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
|
|
@ -47,14 +47,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib-module.html"
|
||||
>] | <a href="linspector-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== PACKAGE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Package lib</h1><p class="nomargin-top"><span class="codelink"><a href="lib-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Package linspector</h1><p class="nomargin-top"><span class="codelink"><a href="linspector-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== SUBMODULES ==================== -->
|
||||
<a name="section-Submodules"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -74,26 +74,30 @@
|
|||
</tr>
|
||||
<tr><td class="summary">
|
||||
<ul class="nomargin">
|
||||
<li> <strong class="uidlink"><a href="lib.config-module.html">lib.config</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib-module.html">linspector.lib</a></strong>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="lib.config.config-module.html">lib.config.config</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.filters-module.html">lib.config.filters</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hostgroups-module.html">lib.config.hostgroups</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hosts-module.html">lib.config.hosts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.layouts-module.html">lib.config.layouts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.members-module.html">lib.config.members</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.periods-module.html">lib.config.periods</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.services-module.html">lib.config.services</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config-module.html">linspector.lib.config</a></strong>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.config-module.html">linspector.lib.config.config</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.filters-module.html">linspector.lib.config.filters</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hostgroups-module.html">linspector.lib.config.hostgroups</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hosts-module.html">linspector.lib.config.hosts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.layouts-module.html">linspector.lib.config.layouts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.members-module.html">linspector.lib.config.members</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.periods-module.html">linspector.lib.config.periods</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.services-module.html">linspector.lib.config.services</a></strong> </li>
|
||||
</ul>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.core-module.html">lib.core</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core-module.html">linspector.lib.core</a></strong>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="lib.core.command-module.html">lib.core.command</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.daemon-module.html">lib.core.daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.job-module.html">lib.core.job</a></strong>: <em class="summary">This is what job_function needs as parameter for each job to
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.command-module.html">linspector.lib.core.command</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.daemon-module.html">linspector.lib.core.daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.job-module.html">linspector.lib.core.job</a></strong>: <em class="summary">This is what job_function needs as parameter for each job to
|
||||
succesfully execute.</em> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.linspector_daemon-module.html">lib.core.linspector_daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.logger-module.html">lib.core.logger</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.linspector_daemon-module.html">linspector.lib.core.linspector_daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.logger-module.html">linspector.lib.core.logger</a></strong> </li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul></td></tr>
|
||||
|
|
@ -121,7 +125,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lib'"><code class="variable-quote">'</code><code class="variable-string">lib</code><code class="variable-quote">'</code></code>
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'linspector'"><code class="variable-quote">'</code><code class="variable-string">linspector</code><code class="variable-quote">'</code></code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -151,7 +155,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib</title>
|
||||
<title>linspector</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
Package lib
|
||||
Package linspector
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
|
|
@ -47,18 +47,16 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib-pysrc.html"
|
||||
>] | <a href="linspector-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib-module.html">Package lib</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector-module.html">Package linspector</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno">1</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package lib.config=lib.config-module.html,Module lib.config.config=lib.config.config-module.html"><a title="lib.config
|
||||
lib.config.config" class="py-name" href="#" onclick="return doclink('link-0', 'config', 'link-0');">config</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno">2</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-1" class="py-name" targets="Package lib.core=lib.core-module.html"><a title="lib.core" class="py-name" href="#" onclick="return doclink('link-1', 'core', 'link-1');">core</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
|
||||
<a name="L3"></a><tt class="py-lineno">3</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<a name="L1"></a><tt class="py-lineno">1</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package linspector.lib=linspector.lib-module.html"><a title="linspector.lib" class="py-name" href="#" onclick="return doclink('link-0', 'lib', 'link-0');">lib</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno">2</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
expandto(location.href);
|
||||
// -->
|
||||
|
|
@ -91,7 +89,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
174
docs/linspector.lib-module.html
Normal file
174
docs/linspector.lib-module.html
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
<?xml version="1.0" encoding="ascii"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>linspector.lib</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
||||
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
||||
alink="#204080">
|
||||
<!-- ==================== NAVIGATION BAR ==================== -->
|
||||
<table class="navbar" border="0" width="100%" cellpadding="0"
|
||||
bgcolor="#a0c0ff" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
href="module-tree.html">Trees</a> </th>
|
||||
|
||||
<!-- Index link -->
|
||||
<th> <a
|
||||
href="identifier-index.html">Indices</a> </th>
|
||||
|
||||
<!-- Help link -->
|
||||
<th> <a
|
||||
href="help.html">Help</a> </th>
|
||||
|
||||
<th class="navbar" width="100%"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
Package lib
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<!-- hide/show private -->
|
||||
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="linspector.lib-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== PACKAGE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Package lib</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== SUBMODULES ==================== -->
|
||||
<a name="section-Submodules"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
cellspacing="0" width="100%" bgcolor="white">
|
||||
<tr bgcolor="#70b0f0" class="table-header">
|
||||
<td colspan="2" class="table-header">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr valign="top">
|
||||
<td align="left"><span class="table-header">Submodules</span></td>
|
||||
<td align="right" valign="top"
|
||||
><span class="options">[<a href="#section-Submodules"
|
||||
class="privatelink" onclick="toggle_private();"
|
||||
>hide private</a>]</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="summary">
|
||||
<ul class="nomargin">
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config-module.html">linspector.lib.config</a></strong>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.config-module.html">linspector.lib.config.config</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.filters-module.html">linspector.lib.config.filters</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hostgroups-module.html">linspector.lib.config.hostgroups</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hosts-module.html">linspector.lib.config.hosts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.layouts-module.html">linspector.lib.config.layouts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.members-module.html">linspector.lib.config.members</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.periods-module.html">linspector.lib.config.periods</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.services-module.html">linspector.lib.config.services</a></strong> </li>
|
||||
</ul>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core-module.html">linspector.lib.core</a></strong>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.command-module.html">linspector.lib.core.command</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.daemon-module.html">linspector.lib.core.daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.job-module.html">linspector.lib.core.job</a></strong>: <em class="summary">This is what job_function needs as parameter for each job to
|
||||
succesfully execute.</em> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.linspector_daemon-module.html">linspector.lib.core.linspector_daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.logger-module.html">linspector.lib.core.logger</a></strong> </li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul></td></tr>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
<!-- ==================== VARIABLES ==================== -->
|
||||
<a name="section-Variables"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
cellspacing="0" width="100%" bgcolor="white">
|
||||
<tr bgcolor="#70b0f0" class="table-header">
|
||||
<td colspan="2" class="table-header">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr valign="top">
|
||||
<td align="left"><span class="table-header">Variables</span></td>
|
||||
<td align="right" valign="top"
|
||||
><span class="options">[<a href="#section-Variables"
|
||||
class="privatelink" onclick="toggle_private();"
|
||||
>hide private</a>]</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'linspector.lib'"><code class="variable-quote">'</code><code class="variable-string">linspector.lib</code><code class="variable-quote">'</code></code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== NAVIGATION BAR ==================== -->
|
||||
<table class="navbar" border="0" width="100%" cellpadding="0"
|
||||
bgcolor="#a0c0ff" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
href="module-tree.html">Trees</a> </th>
|
||||
|
||||
<!-- Index link -->
|
||||
<th> <a
|
||||
href="identifier-index.html">Indices</a> </th>
|
||||
|
||||
<!-- Help link -->
|
||||
<th> <a
|
||||
href="help.html">Help</a> </th>
|
||||
|
||||
<th class="navbar" width="100%"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
>http://epydoc.sourceforge.net</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
// Private objects are initially displayed (because if
|
||||
// javascript is turned off then we want them to be
|
||||
// visible); but by default, we want to hide them. So hide
|
||||
// them unless we have a cookie that says to show them.
|
||||
checkCookie();
|
||||
// -->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
114
docs/linspector.lib-pysrc.html
Normal file
114
docs/linspector.lib-pysrc.html
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
<?xml version="1.0" encoding="ascii"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>linspector.lib</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
||||
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
||||
alink="#204080">
|
||||
<!-- ==================== NAVIGATION BAR ==================== -->
|
||||
<table class="navbar" border="0" width="100%" cellpadding="0"
|
||||
bgcolor="#a0c0ff" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
href="module-tree.html">Trees</a> </th>
|
||||
|
||||
<!-- Index link -->
|
||||
<th> <a
|
||||
href="identifier-index.html">Indices</a> </th>
|
||||
|
||||
<!-- Help link -->
|
||||
<th> <a
|
||||
href="help.html">Help</a> </th>
|
||||
|
||||
<th class="navbar" width="100%"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
Package lib
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<!-- hide/show private -->
|
||||
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="linspector.lib-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib-module.html">Package linspector.lib</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno">1</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package linspector.lib.config=linspector.lib.config-module.html,Module linspector.lib.config.config=linspector.lib.config.config-module.html"><a title="linspector.lib.config
|
||||
linspector.lib.config.config" class="py-name" href="#" onclick="return doclink('link-0', 'config', 'link-0');">config</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno">2</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-1" class="py-name" targets="Package linspector.lib.core=linspector.lib.core-module.html"><a title="linspector.lib.core" class="py-name" href="#" onclick="return doclink('link-1', 'core', 'link-1');">core</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
|
||||
<a name="L3"></a><tt class="py-lineno">3</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
expandto(location.href);
|
||||
// -->
|
||||
</script>
|
||||
</pre>
|
||||
<br />
|
||||
<!-- ==================== NAVIGATION BAR ==================== -->
|
||||
<table class="navbar" border="0" width="100%" cellpadding="0"
|
||||
bgcolor="#a0c0ff" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
href="module-tree.html">Trees</a> </th>
|
||||
|
||||
<!-- Index link -->
|
||||
<th> <a
|
||||
href="identifier-index.html">Indices</a> </th>
|
||||
|
||||
<!-- Help link -->
|
||||
<th> <a
|
||||
href="help.html">Help</a> </th>
|
||||
|
||||
<th class="navbar" width="100%"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
>http://epydoc.sourceforge.net</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
// Private objects are initially displayed (because if
|
||||
// javascript is turned off then we want them to be
|
||||
// visible); but by default, we want to hide them. So hide
|
||||
// them unless we have a cookie that says to show them.
|
||||
checkCookie();
|
||||
// -->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config</title>
|
||||
<title>linspector.lib.config</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,7 +37,8 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
Package config
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -48,14 +49,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config-module.html"
|
||||
>] | <a href="linspector.lib.config-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== PACKAGE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Package config</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Package config</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== SUBMODULES ==================== -->
|
||||
<a name="section-Submodules"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -75,14 +76,14 @@
|
|||
</tr>
|
||||
<tr><td class="summary">
|
||||
<ul class="nomargin">
|
||||
<li> <strong class="uidlink"><a href="lib.config.config-module.html">lib.config.config</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.filters-module.html">lib.config.filters</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hostgroups-module.html">lib.config.hostgroups</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hosts-module.html">lib.config.hosts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.layouts-module.html">lib.config.layouts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.members-module.html">lib.config.members</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.periods-module.html">lib.config.periods</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.services-module.html">lib.config.services</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.config-module.html">linspector.lib.config.config</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.filters-module.html">linspector.lib.config.filters</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hostgroups-module.html">linspector.lib.config.hostgroups</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hosts-module.html">linspector.lib.config.hosts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.layouts-module.html">linspector.lib.config.layouts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.members-module.html">linspector.lib.config.members</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.periods-module.html">linspector.lib.config.periods</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.services-module.html">linspector.lib.config.services</a></strong> </li>
|
||||
</ul></td></tr>
|
||||
</table>
|
||||
|
||||
|
|
@ -118,7 +119,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -138,7 +139,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config</title>
|
||||
<title>linspector.lib.config</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,7 +37,8 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
Package config
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -48,13 +49,13 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config-pysrc.html"
|
||||
>] | <a href="linspector.lib.config-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.config-module.html">Package lib.config</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.config-module.html">Package linspector.lib.config</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno">1</tt> <tt class="py-line"> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno">2</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
|
|
@ -70,7 +71,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -90,7 +91,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.config</title>
|
||||
<title>linspector.lib.config.config</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module config
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.config-module.html"
|
||||
>] | <a href="linspector.lib.config.config-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module config</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.config-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module config</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.config-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,7 +79,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.config.Config-class.html" class="summary-name">Config</a>
|
||||
<a href="linspector.lib.config.config.Config-class.html" class="summary-name">Config</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -103,7 +104,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lib.config'"><code class="variable-quote">'</code><code class="variable-string">lib.config</code><code class="variable-quote">'</code></code>
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'linspector.lib.config'"><code class="variable-quote">'</code><code class="variable-string">linspector.lib.config</code><code class="variable-quote">'</code></code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -113,7 +114,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -133,7 +134,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
152
docs/linspector.lib.config.config-pysrc.html
Normal file
152
docs/linspector.lib.config.config-pysrc.html
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
<?xml version="1.0" encoding="ascii"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>linspector.lib.config.config</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
||||
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
||||
alink="#204080">
|
||||
<!-- ==================== NAVIGATION BAR ==================== -->
|
||||
<table class="navbar" border="0" width="100%" cellpadding="0"
|
||||
bgcolor="#a0c0ff" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
href="module-tree.html">Trees</a> </th>
|
||||
|
||||
<!-- Index link -->
|
||||
<th> <a
|
||||
href="identifier-index.html">Indices</a> </th>
|
||||
|
||||
<!-- Help link -->
|
||||
<th> <a
|
||||
href="help.html">Help</a> </th>
|
||||
|
||||
<th class="navbar" width="100%"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module config
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<!-- hide/show private -->
|
||||
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="linspector.lib.config.config-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.config.config-module.html">Module linspector.lib.config.config</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">json</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Module linspector.lib.config.services=linspector.lib.config.services-module.html"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-0', 'services', 'link-0');">services</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Function linspector.lib.config.services.serviceList()=linspector.lib.config.services-module.html#serviceList"><a title="linspector.lib.config.services.serviceList" class="py-name" href="#" onclick="return doclink('link-1', 'serviceList', 'link-1');">serviceList</a></tt> </tt>
|
||||
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name" targets="Module linspector.lib.config.filters=linspector.lib.config.filters-module.html"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-2', 'filters', 'link-2');">filters</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Function linspector.lib.config.filters.parseFilterList()=linspector.lib.config.filters-module.html#parseFilterList"><a title="linspector.lib.config.filters.parseFilterList" class="py-name" href="#" onclick="return doclink('link-3', 'parseFilterList', 'link-3');">parseFilterList</a></tt> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name" targets="Module linspector.lib.config.members=linspector.lib.config.members-module.html"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-4', 'members', 'link-4');">members</a></tt> <tt class="py-keyword">import</tt> <tt id="link-5" class="py-name" targets="Function linspector.lib.config.members.parseMemberList()=linspector.lib.config.members-module.html#parseMemberList"><a title="linspector.lib.config.members.parseMemberList" class="py-name" href="#" onclick="return doclink('link-5', 'parseMemberList', 'link-5');">parseMemberList</a></tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-6" class="py-name" targets="Module linspector.lib.config.hosts=linspector.lib.config.hosts-module.html"><a title="linspector.lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-6', 'hosts', 'link-6');">hosts</a></tt> <tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Function linspector.lib.config.hosts.parseHostList()=linspector.lib.config.hosts-module.html#parseHostList"><a title="linspector.lib.config.hosts.parseHostList" class="py-name" href="#" onclick="return doclink('link-7', 'parseHostList', 'link-7');">parseHostList</a></tt> </tt>
|
||||
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-8" class="py-name" targets="Module linspector.lib.config.periods=linspector.lib.config.periods-module.html"><a title="linspector.lib.config.periods" class="py-name" href="#" onclick="return doclink('link-8', 'periods', 'link-8');">periods</a></tt> <tt class="py-keyword">import</tt> <tt id="link-9" class="py-name" targets="Function linspector.lib.config.periods.parsePeriodList()=linspector.lib.config.periods-module.html#parsePeriodList"><a title="linspector.lib.config.periods.parsePeriodList" class="py-name" href="#" onclick="return doclink('link-9', 'parsePeriodList', 'link-9');">parsePeriodList</a></tt> </tt>
|
||||
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-10" class="py-name" targets="Module linspector.lib.config.hostgroups=linspector.lib.config.hostgroups-module.html"><a title="linspector.lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-10', 'hostgroups', 'link-10');">hostgroups</a></tt> <tt class="py-keyword">import</tt> <tt id="link-11" class="py-name" targets="Function linspector.lib.config.hostgroups.parseHostGroupList()=linspector.lib.config.hostgroups-module.html#parseHostGroupList"><a title="linspector.lib.config.hostgroups.parseHostGroupList" class="py-name" href="#" onclick="return doclink('link-11', 'parseHostGroupList', 'link-11');">parseHostGroupList</a></tt> </tt>
|
||||
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment">#from layouts import *</tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> </tt>
|
||||
<a name="Config"></a><div id="Config-def"><a name="L11"></a><tt class="py-lineno">11</tt> <a class="py-toggle" href="#" id="Config-toggle" onclick="return toggle('Config');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.config.Config-class.html">Config</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Config-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Config-expanded"><a name="Config.__init__"></a><div id="Config.__init__-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="Config.__init__-toggle" onclick="return toggle('Config.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.config.Config-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">configFile</tt><tt class="py-op">,</tt> <tt class="py-param">log</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Config.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Config.__init__-expanded"><a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">configfile</tt> <tt class="py-op">=</tt> <tt class="py-name">configFile</tt> </tt>
|
||||
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> <tt class="py-name">f</tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">configFile</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Package linspector.lib.config=linspector.lib.config-module.html,Module linspector.lib.config.config=linspector.lib.config.config-module.html"><a title="linspector.lib.config
|
||||
linspector.lib.config.config" class="py-name" href="#" onclick="return doclink('link-12', 'config', 'link-12');">config</a></tt> <tt class="py-op">=</tt> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Method linspector.lib.core.logger.Logger.close()=linspector.lib.core.logger.Logger-class.html#close"><a title="linspector.lib.core.logger.Logger.close" class="py-name" href="#" onclick="return doclink('link-13', 'close', 'link-13');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> </tt>
|
||||
<a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt> <tt class="py-op">=</tt> <tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">loads</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="linspector.lib.config
|
||||
linspector.lib.config.config" class="py-name" href="#" onclick="return doclink('link-14', 'config', 'link-12');">config</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> </tt>
|
||||
<a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-15', 'services', 'link-0');">services</a></tt> <tt class="py-op">=</tt> <tt id="link-16" class="py-name"><a title="linspector.lib.config.services.serviceList" class="py-name" href="#" onclick="return doclink('link-16', 'serviceList', 'link-1');">serviceList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'services'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> </tt>
|
||||
<a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-17', 'filters', 'link-2');">filters</a></tt> <tt class="py-op">=</tt> <tt id="link-18" class="py-name"><a title="linspector.lib.config.filters.parseFilterList" class="py-name" href="#" onclick="return doclink('link-18', 'parseFilterList', 'link-3');">parseFilterList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'filters'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> </tt>
|
||||
<a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-19', 'members', 'link-4');">members</a></tt> <tt class="py-op">=</tt> <tt id="link-20" class="py-name"><a title="linspector.lib.config.members.parseMemberList" class="py-name" href="#" onclick="return doclink('link-20', 'parseMemberList', 'link-5');">parseMemberList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'members'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-21', 'filters', 'link-2');">filters</a></tt><tt class="py-op">,</tt> <tt class="py-name">log</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"> </tt>
|
||||
<a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="linspector.lib.config.periods" class="py-name" href="#" onclick="return doclink('link-22', 'periods', 'link-8');">periods</a></tt> <tt class="py-op">=</tt> <tt id="link-23" class="py-name"><a title="linspector.lib.config.periods.parsePeriodList" class="py-name" href="#" onclick="return doclink('link-23', 'parsePeriodList', 'link-9');">parsePeriodList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'periods'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> </tt>
|
||||
<a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="linspector.lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-24', 'hosts', 'link-6');">hosts</a></tt> <tt class="py-op">=</tt> <tt id="link-25" class="py-name"><a title="linspector.lib.config.hosts.parseHostList" class="py-name" href="#" onclick="return doclink('link-25', 'parseHostList', 'link-7');">parseHostList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'hosts'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-26', 'services', 'link-0');">services</a></tt><tt class="py-op">,</tt> <tt class="py-name">log</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> </tt>
|
||||
<a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="linspector.lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-27', 'hostgroups', 'link-10');">hostgroups</a></tt> <tt class="py-op">=</tt> <tt id="link-28" class="py-name"><a title="linspector.lib.config.hostgroups.parseHostGroupList" class="py-name" href="#" onclick="return doclink('link-28', 'parseHostGroupList', 'link-11');">parseHostGroupList</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt><tt class="py-op">[</tt><tt class="py-string">'hostgroups'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name"><a title="linspector.lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-29', 'hosts', 'link-6');">hosts</a></tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-30', 'members', 'link-4');">members</a></tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="linspector.lib.config.periods" class="py-name" href="#" onclick="return doclink('link-31', 'periods', 'link-8');">periods</a></tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-32', 'services', 'link-0');">services</a></tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">)</tt> </tt>
|
||||
</div></div><a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"> </tt>
|
||||
<a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-comment">#self.layouts = LayoutList(self.dict['layouts'], self.hostgroups)</tt> </tt>
|
||||
<a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
expandto(location.href);
|
||||
// -->
|
||||
</script>
|
||||
</pre>
|
||||
<br />
|
||||
<!-- ==================== NAVIGATION BAR ==================== -->
|
||||
<table class="navbar" border="0" width="100%" cellpadding="0"
|
||||
bgcolor="#a0c0ff" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
href="module-tree.html">Trees</a> </th>
|
||||
|
||||
<!-- Index link -->
|
||||
<th> <a
|
||||
href="identifier-index.html">Indices</a> </th>
|
||||
|
||||
<!-- Help link -->
|
||||
<th> <a
|
||||
href="help.html">Help</a> </th>
|
||||
|
||||
<th class="navbar" width="100%"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
>http://epydoc.sourceforge.net</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
// Private objects are initially displayed (because if
|
||||
// javascript is turned off then we want them to be
|
||||
// visible); but by default, we want to hide them. So hide
|
||||
// them unless we have a cookie that says to show them.
|
||||
checkCookie();
|
||||
// -->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.config.Config</title>
|
||||
<title>linspector.lib.config.config.Config</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.config-module.html">Module config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.config-module.html">Module config</a> ::
|
||||
Class Config
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.config.Config-class.html"
|
||||
>] | <a href="linspector.lib.config.config.Config-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Config</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.config-pysrc.html#Config">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Config</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.config-pysrc.html#Config">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -85,7 +86,7 @@
|
|||
<span class="summary-sig-arg">configFile</span>,
|
||||
<span class="summary-sig-arg">log</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.config-pysrc.html#Config.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.config-pysrc.html#Config.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -100,7 +101,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -120,7 +121,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.filters</title>
|
||||
<title>linspector.lib.config.filters</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module filters
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.filters-module.html"
|
||||
>] | <a href="linspector.lib.config.filters-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module filters</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.filters-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module filters</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.filters-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,7 +79,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.filters.Filter-class.html" class="summary-name">Filter</a>
|
||||
<a href="linspector.lib.config.filters.Filter-class.html" class="summary-name">Filter</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -107,7 +108,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="parseFilterList"></a><span class="summary-sig-name">parseFilterList</span>(<span class="summary-sig-arg">filters</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.filters-pysrc.html#parseFilterList">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.filters-pysrc.html#parseFilterList">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -147,7 +148,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -167,7 +168,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.filters</title>
|
||||
<title>linspector.lib.config.filters</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module filters
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,31 +50,31 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.filters-pysrc.html"
|
||||
>] | <a href="linspector.lib.config.filters-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.config.filters-module.html">Module lib.config.filters</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.config.filters-module.html">Module linspector.lib.config.filters</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="Filter"></a><div id="Filter-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="Filter-toggle" onclick="return toggle('Filter');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.filters.Filter-class.html">Filter</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Filter-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Filter-expanded"><a name="Filter.__init__"></a><div id="Filter.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="Filter.__init__-toggle" onclick="return toggle('Filter.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.filters.Filter-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">priority</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Filter"></a><div id="Filter-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="Filter-toggle" onclick="return toggle('Filter');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.filters.Filter-class.html">Filter</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Filter-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Filter-expanded"><a name="Filter.__init__"></a><div id="Filter.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="Filter.__init__-toggle" onclick="return toggle('Filter.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.filters.Filter-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">priority</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Filter.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Filter.__init__-expanded"><a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt class="py-name">name</tt> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module lib.core.command=lib.core.command-module.html"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-0', 'command', 'link-0');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-1', 'command', 'link-0');">command</a></tt> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module linspector.lib.core.command=linspector.lib.core.command-module.html"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-0', 'command', 'link-0');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-1', 'command', 'link-0');">command</a></tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">priority</tt> <tt class="py-op">=</tt> <tt class="py-name">priority</tt> </tt>
|
||||
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt> <tt class="py-op">=</tt> <tt class="py-name">comment</tt> </tt>
|
||||
</div><a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> </tt>
|
||||
<a name="Filter.__str__"></a><div id="Filter.__str__-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="Filter.__str__-toggle" onclick="return toggle('Filter.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.filters.Filter-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Filter.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Filter.__str__-expanded"><a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"Filter('Name: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">"', 'Command: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-2', 'command', 'link-0');">command</a></tt> <tt class="py-op">+</tt> <tt class="py-string">"', 'Priority: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt> </tt>
|
||||
<a name="Filter.__str__"></a><div id="Filter.__str__-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="Filter.__str__-toggle" onclick="return toggle('Filter.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.filters.Filter-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Filter.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Filter.__str__-expanded"><a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"Filter('Name: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">"', 'Command: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-2', 'command', 'link-0');">command</a></tt> <tt class="py-op">+</tt> <tt class="py-string">"', 'Priority: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">priority</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"')"</tt> </tt>
|
||||
</div><a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> </tt>
|
||||
<a name="Filter.clone"></a><div id="Filter.clone-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="Filter.clone-toggle" onclick="return toggle('Filter.clone');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.filters.Filter-class.html#clone">clone</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Filter.clone-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Filter.clone-expanded"><a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-3" class="py-name" targets="Class lib.config.filters.Filter=lib.config.filters.Filter-class.html"><a title="lib.config.filters.Filter" class="py-name" href="#" onclick="return doclink('link-3', 'Filter', 'link-3');">Filter</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-4', 'command', 'link-0');">command</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">priority</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="Filter.clone"></a><div id="Filter.clone-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="Filter.clone-toggle" onclick="return toggle('Filter.clone');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.filters.Filter-class.html#clone">clone</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Filter.clone-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Filter.clone-expanded"><a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-3" class="py-name" targets="Class linspector.lib.config.filters.Filter=linspector.lib.config.filters.Filter-class.html"><a title="linspector.lib.config.filters.Filter" class="py-name" href="#" onclick="return doclink('link-3', 'Filter', 'link-3');">Filter</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-4', 'command', 'link-0');">command</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">priority</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt><tt class="py-op">)</tt> </tt>
|
||||
</div></div><a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> </tt>
|
||||
<a name="parseFilterList"></a><div id="parseFilterList-def"><a name="L16"></a><tt class="py-lineno">16</tt> <a class="py-toggle" href="#" id="parseFilterList-toggle" onclick="return toggle('parseFilterList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.filters-module.html#parseFilterList">parseFilterList</a><tt class="py-op">(</tt><tt class="py-param">filters</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="parseFilterList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="parseFilterList-expanded"><a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt id="link-5" class="py-name"><a title="lib.config.filters.Filter" class="py-name" href="#" onclick="return doclink('link-5', 'Filter', 'link-3');">Filter</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-6" class="py-name" targets="Module lib.config.filters=lib.config.filters-module.html"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-6', 'filters', 'link-6');">filters</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="parseFilterList"></a><div id="parseFilterList-def"><a name="L16"></a><tt class="py-lineno">16</tt> <a class="py-toggle" href="#" id="parseFilterList-toggle" onclick="return toggle('parseFilterList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.filters-module.html#parseFilterList">parseFilterList</a><tt class="py-op">(</tt><tt class="py-param">filters</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="parseFilterList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="parseFilterList-expanded"><a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt id="link-5" class="py-name"><a title="linspector.lib.config.filters.Filter" class="py-name" href="#" onclick="return doclink('link-5', 'Filter', 'link-3');">Filter</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-6" class="py-name" targets="Module linspector.lib.config.filters=linspector.lib.config.filters-module.html"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-6', 'filters', 'link-6');">filters</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
</div><a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
expandto(location.href);
|
||||
|
|
@ -87,7 +88,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -107,7 +108,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.filters.Filter</title>
|
||||
<title>linspector.lib.config.filters.Filter</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.filters-module.html">Module filters</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.filters-module.html">Module filters</a> ::
|
||||
Class Filter
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.filters.Filter-class.html"
|
||||
>] | <a href="linspector.lib.config.filters.Filter-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Filter</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.filters-pysrc.html#Filter">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Filter</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.filters-pysrc.html#Filter">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -87,7 +88,7 @@
|
|||
<span class="summary-sig-arg">priority</span>=<span class="summary-sig-default">0</span>,
|
||||
<span class="summary-sig-arg">comment</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.filters-pysrc.html#Filter.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.filters-pysrc.html#Filter.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -103,7 +104,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.filters-pysrc.html#Filter.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.filters-pysrc.html#Filter.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -119,7 +120,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="clone"></a><span class="summary-sig-name">clone</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.filters-pysrc.html#Filter.clone">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.filters-pysrc.html#Filter.clone">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -134,7 +135,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -154,7 +155,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.hostgroups</title>
|
||||
<title>linspector.lib.config.hostgroups</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module hostgroups
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.hostgroups-module.html"
|
||||
>] | <a href="linspector.lib.config.hostgroups-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module hostgroups</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.hostgroups-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module hostgroups</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.hostgroups-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,14 +79,14 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.hostgroups.HostGroup-class.html" class="summary-name">HostGroup</a>
|
||||
<a href="linspector.lib.config.hostgroups.HostGroup-class.html" class="summary-name">HostGroup</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.hostgroups.HostGroupService-class.html" class="summary-name">HostGroupService</a>
|
||||
<a href="linspector.lib.config.hostgroups.HostGroupService-class.html" class="summary-name">HostGroupService</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -119,7 +120,7 @@
|
|||
<span class="summary-sig-arg">services</span>,
|
||||
<span class="summary-sig-arg">log</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hostgroups-pysrc.html#parseHostGroupList">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hostgroups-pysrc.html#parseHostGroupList">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -159,7 +160,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -179,7 +180,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.hostgroups</title>
|
||||
<title>linspector.lib.config.hostgroups</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module hostgroups
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,69 +50,69 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.hostgroups-pysrc.html"
|
||||
>] | <a href="linspector.lib.config.hostgroups-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.config.hostgroups-module.html">Module lib.config.hostgroups</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.config.hostgroups-module.html">Module linspector.lib.config.hostgroups</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="HostGroup"></a><div id="HostGroup-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="HostGroup-toggle" onclick="return toggle('HostGroup');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.hostgroups.HostGroup-class.html">HostGroup</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostGroup-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="HostGroup-expanded"><a name="HostGroup.__init__"></a><div id="HostGroup.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="HostGroup.__init__-toggle" onclick="return toggle('HostGroup.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hostgroups.HostGroup-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">members</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">hosts</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">services</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">threshold</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="HostGroup"></a><div id="HostGroup-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="HostGroup-toggle" onclick="return toggle('HostGroup');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.hostgroups.HostGroup-class.html">HostGroup</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostGroup-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="HostGroup-expanded"><a name="HostGroup.__init__"></a><div id="HostGroup.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="HostGroup.__init__-toggle" onclick="return toggle('HostGroup.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hostgroups.HostGroup-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">members</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">hosts</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">services</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">threshold</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostGroup.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HostGroup.__init__-expanded"><a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt class="py-name">name</tt> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">interval</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module lib.config.members=lib.config.members-module.html"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-0', 'members', 'link-0');">members</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-1', 'members', 'link-0');">members</a></tt> </tt>
|
||||
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module lib.config.hosts=lib.config.hosts-module.html"><a title="lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-2', 'hosts', 'link-2');">hosts</a></tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-3', 'hosts', 'link-2');">hosts</a></tt> </tt>
|
||||
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Module lib.config.services=lib.config.services-module.html"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-4', 'services', 'link-4');">services</a></tt> <tt class="py-op">=</tt> <tt id="link-5" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-5', 'services', 'link-4');">services</a></tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module linspector.lib.config.members=linspector.lib.config.members-module.html"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-0', 'members', 'link-0');">members</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-1', 'members', 'link-0');">members</a></tt> </tt>
|
||||
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module linspector.lib.config.hosts=linspector.lib.config.hosts-module.html"><a title="linspector.lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-2', 'hosts', 'link-2');">hosts</a></tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="linspector.lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-3', 'hosts', 'link-2');">hosts</a></tt> </tt>
|
||||
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Module linspector.lib.config.services=linspector.lib.config.services-module.html"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-4', 'services', 'link-4');">services</a></tt> <tt class="py-op">=</tt> <tt id="link-5" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-5', 'services', 'link-4');">services</a></tt> </tt>
|
||||
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">threshold</tt> <tt class="py-op">=</tt> <tt class="py-name">threshold</tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt> <tt class="py-op">=</tt> <tt class="py-name">parent</tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt> <tt class="py-op">=</tt> <tt class="py-name">comment</tt> </tt>
|
||||
</div><a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> </tt>
|
||||
<a name="HostGroup.__str__"></a><div id="HostGroup.__str__-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="HostGroup.__str__-toggle" onclick="return toggle('HostGroup.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hostgroups.HostGroup-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="HostGroup.__str__"></a><div id="HostGroup.__str__-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="HostGroup.__str__-toggle" onclick="return toggle('HostGroup.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hostgroups.HostGroup-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostGroup.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HostGroup.__str__-expanded"><a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-string">"HostGroup: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">" threshold: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">threshold</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">" parent: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt> <tt class="py-op">+</tt> <tt class="py-string">"\n"</tt> </tt>
|
||||
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"members: {\n"</tt> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">itm</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-6', 'members', 'link-0');">members</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">itm</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-6', 'members', 'link-0');">members</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">itm</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"\n"</tt> </tt>
|
||||
<a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"}\n"</tt> </tt>
|
||||
<a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"hosts: {\n"</tt> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">itm</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name"><a title="lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-7', 'hosts', 'link-2');">hosts</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">itm</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name"><a title="linspector.lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-7', 'hosts', 'link-2');">hosts</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">itm</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"\n"</tt> </tt>
|
||||
<a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"}\n"</tt> </tt>
|
||||
<a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"services: {\n"</tt> </tt>
|
||||
<a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">itm</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-8', 'services', 'link-4');">services</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">itm</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-8', 'services', 'link-4');">services</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">itm</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"\n"</tt> </tt>
|
||||
<a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"}\n"</tt> </tt>
|
||||
<a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret</tt> </tt>
|
||||
</div></div><a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> </tt>
|
||||
<a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> </tt>
|
||||
<a name="HostGroupService"></a><div id="HostGroupService-def"><a name="L29"></a><tt class="py-lineno">29</tt> <a class="py-toggle" href="#" id="HostGroupService-toggle" onclick="return toggle('HostGroupService');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.hostgroups.HostGroupService-class.html">HostGroupService</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostGroupService-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="HostGroupService-expanded"><a name="HostGroupService.__init__"></a><div id="HostGroupService.__init__-def"><a name="L30"></a><tt class="py-lineno">30</tt> <a class="py-toggle" href="#" id="HostGroupService.__init__-toggle" onclick="return toggle('HostGroupService.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hostgroups.HostGroupService-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">service</tt><tt class="py-op">,</tt> <tt class="py-param">periods</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="HostGroupService"></a><div id="HostGroupService-def"><a name="L29"></a><tt class="py-lineno">29</tt> <a class="py-toggle" href="#" id="HostGroupService-toggle" onclick="return toggle('HostGroupService');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.hostgroups.HostGroupService-class.html">HostGroupService</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostGroupService-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="HostGroupService-expanded"><a name="HostGroupService.__init__"></a><div id="HostGroupService.__init__-def"><a name="L30"></a><tt class="py-lineno">30</tt> <a class="py-toggle" href="#" id="HostGroupService.__init__-toggle" onclick="return toggle('HostGroupService.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hostgroups.HostGroupService-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">service</tt><tt class="py-op">,</tt> <tt class="py-param">periods</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostGroupService.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HostGroupService.__init__-expanded"><a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">service</tt> </tt>
|
||||
<a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Module lib.config.periods=lib.config.periods-module.html"><a title="lib.config.periods" class="py-name" href="#" onclick="return doclink('link-9', 'periods', 'link-9');">periods</a></tt> <tt class="py-op">=</tt> <tt id="link-10" class="py-name"><a title="lib.config.periods" class="py-name" href="#" onclick="return doclink('link-10', 'periods', 'link-9');">periods</a></tt> </tt>
|
||||
<a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Module linspector.lib.config.periods=linspector.lib.config.periods-module.html"><a title="linspector.lib.config.periods" class="py-name" href="#" onclick="return doclink('link-9', 'periods', 'link-9');">periods</a></tt> <tt class="py-op">=</tt> <tt id="link-10" class="py-name"><a title="linspector.lib.config.periods" class="py-name" href="#" onclick="return doclink('link-10', 'periods', 'link-9');">periods</a></tt> </tt>
|
||||
</div><a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> </tt>
|
||||
<a name="HostGroupService.__str__"></a><div id="HostGroupService.__str__-def"><a name="L34"></a><tt class="py-lineno">34</tt> <a class="py-toggle" href="#" id="HostGroupService.__str__-toggle" onclick="return toggle('HostGroupService.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hostgroups.HostGroupService-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostGroupService.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HostGroupService.__str__-expanded"><a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"HostgroupService { "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">", "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="lib.config.periods" class="py-name" href="#" onclick="return doclink('link-11', 'periods', 'link-9');">periods</a></tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"}"</tt> </tt>
|
||||
<a name="HostGroupService.__str__"></a><div id="HostGroupService.__str__-def"><a name="L34"></a><tt class="py-lineno">34</tt> <a class="py-toggle" href="#" id="HostGroupService.__str__-toggle" onclick="return toggle('HostGroupService.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hostgroups.HostGroupService-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostGroupService.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="HostGroupService.__str__-expanded"><a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"HostgroupService { "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">", "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="linspector.lib.config.periods" class="py-name" href="#" onclick="return doclink('link-11', 'periods', 'link-9');">periods</a></tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"}"</tt> </tt>
|
||||
</div></div><a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"> </tt>
|
||||
<a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> </tt>
|
||||
<a name="parseHostGroupList"></a><div id="parseHostGroupList-def"><a name="L38"></a><tt class="py-lineno">38</tt> <a class="py-toggle" href="#" id="parseHostGroupList-toggle" onclick="return toggle('parseHostGroupList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hostgroups-module.html#parseHostGroupList">parseHostGroupList</a><tt class="py-op">(</tt><tt class="py-param">hostgroups</tt><tt class="py-op">,</tt> <tt class="py-param">hosts</tt><tt class="py-op">,</tt> <tt class="py-param">members</tt><tt class="py-op">,</tt> <tt class="py-param">periods</tt><tt class="py-op">,</tt> <tt class="py-param">services</tt><tt class="py-op">,</tt> <tt class="py-param">log</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="parseHostGroupList"></a><div id="parseHostGroupList-def"><a name="L38"></a><tt class="py-lineno">38</tt> <a class="py-toggle" href="#" id="parseHostGroupList-toggle" onclick="return toggle('parseHostGroupList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hostgroups-module.html#parseHostGroupList">parseHostGroupList</a><tt class="py-op">(</tt><tt class="py-param">hostgroups</tt><tt class="py-op">,</tt> <tt class="py-param">hosts</tt><tt class="py-op">,</tt> <tt class="py-param">members</tt><tt class="py-op">,</tt> <tt class="py-param">periods</tt><tt class="py-op">,</tt> <tt class="py-param">services</tt><tt class="py-op">,</tt> <tt class="py-param">log</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="parseHostGroupList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="parseHostGroupList-expanded"><a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"> <tt class="py-name">parsedHostGroups</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">hgname</tt><tt class="py-op">,</tt> <tt class="py-name">hgValues</tt> <tt class="py-keyword">in</tt> <tt id="link-12" class="py-name" targets="Module lib.config.hostgroups=lib.config.hostgroups-module.html"><a title="lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-12', 'hostgroups', 'link-12');">hostgroups</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt> <tt class="py-op">=</tt> <tt id="link-13" class="py-name" targets="Class lib.config.hostgroups.HostGroup=lib.config.hostgroups.HostGroup-class.html"><a title="lib.config.hostgroups.HostGroup" class="py-name" href="#" onclick="return doclink('link-13', 'HostGroup', 'link-13');">HostGroup</a></tt><tt class="py-op">(</tt><tt class="py-name">hgname</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-14', 'members', 'link-0');">members</a></tt> <tt class="py-op">=</tt> <tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">m</tt><tt class="py-op">:</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt class="py-name">nameid</tt> <tt class="py-keyword">in</tt> <tt class="py-name">hgValues</tt><tt class="py-op">[</tt><tt class="py-string">'members'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt id="link-15" class="py-name"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-15', 'members', 'link-0');">members</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L43"></a><tt class="py-lineno">43</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-16', 'hosts', 'link-2');">hosts</a></tt> <tt class="py-op">=</tt> <tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">h</tt><tt class="py-op">:</tt> <tt class="py-name">h</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">hgValues</tt><tt class="py-op">[</tt><tt class="py-string">'hosts'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt id="link-17" class="py-name"><a title="lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-17', 'hosts', 'link-2');">hosts</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">hgname</tt><tt class="py-op">,</tt> <tt class="py-name">hgValues</tt> <tt class="py-keyword">in</tt> <tt id="link-12" class="py-name" targets="Module linspector.lib.config.hostgroups=linspector.lib.config.hostgroups-module.html"><a title="linspector.lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-12', 'hostgroups', 'link-12');">hostgroups</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt> <tt class="py-op">=</tt> <tt id="link-13" class="py-name" targets="Class linspector.lib.config.hostgroups.HostGroup=linspector.lib.config.hostgroups.HostGroup-class.html"><a title="linspector.lib.config.hostgroups.HostGroup" class="py-name" href="#" onclick="return doclink('link-13', 'HostGroup', 'link-13');">HostGroup</a></tt><tt class="py-op">(</tt><tt class="py-name">hgname</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-14', 'members', 'link-0');">members</a></tt> <tt class="py-op">=</tt> <tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">m</tt><tt class="py-op">:</tt> <tt class="py-name">m</tt><tt class="py-op">.</tt><tt class="py-name">nameid</tt> <tt class="py-keyword">in</tt> <tt class="py-name">hgValues</tt><tt class="py-op">[</tt><tt class="py-string">'members'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt id="link-15" class="py-name"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-15', 'members', 'link-0');">members</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L43"></a><tt class="py-lineno">43</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="linspector.lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-16', 'hosts', 'link-2');">hosts</a></tt> <tt class="py-op">=</tt> <tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">h</tt><tt class="py-op">:</tt> <tt class="py-name">h</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">hgValues</tt><tt class="py-op">[</tt><tt class="py-string">'hosts'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt id="link-17" class="py-name"><a title="linspector.lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-17', 'hosts', 'link-2');">hosts</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L44"></a><tt class="py-lineno">44</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt class="py-name">threshold</tt> <tt class="py-op">=</tt> <tt class="py-name">hgValues</tt><tt class="py-op">[</tt><tt class="py-string">'threshold'</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L45"></a><tt class="py-lineno">45</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'parent'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">hgValues</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L46"></a><tt class="py-lineno">46</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt> <tt class="py-op">=</tt> <tt class="py-name">hgValues</tt><tt class="py-op">[</tt><tt class="py-string">'parent'</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L47"></a><tt class="py-lineno">47</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-18', 'services', 'link-4');">services</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L47"></a><tt class="py-lineno">47</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-18', 'services', 'link-4');">services</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L48"></a><tt class="py-lineno">48</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">serviceName</tt><tt class="py-op">,</tt> <tt class="py-name">servicePeriods</tt> <tt class="py-keyword">in</tt> <tt class="py-name">hgValues</tt><tt class="py-op">[</tt><tt class="py-string">'services'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L49"></a><tt class="py-lineno">49</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">s</tt><tt class="py-op">:</tt> <tt class="py-name">s</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">serviceName</tt><tt class="py-op">,</tt> <tt id="link-19" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-19', 'services', 'link-4');">services</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L49"></a><tt class="py-lineno">49</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">s</tt><tt class="py-op">:</tt> <tt class="py-name">s</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">serviceName</tt><tt class="py-op">,</tt> <tt id="link-19" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-19', 'services', 'link-4');">services</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L50"></a><tt class="py-lineno">50</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L51"></a><tt class="py-lineno">51</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Method lib.core.logger.Logger.w()=lib.core.logger.Logger-class.html#w"><a title="lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-20', 'w', 'link-20');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"Service "</tt> <tt class="py-op">+</tt> <tt class="py-name">serviceName</tt> <tt class="py-op">+</tt> <tt class="py-string">" is not defined for Hostgroup "</tt> <tt class="py-op">+</tt> <tt class="py-name">hgname</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L51"></a><tt class="py-lineno">51</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Method linspector.lib.core.logger.Logger.w()=linspector.lib.core.logger.Logger-class.html#w"><a title="linspector.lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-20', 'w', 'link-20');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"Service "</tt> <tt class="py-op">+</tt> <tt class="py-name">serviceName</tt> <tt class="py-op">+</tt> <tt class="py-string">" is not defined for Hostgroup "</tt> <tt class="py-op">+</tt> <tt class="py-name">hgname</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L52"></a><tt class="py-lineno">52</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
|
||||
<a name="L53"></a><tt class="py-lineno">53</tt> <tt class="py-line"> <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">service</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L54"></a><tt class="py-lineno">54</tt> <tt class="py-line"> <tt class="py-name">hostGroupPeriods</tt> <tt class="py-op">=</tt> <tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">p</tt><tt class="py-op">:</tt> <tt class="py-name">p</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">servicePeriods</tt><tt class="py-op">,</tt> <tt id="link-21" class="py-name"><a title="lib.config.periods" class="py-name" href="#" onclick="return doclink('link-21', 'periods', 'link-9');">periods</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L55"></a><tt class="py-lineno">55</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-22', 'services', 'link-4');">services</a></tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt id="link-23" class="py-name" targets="Class lib.config.hostgroups.HostGroupService=lib.config.hostgroups.HostGroupService-class.html"><a title="lib.config.hostgroups.HostGroupService" class="py-name" href="#" onclick="return doclink('link-23', 'HostGroupService', 'link-23');">HostGroupService</a></tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">,</tt> <tt class="py-name">hostGroupPeriods</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L54"></a><tt class="py-lineno">54</tt> <tt class="py-line"> <tt class="py-name">hostGroupPeriods</tt> <tt class="py-op">=</tt> <tt class="py-name">filter</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">p</tt><tt class="py-op">:</tt> <tt class="py-name">p</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-keyword">in</tt> <tt class="py-name">servicePeriods</tt><tt class="py-op">,</tt> <tt id="link-21" class="py-name"><a title="linspector.lib.config.periods" class="py-name" href="#" onclick="return doclink('link-21', 'periods', 'link-9');">periods</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L55"></a><tt class="py-lineno">55</tt> <tt class="py-line"> <tt class="py-name">hostGroup</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-22', 'services', 'link-4');">services</a></tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt id="link-23" class="py-name" targets="Class linspector.lib.config.hostgroups.HostGroupService=linspector.lib.config.hostgroups.HostGroupService-class.html"><a title="linspector.lib.config.hostgroups.HostGroupService" class="py-name" href="#" onclick="return doclink('link-23', 'HostGroupService', 'link-23');">HostGroupService</a></tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">,</tt> <tt class="py-name">hostGroupPeriods</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L56"></a><tt class="py-lineno">56</tt> <tt class="py-line"> <tt class="py-name">parsedHostGroups</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">hostGroup</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L57"></a><tt class="py-lineno">57</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">parsedHostGroups</tt> </tt>
|
||||
</div><a name="L58"></a><tt class="py-lineno">58</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
|
|
@ -127,7 +128,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -147,7 +148,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.hostgroups.HostGroup</title>
|
||||
<title>linspector.lib.config.hostgroups.HostGroup</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.hostgroups-module.html">Module hostgroups</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.hostgroups-module.html">Module hostgroups</a> ::
|
||||
Class HostGroup
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.hostgroups.HostGroup-class.html"
|
||||
>] | <a href="linspector.lib.config.hostgroups.HostGroup-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class HostGroup</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.hostgroups-pysrc.html#HostGroup">source code</a></span></p>
|
||||
<h1 class="epydoc">Class HostGroup</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.hostgroups-pysrc.html#HostGroup">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -90,7 +91,7 @@
|
|||
<span class="summary-sig-arg">parent</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
|
||||
<span class="summary-sig-arg">comment</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hostgroups-pysrc.html#HostGroup.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hostgroups-pysrc.html#HostGroup.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -106,7 +107,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hostgroups-pysrc.html#HostGroup.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hostgroups-pysrc.html#HostGroup.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -121,7 +122,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -141,7 +142,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.hostgroups.HostGroupService</title>
|
||||
<title>linspector.lib.config.hostgroups.HostGroupService</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.hostgroups-module.html">Module hostgroups</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.hostgroups-module.html">Module hostgroups</a> ::
|
||||
Class HostGroupService
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.hostgroups.HostGroupService-class.html"
|
||||
>] | <a href="linspector.lib.config.hostgroups.HostGroupService-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class HostGroupService</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.hostgroups-pysrc.html#HostGroupService">source code</a></span></p>
|
||||
<h1 class="epydoc">Class HostGroupService</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.hostgroups-pysrc.html#HostGroupService">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -85,7 +86,7 @@
|
|||
<span class="summary-sig-arg">service</span>,
|
||||
<span class="summary-sig-arg">periods</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hostgroups-pysrc.html#HostGroupService.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hostgroups-pysrc.html#HostGroupService.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -101,7 +102,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hostgroups-pysrc.html#HostGroupService.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hostgroups-pysrc.html#HostGroupService.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -116,7 +117,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -136,7 +137,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.hosts</title>
|
||||
<title>linspector.lib.config.hosts</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module hosts
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.hosts-module.html"
|
||||
>] | <a href="linspector.lib.config.hosts-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module hosts</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.hosts-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module hosts</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,14 +79,14 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.hosts.Host-class.html" class="summary-name">Host</a>
|
||||
<a href="linspector.lib.config.hosts.Host-class.html" class="summary-name">Host</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.hosts.HostService-class.html" class="summary-name">HostService</a>
|
||||
<a href="linspector.lib.config.hosts.HostService-class.html" class="summary-name">HostService</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -117,7 +118,7 @@
|
|||
<span class="summary-sig-arg">log</span>)</span><br />
|
||||
parse the HostList and replace any command as nessesary</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hosts-pysrc.html#parseHostList">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html#parseHostList">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -147,7 +148,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lib.config'"><code class="variable-quote">'</code><code class="variable-string">lib.config</code><code class="variable-quote">'</code></code>
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'linspector.lib.config'"><code class="variable-quote">'</code><code class="variable-string">linspector.lib.config</code><code class="variable-quote">'</code></code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -157,7 +158,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -177,7 +178,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.hosts</title>
|
||||
<title>linspector.lib.config.hosts</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module hosts
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,49 +50,49 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.hosts-pysrc.html"
|
||||
>] | <a href="linspector.lib.config.hosts-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.config.hosts-module.html">Module lib.config.hosts</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.config.hosts-module.html">Module linspector.lib.config.hosts</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">re</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"> </tt>
|
||||
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"> </tt>
|
||||
<a name="Host"></a><div id="Host-def"><a name="L4"></a><tt class="py-lineno"> 4</tt> <a class="py-toggle" href="#" id="Host-toggle" onclick="return toggle('Host');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.hosts.Host-class.html">Host</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Host-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Host-expanded"><a name="Host.__init__"></a><div id="Host.__init__-def"><a name="L5"></a><tt class="py-lineno"> 5</tt> <a class="py-toggle" href="#" id="Host.__init__-toggle" onclick="return toggle('Host.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hosts.Host-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">host</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">services</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Host"></a><div id="Host-def"><a name="L4"></a><tt class="py-lineno"> 4</tt> <a class="py-toggle" href="#" id="Host-toggle" onclick="return toggle('Host');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.hosts.Host-class.html">Host</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Host-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Host-expanded"><a name="Host.__init__"></a><div id="Host.__init__-def"><a name="L5"></a><tt class="py-lineno"> 5</tt> <a class="py-toggle" href="#" id="Host.__init__-toggle" onclick="return toggle('Host.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hosts.Host-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">host</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">services</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Host.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Host.__init__-expanded"><a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt class="py-name">name</tt> </tt>
|
||||
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">host</tt> <tt class="py-op">=</tt> <tt class="py-name">host</tt> </tt>
|
||||
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt> <tt class="py-op">=</tt> <tt class="py-name">parent</tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module lib.config.services=lib.config.services-module.html"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-0', 'services', 'link-0');">services</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-1', 'services', 'link-0');">services</a></tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module linspector.lib.config.services=linspector.lib.config.services-module.html"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-0', 'services', 'link-0');">services</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-1', 'services', 'link-0');">services</a></tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt> <tt class="py-op">=</tt> <tt class="py-name">comment</tt> </tt>
|
||||
</div><a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"> </tt>
|
||||
<a name="Host.__str__"></a><div id="Host.__str__-def"><a name="L12"></a><tt class="py-lineno"> 12</tt> <a class="py-toggle" href="#" id="Host.__str__-toggle" onclick="return toggle('Host.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hosts.Host-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Host.__str__"></a><div id="Host.__str__-def"><a name="L12"></a><tt class="py-lineno"> 12</tt> <a class="py-toggle" href="#" id="Host.__str__-toggle" onclick="return toggle('Host.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hosts.Host-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Host.__str__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Host.__str__-expanded"><a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-string">"Host('Name: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">"', 'access: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">host</tt> <tt class="py-op">+</tt> <tt class="py-string">"', "</tt> </tt>
|
||||
<a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt> <tt class="py-op">!=</tt> <tt class="py-string">""</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"'parent: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt> <tt class="py-op">+</tt> <tt class="py-string">"', "</tt> </tt>
|
||||
<a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"'HostServices: {"</tt> </tt>
|
||||
<a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">s</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-2', 'services', 'link-0');">services</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">s</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-2', 'services', 'link-0');">services</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"\n"</tt> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"}"</tt> </tt>
|
||||
<a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret</tt> </tt>
|
||||
</div></div><a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"> </tt>
|
||||
<a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"> </tt>
|
||||
<a name="HostService"></a><div id="HostService-def"><a name="L23"></a><tt class="py-lineno"> 23</tt> <a class="py-toggle" href="#" id="HostService-toggle" onclick="return toggle('HostService');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.hosts.HostService-class.html">HostService</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostService-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="HostService-expanded"><a name="HostService.__init__"></a><div id="HostService.__init__-def"><a name="L24"></a><tt class="py-lineno"> 24</tt> <a class="py-toggle" href="#" id="HostService.__init__-toggle" onclick="return toggle('HostService.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hosts.HostService-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">service</tt><tt class="py-op">,</tt> <tt class="py-param">warning</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">critical</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="HostService"></a><div id="HostService-def"><a name="L23"></a><tt class="py-lineno"> 23</tt> <a class="py-toggle" href="#" id="HostService-toggle" onclick="return toggle('HostService');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.hosts.HostService-class.html">HostService</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostService-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="HostService-expanded"><a name="HostService.__init__"></a><div id="HostService.__init__-def"><a name="L24"></a><tt class="py-lineno"> 24</tt> <a class="py-toggle" href="#" id="HostService.__init__-toggle" onclick="return toggle('HostService.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hosts.HostService-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">service</tt><tt class="py-op">,</tt> <tt class="py-param">warning</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">critical</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostService.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HostService.__init__-expanded"><a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">service</tt> </tt>
|
||||
<a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">warning</tt> <tt class="py-op">=</tt> <tt class="py-name">warning</tt> </tt>
|
||||
<a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">critical</tt> <tt class="py-op">=</tt> <tt class="py-name">critical</tt> </tt>
|
||||
</div><a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"> </tt>
|
||||
<a name="HostService.setCommand"></a><div id="HostService.setCommand-def"><a name="L29"></a><tt class="py-lineno"> 29</tt> <a class="py-toggle" href="#" id="HostService.setCommand-toggle" onclick="return toggle('HostService.setCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hosts.HostService-class.html#setCommand">setCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostService.setCommand-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HostService.setCommand-expanded"><a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Module lib.core.command=lib.core.command-module.html"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-3', 'command', 'link-3');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-4" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-4', 'command', 'link-3');">command</a></tt> </tt>
|
||||
<a name="HostService.setCommand"></a><div id="HostService.setCommand-def"><a name="L29"></a><tt class="py-lineno"> 29</tt> <a class="py-toggle" href="#" id="HostService.setCommand-toggle" onclick="return toggle('HostService.setCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hosts.HostService-class.html#setCommand">setCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostService.setCommand-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HostService.setCommand-expanded"><a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Module linspector.lib.core.command=linspector.lib.core.command-module.html"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-3', 'command', 'link-3');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-4" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-4', 'command', 'link-3');">command</a></tt> </tt>
|
||||
</div><a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> </tt>
|
||||
<a name="HostService.getCommand"></a><div id="HostService.getCommand-def"><a name="L32"></a><tt class="py-lineno"> 32</tt> <a class="py-toggle" href="#" id="HostService.getCommand-toggle" onclick="return toggle('HostService.getCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hosts.HostService-class.html#getCommand">getCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostService.getCommand-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HostService.getCommand-expanded"><a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-5', 'command', 'link-3');">command</a></tt> </tt>
|
||||
<a name="HostService.getCommand"></a><div id="HostService.getCommand-def"><a name="L32"></a><tt class="py-lineno"> 32</tt> <a class="py-toggle" href="#" id="HostService.getCommand-toggle" onclick="return toggle('HostService.getCommand');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hosts.HostService-class.html#getCommand">getCommand</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostService.getCommand-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HostService.getCommand-expanded"><a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-5', 'command', 'link-3');">command</a></tt> </tt>
|
||||
</div><a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> </tt>
|
||||
<a name="HostService.__str__"></a><div id="HostService.__str__-def"><a name="L35"></a><tt class="py-lineno"> 35</tt> <a class="py-toggle" href="#" id="HostService.__str__-toggle" onclick="return toggle('HostService.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hosts.HostService-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="HostService.__str__"></a><div id="HostService.__str__-def"><a name="L35"></a><tt class="py-lineno"> 35</tt> <a class="py-toggle" href="#" id="HostService.__str__-toggle" onclick="return toggle('HostService.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hosts.HostService-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="HostService.__str__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="HostService.__str__-expanded"><a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"warning: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">warning</tt><tt class="py-op">)</tt> </tt>
|
||||
|
|
@ -100,38 +101,38 @@
|
|||
<a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret</tt><tt class="py-op">;</tt> </tt>
|
||||
</div></div><a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> </tt>
|
||||
<a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> </tt>
|
||||
<a name="parseHostList"></a><div id="parseHostList-def"><a name="L44"></a><tt class="py-lineno"> 44</tt> <a class="py-toggle" href="#" id="parseHostList-toggle" onclick="return toggle('parseHostList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.hosts-module.html#parseHostList">parseHostList</a><tt class="py-op">(</tt><tt class="py-param">hosts</tt><tt class="py-op">,</tt> <tt class="py-param">services</tt><tt class="py-op">,</tt> <tt class="py-param">log</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="parseHostList"></a><div id="parseHostList-def"><a name="L44"></a><tt class="py-lineno"> 44</tt> <a class="py-toggle" href="#" id="parseHostList-toggle" onclick="return toggle('parseHostList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.hosts-module.html#parseHostList">parseHostList</a><tt class="py-op">(</tt><tt class="py-param">hosts</tt><tt class="py-op">,</tt> <tt class="py-param">services</tt><tt class="py-op">,</tt> <tt class="py-param">log</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="parseHostList-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="parseHostList-expanded"><a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"><tt class="py-docstring"> parse the HostList and replace any command as nessesary</tt> </tt>
|
||||
<a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
|
||||
<a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-comment">#precompiled regexPattern which finds replacements in service strings</tt> </tt>
|
||||
<a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> <tt class="py-name">pattern</tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">compile</tt><tt class="py-op">(</tt><tt class="py-string">"@(\w+)"</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"> <tt class="py-comment">#get a List of Host Objects and leave services unparsed for this moment</tt> </tt>
|
||||
<a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt class="py-name">parsedHosts</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-6" class="py-name" targets="Class lib.config.hosts.Host=lib.config.hosts.Host-class.html"><a title="lib.config.hosts.Host" class="py-name" href="#" onclick="return doclink('link-6', 'Host', 'link-6');">Host</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-7" class="py-name" targets="Module lib.config.hosts=lib.config.hosts-module.html"><a title="lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-7', 'hosts', 'link-7');">hosts</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt class="py-name">parsedHosts</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-6" class="py-name" targets="Class linspector.lib.config.hosts.Host=linspector.lib.config.hosts.Host-class.html"><a title="linspector.lib.config.hosts.Host" class="py-name" href="#" onclick="return doclink('link-6', 'Host', 'link-6');">Host</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-7" class="py-name" targets="Module linspector.lib.config.hosts=linspector.lib.config.hosts-module.html"><a title="linspector.lib.config.hosts" class="py-name" href="#" onclick="return doclink('link-7', 'hosts', 'link-7');">hosts</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-comment">#predefined dict to cache service replacements by name</tt> </tt>
|
||||
<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"> <tt class="py-name">serviceReplacements</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
|
||||
<a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">host</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parsedHosts</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"> <tt class="py-comment">#list to store HostService Objects</tt> </tt>
|
||||
<a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"> <tt class="py-name">hostServices</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> <tt class="py-comment">#lets start to parse the Service Dict.</tt> </tt>
|
||||
<a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">servicename</tt><tt class="py-op">,</tt> <tt class="py-name">serviceParams</tt> <tt class="py-keyword">in</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-8', 'services', 'link-0');">services</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">servicename</tt><tt class="py-op">,</tt> <tt class="py-name">serviceParams</tt> <tt class="py-keyword">in</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-8', 'services', 'link-0');">services</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> <tt class="py-comment">#bool to check if the service is defined.</tt> </tt>
|
||||
<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> <tt class="py-name">found</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
|
||||
<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> <tt class="py-comment">#to a real iteration. just pick the right service</tt> </tt>
|
||||
<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">service</tt> <tt class="py-keyword">in</tt> <tt id="link-9" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-9', 'services', 'link-0');">services</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">service</tt> <tt class="py-keyword">in</tt> <tt id="link-9" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-9', 'services', 'link-0');">services</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">service</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">!=</tt> <tt class="py-name">servicename</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
|
||||
<a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> <tt class="py-comment">#indicate we found a service</tt> </tt>
|
||||
<a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> <tt class="py-name">found</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
|
||||
<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-comment">#check to see if we already regexed our service command</tt> </tt>
|
||||
<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">service</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">serviceReplacements</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-name">serviceReplacements</tt><tt class="py-op">[</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">pattern</tt><tt class="py-op">.</tt><tt class="py-name">findall</tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-10', 'command', 'link-3');">command</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-name">serviceReplacements</tt><tt class="py-op">[</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">pattern</tt><tt class="py-op">.</tt><tt class="py-name">findall</tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-10', 'command', 'link-3');">command</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">params</tt> <tt class="py-keyword">in</tt> <tt class="py-name">serviceParams</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"> <tt class="py-comment">#copy replacements from service command</tt> </tt>
|
||||
<a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> <tt class="py-name">replacements</tt> <tt class="py-op">=</tt> <tt class="py-name">serviceReplacements</tt><tt class="py-op">[</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt class="py-comment">#for every Host.service.parameter we need a new HostService Object</tt> </tt>
|
||||
<a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> <tt class="py-name">hostService</tt> <tt class="py-op">=</tt> <tt id="link-11" class="py-name" targets="Class lib.config.hosts.HostService=lib.config.hosts.HostService-class.html"><a title="lib.config.hosts.HostService" class="py-name" href="#" onclick="return doclink('link-11', 'HostService', 'link-11');">HostService</a></tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Method lib.config.filters.Filter.clone()=lib.config.filters.Filter-class.html#clone,Method lib.config.services.Service.clone()=lib.config.services.Service-class.html#clone"><a title="lib.config.filters.Filter.clone
|
||||
lib.config.services.Service.clone" class="py-name" href="#" onclick="return doclink('link-12', 'clone', 'link-12');">clone</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> <tt class="py-name">hostService</tt> <tt class="py-op">=</tt> <tt id="link-11" class="py-name" targets="Class linspector.lib.config.hosts.HostService=linspector.lib.config.hosts.HostService-class.html"><a title="linspector.lib.config.hosts.HostService" class="py-name" href="#" onclick="return doclink('link-11', 'HostService', 'link-11');">HostService</a></tt><tt class="py-op">(</tt><tt class="py-name">service</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Method linspector.lib.config.filters.Filter.clone()=linspector.lib.config.filters.Filter-class.html#clone,Method linspector.lib.config.services.Service.clone()=linspector.lib.config.services.Service-class.html#clone"><a title="linspector.lib.config.filters.Filter.clone
|
||||
linspector.lib.config.services.Service.clone" class="py-name" href="#" onclick="return doclink('link-12', 'clone', 'link-12');">clone</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> <tt class="py-comment">#check if the ServiceParameter contain warnings or critical values</tt> </tt>
|
||||
<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'warning'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">params</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt class="py-name">hostService</tt><tt class="py-op">.</tt><tt class="py-name">warning</tt> <tt class="py-op">=</tt> <tt class="py-name">params</tt><tt class="py-op">[</tt><tt class="py-string">'warning'</tt><tt class="py-op">]</tt> </tt>
|
||||
|
|
@ -142,28 +143,28 @@ lib.config.services.Service.clone" class="py-name" href="#" onclick="return docl
|
|||
<a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> <tt class="py-comment">#any remainig parm should be a replacement</tt> </tt>
|
||||
<a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">parm</tt> <tt class="py-keyword">in</tt> <tt class="py-name">params</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">parm</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">replacements</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Method lib.core.logger.Logger.w()=lib.core.logger.Logger-class.html#w"><a title="lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-13', 'w', 'link-13');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"undefined parameter: "</tt> <tt class="py-op">+</tt> <tt class="py-name">parm</tt> <tt class="py-op">+</tt> <tt class="py-string">" in host "</tt> <tt class="py-op">+</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">" from service "</tt> <tt class="py-op">+</tt> <tt class="py-name">service</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Method linspector.lib.core.logger.Logger.w()=linspector.lib.core.logger.Logger-class.html#w"><a title="linspector.lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-13', 'w', 'link-13');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"undefined parameter: "</tt> <tt class="py-op">+</tt> <tt class="py-name">parm</tt> <tt class="py-op">+</tt> <tt class="py-string">" in host "</tt> <tt class="py-op">+</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">" from service "</tt> <tt class="py-op">+</tt> <tt class="py-name">service</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
|
||||
<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-comment">#replace our ServiceCommand with the parameter_value (search, replacement, string)</tt> </tt>
|
||||
<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-name">hostService</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Method lib.config.hosts.HostService.setCommand()=lib.config.hosts.HostService-class.html#setCommand"><a title="lib.config.hosts.HostService.setCommand" class="py-name" href="#" onclick="return doclink('link-14', 'setCommand', 'link-14');">setCommand</a></tt><tt class="py-op">(</tt><tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">sub</tt><tt class="py-op">(</tt><tt class="py-string">'@'</tt> <tt class="py-op">+</tt> <tt class="py-name">parm</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">[</tt><tt class="py-name">parm</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">hostService</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Method lib.config.hosts.HostService.getCommand()=lib.config.hosts.HostService-class.html#getCommand"><a title="lib.config.hosts.HostService.getCommand" class="py-name" href="#" onclick="return doclink('link-15', 'getCommand', 'link-15');">getCommand</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-name">hostService</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Method linspector.lib.config.hosts.HostService.setCommand()=linspector.lib.config.hosts.HostService-class.html#setCommand"><a title="linspector.lib.config.hosts.HostService.setCommand" class="py-name" href="#" onclick="return doclink('link-14', 'setCommand', 'link-14');">setCommand</a></tt><tt class="py-op">(</tt><tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">sub</tt><tt class="py-op">(</tt><tt class="py-string">'@'</tt> <tt class="py-op">+</tt> <tt class="py-name">parm</tt><tt class="py-op">,</tt> <tt class="py-name">params</tt><tt class="py-op">[</tt><tt class="py-name">parm</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">hostService</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Method linspector.lib.config.hosts.HostService.getCommand()=linspector.lib.config.hosts.HostService-class.html#getCommand"><a title="linspector.lib.config.hosts.HostService.getCommand" class="py-name" href="#" onclick="return doclink('link-15', 'getCommand', 'link-15');">getCommand</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> <tt class="py-name">replacements</tt><tt class="py-op">.</tt><tt class="py-name">remove</tt><tt class="py-op">(</tt><tt class="py-name">parm</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-comment">#host will not be inside ServiceParameters, so check this also</tt> </tt>
|
||||
<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'host'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">replacements</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-name">hostService</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="lib.config.hosts.HostService.setCommand" class="py-name" href="#" onclick="return doclink('link-16', 'setCommand', 'link-14');">setCommand</a></tt><tt class="py-op">(</tt><tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">sub</tt><tt class="py-op">(</tt><tt class="py-string">'@host'</tt><tt class="py-op">,</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt class="py-name">host</tt><tt class="py-op">,</tt> <tt class="py-name">hostService</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="lib.config.hosts.HostService.getCommand" class="py-name" href="#" onclick="return doclink('link-17', 'getCommand', 'link-15');">getCommand</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-name">hostService</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="linspector.lib.config.hosts.HostService.setCommand" class="py-name" href="#" onclick="return doclink('link-16', 'setCommand', 'link-14');">setCommand</a></tt><tt class="py-op">(</tt><tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">sub</tt><tt class="py-op">(</tt><tt class="py-string">'@host'</tt><tt class="py-op">,</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt class="py-name">host</tt><tt class="py-op">,</tt> <tt class="py-name">hostService</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="linspector.lib.config.hosts.HostService.getCommand" class="py-name" href="#" onclick="return doclink('link-17', 'getCommand', 'link-15');">getCommand</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-name">replacements</tt><tt class="py-op">.</tt><tt class="py-name">remove</tt><tt class="py-op">(</tt><tt class="py-string">'host'</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt class="py-comment">#replacements should be empty now.</tt> </tt>
|
||||
<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> <tt class="py-comment">#If not we cannot use this command as some values are missing</tt> </tt>
|
||||
<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">replacements</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-18', 'w', 'link-13');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"Hostservice "</tt> <tt class="py-op">+</tt> <tt class="py-name">servicename</tt> <tt class="py-op">+</tt> <tt class="py-string">" from host "</tt> <tt class="py-op">+</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">" is ignored because of missing replacements: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt> </tt>
|
||||
<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="linspector.lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-18', 'w', 'link-13');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"Hostservice "</tt> <tt class="py-op">+</tt> <tt class="py-name">servicename</tt> <tt class="py-op">+</tt> <tt class="py-string">" from host "</tt> <tt class="py-op">+</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">" is ignored because of missing replacements: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt> </tt>
|
||||
<a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt class="py-name">replacements</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt class="py-comment">#anything ok! add to our valid hostServices</tt> </tt>
|
||||
<a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> <tt class="py-name">hostServices</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">hostService</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> <tt class="py-comment">#we could't find the service defined in this host. Service ignored!</tt> </tt>
|
||||
<a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">found</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-19', 'w', 'link-13');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"Service "</tt> <tt class="py-op">+</tt> <tt class="py-name">servicename</tt> <tt class="py-op">+</tt> <tt class="py-string">" not defined in host "</tt> <tt class="py-op">+</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="linspector.lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-19', 'w', 'link-13');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"Service "</tt> <tt class="py-op">+</tt> <tt class="py-name">servicename</tt> <tt class="py-op">+</tt> <tt class="py-string">" not defined in host "</tt> <tt class="py-op">+</tt> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> <tt class="py-comment">#replace host.service member by parsed HostService Objects</tt> </tt>
|
||||
<a name="L106"></a><tt class="py-lineno">106</tt> <tt class="py-line"> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-20', 'services', 'link-0');">services</a></tt> <tt class="py-op">=</tt> <tt class="py-name">hostServices</tt> </tt>
|
||||
<a name="L106"></a><tt class="py-lineno">106</tt> <tt class="py-line"> <tt class="py-name">host</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-20', 'services', 'link-0');">services</a></tt> <tt class="py-op">=</tt> <tt class="py-name">hostServices</tt> </tt>
|
||||
<a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">parsedHosts</tt> </tt>
|
||||
</div><a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
|
|
@ -178,7 +179,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -198,7 +199,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.hosts.Host</title>
|
||||
<title>linspector.lib.config.hosts.Host</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.hosts-module.html">Module hosts</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.hosts-module.html">Module hosts</a> ::
|
||||
Class Host
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.hosts.Host-class.html"
|
||||
>] | <a href="linspector.lib.config.hosts.Host-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Host</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.hosts-pysrc.html#Host">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Host</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html#Host">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -88,7 +89,7 @@
|
|||
<span class="summary-sig-arg">services</span>=<span class="summary-sig-default">None</span>,
|
||||
<span class="summary-sig-arg">comment</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hosts-pysrc.html#Host.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html#Host.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -104,7 +105,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hosts-pysrc.html#Host.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html#Host.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -119,7 +120,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -139,7 +140,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.hosts.HostService</title>
|
||||
<title>linspector.lib.config.hosts.HostService</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.hosts-module.html">Module hosts</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.hosts-module.html">Module hosts</a> ::
|
||||
Class HostService
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.hosts.HostService-class.html"
|
||||
>] | <a href="linspector.lib.config.hosts.HostService-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class HostService</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.hosts-pysrc.html#HostService">source code</a></span></p>
|
||||
<h1 class="epydoc">Class HostService</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html#HostService">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -86,7 +87,7 @@
|
|||
<span class="summary-sig-arg">warning</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
|
||||
<span class="summary-sig-arg">critical</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hosts-pysrc.html#HostService.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html#HostService.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -103,7 +104,7 @@
|
|||
<td><span class="summary-sig"><a name="setCommand"></a><span class="summary-sig-name">setCommand</span>(<span class="summary-sig-arg">self</span>,
|
||||
<span class="summary-sig-arg">command</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hosts-pysrc.html#HostService.setCommand">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html#HostService.setCommand">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -119,7 +120,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="getCommand"></a><span class="summary-sig-name">getCommand</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hosts-pysrc.html#HostService.getCommand">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html#HostService.getCommand">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -135,7 +136,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.hosts-pysrc.html#HostService.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.hosts-pysrc.html#HostService.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -150,7 +151,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -170,7 +171,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.layouts</title>
|
||||
<title>linspector.lib.config.layouts</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module layouts
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.layouts-module.html"
|
||||
>] | <a href="linspector.lib.config.layouts-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module layouts</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.layouts-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module layouts</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.layouts-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,14 +79,14 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.layouts.Layout-class.html" class="summary-name">Layout</a>
|
||||
<a href="linspector.lib.config.layouts.Layout-class.html" class="summary-name">Layout</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.layouts.LayoutList-class.html" class="summary-name">LayoutList</a>
|
||||
<a href="linspector.lib.config.layouts.LayoutList-class.html" class="summary-name">LayoutList</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -95,7 +96,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -115,7 +116,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.layouts</title>
|
||||
<title>linspector.lib.config.layouts</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module layouts
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,60 +50,60 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.layouts-pysrc.html"
|
||||
>] | <a href="linspector.lib.config.layouts-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.config.layouts-module.html">Module lib.config.layouts</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.config.layouts-module.html">Module linspector.lib.config.layouts</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="Layout"></a><div id="Layout-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="Layout-toggle" onclick="return toggle('Layout');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.layouts.Layout-class.html">Layout</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Layout-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Layout-expanded"><a name="Layout.__init__"></a><div id="Layout.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="Layout.__init__-toggle" onclick="return toggle('Layout.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.layouts.Layout-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">myLayout</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Layout"></a><div id="Layout-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="Layout-toggle" onclick="return toggle('Layout');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.layouts.Layout-class.html">Layout</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Layout-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Layout-expanded"><a name="Layout.__init__"></a><div id="Layout.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="Layout.__init__-toggle" onclick="return toggle('Layout.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.layouts.Layout-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">myLayout</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Layout.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Layout.__init__-expanded"><a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt class="py-name">myLayout</tt> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">enabled</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module lib.config.hostgroups=lib.config.hostgroups-module.html"><a title="lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-0', 'hostgroups', 'link-0');">hostgroups</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module linspector.lib.config.hostgroups=linspector.lib.config.hostgroups-module.html"><a title="linspector.lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-0', 'hostgroups', 'link-0');">hostgroups</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
</div><a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> </tt>
|
||||
<a name="Layout.__str__"></a><div id="Layout.__str__-def"><a name="L7"></a><tt class="py-lineno"> 7</tt> <a class="py-toggle" href="#" id="Layout.__str__-toggle" onclick="return toggle('Layout.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.layouts.Layout-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Layout.__str__"></a><div id="Layout.__str__-def"><a name="L7"></a><tt class="py-lineno"> 7</tt> <a class="py-toggle" href="#" id="Layout.__str__-toggle" onclick="return toggle('Layout.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.layouts.Layout-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Layout.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Layout.__str__-expanded"><a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-string">"Layout: 'Name:"</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"', 'Enabled: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">enabled</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">" "</tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">group</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1" class="py-name"><a title="lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-1', 'hostgroups', 'link-0');">hostgroups</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">group</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-1" class="py-name"><a title="linspector.lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-1', 'hostgroups', 'link-0');">hostgroups</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">group</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret</tt> </tt>
|
||||
</div></div><a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"> </tt>
|
||||
<a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> </tt>
|
||||
<a name="LayoutList"></a><div id="LayoutList-def"><a name="L14"></a><tt class="py-lineno">14</tt> <a class="py-toggle" href="#" id="LayoutList-toggle" onclick="return toggle('LayoutList');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.layouts.LayoutList-class.html">LayoutList</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="LayoutList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="LayoutList-expanded"><a name="LayoutList.__init__"></a><div id="LayoutList.__init__-def"><a name="L15"></a><tt class="py-lineno">15</tt> <a class="py-toggle" href="#" id="LayoutList.__init__-toggle" onclick="return toggle('LayoutList.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.layouts.LayoutList-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">layouts</tt><tt class="py-op">,</tt> <tt class="py-param">hostgroups</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="LayoutList.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="LayoutList.__init__-expanded"><a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module lib.config.layouts=lib.config.layouts-module.html"><a title="lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-2', 'layouts', 'link-2');">layouts</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-3', 'layouts', 'link-2');">layouts</a></tt> </tt>
|
||||
<a name="LayoutList"></a><div id="LayoutList-def"><a name="L14"></a><tt class="py-lineno">14</tt> <a class="py-toggle" href="#" id="LayoutList-toggle" onclick="return toggle('LayoutList');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.layouts.LayoutList-class.html">LayoutList</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="LayoutList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="LayoutList-expanded"><a name="LayoutList.__init__"></a><div id="LayoutList.__init__-def"><a name="L15"></a><tt class="py-lineno">15</tt> <a class="py-toggle" href="#" id="LayoutList.__init__-toggle" onclick="return toggle('LayoutList.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.layouts.LayoutList-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">layouts</tt><tt class="py-op">,</tt> <tt class="py-param">hostgroups</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="LayoutList.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="LayoutList.__init__-expanded"><a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module linspector.lib.config.layouts=linspector.lib.config.layouts-module.html"><a title="linspector.lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-2', 'layouts', 'link-2');">layouts</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dict</tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="linspector.lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-3', 'layouts', 'link-2');">layouts</a></tt> </tt>
|
||||
<a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">plugins</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">k</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt> <tt class="py-keyword">in</tt> <tt id="link-4" class="py-name"><a title="lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-4', 'layouts', 'link-2');">layouts</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">k</tt><tt class="py-op">,</tt> <tt class="py-name">v</tt> <tt class="py-keyword">in</tt> <tt id="link-4" class="py-name"><a title="linspector.lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-4', 'layouts', 'link-2');">layouts</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">k</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-string">"plugins"</tt><tt class="py-op">,</tt> <tt class="py-string">"Plugins"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">plugins</tt> <tt class="py-op">=</tt> <tt class="py-name">v</tt> </tt>
|
||||
<a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
|
||||
<a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> <tt class="py-name">l</tt> <tt class="py-op">=</tt> <tt id="link-5" class="py-name" targets="Class lib.config.layouts.Layout=lib.config.layouts.Layout-class.html"><a title="lib.config.layouts.Layout" class="py-name" href="#" onclick="return doclink('link-5', 'Layout', 'link-5');">Layout</a></tt><tt class="py-op">(</tt><tt class="py-name">k</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> <tt class="py-name">l</tt> <tt class="py-op">=</tt> <tt id="link-5" class="py-name" targets="Class linspector.lib.config.layouts.Layout=linspector.lib.config.layouts.Layout-class.html"><a title="linspector.lib.config.layouts.Layout" class="py-name" href="#" onclick="return doclink('link-5', 'Layout', 'link-5');">Layout</a></tt><tt class="py-op">(</tt><tt class="py-name">k</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">k1</tt><tt class="py-op">,</tt> <tt class="py-name">v1</tt> <tt class="py-keyword">in</tt> <tt class="py-name">v</tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">k1</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-string">"enabled"</tt><tt class="py-op">,</tt> <tt class="py-string">"Enabled"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> <tt class="py-name">l</tt><tt class="py-op">.</tt><tt class="py-name">enabled</tt> <tt class="py-op">=</tt> <tt class="py-name">v1</tt> </tt>
|
||||
<a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">k1</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-string">"hostgroups"</tt><tt class="py-op">,</tt> <tt class="py-string">"Hostgroups"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> <tt class="py-name">l</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-6', 'hostgroups', 'link-0');">hostgroups</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> <tt class="py-name">l</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="linspector.lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-6', 'hostgroups', 'link-0');">hostgroups</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">group</tt> <tt class="py-keyword">in</tt> <tt class="py-name">v1</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"> <tt class="py-name">h</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
|
||||
<a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">hostg</tt> <tt class="py-keyword">in</tt> <tt id="link-7" class="py-name"><a title="lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-7', 'hostgroups', 'link-0');">hostgroups</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">hostg</tt> <tt class="py-keyword">in</tt> <tt id="link-7" class="py-name"><a title="linspector.lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-7', 'hostgroups', 'link-0');">hostgroups</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hostg</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">==</tt> <tt class="py-name">group</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"> <tt class="py-name">h</tt> <tt class="py-op">=</tt> <tt class="py-name">hostg</tt> </tt>
|
||||
<a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt>
|
||||
<a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">h</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-name">l</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-8', 'hostgroups', 'link-0');">hostgroups</a></tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">h</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-name">l</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="linspector.lib.config.hostgroups" class="py-name" href="#" onclick="return doclink('link-8', 'hostgroups', 'link-0');">hostgroups</a></tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">h</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"> <tt class="py-comment"># TODO: replace next line with new logging</tt> </tt>
|
||||
<a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"> <tt class="py-comment">#logger.logWarningConfig(file="hostgroups", missing=group)</tt> </tt>
|
||||
<a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name"><a title="lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-9', 'layouts', 'link-2');">layouts</a></tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">l</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name"><a title="linspector.lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-9', 'layouts', 'link-2');">layouts</a></tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">l</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"> </tt>
|
||||
<a name="LayoutList.__str__"></a><div id="LayoutList.__str__-def"><a name="L43"></a><tt class="py-lineno">43</tt> <a class="py-toggle" href="#" id="LayoutList.__str__-toggle" onclick="return toggle('LayoutList.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.layouts.LayoutList-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="LayoutList.__str__"></a><div id="LayoutList.__str__-def"><a name="L43"></a><tt class="py-lineno">43</tt> <a class="py-toggle" href="#" id="LayoutList.__str__-toggle" onclick="return toggle('LayoutList.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.layouts.LayoutList-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="LayoutList.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="LayoutList.__str__-expanded"><a name="L44"></a><tt class="py-lineno">44</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
|
||||
<a name="L45"></a><tt class="py-lineno">45</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-string">"Plugins: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">plugins</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"\n"</tt> </tt>
|
||||
<a name="L46"></a><tt class="py-lineno">46</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">layout</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-10', 'layouts', 'link-2');">layouts</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L46"></a><tt class="py-lineno">46</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">layout</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="linspector.lib.config.layouts" class="py-name" href="#" onclick="return doclink('link-10', 'layouts', 'link-2');">layouts</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L47"></a><tt class="py-lineno">47</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">layout</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">"\n"</tt> </tt>
|
||||
<a name="L48"></a><tt class="py-lineno">48</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret</tt> </tt>
|
||||
</div></div><a name="L49"></a><tt class="py-lineno">49</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
|
|
@ -118,7 +119,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -138,7 +139,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.layouts.Layout</title>
|
||||
<title>linspector.lib.config.layouts.Layout</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.layouts-module.html">Module layouts</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.layouts-module.html">Module layouts</a> ::
|
||||
Class Layout
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.layouts.Layout-class.html"
|
||||
>] | <a href="linspector.lib.config.layouts.Layout-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Layout</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.layouts-pysrc.html#Layout">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Layout</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.layouts-pysrc.html#Layout">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -84,7 +85,7 @@
|
|||
<td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
|
||||
<span class="summary-sig-arg">myLayout</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.layouts-pysrc.html#Layout.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.layouts-pysrc.html#Layout.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -100,7 +101,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.layouts-pysrc.html#Layout.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.layouts-pysrc.html#Layout.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -115,7 +116,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -135,7 +136,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.layouts.LayoutList</title>
|
||||
<title>linspector.lib.config.layouts.LayoutList</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.layouts-module.html">Module layouts</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.layouts-module.html">Module layouts</a> ::
|
||||
Class LayoutList
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.layouts.LayoutList-class.html"
|
||||
>] | <a href="linspector.lib.config.layouts.LayoutList-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class LayoutList</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.layouts-pysrc.html#LayoutList">source code</a></span></p>
|
||||
<h1 class="epydoc">Class LayoutList</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.layouts-pysrc.html#LayoutList">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -85,7 +86,7 @@
|
|||
<span class="summary-sig-arg">layouts</span>,
|
||||
<span class="summary-sig-arg">hostgroups</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.layouts-pysrc.html#LayoutList.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.layouts-pysrc.html#LayoutList.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -101,7 +102,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.layouts-pysrc.html#LayoutList.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.layouts-pysrc.html#LayoutList.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -116,7 +117,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -136,7 +137,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.members</title>
|
||||
<title>linspector.lib.config.members</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module members
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.members-module.html"
|
||||
>] | <a href="linspector.lib.config.members-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module members</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.members-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module members</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.members-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,14 +79,14 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.members.Member-class.html" class="summary-name">Member</a>
|
||||
<a href="linspector.lib.config.members.Member-class.html" class="summary-name">Member</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.members.MemberFilter-class.html" class="summary-name">MemberFilter</a>
|
||||
<a href="linspector.lib.config.members.MemberFilter-class.html" class="summary-name">MemberFilter</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -116,7 +117,7 @@
|
|||
<span class="summary-sig-arg">filters</span>,
|
||||
<span class="summary-sig-arg">log</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.members-pysrc.html#parseMemberList">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.members-pysrc.html#parseMemberList">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -146,7 +147,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lib.config'"><code class="variable-quote">'</code><code class="variable-string">lib.config</code><code class="variable-quote">'</code></code>
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'linspector.lib.config'"><code class="variable-quote">'</code><code class="variable-string">linspector.lib.config</code><code class="variable-quote">'</code></code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -156,7 +157,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -176,7 +177,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.members</title>
|
||||
<title>linspector.lib.config.members</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module members
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,59 +50,59 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.members-pysrc.html"
|
||||
>] | <a href="linspector.lib.config.members-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.config.members-module.html">Module lib.config.members</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.config.members-module.html">Module linspector.lib.config.members</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">re</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"> </tt>
|
||||
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"> </tt>
|
||||
<a name="Member"></a><div id="Member-def"><a name="L4"></a><tt class="py-lineno"> 4</tt> <a class="py-toggle" href="#" id="Member-toggle" onclick="return toggle('Member');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.members.Member-class.html">Member</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Member-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Member-expanded"><a name="Member.__init__"></a><div id="Member.__init__-def"><a name="L5"></a><tt class="py-lineno"> 5</tt> <a class="py-toggle" href="#" id="Member.__init__-toggle" onclick="return toggle('Member.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.members.Member-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">nameid</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">phone</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">filters</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Member"></a><div id="Member-def"><a name="L4"></a><tt class="py-lineno"> 4</tt> <a class="py-toggle" href="#" id="Member-toggle" onclick="return toggle('Member');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.members.Member-class.html">Member</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Member-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Member-expanded"><a name="Member.__init__"></a><div id="Member.__init__-def"><a name="L5"></a><tt class="py-lineno"> 5</tt> <a class="py-toggle" href="#" id="Member.__init__-toggle" onclick="return toggle('Member.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.members.Member-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">nameid</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">phone</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">filters</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Member.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Member.__init__-expanded"><a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">nameid</tt> <tt class="py-op">=</tt> <tt class="py-name">nameid</tt> </tt>
|
||||
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt class="py-name">name</tt> </tt>
|
||||
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">phone</tt> <tt class="py-op">=</tt> <tt class="py-name">phone</tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module lib.config.filters=lib.config.filters-module.html"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-0', 'filters', 'link-0');">filters</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-1', 'filters', 'link-0');">filters</a></tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module linspector.lib.config.filters=linspector.lib.config.filters-module.html"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-0', 'filters', 'link-0');">filters</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-1', 'filters', 'link-0');">filters</a></tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt> <tt class="py-op">=</tt> <tt class="py-name">comment</tt> </tt>
|
||||
<a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parent</tt> <tt class="py-op">=</tt> <tt class="py-name">parent</tt> </tt>
|
||||
</div><a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"> </tt>
|
||||
<a name="Member.__str__"></a><div id="Member.__str__-def"><a name="L13"></a><tt class="py-lineno">13</tt> <a class="py-toggle" href="#" id="Member.__str__-toggle" onclick="return toggle('Member.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.members.Member-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Member.__str__"></a><div id="Member.__str__-def"><a name="L13"></a><tt class="py-lineno">13</tt> <a class="py-toggle" href="#" id="Member.__str__-toggle" onclick="return toggle('Member.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.members.Member-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Member.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Member.__str__-expanded"><a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-string">"Member Id: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">nameid</tt> <tt class="py-op">+</tt> <tt class="py-string">" Name: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">" Filters: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">phone</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">f</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-2', 'filters', 'link-0');">filters</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">f</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-2', 'filters', 'link-0');">filters</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">+=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">f</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret</tt> </tt>
|
||||
</div></div><a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> </tt>
|
||||
<a name="MemberFilter"></a><div id="MemberFilter-def"><a name="L20"></a><tt class="py-lineno">20</tt> <a class="py-toggle" href="#" id="MemberFilter-toggle" onclick="return toggle('MemberFilter');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.members.MemberFilter-class.html">MemberFilter</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="MemberFilter-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="MemberFilter-expanded"><a name="MemberFilter.__init__"></a><div id="MemberFilter.__init__-def"><a name="L21"></a><tt class="py-lineno">21</tt> <a class="py-toggle" href="#" id="MemberFilter.__init__-toggle" onclick="return toggle('MemberFilter.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.members.MemberFilter-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filt</tt><tt class="py-op">,</tt> <tt class="py-param">Value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="MemberFilter"></a><div id="MemberFilter-def"><a name="L20"></a><tt class="py-lineno">20</tt> <a class="py-toggle" href="#" id="MemberFilter-toggle" onclick="return toggle('MemberFilter');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.members.MemberFilter-class.html">MemberFilter</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="MemberFilter-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="MemberFilter-expanded"><a name="MemberFilter.__init__"></a><div id="MemberFilter.__init__-def"><a name="L21"></a><tt class="py-lineno">21</tt> <a class="py-toggle" href="#" id="MemberFilter.__init__-toggle" onclick="return toggle('MemberFilter.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.members.MemberFilter-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filt</tt><tt class="py-op">,</tt> <tt class="py-param">Value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="MemberFilter.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="MemberFilter.__init__-expanded"><a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">filt</tt> <tt class="py-op">=</tt> <tt class="py-name">filt</tt> </tt>
|
||||
<a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">Value</tt> </tt>
|
||||
</div><a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> </tt>
|
||||
<a name="MemberFilter.__str__"></a><div id="MemberFilter.__str__-def"><a name="L25"></a><tt class="py-lineno">25</tt> <a class="py-toggle" href="#" id="MemberFilter.__str__-toggle" onclick="return toggle('MemberFilter.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.members.MemberFilter-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="MemberFilter.__str__"></a><div id="MemberFilter.__str__-def"><a name="L25"></a><tt class="py-lineno">25</tt> <a class="py-toggle" href="#" id="MemberFilter.__str__-toggle" onclick="return toggle('MemberFilter.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.members.MemberFilter-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="MemberFilter.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="MemberFilter.__str__-expanded"><a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"Filter:"</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">filter</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">" Value:"</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">value</tt> </tt>
|
||||
</div></div><a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> </tt>
|
||||
<a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> </tt>
|
||||
<a name="parseMemberList"></a><div id="parseMemberList-def"><a name="L29"></a><tt class="py-lineno">29</tt> <a class="py-toggle" href="#" id="parseMemberList-toggle" onclick="return toggle('parseMemberList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.members-module.html#parseMemberList">parseMemberList</a><tt class="py-op">(</tt><tt class="py-param">members</tt><tt class="py-op">,</tt> <tt class="py-param">filters</tt><tt class="py-op">,</tt> <tt class="py-param">log</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="parseMemberList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="parseMemberList-expanded"><a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> <tt class="py-name">parsedMembers</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-3" class="py-name" targets="Class lib.config.members.Member=lib.config.members.Member-class.html"><a title="lib.config.members.Member" class="py-name" href="#" onclick="return doclink('link-3', 'Member', 'link-3');">Member</a></tt><tt class="py-op">(</tt><tt class="py-name">nameid</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">nameid</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-4" class="py-name" targets="Module lib.config.members=lib.config.members-module.html"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-4', 'members', 'link-4');">members</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="parseMemberList"></a><div id="parseMemberList-def"><a name="L29"></a><tt class="py-lineno">29</tt> <a class="py-toggle" href="#" id="parseMemberList-toggle" onclick="return toggle('parseMemberList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.members-module.html#parseMemberList">parseMemberList</a><tt class="py-op">(</tt><tt class="py-param">members</tt><tt class="py-op">,</tt> <tt class="py-param">filters</tt><tt class="py-op">,</tt> <tt class="py-param">log</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="parseMemberList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="parseMemberList-expanded"><a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> <tt class="py-name">parsedMembers</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-3" class="py-name" targets="Class linspector.lib.config.members.Member=linspector.lib.config.members.Member-class.html"><a title="linspector.lib.config.members.Member" class="py-name" href="#" onclick="return doclink('link-3', 'Member', 'link-3');">Member</a></tt><tt class="py-op">(</tt><tt class="py-name">nameid</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">nameid</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-4" class="py-name" targets="Module linspector.lib.config.members=linspector.lib.config.members-module.html"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-4', 'members', 'link-4');">members</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">member</tt> <tt class="py-keyword">in</tt> <tt class="py-name">parsedMembers</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-name">mFilter</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">filtername</tt><tt class="py-op">,</tt> <tt class="py-name">replacement</tt> <tt class="py-keyword">in</tt> <tt class="py-name">member</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-5', 'filters', 'link-0');">filters</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">filtername</tt><tt class="py-op">,</tt> <tt class="py-name">replacement</tt> <tt class="py-keyword">in</tt> <tt class="py-name">member</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-5', 'filters', 'link-0');">filters</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"> <tt class="py-name">found</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
|
||||
<a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">filt</tt> <tt class="py-keyword">in</tt> <tt id="link-6" class="py-name"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-6', 'filters', 'link-0');">filters</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">filt</tt> <tt class="py-keyword">in</tt> <tt id="link-6" class="py-name"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-6', 'filters', 'link-0');">filters</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">filt</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">!=</tt> <tt class="py-name">filtername</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-keyword">continue</tt> </tt>
|
||||
<a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"> <tt class="py-name">found</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
|
||||
<a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"> <tt class="py-name">memberFilter</tt> <tt class="py-op">=</tt> <tt class="py-name">filt</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Method lib.config.filters.Filter.clone()=lib.config.filters.Filter-class.html#clone,Method lib.config.services.Service.clone()=lib.config.services.Service-class.html#clone"><a title="lib.config.filters.Filter.clone
|
||||
lib.config.services.Service.clone" class="py-name" href="#" onclick="return doclink('link-7', 'clone', 'link-7');">clone</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"> <tt class="py-name">memberFilter</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Module lib.core.command=lib.core.command-module.html"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-8', 'command', 'link-8');">command</a></tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">sub</tt><tt class="py-op">(</tt><tt class="py-string">'@member'</tt><tt class="py-op">,</tt> <tt class="py-name">replacement</tt><tt class="py-op">,</tt> <tt class="py-name">filt</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-9', 'command', 'link-8');">command</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"> <tt class="py-name">memberFilter</tt> <tt class="py-op">=</tt> <tt class="py-name">filt</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Method linspector.lib.config.filters.Filter.clone()=linspector.lib.config.filters.Filter-class.html#clone,Method linspector.lib.config.services.Service.clone()=linspector.lib.config.services.Service-class.html#clone"><a title="linspector.lib.config.filters.Filter.clone
|
||||
linspector.lib.config.services.Service.clone" class="py-name" href="#" onclick="return doclink('link-7', 'clone', 'link-7');">clone</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"> <tt class="py-name">memberFilter</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Module linspector.lib.core.command=linspector.lib.core.command-module.html"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-8', 'command', 'link-8');">command</a></tt> <tt class="py-op">=</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">sub</tt><tt class="py-op">(</tt><tt class="py-string">'@member'</tt><tt class="py-op">,</tt> <tt class="py-name">replacement</tt><tt class="py-op">,</tt> <tt class="py-name">filt</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-9', 'command', 'link-8');">command</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> <tt class="py-name">mFilter</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt class="py-name">memberFilter</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">found</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L43"></a><tt class="py-lineno">43</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method lib.core.logger.Logger.w()=lib.core.logger.Logger-class.html#w"><a title="lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-10', 'w', 'link-10');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"filter: "</tt> <tt class="py-op">+</tt> <tt class="py-name">filtername</tt> <tt class="py-op">+</tt> <tt class="py-string">" is not defined in member "</tt> <tt class="py-op">+</tt> <tt class="py-name">member</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L44"></a><tt class="py-lineno">44</tt> <tt class="py-line"> <tt class="py-name">member</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="lib.config.filters" class="py-name" href="#" onclick="return doclink('link-11', 'filters', 'link-0');">filters</a></tt> <tt class="py-op">=</tt> <tt class="py-name">mFilter</tt> </tt>
|
||||
<a name="L43"></a><tt class="py-lineno">43</tt> <tt class="py-line"> <tt class="py-name">log</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method linspector.lib.core.logger.Logger.w()=linspector.lib.core.logger.Logger-class.html#w"><a title="linspector.lib.core.logger.Logger.w" class="py-name" href="#" onclick="return doclink('link-10', 'w', 'link-10');">w</a></tt><tt class="py-op">(</tt><tt class="py-string">"filter: "</tt> <tt class="py-op">+</tt> <tt class="py-name">filtername</tt> <tt class="py-op">+</tt> <tt class="py-string">" is not defined in member "</tt> <tt class="py-op">+</tt> <tt class="py-name">member</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L44"></a><tt class="py-lineno">44</tt> <tt class="py-line"> <tt class="py-name">member</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="linspector.lib.config.filters" class="py-name" href="#" onclick="return doclink('link-11', 'filters', 'link-0');">filters</a></tt> <tt class="py-op">=</tt> <tt class="py-name">mFilter</tt> </tt>
|
||||
<a name="L45"></a><tt class="py-lineno">45</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">parsedMembers</tt> </tt>
|
||||
</div><a name="L46"></a><tt class="py-lineno">46</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
|
|
@ -116,7 +117,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -136,7 +137,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.members.Member</title>
|
||||
<title>linspector.lib.config.members.Member</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.members-module.html">Module members</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.members-module.html">Module members</a> ::
|
||||
Class Member
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.members.Member-class.html"
|
||||
>] | <a href="linspector.lib.config.members.Member-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Member</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.members-pysrc.html#Member">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Member</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.members-pysrc.html#Member">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -89,7 +90,7 @@
|
|||
<span class="summary-sig-arg">parent</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
|
||||
<span class="summary-sig-arg">filters</span>=<span class="summary-sig-default">None</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.members-pysrc.html#Member.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.members-pysrc.html#Member.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -105,7 +106,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.members-pysrc.html#Member.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.members-pysrc.html#Member.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -120,7 +121,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -140,7 +141,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.members.MemberFilter</title>
|
||||
<title>linspector.lib.config.members.MemberFilter</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.members-module.html">Module members</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.members-module.html">Module members</a> ::
|
||||
Class MemberFilter
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.members.MemberFilter-class.html"
|
||||
>] | <a href="linspector.lib.config.members.MemberFilter-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class MemberFilter</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.members-pysrc.html#MemberFilter">source code</a></span></p>
|
||||
<h1 class="epydoc">Class MemberFilter</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.members-pysrc.html#MemberFilter">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -85,7 +86,7 @@
|
|||
<span class="summary-sig-arg">filt</span>,
|
||||
<span class="summary-sig-arg">Value</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.members-pysrc.html#MemberFilter.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.members-pysrc.html#MemberFilter.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -101,7 +102,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.members-pysrc.html#MemberFilter.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.members-pysrc.html#MemberFilter.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -116,7 +117,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -136,7 +137,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.periods</title>
|
||||
<title>linspector.lib.config.periods</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module periods
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.periods-module.html"
|
||||
>] | <a href="linspector.lib.config.periods-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module periods</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.periods-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module periods</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.periods-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,7 +79,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.periods.Period-class.html" class="summary-name">Period</a>
|
||||
<a href="linspector.lib.config.periods.Period-class.html" class="summary-name">Period</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -107,7 +108,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="parsePeriodList"></a><span class="summary-sig-name">parsePeriodList</span>(<span class="summary-sig-arg">periods</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.periods-pysrc.html#parsePeriodList">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.periods-pysrc.html#parsePeriodList">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -147,7 +148,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -167,7 +168,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.periods</title>
|
||||
<title>linspector.lib.config.periods</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module periods
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,16 +50,16 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.periods-pysrc.html"
|
||||
>] | <a href="linspector.lib.config.periods-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.config.periods-module.html">Module lib.config.periods</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.config.periods-module.html">Module linspector.lib.config.periods</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="Period"></a><div id="Period-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="Period-toggle" onclick="return toggle('Period');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.periods.Period-class.html">Period</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Period-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Period-expanded"><a name="Period.__init__"></a><div id="Period.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="Period.__init__-toggle" onclick="return toggle('Period.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.periods.Period-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">year</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> <tt class="py-param">month</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> <tt class="py-param">day</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> <tt class="py-param">week</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="Period"></a><div id="Period-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="Period-toggle" onclick="return toggle('Period');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.periods.Period-class.html">Period</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Period-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Period-expanded"><a name="Period.__init__"></a><div id="Period.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="Period.__init__-toggle" onclick="return toggle('Period.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.periods.Period-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">year</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> <tt class="py-param">month</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> <tt class="py-param">day</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> <tt class="py-param">week</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"> <tt class="py-param">day_of_week</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">hour</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> <tt class="py-param">minute</tt><tt class="py-op">=</tt><tt class="py-string">"*"</tt><tt class="py-op">,</tt> <tt class="py-param">second</tt><tt class="py-op">=</tt><tt class="py-string">"0"</tt><tt class="py-op">,</tt> <tt class="py-param">date</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Period.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Period.__init__-expanded"><a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt class="py-name">name</tt> </tt>
|
||||
|
|
@ -73,13 +74,13 @@
|
|||
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt> <tt class="py-op">=</tt> <tt class="py-name">comment</tt> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">date</tt> <tt class="py-op">=</tt> <tt class="py-name">date</tt> </tt>
|
||||
</div><a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> </tt>
|
||||
<a name="Period.__str__"></a><div id="Period.__str__-def"><a name="L17"></a><tt class="py-lineno">17</tt> <a class="py-toggle" href="#" id="Period.__str__-toggle" onclick="return toggle('Period.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.periods.Period-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Period.__str__"></a><div id="Period.__str__-def"><a name="L17"></a><tt class="py-lineno">17</tt> <a class="py-toggle" href="#" id="Period.__str__-toggle" onclick="return toggle('Period.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.periods.Period-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Period.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Period.__str__-expanded"><a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> <tt class="py-name">ret</tt> <tt class="py-op">=</tt> <tt class="py-string">"Period(Name: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">" Year: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">year</tt> <tt class="py-op">+</tt> <tt class="py-string">" Month: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">month</tt> <tt class="py-op">+</tt> <tt class="py-string">")"</tt> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">ret</tt> </tt>
|
||||
</div></div><a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"> </tt>
|
||||
<a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> </tt>
|
||||
<a name="parsePeriodList"></a><div id="parsePeriodList-def"><a name="L22"></a><tt class="py-lineno">22</tt> <a class="py-toggle" href="#" id="parsePeriodList-toggle" onclick="return toggle('parsePeriodList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.periods-module.html#parsePeriodList">parsePeriodList</a><tt class="py-op">(</tt><tt class="py-param">periods</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="parsePeriodList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="parsePeriodList-expanded"><a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt id="link-0" class="py-name" targets="Class lib.config.periods.Period=lib.config.periods.Period-class.html"><a title="lib.config.periods.Period" class="py-name" href="#" onclick="return doclink('link-0', 'Period', 'link-0');">Period</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-1" class="py-name" targets="Module lib.config.periods=lib.config.periods-module.html"><a title="lib.config.periods" class="py-name" href="#" onclick="return doclink('link-1', 'periods', 'link-1');">periods</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="parsePeriodList"></a><div id="parsePeriodList-def"><a name="L22"></a><tt class="py-lineno">22</tt> <a class="py-toggle" href="#" id="parsePeriodList-toggle" onclick="return toggle('parsePeriodList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.periods-module.html#parsePeriodList">parsePeriodList</a><tt class="py-op">(</tt><tt class="py-param">periods</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="parsePeriodList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="parsePeriodList-expanded"><a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt id="link-0" class="py-name" targets="Class linspector.lib.config.periods.Period=linspector.lib.config.periods.Period-class.html"><a title="linspector.lib.config.periods.Period" class="py-name" href="#" onclick="return doclink('link-0', 'Period', 'link-0');">Period</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-1" class="py-name" targets="Module linspector.lib.config.periods=linspector.lib.config.periods-module.html"><a title="linspector.lib.config.periods" class="py-name" href="#" onclick="return doclink('link-1', 'periods', 'link-1');">periods</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
</div><a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
expandto(location.href);
|
||||
|
|
@ -93,7 +94,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -113,7 +114,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.periods.Period</title>
|
||||
<title>linspector.lib.config.periods.Period</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.periods-module.html">Module periods</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.periods-module.html">Module periods</a> ::
|
||||
Class Period
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.periods.Period-class.html"
|
||||
>] | <a href="linspector.lib.config.periods.Period-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Period</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.periods-pysrc.html#Period">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Period</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.periods-pysrc.html#Period">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -94,7 +95,7 @@
|
|||
<span class="summary-sig-arg">date</span>=<span class="summary-sig-default">None</span>,
|
||||
<span class="summary-sig-arg">comment</span>=<span class="summary-sig-default">None</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.periods-pysrc.html#Period.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.periods-pysrc.html#Period.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -110,7 +111,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.periods-pysrc.html#Period.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.periods-pysrc.html#Period.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -125,7 +126,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -145,7 +146,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.services</title>
|
||||
<title>linspector.lib.config.services</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module services
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.services-module.html"
|
||||
>] | <a href="linspector.lib.config.services-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module services</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.services-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module services</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.services-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,7 +79,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.config.services.Service-class.html" class="summary-name">Service</a>
|
||||
<a href="linspector.lib.config.services.Service-class.html" class="summary-name">Service</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -107,7 +108,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="serviceList"></a><span class="summary-sig-name">serviceList</span>(<span class="summary-sig-arg">services</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.services-pysrc.html#serviceList">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.services-pysrc.html#serviceList">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -147,7 +148,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -167,7 +168,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.services</title>
|
||||
<title>linspector.lib.config.services</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
Module services
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,30 +50,30 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.services-pysrc.html"
|
||||
>] | <a href="linspector.lib.config.services-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.config.services-module.html">Module lib.config.services</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.config.services-module.html">Module linspector.lib.config.services</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="Service"></a><div id="Service-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="Service-toggle" onclick="return toggle('Service');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.config.services.Service-class.html">Service</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Service-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Service-expanded"><a name="Service.__init__"></a><div id="Service.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="Service.__init__-toggle" onclick="return toggle('Service.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.services.Service-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">parser</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Service"></a><div id="Service-def"><a name="L1"></a><tt class="py-lineno"> 1</tt> <a class="py-toggle" href="#" id="Service-toggle" onclick="return toggle('Service');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.config.services.Service-class.html">Service</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Service-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Service-expanded"><a name="Service.__init__"></a><div id="Service.__init__-def"><a name="L2"></a><tt class="py-lineno"> 2</tt> <a class="py-toggle" href="#" id="Service.__init__-toggle" onclick="return toggle('Service.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.services.Service-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">comment</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-param">parser</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Service.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Service.__init__-expanded"><a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">=</tt> <tt class="py-name">name</tt> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module lib.core.command=lib.core.command-module.html"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-0', 'command', 'link-0');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-1', 'command', 'link-0');">command</a></tt> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module linspector.lib.core.command=linspector.lib.core.command-module.html"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-0', 'command', 'link-0');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-1', 'command', 'link-0');">command</a></tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt> <tt class="py-op">=</tt> <tt class="py-name">comment</tt> </tt>
|
||||
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parser</tt> <tt class="py-op">=</tt> <tt class="py-name">parser</tt> </tt>
|
||||
</div><a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> </tt>
|
||||
<a name="Service.__str__"></a><div id="Service.__str__-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="Service.__str__-toggle" onclick="return toggle('Service.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.services.Service-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Service.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Service.__str__-expanded"><a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"Service('Name: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">"', 'Command: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-2', 'command', 'link-0');">command</a></tt> <tt class="py-op">+</tt> <tt class="py-string">", 'Parser: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parser</tt> <tt class="py-op">+</tt> <tt class="py-string">"')"</tt> </tt>
|
||||
<a name="Service.__str__"></a><div id="Service.__str__-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="Service.__str__-toggle" onclick="return toggle('Service.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.services.Service-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Service.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Service.__str__-expanded"><a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"Service('Name: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">"', 'Command: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-2', 'command', 'link-0');">command</a></tt> <tt class="py-op">+</tt> <tt class="py-string">", 'Parser: "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">parser</tt> <tt class="py-op">+</tt> <tt class="py-string">"')"</tt> </tt>
|
||||
</div><a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> </tt>
|
||||
<a name="Service.clone"></a><div id="Service.clone-def"><a name="L11"></a><tt class="py-lineno">11</tt> <a class="py-toggle" href="#" id="Service.clone-toggle" onclick="return toggle('Service.clone');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.services.Service-class.html#clone">clone</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Service.clone-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Service.clone-expanded"><a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-3" class="py-name" targets="Class lib.config.services.Service=lib.config.services.Service-class.html"><a title="lib.config.services.Service" class="py-name" href="#" onclick="return doclink('link-3', 'Service', 'link-3');">Service</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-4', 'command', 'link-0');">command</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="Service.clone"></a><div id="Service.clone-def"><a name="L11"></a><tt class="py-lineno">11</tt> <a class="py-toggle" href="#" id="Service.clone-toggle" onclick="return toggle('Service.clone');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.services.Service-class.html#clone">clone</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Service.clone-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Service.clone-expanded"><a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-3" class="py-name" targets="Class linspector.lib.config.services.Service=linspector.lib.config.services.Service-class.html"><a title="linspector.lib.config.services.Service" class="py-name" href="#" onclick="return doclink('link-3', 'Service', 'link-3');">Service</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-4', 'command', 'link-0');">command</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">comment</tt><tt class="py-op">)</tt> </tt>
|
||||
</div></div><a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> </tt>
|
||||
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> </tt>
|
||||
<a name="serviceList"></a><div id="serviceList-def"><a name="L15"></a><tt class="py-lineno">15</tt> <a class="py-toggle" href="#" id="serviceList-toggle" onclick="return toggle('serviceList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.config.services-module.html#serviceList">serviceList</a><tt class="py-op">(</tt><tt class="py-param">services</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="serviceList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="serviceList-expanded"><a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt id="link-5" class="py-name"><a title="lib.config.services.Service" class="py-name" href="#" onclick="return doclink('link-5', 'Service', 'link-3');">Service</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">=</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-6" class="py-name" targets="Module lib.config.services=lib.config.services-module.html"><a title="lib.config.services" class="py-name" href="#" onclick="return doclink('link-6', 'services', 'link-6');">services</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
<a name="serviceList"></a><div id="serviceList-def"><a name="L15"></a><tt class="py-lineno">15</tt> <a class="py-toggle" href="#" id="serviceList-toggle" onclick="return toggle('serviceList');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.config.services-module.html#serviceList">serviceList</a><tt class="py-op">(</tt><tt class="py-param">services</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="serviceList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="serviceList-expanded"><a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt id="link-5" class="py-name"><a title="linspector.lib.config.services.Service" class="py-name" href="#" onclick="return doclink('link-5', 'Service', 'link-3');">Service</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">=</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">values</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">values</tt> <tt class="py-keyword">in</tt> <tt id="link-6" class="py-name" targets="Module linspector.lib.config.services=linspector.lib.config.services-module.html"><a title="linspector.lib.config.services" class="py-name" href="#" onclick="return doclink('link-6', 'services', 'link-6');">services</a></tt><tt class="py-op">.</tt><tt class="py-name">items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
|
||||
</div><a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
expandto(location.href);
|
||||
|
|
@ -86,7 +87,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -106,7 +107,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.config.services.Service</title>
|
||||
<title>linspector.lib.config.services.Service</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.config-module.html">Package config</a> ::
|
||||
<a href="lib.config.services-module.html">Module services</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.config-module.html">Package config</a> ::
|
||||
<a href="linspector.lib.config.services-module.html">Module services</a> ::
|
||||
Class Service
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.config.services.Service-class.html"
|
||||
>] | <a href="linspector.lib.config.services.Service-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Service</h1><p class="nomargin-top"><span class="codelink"><a href="lib.config.services-pysrc.html#Service">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Service</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.config.services-pysrc.html#Service">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -87,7 +88,7 @@
|
|||
<span class="summary-sig-arg">comment</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
|
||||
<span class="summary-sig-arg">parser</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.services-pysrc.html#Service.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.services-pysrc.html#Service.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -103,7 +104,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.services-pysrc.html#Service.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.services-pysrc.html#Service.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -119,7 +120,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="clone"></a><span class="summary-sig-name">clone</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.config.services-pysrc.html#Service.clone">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.config.services-pysrc.html#Service.clone">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -134,7 +135,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -154,7 +155,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core</title>
|
||||
<title>linspector.lib.core</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,7 +37,8 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
Package core
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -48,14 +49,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core-module.html"
|
||||
>] | <a href="linspector.lib.core-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== PACKAGE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Package core</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Package core</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== SUBMODULES ==================== -->
|
||||
<a name="section-Submodules"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -75,12 +76,12 @@
|
|||
</tr>
|
||||
<tr><td class="summary">
|
||||
<ul class="nomargin">
|
||||
<li> <strong class="uidlink"><a href="lib.core.command-module.html">lib.core.command</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.daemon-module.html">lib.core.daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.job-module.html">lib.core.job</a></strong>: <em class="summary">This is what job_function needs as parameter for each job to
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.command-module.html">linspector.lib.core.command</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.daemon-module.html">linspector.lib.core.daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.job-module.html">linspector.lib.core.job</a></strong>: <em class="summary">This is what job_function needs as parameter for each job to
|
||||
succesfully execute.</em> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.linspector_daemon-module.html">lib.core.linspector_daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.logger-module.html">lib.core.logger</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.linspector_daemon-module.html">linspector.lib.core.linspector_daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.logger-module.html">linspector.lib.core.logger</a></strong> </li>
|
||||
</ul></td></tr>
|
||||
</table>
|
||||
|
||||
|
|
@ -116,7 +117,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -136,7 +137,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core</title>
|
||||
<title>linspector.lib.core</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,7 +37,8 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
Package core
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -48,13 +49,13 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core-pysrc.html"
|
||||
>] | <a href="linspector.lib.core-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.core-module.html">Package lib.core</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.core-module.html">Package linspector.lib.core</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno">1</tt> <tt class="py-line"> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno">2</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
|
|
@ -70,7 +71,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -90,7 +91,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.command</title>
|
||||
<title>linspector.lib.core.command</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module command
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.command-module.html"
|
||||
>] | <a href="linspector.lib.core.command-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module command</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.command-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module command</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.command-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,7 +79,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.core.command.Command-class.html" class="summary-name">Command</a>
|
||||
<a href="linspector.lib.core.command.Command-class.html" class="summary-name">Command</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -103,7 +104,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lib.core'"><code class="variable-quote">'</code><code class="variable-string">lib.core</code><code class="variable-quote">'</code></code>
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'linspector.lib.core'"><code class="variable-quote">'</code><code class="variable-string">linspector.lib.core</code><code class="variable-quote">'</code></code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -113,7 +114,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -133,7 +134,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.command</title>
|
||||
<title>linspector.lib.core.command</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module command
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,41 +50,41 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.command-pysrc.html"
|
||||
>] | <a href="linspector.lib.core.command-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.core.command-module.html">Module lib.core.command</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.core.command-module.html">Module linspector.lib.core.command</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">subprocess</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"> </tt>
|
||||
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"> </tt>
|
||||
<a name="Command"></a><div id="Command-def"><a name="L4"></a><tt class="py-lineno"> 4</tt> <a class="py-toggle" href="#" id="Command-toggle" onclick="return toggle('Command');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.core.command.Command-class.html">Command</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Command-expanded"><a name="Command.__init__"></a><div id="Command.__init__-def"><a name="L5"></a><tt class="py-lineno"> 5</tt> <a class="py-toggle" href="#" id="Command.__init__-toggle" onclick="return toggle('Command.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.command.Command-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.__init__-expanded"><a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module lib.core.command=lib.core.command-module.html"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-0', 'command', 'link-0');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-1', 'command', 'link-0');">command</a></tt> </tt>
|
||||
<a name="Command"></a><div id="Command-def"><a name="L4"></a><tt class="py-lineno"> 4</tt> <a class="py-toggle" href="#" id="Command-toggle" onclick="return toggle('Command');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.core.command.Command-class.html">Command</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Command-expanded"><a name="Command.__init__"></a><div id="Command.__init__-def"><a name="L5"></a><tt class="py-lineno"> 5</tt> <a class="py-toggle" href="#" id="Command.__init__-toggle" onclick="return toggle('Command.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.command.Command-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.__init__-expanded"><a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module linspector.lib.core.command=linspector.lib.core.command-module.html"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-0', 'command', 'link-0');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-1', 'command', 'link-0');">command</a></tt> </tt>
|
||||
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">output</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
|
||||
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">error</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
|
||||
</div><a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> </tt>
|
||||
<a name="Command.__str__"></a><div id="Command.__str__-def"><a name="L10"></a><tt class="py-lineno">10</tt> <a class="py-toggle" href="#" id="Command.__str__-toggle" onclick="return toggle('Command.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.command.Command-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.__str__-expanded"><a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-2" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-2', 'command', 'link-0');">command</a></tt> </tt>
|
||||
<a name="Command.__str__"></a><div id="Command.__str__-def"><a name="L10"></a><tt class="py-lineno">10</tt> <a class="py-toggle" href="#" id="Command.__str__-toggle" onclick="return toggle('Command.__str__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.command.Command-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.__str__-expanded"><a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-2" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-2', 'command', 'link-0');">command</a></tt> </tt>
|
||||
</div><a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"> </tt>
|
||||
<a name="Command.hasProcessed"></a><div id="Command.hasProcessed-def"><a name="L13"></a><tt class="py-lineno">13</tt> <a class="py-toggle" href="#" id="Command.hasProcessed-toggle" onclick="return toggle('Command.hasProcessed');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.command.Command-class.html#hasProcessed">hasProcessed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Command.hasProcessed"></a><div id="Command.hasProcessed-def"><a name="L13"></a><tt class="py-lineno">13</tt> <a class="py-toggle" href="#" id="Command.hasProcessed-toggle" onclick="return toggle('Command.hasProcessed');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.command.Command-class.html#hasProcessed">hasProcessed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.hasProcessed-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.hasProcessed-expanded"><a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">output</tt> <tt class="py-op">!=</tt> <tt class="py-string">""</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">error</tt> <tt class="py-op">!=</tt> <tt class="py-string">""</tt> </tt>
|
||||
</div><a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> </tt>
|
||||
<a name="Command.doProcess"></a><div id="Command.doProcess-def"><a name="L16"></a><tt class="py-lineno">16</tt> <a class="py-toggle" href="#" id="Command.doProcess-toggle" onclick="return toggle('Command.doProcess');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.command.Command-class.html#doProcess">doProcess</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.doProcess-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.doProcess-expanded"><a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> <tt class="py-name">process</tt> <tt class="py-op">=</tt> <tt class="py-name">subprocess</tt><tt class="py-op">.</tt><tt class="py-name">Popen</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-3" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-3', 'command', 'link-0');">command</a></tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">stdout</tt><tt class="py-op">=</tt><tt class="py-name">subprocess</tt><tt class="py-op">.</tt><tt class="py-name">PIPE</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="Command.doProcess"></a><div id="Command.doProcess-def"><a name="L16"></a><tt class="py-lineno">16</tt> <a class="py-toggle" href="#" id="Command.doProcess-toggle" onclick="return toggle('Command.doProcess');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.command.Command-class.html#doProcess">doProcess</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.doProcess-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.doProcess-expanded"><a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"> <tt class="py-name">process</tt> <tt class="py-op">=</tt> <tt class="py-name">subprocess</tt><tt class="py-op">.</tt><tt class="py-name">Popen</tt><tt class="py-op">(</tt><tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-3" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-3', 'command', 'link-0');">command</a></tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">stdout</tt><tt class="py-op">=</tt><tt class="py-name">subprocess</tt><tt class="py-op">.</tt><tt class="py-name">PIPE</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">output</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">error</tt> <tt class="py-op">=</tt> <tt class="py-name">process</tt><tt class="py-op">.</tt><tt class="py-name">communicate</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"> </tt>
|
||||
<a name="Command.getOutput"></a><div id="Command.getOutput-def"><a name="L20"></a><tt class="py-lineno">20</tt> <a class="py-toggle" href="#" id="Command.getOutput-toggle" onclick="return toggle('Command.getOutput');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.command.Command-class.html#getOutput">getOutput</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.getOutput-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.getOutput-expanded"><a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Method lib.core.command.Command.hasProcessed()=lib.core.command.Command-class.html#hasProcessed"><a title="lib.core.command.Command.hasProcessed" class="py-name" href="#" onclick="return doclink('link-4', 'hasProcessed', 'link-4');">hasProcessed</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Method lib.core.command.Command.doProcess()=lib.core.command.Command-class.html#doProcess"><a title="lib.core.command.Command.doProcess" class="py-name" href="#" onclick="return doclink('link-5', 'doProcess', 'link-5');">doProcess</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="Command.getOutput"></a><div id="Command.getOutput-def"><a name="L20"></a><tt class="py-lineno">20</tt> <a class="py-toggle" href="#" id="Command.getOutput-toggle" onclick="return toggle('Command.getOutput');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.command.Command-class.html#getOutput">getOutput</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.getOutput-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.getOutput-expanded"><a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Method linspector.lib.core.command.Command.hasProcessed()=linspector.lib.core.command.Command-class.html#hasProcessed"><a title="linspector.lib.core.command.Command.hasProcessed" class="py-name" href="#" onclick="return doclink('link-4', 'hasProcessed', 'link-4');">hasProcessed</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Method linspector.lib.core.command.Command.doProcess()=linspector.lib.core.command.Command-class.html#doProcess"><a title="linspector.lib.core.command.Command.doProcess" class="py-name" href="#" onclick="return doclink('link-5', 'doProcess', 'link-5');">doProcess</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">output</tt> </tt>
|
||||
</div><a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> </tt>
|
||||
<a name="Command.getError"></a><div id="Command.getError-def"><a name="L25"></a><tt class="py-lineno">25</tt> <a class="py-toggle" href="#" id="Command.getError-toggle" onclick="return toggle('Command.getError');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.command.Command-class.html#getError">getError</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.getError-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.getError-expanded"><a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="lib.core.command.Command.hasProcessed" class="py-name" href="#" onclick="return doclink('link-6', 'hasProcessed', 'link-4');">hasProcessed</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name"><a title="lib.core.command.Command.doProcess" class="py-name" href="#" onclick="return doclink('link-7', 'doProcess', 'link-5');">doProcess</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="Command.getError"></a><div id="Command.getError-def"><a name="L25"></a><tt class="py-lineno">25</tt> <a class="py-toggle" href="#" id="Command.getError-toggle" onclick="return toggle('Command.getError');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.command.Command-class.html#getError">getError</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Command.getError-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Command.getError-expanded"><a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="linspector.lib.core.command.Command.hasProcessed" class="py-name" href="#" onclick="return doclink('link-6', 'hasProcessed', 'link-4');">hasProcessed</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name"><a title="linspector.lib.core.command.Command.doProcess" class="py-name" href="#" onclick="return doclink('link-7', 'doProcess', 'link-5');">doProcess</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">error</tt> </tt>
|
||||
</div></div><a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
|
|
@ -98,7 +99,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -118,7 +119,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.command.Command</title>
|
||||
<title>linspector.lib.core.command.Command</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="lib.core.command-module.html">Module command</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector.lib.core.command-module.html">Module command</a> ::
|
||||
Class Command
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.command.Command-class.html"
|
||||
>] | <a href="linspector.lib.core.command.Command-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Command</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.command-pysrc.html#Command">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Command</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.command-pysrc.html#Command">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -84,7 +85,7 @@
|
|||
<td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
|
||||
<span class="summary-sig-arg">command</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.command-pysrc.html#Command.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.command-pysrc.html#Command.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -100,7 +101,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.command-pysrc.html#Command.__str__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.command-pysrc.html#Command.__str__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -116,7 +117,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="hasProcessed"></a><span class="summary-sig-name">hasProcessed</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.command-pysrc.html#Command.hasProcessed">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.command-pysrc.html#Command.hasProcessed">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -132,7 +133,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="doProcess"></a><span class="summary-sig-name">doProcess</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.command-pysrc.html#Command.doProcess">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.command-pysrc.html#Command.doProcess">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -148,7 +149,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="getOutput"></a><span class="summary-sig-name">getOutput</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.command-pysrc.html#Command.getOutput">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.command-pysrc.html#Command.getOutput">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -164,7 +165,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="getError"></a><span class="summary-sig-name">getError</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.command-pysrc.html#Command.getError">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.command-pysrc.html#Command.getError">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -179,7 +180,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -199,7 +200,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.daemon</title>
|
||||
<title>linspector.lib.core.daemon</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module daemon
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.daemon-module.html"
|
||||
>] | <a href="linspector.lib.core.daemon-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module daemon</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.daemon-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module daemon</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,7 +79,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.core.daemon.Daemon-class.html" class="summary-name">Daemon</a><br />
|
||||
<a href="linspector.lib.core.daemon.Daemon-class.html" class="summary-name">Daemon</a><br />
|
||||
A generic daemon class.
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -104,7 +105,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lib.core'"><code class="variable-quote">'</code><code class="variable-string">lib.core</code><code class="variable-quote">'</code></code>
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'linspector.lib.core'"><code class="variable-quote">'</code><code class="variable-string">linspector.lib.core</code><code class="variable-quote">'</code></code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -114,7 +115,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -134,7 +135,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.daemon</title>
|
||||
<title>linspector.lib.core.daemon</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module daemon
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,13 +50,13 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.daemon-pysrc.html"
|
||||
>] | <a href="linspector.lib.core.daemon-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.core.daemon-module.html">Module lib.core.daemon</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.core.daemon-module.html">Module linspector.lib.core.daemon</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
|
||||
|
|
@ -64,20 +65,20 @@
|
|||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">signal</tt> <tt class="py-keyword">import</tt> <tt class="py-name">SIGTERM</tt> </tt>
|
||||
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> </tt>
|
||||
<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> </tt>
|
||||
<a name="Daemon"></a><div id="Daemon-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="Daemon-toggle" onclick="return toggle('Daemon');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.core.daemon.Daemon-class.html">Daemon</a><tt class="py-op">:</tt> </tt>
|
||||
<a name="Daemon"></a><div id="Daemon-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="Daemon-toggle" onclick="return toggle('Daemon');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.core.daemon.Daemon-class.html">Daemon</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Daemon-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Daemon-expanded"><a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-docstring"> A generic daemon class.</tt> </tt>
|
||||
<a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
|
||||
<a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-docstring"> Usage: subclass the Daemon class and override the run() method</tt> </tt>
|
||||
<a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
|
||||
<a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"> </tt>
|
||||
<a name="Daemon.__init__"></a><div id="Daemon.__init__-def"><a name="L15"></a><tt class="py-lineno"> 15</tt> <a class="py-toggle" href="#" id="Daemon.__init__-toggle" onclick="return toggle('Daemon.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.daemon.Daemon-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">pidfile</tt><tt class="py-op">,</tt> <tt class="py-param">stdin</tt><tt class="py-op">=</tt><tt class="py-string">'/dev/null'</tt><tt class="py-op">,</tt> <tt class="py-param">stdout</tt><tt class="py-op">=</tt><tt class="py-string">'/dev/null'</tt><tt class="py-op">,</tt> <tt class="py-param">stderr</tt><tt class="py-op">=</tt><tt class="py-string">'/dev/null'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Daemon.__init__"></a><div id="Daemon.__init__-def"><a name="L15"></a><tt class="py-lineno"> 15</tt> <a class="py-toggle" href="#" id="Daemon.__init__-toggle" onclick="return toggle('Daemon.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.daemon.Daemon-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">pidfile</tt><tt class="py-op">,</tt> <tt class="py-param">stdin</tt><tt class="py-op">=</tt><tt class="py-string">'/dev/null'</tt><tt class="py-op">,</tt> <tt class="py-param">stdout</tt><tt class="py-op">=</tt><tt class="py-string">'/dev/null'</tt><tt class="py-op">,</tt> <tt class="py-param">stderr</tt><tt class="py-op">=</tt><tt class="py-string">'/dev/null'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Daemon.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Daemon.__init__-expanded"><a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">stdin</tt> <tt class="py-op">=</tt> <tt class="py-name">stdin</tt> </tt>
|
||||
<a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">stdout</tt> <tt class="py-op">=</tt> <tt class="py-name">stdout</tt> </tt>
|
||||
<a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">stderr</tt> <tt class="py-op">=</tt> <tt class="py-name">stderr</tt> </tt>
|
||||
<a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pidfile</tt> <tt class="py-op">=</tt> <tt class="py-name">pidfile</tt> </tt>
|
||||
</div><a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"> </tt>
|
||||
<a name="Daemon.daemonize"></a><div id="Daemon.daemonize-def"><a name="L21"></a><tt class="py-lineno"> 21</tt> <a class="py-toggle" href="#" id="Daemon.daemonize-toggle" onclick="return toggle('Daemon.daemonize');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.daemon.Daemon-class.html#daemonize">daemonize</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Daemon.daemonize"></a><div id="Daemon.daemonize-def"><a name="L21"></a><tt class="py-lineno"> 21</tt> <a class="py-toggle" href="#" id="Daemon.daemonize-toggle" onclick="return toggle('Daemon.daemonize');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.daemon.Daemon-class.html#daemonize">daemonize</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Daemon.daemonize-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Daemon.daemonize-expanded"><a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-docstring"> do the UNIX double-fork magic, see Stevens' "Advanced</tt> </tt>
|
||||
<a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-docstring"> Programming in the UNIX Environment" for details (ISBN 0201563177)</tt> </tt>
|
||||
|
|
@ -88,8 +89,8 @@
|
|||
<a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">pid</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> <tt class="py-comment"># exit first parent</tt> </tt>
|
||||
<a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">,</tt> <tt id="link-0" class="py-name" targets="Method lib.core.logger.Logger.e()=lib.core.logger.Logger-class.html#e"><a title="lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-0', 'e', 'link-0');">e</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stderr</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-string">"fork #1 failed: %d (%s)\n"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-1" class="py-name"><a title="lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-1', 'e', 'link-0');">e</a></tt><tt class="py-op">.</tt><tt class="py-name">errno</tt><tt class="py-op">,</tt> <tt id="link-2" class="py-name"><a title="lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-2', 'e', 'link-0');">e</a></tt><tt class="py-op">.</tt><tt class="py-name">strerror</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">,</tt> <tt id="link-0" class="py-name" targets="Method linspector.lib.core.logger.Logger.e()=linspector.lib.core.logger.Logger-class.html#e"><a title="linspector.lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-0', 'e', 'link-0');">e</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stderr</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-string">"fork #1 failed: %d (%s)\n"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-1" class="py-name"><a title="linspector.lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-1', 'e', 'link-0');">e</a></tt><tt class="py-op">.</tt><tt class="py-name">errno</tt><tt class="py-op">,</tt> <tt id="link-2" class="py-name"><a title="linspector.lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-2', 'e', 'link-0');">e</a></tt><tt class="py-op">.</tt><tt class="py-name">strerror</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"> </tt>
|
||||
<a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"> <tt class="py-comment"># decouple from parent environment</tt> </tt>
|
||||
|
|
@ -103,8 +104,8 @@
|
|||
<a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">pid</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> <tt class="py-comment"># exit from second parent</tt> </tt>
|
||||
<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">,</tt> <tt id="link-3" class="py-name"><a title="lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-3', 'e', 'link-0');">e</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stderr</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-string">"fork #2 failed: %d (%s)\n"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-4" class="py-name"><a title="lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-4', 'e', 'link-0');">e</a></tt><tt class="py-op">.</tt><tt class="py-name">errno</tt><tt class="py-op">,</tt> <tt id="link-5" class="py-name"><a title="lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-5', 'e', 'link-0');">e</a></tt><tt class="py-op">.</tt><tt class="py-name">strerror</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">OSError</tt><tt class="py-op">,</tt> <tt id="link-3" class="py-name"><a title="linspector.lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-3', 'e', 'link-0');">e</a></tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stderr</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-string">"fork #2 failed: %d (%s)\n"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-4" class="py-name"><a title="linspector.lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-4', 'e', 'link-0');">e</a></tt><tt class="py-op">.</tt><tt class="py-name">errno</tt><tt class="py-op">,</tt> <tt id="link-5" class="py-name"><a title="linspector.lib.core.logger.Logger.e" class="py-name" href="#" onclick="return doclink('link-5', 'e', 'link-0');">e</a></tt><tt class="py-op">.</tt><tt class="py-name">strerror</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"> </tt>
|
||||
<a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt class="py-comment"># redirect standard file descriptors</tt> </tt>
|
||||
|
|
@ -118,14 +119,14 @@
|
|||
<a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">dup2</tt><tt class="py-op">(</tt><tt class="py-name">se</tt><tt class="py-op">.</tt><tt class="py-name">fileno</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">stderr</tt><tt class="py-op">.</tt><tt class="py-name">fileno</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> </tt>
|
||||
<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> <tt class="py-comment"># write pidfile</tt> </tt>
|
||||
<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-name">atexit</tt><tt class="py-op">.</tt><tt class="py-name">register</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Method lib.core.daemon.Daemon.delpid()=lib.core.daemon.Daemon-class.html#delpid"><a title="lib.core.daemon.Daemon.delpid" class="py-name" href="#" onclick="return doclink('link-6', 'delpid', 'link-6');">delpid</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-name">atexit</tt><tt class="py-op">.</tt><tt class="py-name">register</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Method linspector.lib.core.daemon.Daemon.delpid()=linspector.lib.core.daemon.Daemon-class.html#delpid"><a title="linspector.lib.core.daemon.Daemon.delpid" class="py-name" href="#" onclick="return doclink('link-6', 'delpid', 'link-6');">delpid</a></tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">getpid</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pidfile</tt><tt class="py-op">,</tt> <tt class="py-string">'w+'</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt class="py-string">"%s\n"</tt> <tt class="py-op">%</tt> <tt class="py-name">pid</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> </tt>
|
||||
<a name="Daemon.delpid"></a><div id="Daemon.delpid-def"><a name="L66"></a><tt class="py-lineno"> 66</tt> <a class="py-toggle" href="#" id="Daemon.delpid-toggle" onclick="return toggle('Daemon.delpid');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.daemon.Daemon-class.html#delpid">delpid</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Daemon.delpid"></a><div id="Daemon.delpid-def"><a name="L66"></a><tt class="py-lineno"> 66</tt> <a class="py-toggle" href="#" id="Daemon.delpid-toggle" onclick="return toggle('Daemon.delpid');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.daemon.Daemon-class.html#delpid">delpid</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Daemon.delpid-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Daemon.delpid-expanded"><a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">remove</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pidfile</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> </tt>
|
||||
<a name="Daemon.start"></a><div id="Daemon.start-def"><a name="L69"></a><tt class="py-lineno"> 69</tt> <a class="py-toggle" href="#" id="Daemon.start-toggle" onclick="return toggle('Daemon.start');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.daemon.Daemon-class.html#start">start</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Daemon.start"></a><div id="Daemon.start-def"><a name="L69"></a><tt class="py-lineno"> 69</tt> <a class="py-toggle" href="#" id="Daemon.start-toggle" onclick="return toggle('Daemon.start');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.daemon.Daemon-class.html#start">start</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Daemon.start-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Daemon.start-expanded"><a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"><tt class="py-docstring"> Start the daemon</tt> </tt>
|
||||
<a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
|
||||
|
|
@ -133,7 +134,7 @@
|
|||
<a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> <tt class="py-name">pf</tt> <tt class="py-op">=</tt> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pidfile</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">pf</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt class="py-name">pf</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Method lib.core.logger.Logger.close()=lib.core.logger.Logger-class.html#close"><a title="lib.core.logger.Logger.close" class="py-name" href="#" onclick="return doclink('link-7', 'close', 'link-7');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt class="py-name">pf</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Method linspector.lib.core.logger.Logger.close()=linspector.lib.core.logger.Logger-class.html#close"><a title="linspector.lib.core.logger.Logger.close" class="py-name" href="#" onclick="return doclink('link-7', 'close', 'link-7');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">IOError</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
|
||||
<a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"> </tt>
|
||||
|
|
@ -143,11 +144,11 @@
|
|||
<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> </tt>
|
||||
<a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-comment"># Start the daemon</tt> </tt>
|
||||
<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Method lib.core.daemon.Daemon.daemonize()=lib.core.daemon.Daemon-class.html#daemonize"><a title="lib.core.daemon.Daemon.daemonize" class="py-name" href="#" onclick="return doclink('link-8', 'daemonize', 'link-8');">daemonize</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Method lib.core.daemon.Daemon.run()=lib.core.daemon.Daemon-class.html#run,Method lib.core.linspector_daemon.LinspectorDaemon.run()=lib.core.linspector_daemon.LinspectorDaemon-class.html#run"><a title="lib.core.daemon.Daemon.run
|
||||
lib.core.linspector_daemon.LinspectorDaemon.run" class="py-name" href="#" onclick="return doclink('link-9', 'run', 'link-9');">run</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Method linspector.lib.core.daemon.Daemon.daemonize()=linspector.lib.core.daemon.Daemon-class.html#daemonize"><a title="linspector.lib.core.daemon.Daemon.daemonize" class="py-name" href="#" onclick="return doclink('link-8', 'daemonize', 'link-8');">daemonize</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Method linspector.lib.core.daemon.Daemon.run()=linspector.lib.core.daemon.Daemon-class.html#run,Method linspector.lib.core.linspector_daemon.LinspectorDaemon.run()=linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html#run"><a title="linspector.lib.core.daemon.Daemon.run
|
||||
linspector.lib.core.linspector_daemon.LinspectorDaemon.run" class="py-name" href="#" onclick="return doclink('link-9', 'run', 'link-9');">run</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> </tt>
|
||||
<a name="Daemon.stop"></a><div id="Daemon.stop-def"><a name="L90"></a><tt class="py-lineno"> 90</tt> <a class="py-toggle" href="#" id="Daemon.stop-toggle" onclick="return toggle('Daemon.stop');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.daemon.Daemon-class.html#stop">stop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Daemon.stop"></a><div id="Daemon.stop-def"><a name="L90"></a><tt class="py-lineno"> 90</tt> <a class="py-toggle" href="#" id="Daemon.stop-toggle" onclick="return toggle('Daemon.stop');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.daemon.Daemon-class.html#stop">stop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Daemon.stop-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Daemon.stop-expanded"><a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"><tt class="py-docstring"> Stop the daemon</tt> </tt>
|
||||
<a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
|
||||
|
|
@ -155,7 +156,7 @@ lib.core.linspector_daemon.LinspectorDaemon.run" class="py-name" href="#" onclic
|
|||
<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> <tt class="py-name">pf</tt> <tt class="py-op">=</tt> <tt class="py-name">file</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">pidfile</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">pf</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt class="py-name">pf</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="lib.core.logger.Logger.close" class="py-name" href="#" onclick="return doclink('link-10', 'close', 'link-7');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt class="py-name">pf</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="linspector.lib.core.logger.Logger.close" class="py-name" href="#" onclick="return doclink('link-10', 'close', 'link-7');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">IOError</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt class="py-name">pid</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
|
||||
<a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> </tt>
|
||||
|
|
@ -178,14 +179,14 @@ lib.core.linspector_daemon.LinspectorDaemon.run" class="py-name" href="#" onclic
|
|||
<a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">err</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> </tt>
|
||||
<a name="Daemon.restart"></a><div id="Daemon.restart-def"><a name="L121"></a><tt class="py-lineno">121</tt> <a class="py-toggle" href="#" id="Daemon.restart-toggle" onclick="return toggle('Daemon.restart');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.daemon.Daemon-class.html#restart">restart</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Daemon.restart"></a><div id="Daemon.restart-def"><a name="L121"></a><tt class="py-lineno">121</tt> <a class="py-toggle" href="#" id="Daemon.restart-toggle" onclick="return toggle('Daemon.restart');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.daemon.Daemon-class.html#restart">restart</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Daemon.restart-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Daemon.restart-expanded"><a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"><tt class="py-docstring"> Restart the daemon</tt> </tt>
|
||||
<a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
|
||||
<a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method lib.core.daemon.Daemon.stop()=lib.core.daemon.Daemon-class.html#stop"><a title="lib.core.daemon.Daemon.stop" class="py-name" href="#" onclick="return doclink('link-11', 'stop', 'link-11');">stop</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Method lib.core.daemon.Daemon.start()=lib.core.daemon.Daemon-class.html#start"><a title="lib.core.daemon.Daemon.start" class="py-name" href="#" onclick="return doclink('link-12', 'start', 'link-12');">start</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method linspector.lib.core.daemon.Daemon.stop()=linspector.lib.core.daemon.Daemon-class.html#stop"><a title="linspector.lib.core.daemon.Daemon.stop" class="py-name" href="#" onclick="return doclink('link-11', 'stop', 'link-11');">stop</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Method linspector.lib.core.daemon.Daemon.start()=linspector.lib.core.daemon.Daemon-class.html#start"><a title="linspector.lib.core.daemon.Daemon.start" class="py-name" href="#" onclick="return doclink('link-12', 'start', 'link-12');">start</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> </tt>
|
||||
<a name="Daemon.run"></a><div id="Daemon.run-def"><a name="L128"></a><tt class="py-lineno">128</tt> <a class="py-toggle" href="#" id="Daemon.run-toggle" onclick="return toggle('Daemon.run');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.daemon.Daemon-class.html#run">run</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Daemon.run"></a><div id="Daemon.run-def"><a name="L128"></a><tt class="py-lineno">128</tt> <a class="py-toggle" href="#" id="Daemon.run-toggle" onclick="return toggle('Daemon.run');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.daemon.Daemon-class.html#run">run</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Daemon.run-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Daemon.run-expanded"><a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"><tt class="py-docstring"> You should override this method when you subclass Daemon.</tt> </tt>
|
||||
<a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"><tt class="py-docstring"> It will be called after the process has been</tt> </tt>
|
||||
|
|
@ -204,7 +205,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -224,7 +225,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.daemon.Daemon</title>
|
||||
<title>linspector.lib.core.daemon.Daemon</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="lib.core.daemon-module.html">Module daemon</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector.lib.core.daemon-module.html">Module daemon</a> ::
|
||||
Class Daemon
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,18 +51,18 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.daemon.Daemon-class.html"
|
||||
>] | <a href="linspector.lib.core.daemon.Daemon-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Daemon</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.daemon-pysrc.html#Daemon">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Daemon</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html#Daemon">source code</a></span></p>
|
||||
<dl><dt>Known Subclasses:</dt>
|
||||
<dd>
|
||||
<ul class="subclass-list">
|
||||
<li><a href="lib.core.linspector_daemon.LinspectorDaemon-class.html">linspector_daemon.LinspectorDaemon</a></li> </ul>
|
||||
<li><a href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html">linspector_daemon.LinspectorDaemon</a></li> </ul>
|
||||
</dd></dl>
|
||||
|
||||
<hr />
|
||||
|
|
@ -97,7 +98,7 @@
|
|||
<span class="summary-sig-arg">stdout</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">/dev/null</code><code class="variable-quote">'</code></span>,
|
||||
<span class="summary-sig-arg">stderr</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">/dev/null</code><code class="variable-quote">'</code></span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.daemon-pysrc.html#Daemon.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html#Daemon.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -116,7 +117,7 @@
|
|||
Programming in the UNIX Environment" for details (ISBN
|
||||
0201563177) http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.daemon-pysrc.html#Daemon.daemonize">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html#Daemon.daemonize">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -132,41 +133,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="delpid"></a><span class="summary-sig-name">delpid</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.daemon-pysrc.html#Daemon.delpid">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td><span class="summary-sig"><a name="restart"></a><span class="summary-sig-name">restart</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
||||
Restart the daemon</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.daemon-pysrc.html#Daemon.restart">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td><span class="summary-sig"><a href="lib.core.daemon.Daemon-class.html#run" class="summary-sig-name">run</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
||||
You should override this method when you subclass Daemon.</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.daemon-pysrc.html#Daemon.run">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html#Daemon.delpid">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -183,7 +150,7 @@
|
|||
<td><span class="summary-sig"><a name="start"></a><span class="summary-sig-name">start</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
||||
Start the daemon</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.daemon-pysrc.html#Daemon.start">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html#Daemon.start">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -200,7 +167,41 @@
|
|||
<td><span class="summary-sig"><a name="stop"></a><span class="summary-sig-name">stop</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
||||
Stop the daemon</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.daemon-pysrc.html#Daemon.stop">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html#Daemon.stop">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td><span class="summary-sig"><a name="restart"></a><span class="summary-sig-name">restart</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
||||
Restart the daemon</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html#Daemon.restart">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td><span class="summary-sig"><a href="linspector.lib.core.daemon.Daemon-class.html#run" class="summary-sig-name">run</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
||||
You should override this method when you subclass Daemon.</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html#Daemon.run">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -237,7 +238,7 @@
|
|||
<h3 class="epydoc"><span class="sig"><span class="sig-name">run</span>(<span class="sig-arg">self</span>)</span>
|
||||
</h3>
|
||||
</td><td align="right" valign="top"
|
||||
><span class="codelink"><a href="lib.core.daemon-pysrc.html#Daemon.run">source code</a></span>
|
||||
><span class="codelink"><a href="linspector.lib.core.daemon-pysrc.html#Daemon.run">source code</a></span>
|
||||
</td>
|
||||
</tr></table>
|
||||
|
||||
|
|
@ -254,7 +255,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -274,7 +275,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.job</title>
|
||||
<title>linspector.lib.core.job</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module job
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.job-module.html"
|
||||
>] | <a href="linspector.lib.core.job-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module job</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.job-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module job</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.job-pysrc.html">source code</a></span></p>
|
||||
<p>This is what job_function needs as parameter for each job to
|
||||
succesfully execute.</p>
|
||||
|
||||
|
|
@ -81,7 +82,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.core.job.Job-class.html" class="summary-name">Job</a>
|
||||
<a href="linspector.lib.core.job.Job-class.html" class="summary-name">Job</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -116,7 +117,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -136,7 +137,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.job</title>
|
||||
<title>linspector.lib.core.job</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module job
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,13 +50,13 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.job-pysrc.html"
|
||||
>] | <a href="linspector.lib.core.job-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.core.job-module.html">Module lib.core.job</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.core.job-module.html">Module linspector.lib.core.job</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-docstring">This is what job_function needs as parameter for each job to succesfully </tt> </tt>
|
||||
|
|
@ -63,10 +64,10 @@
|
|||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> </tt>
|
||||
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> </tt>
|
||||
<a name="Job"></a><div id="Job-def"><a name="L7"></a><tt class="py-lineno"> 7</tt> <a class="py-toggle" href="#" id="Job-toggle" onclick="return toggle('Job');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.core.job.Job-class.html">Job</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Job-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Job-expanded"><a name="Job.__init__"></a><div id="Job.__init__-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="Job.__init__-toggle" onclick="return toggle('Job.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.job.Job-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">members</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">host</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">service</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Job.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Job.__init__-expanded"><a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module lib.core.command=lib.core.command-module.html"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-0', 'command', 'link-0');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="lib.core.command" class="py-name" href="#" onclick="return doclink('link-1', 'command', 'link-0');">command</a></tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module lib.config.members=lib.config.members-module.html"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-2', 'members', 'link-2');">members</a></tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="lib.config.members" class="py-name" href="#" onclick="return doclink('link-3', 'members', 'link-2');">members</a></tt> </tt>
|
||||
<a name="Job"></a><div id="Job-def"><a name="L7"></a><tt class="py-lineno"> 7</tt> <a class="py-toggle" href="#" id="Job-toggle" onclick="return toggle('Job');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.core.job.Job-class.html">Job</a><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Job-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Job-expanded"><a name="Job.__init__"></a><div id="Job.__init__-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="Job.__init__-toggle" onclick="return toggle('Job.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.job.Job-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">members</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">host</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">service</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Job.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Job.__init__-expanded"><a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module linspector.lib.core.command=linspector.lib.core.command-module.html"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-0', 'command', 'link-0');">command</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="linspector.lib.core.command" class="py-name" href="#" onclick="return doclink('link-1', 'command', 'link-0');">command</a></tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module linspector.lib.config.members=linspector.lib.config.members-module.html"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-2', 'members', 'link-2');">members</a></tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="linspector.lib.config.members" class="py-name" href="#" onclick="return doclink('link-3', 'members', 'link-2');">members</a></tt> </tt>
|
||||
<a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">host</tt> <tt class="py-op">=</tt> <tt class="py-name">host</tt> </tt>
|
||||
<a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">service</tt> </tt>
|
||||
</div></div><a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
|
|
@ -82,7 +83,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -102,7 +103,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.job.Job</title>
|
||||
<title>linspector.lib.core.job.Job</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="lib.core.job-module.html">Module job</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector.lib.core.job-module.html">Module job</a> ::
|
||||
Class Job
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.job.Job-class.html"
|
||||
>] | <a href="linspector.lib.core.job.Job-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Job</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.job-pysrc.html#Job">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Job</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.job-pysrc.html#Job">source code</a></span></p>
|
||||
<!-- ==================== INSTANCE METHODS ==================== -->
|
||||
<a name="section-InstanceMethods"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -87,7 +88,7 @@
|
|||
<span class="summary-sig-arg">host</span>=<span class="summary-sig-default">None</span>,
|
||||
<span class="summary-sig-arg">service</span>=<span class="summary-sig-default">None</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.job-pysrc.html#Job.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.job-pysrc.html#Job.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -102,7 +103,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -122,7 +123,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.linspector_daemon</title>
|
||||
<title>linspector.lib.core.linspector_daemon</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module linspector_daemon
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.linspector_daemon-module.html"
|
||||
>] | <a href="linspector.lib.core.linspector_daemon-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module linspector_daemon</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.linspector_daemon-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module linspector_daemon</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.linspector_daemon-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,7 +79,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.core.linspector_daemon.LinspectorDaemon-class.html" class="summary-name">LinspectorDaemon</a>
|
||||
<a href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html" class="summary-name">LinspectorDaemon</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -103,7 +104,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lib.core'"><code class="variable-quote">'</code><code class="variable-string">lib.core</code><code class="variable-quote">'</code></code>
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'linspector.lib.core'"><code class="variable-quote">'</code><code class="variable-string">linspector.lib.core</code><code class="variable-quote">'</code></code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -113,7 +114,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -133,7 +134,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.linspector_daemon</title>
|
||||
<title>linspector.lib.core.linspector_daemon</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module linspector_daemon
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,24 +50,24 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.linspector_daemon-pysrc.html"
|
||||
>] | <a href="linspector.lib.core.linspector_daemon-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.core.linspector_daemon-module.html">Module lib.core.linspector_daemon</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.core.linspector_daemon-module.html">Module linspector.lib.core.linspector_daemon</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-op">.</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Package lib.core=lib.core-module.html"><a title="lib.core" class="py-name" href="#" onclick="return doclink('link-0', 'core', 'link-0');">core</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Module lib.core.logger=lib.core.logger-module.html"><a title="lib.core.logger" class="py-name" href="#" onclick="return doclink('link-1', 'logger', 'link-1');">logger</a></tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-op">.</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="lib.core" class="py-name" href="#" onclick="return doclink('link-2', 'core', 'link-0');">core</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Module lib.core.daemon=lib.core.daemon-module.html"><a title="lib.core.daemon" class="py-name" href="#" onclick="return doclink('link-3', 'daemon', 'link-3');">daemon</a></tt> <tt class="py-keyword">import</tt> <tt id="link-4" class="py-name" targets="Class lib.core.daemon.Daemon=lib.core.daemon.Daemon-class.html"><a title="lib.core.daemon.Daemon" class="py-name" href="#" onclick="return doclink('link-4', 'Daemon', 'link-4');">Daemon</a></tt> </tt>
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-op">.</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Package linspector.lib.core=linspector.lib.core-module.html"><a title="linspector.lib.core" class="py-name" href="#" onclick="return doclink('link-0', 'core', 'link-0');">core</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Module linspector.lib.core.logger=linspector.lib.core.logger-module.html"><a title="linspector.lib.core.logger" class="py-name" href="#" onclick="return doclink('link-1', 'logger', 'link-1');">logger</a></tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-op">.</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name"><a title="linspector.lib.core" class="py-name" href="#" onclick="return doclink('link-2', 'core', 'link-0');">core</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Module linspector.lib.core.daemon=linspector.lib.core.daemon-module.html"><a title="linspector.lib.core.daemon" class="py-name" href="#" onclick="return doclink('link-3', 'daemon', 'link-3');">daemon</a></tt> <tt class="py-keyword">import</tt> <tt id="link-4" class="py-name" targets="Class linspector.lib.core.daemon.Daemon=linspector.lib.core.daemon.Daemon-class.html"><a title="linspector.lib.core.daemon.Daemon" class="py-name" href="#" onclick="return doclink('link-4', 'Daemon', 'link-4');">Daemon</a></tt> </tt>
|
||||
<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"> </tt>
|
||||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"> </tt>
|
||||
<a name="LinspectorDaemon"></a><div id="LinspectorDaemon-def"><a name="L5"></a><tt class="py-lineno"> 5</tt> <a class="py-toggle" href="#" id="LinspectorDaemon-toggle" onclick="return toggle('LinspectorDaemon');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.core.linspector_daemon.LinspectorDaemon-class.html">LinspectorDaemon</a><tt class="py-op">(</tt><tt class="py-base-class">Daemon</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="LinspectorDaemon-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="LinspectorDaemon-expanded"><a name="LinspectorDaemon.run"></a><div id="LinspectorDaemon.run-def"><a name="L6"></a><tt class="py-lineno"> 6</tt> <a class="py-toggle" href="#" id="LinspectorDaemon.run-toggle" onclick="return toggle('LinspectorDaemon.run');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.linspector_daemon.LinspectorDaemon-class.html#run">run</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="LinspectorDaemon"></a><div id="LinspectorDaemon-def"><a name="L5"></a><tt class="py-lineno"> 5</tt> <a class="py-toggle" href="#" id="LinspectorDaemon-toggle" onclick="return toggle('LinspectorDaemon');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html">LinspectorDaemon</a><tt class="py-op">(</tt><tt class="py-base-class">Daemon</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="LinspectorDaemon-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="LinspectorDaemon-expanded"><a name="LinspectorDaemon.run"></a><div id="LinspectorDaemon.run-def"><a name="L6"></a><tt class="py-lineno"> 6</tt> <a class="py-toggle" href="#" id="LinspectorDaemon.run-toggle" onclick="return toggle('LinspectorDaemon.run');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html#run">run</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="LinspectorDaemon.run-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="LinspectorDaemon.run-expanded"><a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-name">True</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-name">a</tt> <tt class="py-op">=</tt> <tt class="py-number">2</tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> <tt id="link-5" class="py-name"><a title="lib.core.logger" class="py-name" href="#" onclick="return doclink('link-5', 'logger', 'link-1');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">writeLogToFile</tt><tt class="py-op">(</tt><tt class="py-name">_logfile</tt><tt class="py-op">,</tt> <tt class="py-string">"Running!"</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"> <tt id="link-5" class="py-name"><a title="linspector.lib.core.logger" class="py-name" href="#" onclick="return doclink('link-5', 'logger', 'link-1');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">writeLogToFile</tt><tt class="py-op">(</tt><tt class="py-name">_logfile</tt><tt class="py-op">,</tt> <tt class="py-string">"Running!"</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-string">"running!"</tt> </tt>
|
||||
<a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt> <tt class="py-keyword">as</tt> <tt class="py-name">err</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> <tt class="py-comment">#logger.writeLogToFile(_logfile, str(err))</tt> </tt>
|
||||
|
|
@ -86,7 +87,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -106,7 +107,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.linspector_daemon.LinspectorDaemon</title>
|
||||
<title>linspector.lib.core.linspector_daemon.LinspectorDaemon</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="lib.core.linspector_daemon-module.html">Module linspector_daemon</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector.lib.core.linspector_daemon-module.html">Module linspector_daemon</a> ::
|
||||
Class LinspectorDaemon
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,16 +51,16 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.linspector_daemon.LinspectorDaemon-class.html"
|
||||
>] | <a href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class LinspectorDaemon</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.linspector_daemon-pysrc.html#LinspectorDaemon">source code</a></span></p>
|
||||
<h1 class="epydoc">Class LinspectorDaemon</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.linspector_daemon-pysrc.html#LinspectorDaemon">source code</a></span></p>
|
||||
<pre class="base-tree">
|
||||
<a href="lib.core.daemon.Daemon-class.html">daemon.Daemon</a> --+
|
||||
<a href="linspector.lib.core.daemon.Daemon-class.html">daemon.Daemon</a> --+
|
||||
|
|
||||
<strong class="uidshort">LinspectorDaemon</strong>
|
||||
</pre>
|
||||
|
|
@ -88,10 +89,10 @@
|
|||
</td><td class="summary">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td><span class="summary-sig"><a href="lib.core.linspector_daemon.LinspectorDaemon-class.html#run" class="summary-sig-name">run</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
||||
<td><span class="summary-sig"><a href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html#run" class="summary-sig-name">run</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
||||
You should override this method when you subclass Daemon.</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.linspector_daemon-pysrc.html#LinspectorDaemon.run">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.linspector_daemon-pysrc.html#LinspectorDaemon.run">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -101,13 +102,13 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="summary">
|
||||
<p class="indent-wrapped-lines"><b>Inherited from <code><a href="lib.core.daemon.Daemon-class.html">daemon.Daemon</a></code></b>:
|
||||
<code><a href="lib.core.daemon.Daemon-class.html#__init__">__init__</a></code>,
|
||||
<code><a href="lib.core.daemon.Daemon-class.html#daemonize">daemonize</a></code>,
|
||||
<code><a href="lib.core.daemon.Daemon-class.html#delpid">delpid</a></code>,
|
||||
<code><a href="lib.core.daemon.Daemon-class.html#restart">restart</a></code>,
|
||||
<code><a href="lib.core.daemon.Daemon-class.html#start">start</a></code>,
|
||||
<code><a href="lib.core.daemon.Daemon-class.html#stop">stop</a></code>
|
||||
<p class="indent-wrapped-lines"><b>Inherited from <code><a href="linspector.lib.core.daemon.Daemon-class.html">daemon.Daemon</a></code></b>:
|
||||
<code><a href="linspector.lib.core.daemon.Daemon-class.html#__init__">__init__</a></code>,
|
||||
<code><a href="linspector.lib.core.daemon.Daemon-class.html#daemonize">daemonize</a></code>,
|
||||
<code><a href="linspector.lib.core.daemon.Daemon-class.html#delpid">delpid</a></code>,
|
||||
<code><a href="linspector.lib.core.daemon.Daemon-class.html#restart">restart</a></code>,
|
||||
<code><a href="linspector.lib.core.daemon.Daemon-class.html#start">start</a></code>,
|
||||
<code><a href="linspector.lib.core.daemon.Daemon-class.html#stop">stop</a></code>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -140,7 +141,7 @@
|
|||
<h3 class="epydoc"><span class="sig"><span class="sig-name">run</span>(<span class="sig-arg">self</span>)</span>
|
||||
</h3>
|
||||
</td><td align="right" valign="top"
|
||||
><span class="codelink"><a href="lib.core.linspector_daemon-pysrc.html#LinspectorDaemon.run">source code</a></span>
|
||||
><span class="codelink"><a href="linspector.lib.core.linspector_daemon-pysrc.html#LinspectorDaemon.run">source code</a></span>
|
||||
</td>
|
||||
</tr></table>
|
||||
|
||||
|
|
@ -148,7 +149,7 @@
|
|||
called after the process has been daemonized by start() or restart().</p>
|
||||
<dl class="fields">
|
||||
<dt>Overrides:
|
||||
<a href="lib.core.daemon.Daemon-class.html#run">daemon.Daemon.run</a>
|
||||
<a href="linspector.lib.core.daemon.Daemon-class.html#run">daemon.Daemon.run</a>
|
||||
<dd><em class="note">(inherited documentation)</em></dd>
|
||||
</dt>
|
||||
</dl>
|
||||
|
|
@ -161,7 +162,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -181,7 +182,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.logger</title>
|
||||
<title>linspector.lib.core.logger</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module logger
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,14 +50,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.logger-module.html"
|
||||
>] | <a href="linspector.lib.core.logger-module.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Module logger</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.logger-pysrc.html">source code</a></span></p>
|
||||
<h1 class="epydoc">Module logger</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.logger-pysrc.html">source code</a></span></p>
|
||||
<!-- ==================== CLASSES ==================== -->
|
||||
<a name="section-Classes"></a>
|
||||
<table class="summary" border="1" cellpadding="3"
|
||||
|
|
@ -78,7 +79,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a href="lib.core.logger.Logger-class.html" class="summary-name">Logger</a><br />
|
||||
<a href="linspector.lib.core.logger.Logger-class.html" class="summary-name">Logger</a><br />
|
||||
Logger class that prints its messages and keeps them also inside a
|
||||
logfile
|
||||
</td>
|
||||
|
|
@ -105,7 +106,7 @@
|
|||
<td width="15%" align="right" valign="top" class="summary">
|
||||
<span class="summary-type"> </span>
|
||||
</td><td class="summary">
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lib.core'"><code class="variable-quote">'</code><code class="variable-string">lib.core</code><code class="variable-quote">'</code></code>
|
||||
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'linspector.lib.core'"><code class="variable-quote">'</code><code class="variable-string">linspector.lib.core</code><code class="variable-quote">'</code></code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -115,7 +116,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -135,7 +136,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.logger</title>
|
||||
<title>linspector.lib.core.logger</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
Module logger
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -49,13 +50,13 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.logger-pysrc.html"
|
||||
>] | <a href="linspector.lib.core.logger-pysrc.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 class="epydoc">Source Code for <a href="lib.core.logger-module.html">Module lib.core.logger</a></h1>
|
||||
<h1 class="epydoc">Source Code for <a href="linspector.lib.core.logger-module.html">Module linspector.lib.core.logger</a></h1>
|
||||
<pre class="py-src">
|
||||
<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
|
||||
<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">handlers</tt> </tt>
|
||||
|
|
@ -63,12 +64,12 @@
|
|||
<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-keyword">as</tt> <tt class="py-name">path</tt> </tt>
|
||||
<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> </tt>
|
||||
<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"> </tt>
|
||||
<a name="Logger"></a><div id="Logger-def"><a name="L7"></a><tt class="py-lineno"> 7</tt> <a class="py-toggle" href="#" id="Logger-toggle" onclick="return toggle('Logger');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="lib.core.logger.Logger-class.html">Logger</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Logger"></a><div id="Logger-def"><a name="L7"></a><tt class="py-lineno"> 7</tt> <a class="py-toggle" href="#" id="Logger-toggle" onclick="return toggle('Logger');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="linspector.lib.core.logger.Logger-class.html">Logger</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Logger-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Logger-expanded"><a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-docstring"> Logger class that prints its messages and keeps them also inside a logfile</tt> </tt>
|
||||
<a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
|
||||
<a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"> </tt>
|
||||
<a name="Logger.__init__"></a><div id="Logger.__init__-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="Logger.__init__-toggle" onclick="return toggle('Logger.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.logger.Logger-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">logfile</tt><tt class="py-op">=</tt><tt class="py-string">"./linspector.log"</tt><tt class="py-op">,</tt> <tt class="py-param">logLevel</tt><tt class="py-op">=</tt><tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">DEBUG</tt><tt class="py-op">,</tt> <tt class="py-param">logfileLevel</tt><tt class="py-op">=</tt><tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">DEBUG</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Logger.__init__"></a><div id="Logger.__init__-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="Logger.__init__-toggle" onclick="return toggle('Logger.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.logger.Logger-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">logfile</tt><tt class="py-op">=</tt><tt class="py-string">"./linspector.log"</tt><tt class="py-op">,</tt> <tt class="py-param">logLevel</tt><tt class="py-op">=</tt><tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">DEBUG</tt><tt class="py-op">,</tt> <tt class="py-param">logfileLevel</tt><tt class="py-op">=</tt><tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">DEBUG</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Logger.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Logger.__init__-expanded"><a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> <tt class="py-docstring">"""</tt> </tt>
|
||||
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"><tt class="py-docstring"> initializes a new Logger object.</tt> </tt>
|
||||
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
|
||||
|
|
@ -99,22 +100,22 @@
|
|||
<a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">log</tt><tt class="py-op">.</tt><tt class="py-name">addHandler</tt><tt class="py-op">(</tt><tt class="py-name">consoleHandler</tt><tt class="py-op">)</tt> </tt>
|
||||
<a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">log</tt><tt class="py-op">.</tt><tt class="py-name">addHandler</tt><tt class="py-op">(</tt><tt class="py-name">fileHandler</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"> </tt>
|
||||
<a name="Logger.d"></a><div id="Logger.d-def"><a name="L43"></a><tt class="py-lineno">43</tt> <a class="py-toggle" href="#" id="Logger.d-toggle" onclick="return toggle('Logger.d');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.logger.Logger-class.html#d">d</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Logger.d"></a><div id="Logger.d-def"><a name="L43"></a><tt class="py-lineno">43</tt> <a class="py-toggle" href="#" id="Logger.d-toggle" onclick="return toggle('Logger.d');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.logger.Logger-class.html#d">d</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Logger.d-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Logger.d-expanded"><a name="L44"></a><tt class="py-lineno">44</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">log</tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-name">message</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L45"></a><tt class="py-lineno">45</tt> <tt class="py-line"> </tt>
|
||||
<a name="Logger.i"></a><div id="Logger.i-def"><a name="L46"></a><tt class="py-lineno">46</tt> <a class="py-toggle" href="#" id="Logger.i-toggle" onclick="return toggle('Logger.i');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.logger.Logger-class.html#i">i</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Logger.i"></a><div id="Logger.i-def"><a name="L46"></a><tt class="py-lineno">46</tt> <a class="py-toggle" href="#" id="Logger.i-toggle" onclick="return toggle('Logger.i');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.logger.Logger-class.html#i">i</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Logger.i-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Logger.i-expanded"><a name="L47"></a><tt class="py-lineno">47</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">log</tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-name">message</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L48"></a><tt class="py-lineno">48</tt> <tt class="py-line"> </tt>
|
||||
<a name="Logger.w"></a><div id="Logger.w-def"><a name="L49"></a><tt class="py-lineno">49</tt> <a class="py-toggle" href="#" id="Logger.w-toggle" onclick="return toggle('Logger.w');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.logger.Logger-class.html#w">w</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Logger.w"></a><div id="Logger.w-def"><a name="L49"></a><tt class="py-lineno">49</tt> <a class="py-toggle" href="#" id="Logger.w-toggle" onclick="return toggle('Logger.w');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.logger.Logger-class.html#w">w</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Logger.w-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Logger.w-expanded"><a name="L50"></a><tt class="py-lineno">50</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">log</tt><tt class="py-op">.</tt><tt class="py-name">warn</tt><tt class="py-op">(</tt><tt class="py-name">message</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L51"></a><tt class="py-lineno">51</tt> <tt class="py-line"> </tt>
|
||||
<a name="Logger.e"></a><div id="Logger.e-def"><a name="L52"></a><tt class="py-lineno">52</tt> <a class="py-toggle" href="#" id="Logger.e-toggle" onclick="return toggle('Logger.e');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.logger.Logger-class.html#e">e</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Logger.e"></a><div id="Logger.e-def"><a name="L52"></a><tt class="py-lineno">52</tt> <a class="py-toggle" href="#" id="Logger.e-toggle" onclick="return toggle('Logger.e');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.logger.Logger-class.html#e">e</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Logger.e-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Logger.e-expanded"><a name="L53"></a><tt class="py-lineno">53</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">log</tt><tt class="py-op">.</tt><tt class="py-name">error</tt><tt class="py-op">(</tt><tt class="py-name">message</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L54"></a><tt class="py-lineno">54</tt> <tt class="py-line"> </tt>
|
||||
<a name="Logger.c"></a><div id="Logger.c-def"><a name="L55"></a><tt class="py-lineno">55</tt> <a class="py-toggle" href="#" id="Logger.c-toggle" onclick="return toggle('Logger.c');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.logger.Logger-class.html#c">c</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Logger.c"></a><div id="Logger.c-def"><a name="L55"></a><tt class="py-lineno">55</tt> <a class="py-toggle" href="#" id="Logger.c-toggle" onclick="return toggle('Logger.c');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.logger.Logger-class.html#c">c</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Logger.c-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Logger.c-expanded"><a name="L56"></a><tt class="py-lineno">56</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">log</tt><tt class="py-op">.</tt><tt class="py-name">critical</tt><tt class="py-op">(</tt><tt class="py-name">message</tt><tt class="py-op">)</tt> </tt>
|
||||
</div><a name="L57"></a><tt class="py-lineno">57</tt> <tt class="py-line"> </tt>
|
||||
<a name="Logger.close"></a><div id="Logger.close-def"><a name="L58"></a><tt class="py-lineno">58</tt> <a class="py-toggle" href="#" id="Logger.close-toggle" onclick="return toggle('Logger.close');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lib.core.logger.Logger-class.html#close">close</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
<a name="Logger.close"></a><div id="Logger.close-def"><a name="L58"></a><tt class="py-lineno">58</tt> <a class="py-toggle" href="#" id="Logger.close-toggle" onclick="return toggle('Logger.close');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="linspector.lib.core.logger.Logger-class.html#close">close</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
|
||||
</div><div id="Logger.close-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Logger.close-expanded"><a name="L59"></a><tt class="py-lineno">59</tt> <tt class="py-line"> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">shutdown</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
|
||||
</div></div><a name="L60"></a><tt class="py-lineno">60</tt> <tt class="py-line"> </tt><script type="text/javascript">
|
||||
<!--
|
||||
|
|
@ -129,7 +130,7 @@ expandto(location.href);
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -149,7 +150,7 @@ expandto(location.href);
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>lib.core.logger.Logger</title>
|
||||
<title>linspector.lib.core.logger.Logger</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -37,9 +37,10 @@
|
|||
<tr valign="top">
|
||||
<td width="100%">
|
||||
<span class="breadcrumbs">
|
||||
<a href="lib-module.html">Package lib</a> ::
|
||||
<a href="lib.core-module.html">Package core</a> ::
|
||||
<a href="lib.core.logger-module.html">Module logger</a> ::
|
||||
<a href="linspector-module.html">Package linspector</a> ::
|
||||
<a href="linspector.lib-module.html">Package lib</a> ::
|
||||
<a href="linspector.lib.core-module.html">Package core</a> ::
|
||||
<a href="linspector.lib.core.logger-module.html">Module logger</a> ::
|
||||
Class Logger
|
||||
</span>
|
||||
</td>
|
||||
|
|
@ -50,14 +51,14 @@
|
|||
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
||||
<tr><td align="right"><span class="options"
|
||||
>[<a href="frames.html" target="_top">frames</a
|
||||
>] | <a href="lib.core.logger.Logger-class.html"
|
||||
>] | <a href="linspector.lib.core.logger.Logger-class.html"
|
||||
target="_top">no frames</a>]</span></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
||||
<h1 class="epydoc">Class Logger</h1><p class="nomargin-top"><span class="codelink"><a href="lib.core.logger-pysrc.html#Logger">source code</a></span></p>
|
||||
<h1 class="epydoc">Class Logger</h1><p class="nomargin-top"><span class="codelink"><a href="linspector.lib.core.logger-pysrc.html#Logger">source code</a></span></p>
|
||||
<p>Logger class that prints its messages and keeps them also inside a
|
||||
logfile</p>
|
||||
|
||||
|
|
@ -84,13 +85,13 @@
|
|||
</td><td class="summary">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td><span class="summary-sig"><a href="lib.core.logger.Logger-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
|
||||
<td><span class="summary-sig"><a href="linspector.lib.core.logger.Logger-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
|
||||
<span class="summary-sig-arg">logfile</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">./linspector.log</code><code class="variable-quote">'</code></span>,
|
||||
<span class="summary-sig-arg">logLevel</span>=<span class="summary-sig-default">10</span>,
|
||||
<span class="summary-sig-arg">logfileLevel</span>=<span class="summary-sig-default">10</span>)</span><br />
|
||||
initializes a new Logger object.</td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.logger-pysrc.html#Logger.__init__">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.logger-pysrc.html#Logger.__init__">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -107,7 +108,7 @@
|
|||
<td><span class="summary-sig"><a name="d"></a><span class="summary-sig-name">d</span>(<span class="summary-sig-arg">self</span>,
|
||||
<span class="summary-sig-arg">message</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.logger-pysrc.html#Logger.d">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.logger-pysrc.html#Logger.d">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -124,7 +125,7 @@
|
|||
<td><span class="summary-sig"><a name="i"></a><span class="summary-sig-name">i</span>(<span class="summary-sig-arg">self</span>,
|
||||
<span class="summary-sig-arg">message</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.logger-pysrc.html#Logger.i">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.logger-pysrc.html#Logger.i">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -141,7 +142,7 @@
|
|||
<td><span class="summary-sig"><a name="w"></a><span class="summary-sig-name">w</span>(<span class="summary-sig-arg">self</span>,
|
||||
<span class="summary-sig-arg">message</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.logger-pysrc.html#Logger.w">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.logger-pysrc.html#Logger.w">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -158,7 +159,7 @@
|
|||
<td><span class="summary-sig"><a name="e"></a><span class="summary-sig-name">e</span>(<span class="summary-sig-arg">self</span>,
|
||||
<span class="summary-sig-arg">message</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.logger-pysrc.html#Logger.e">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.logger-pysrc.html#Logger.e">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -175,7 +176,7 @@
|
|||
<td><span class="summary-sig"><a name="c"></a><span class="summary-sig-name">c</span>(<span class="summary-sig-arg">self</span>,
|
||||
<span class="summary-sig-arg">message</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.logger-pysrc.html#Logger.c">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.logger-pysrc.html#Logger.c">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -191,7 +192,7 @@
|
|||
<tr>
|
||||
<td><span class="summary-sig"><a name="close"></a><span class="summary-sig-name">close</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
||||
<td align="right" valign="top">
|
||||
<span class="codelink"><a href="lib.core.logger-pysrc.html#Logger.close">source code</a></span>
|
||||
<span class="codelink"><a href="linspector.lib.core.logger-pysrc.html#Logger.close">source code</a></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -232,7 +233,7 @@
|
|||
<br /><em class="fname">(Constructor)</em>
|
||||
</h3>
|
||||
</td><td align="right" valign="top"
|
||||
><span class="codelink"><a href="lib.core.logger-pysrc.html#Logger.__init__">source code</a></span>
|
||||
><span class="codelink"><a href="linspector.lib.core.logger-pysrc.html#Logger.__init__">source code</a></span>
|
||||
</td>
|
||||
</tr></table>
|
||||
|
||||
|
|
@ -252,7 +253,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th> <a
|
||||
|
|
@ -272,7 +273,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th bgcolor="#70b0f0" class="navbar-select"
|
||||
|
|
@ -55,28 +55,32 @@
|
|||
</b></center><br />
|
||||
<h1 class="epydoc">Module Hierarchy</h1>
|
||||
<ul class="nomargin-top">
|
||||
<li> <strong class="uidlink"><a href="lib-module.html">lib</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector-module.html">linspector</a></strong>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="lib.config-module.html">lib.config</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib-module.html">linspector.lib</a></strong>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="lib.config.config-module.html">lib.config.config</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.filters-module.html">lib.config.filters</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hostgroups-module.html">lib.config.hostgroups</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.hosts-module.html">lib.config.hosts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.layouts-module.html">lib.config.layouts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.members-module.html">lib.config.members</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.periods-module.html">lib.config.periods</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.config.services-module.html">lib.config.services</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config-module.html">linspector.lib.config</a></strong>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.config-module.html">linspector.lib.config.config</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.filters-module.html">linspector.lib.config.filters</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hostgroups-module.html">linspector.lib.config.hostgroups</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.hosts-module.html">linspector.lib.config.hosts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.layouts-module.html">linspector.lib.config.layouts</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.members-module.html">linspector.lib.config.members</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.periods-module.html">linspector.lib.config.periods</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.config.services-module.html">linspector.lib.config.services</a></strong> </li>
|
||||
</ul>
|
||||
</li>
|
||||
<li> <strong class="uidlink"><a href="lib.core-module.html">lib.core</a></strong>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core-module.html">linspector.lib.core</a></strong>
|
||||
<ul>
|
||||
<li> <strong class="uidlink"><a href="lib.core.command-module.html">lib.core.command</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.daemon-module.html">lib.core.daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.job-module.html">lib.core.job</a></strong>: <em class="summary">This is what job_function needs as parameter for each job to
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.command-module.html">linspector.lib.core.command</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.daemon-module.html">linspector.lib.core.daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.job-module.html">linspector.lib.core.job</a></strong>: <em class="summary">This is what job_function needs as parameter for each job to
|
||||
succesfully execute.</em> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.linspector_daemon-module.html">lib.core.linspector_daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="lib.core.logger-module.html">lib.core.logger</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.linspector_daemon-module.html">linspector.lib.core.linspector_daemon</a></strong> </li>
|
||||
<li> <strong class="uidlink"><a href="linspector.lib.core.logger-module.html">linspector.lib.core.logger</a></strong> </li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -88,7 +92,7 @@
|
|||
<tr valign="middle">
|
||||
<!-- Home link -->
|
||||
<th> <a
|
||||
href="lib-module.html">Home</a> </th>
|
||||
href="linspector-module.html">Home</a> </th>
|
||||
|
||||
<!-- Tree link -->
|
||||
<th bgcolor="#70b0f0" class="navbar-select"
|
||||
|
|
@ -108,7 +112,7 @@
|
|||
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
||||
<tr>
|
||||
<td align="left" class="footer">
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:18:48 2013
|
||||
Generated by Epydoc 3.0.1 on Mon May 27 01:38:32 2013
|
||||
</td>
|
||||
<td align="right" class="footer">
|
||||
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<body>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
var pages = ["lib.core.linspector_daemon.LinspectorDaemon-c", "lib.config.hostgroups.HostGroupService-c", "lib.config.hostgroups.HostGroup-c", "lib.config.members.MemberFilter-c", "lib.config.layouts.LayoutList-c", "lib.config.hosts.HostService-c", "lib.config.services.Service-c", "lib.core.linspector_daemon-m", "lib.config.filters.Filter-c", "lib.config.layouts.Layout-c", "lib.config.members.Member-c", "lib.config.periods.Period-c", "lib.config.config.Config-c", "lib.core.command.Command-c", "lib.core.daemon.Daemon-c", "lib.core.logger.Logger-c", "lib.config.hostgroups-m", "lib.config.hosts.Host-c", "lib.config.services-m", "lib.config.filters-m", "lib.config.layouts-m", "lib.config.members-m", "lib.config.periods-m", "lib.config.config-m", "lib.config.hosts-m", "lib.core.command-m", "lib.core.job.Job-c", "lib.core.daemon-m", "lib.core.logger-m", "lib.core.job-m", "lib.config-m", "lib.core-m", "lib-m"];
|
||||
var pages = ["linspector.lib.core.linspector_daemon.LinspectorDaemon-c", "linspector.lib.config.hostgroups.HostGroupService-c", "linspector.lib.config.hostgroups.HostGroup-c", "linspector.lib.config.members.MemberFilter-c", "linspector.lib.config.layouts.LayoutList-c", "linspector.lib.config.hosts.HostService-c", "linspector.lib.config.services.Service-c", "linspector.lib.core.linspector_daemon-m", "linspector.lib.config.filters.Filter-c", "linspector.lib.config.layouts.Layout-c", "linspector.lib.config.members.Member-c", "linspector.lib.config.periods.Period-c", "linspector.lib.config.config.Config-c", "linspector.lib.core.command.Command-c", "linspector.lib.core.daemon.Daemon-c", "linspector.lib.core.logger.Logger-c", "linspector.lib.config.hostgroups-m", "linspector.lib.config.hosts.Host-c", "linspector.lib.config.services-m", "linspector.lib.config.filters-m", "linspector.lib.config.layouts-m", "linspector.lib.config.members-m", "linspector.lib.config.periods-m", "linspector.lib.config.config-m", "linspector.lib.config.hosts-m", "linspector.lib.core.command-m", "linspector.lib.core.job.Job-c", "linspector.lib.core.daemon-m", "linspector.lib.core.logger-m", "linspector.lib.core.job-m", "linspector.lib.config-m", "linspector.lib.core-m", "linspector.lib-m", "linspector-m"];
|
||||
var dottedName = get_anchor();
|
||||
if (dottedName) {
|
||||
var target = redirect_url(dottedName);
|
||||
|
|
|
|||
|
|
@ -13,47 +13,48 @@
|
|||
<h1 class="toc">Everything</h1>
|
||||
<hr />
|
||||
<h2 class="toc">All Classes</h2>
|
||||
<a target="mainFrame" href="lib.config.config.Config-class.html"
|
||||
>lib.config.config.Config</a><br /> <a target="mainFrame" href="lib.config.filters.Filter-class.html"
|
||||
>lib.config.filters.Filter</a><br /> <a target="mainFrame" href="lib.config.hostgroups.HostGroup-class.html"
|
||||
>lib.config.hostgroups.HostGroup</a><br /> <a target="mainFrame" href="lib.config.hostgroups.HostGroupService-class.html"
|
||||
>lib.config.hostgroups.HostGroupService</a><br /> <a target="mainFrame" href="lib.config.hosts.Host-class.html"
|
||||
>lib.config.hosts.Host</a><br /> <a target="mainFrame" href="lib.config.hosts.HostService-class.html"
|
||||
>lib.config.hosts.HostService</a><br /> <a target="mainFrame" href="lib.config.layouts.Layout-class.html"
|
||||
>lib.config.layouts.Layout</a><br /> <a target="mainFrame" href="lib.config.layouts.LayoutList-class.html"
|
||||
>lib.config.layouts.LayoutList</a><br /> <a target="mainFrame" href="lib.config.members.Member-class.html"
|
||||
>lib.config.members.Member</a><br /> <a target="mainFrame" href="lib.config.members.MemberFilter-class.html"
|
||||
>lib.config.members.MemberFilter</a><br /> <a target="mainFrame" href="lib.config.periods.Period-class.html"
|
||||
>lib.config.periods.Period</a><br /> <a target="mainFrame" href="lib.config.services.Service-class.html"
|
||||
>lib.config.services.Service</a><br /> <a target="mainFrame" href="lib.core.command.Command-class.html"
|
||||
>lib.core.command.Command</a><br /> <a target="mainFrame" href="lib.core.daemon.Daemon-class.html"
|
||||
>lib.core.daemon.Daemon</a><br /> <a target="mainFrame" href="lib.core.job.Job-class.html"
|
||||
>lib.core.job.Job</a><br /> <a target="mainFrame" href="lib.core.linspector_daemon.LinspectorDaemon-class.html"
|
||||
>lib.core.linspector_daemon.LinspectorDaemon</a><br /> <a target="mainFrame" href="lib.core.logger.Logger-class.html"
|
||||
>lib.core.logger.Logger</a><br /> <h2 class="toc">All Functions</h2>
|
||||
<a target="mainFrame" href="lib.config.filters-module.html#parseFilterList"
|
||||
>lib.config.filters.parseFilterList</a><br /> <a target="mainFrame" href="lib.config.hostgroups-module.html#parseHostGroupList"
|
||||
>lib.config.hostgroups.parseHostGroupList</a><br /> <a target="mainFrame" href="lib.config.hosts-module.html#parseHostList"
|
||||
>lib.config.hosts.parseHostList</a><br /> <a target="mainFrame" href="lib.config.members-module.html#parseMemberList"
|
||||
>lib.config.members.parseMemberList</a><br /> <a target="mainFrame" href="lib.config.periods-module.html#parsePeriodList"
|
||||
>lib.config.periods.parsePeriodList</a><br /> <a target="mainFrame" href="lib.config.services-module.html#serviceList"
|
||||
>lib.config.services.serviceList</a><br /> <h2 class="toc">All Variables</h2>
|
||||
<a target="mainFrame" href="lib-module.html#__package__"
|
||||
>lib.__package__</a><br /> <a target="mainFrame" href="lib.config-module.html#__package__"
|
||||
>lib.config.__package__</a><br /> <a target="mainFrame" href="lib.config.config-module.html#__package__"
|
||||
>lib.config.config.__package__</a><br /> <a target="mainFrame" href="lib.config.filters-module.html#__package__"
|
||||
>lib.config.filters.__package__</a><br /> <a target="mainFrame" href="lib.config.hostgroups-module.html#__package__"
|
||||
>lib.config.hostgroups.__package__</a><br /> <a target="mainFrame" href="lib.config.hosts-module.html#__package__"
|
||||
>lib.config.hosts.__package__</a><br /> <a target="mainFrame" href="lib.config.members-module.html#__package__"
|
||||
>lib.config.members.__package__</a><br /> <a target="mainFrame" href="lib.config.periods-module.html#__package__"
|
||||
>lib.config.periods.__package__</a><br /> <a target="mainFrame" href="lib.config.services-module.html#__package__"
|
||||
>lib.config.services.__package__</a><br /> <a target="mainFrame" href="lib.core-module.html#__package__"
|
||||
>lib.core.__package__</a><br /> <a target="mainFrame" href="lib.core.command-module.html#__package__"
|
||||
>lib.core.command.__package__</a><br /> <a target="mainFrame" href="lib.core.daemon-module.html#__package__"
|
||||
>lib.core.daemon.__package__</a><br /> <a target="mainFrame" href="lib.core.job-module.html#__package__"
|
||||
>lib.core.job.__package__</a><br /> <a target="mainFrame" href="lib.core.linspector_daemon-module.html#__package__"
|
||||
>lib.core.linspector_daemon.__package__</a><br /> <a target="mainFrame" href="lib.core.logger-module.html#__package__"
|
||||
>lib.core.logger.__package__</a><br /><hr />
|
||||
<a target="mainFrame" href="linspector.lib.config.config.Config-class.html"
|
||||
>linspector.lib.config.config.Config</a><br /> <a target="mainFrame" href="linspector.lib.config.filters.Filter-class.html"
|
||||
>linspector.lib.config.filters.Filter</a><br /> <a target="mainFrame" href="linspector.lib.config.hostgroups.HostGroup-class.html"
|
||||
>linspector.lib.config.hostgroups.HostGroup</a><br /> <a target="mainFrame" href="linspector.lib.config.hostgroups.HostGroupService-class.html"
|
||||
>linspector.lib.config.hostgroups.HostGroupService</a><br /> <a target="mainFrame" href="linspector.lib.config.hosts.Host-class.html"
|
||||
>linspector.lib.config.hosts.Host</a><br /> <a target="mainFrame" href="linspector.lib.config.hosts.HostService-class.html"
|
||||
>linspector.lib.config.hosts.HostService</a><br /> <a target="mainFrame" href="linspector.lib.config.layouts.Layout-class.html"
|
||||
>linspector.lib.config.layouts.Layout</a><br /> <a target="mainFrame" href="linspector.lib.config.layouts.LayoutList-class.html"
|
||||
>linspector.lib.config.layouts.LayoutList</a><br /> <a target="mainFrame" href="linspector.lib.config.members.Member-class.html"
|
||||
>linspector.lib.config.members.Member</a><br /> <a target="mainFrame" href="linspector.lib.config.members.MemberFilter-class.html"
|
||||
>linspector.lib.config.members.MemberFilter</a><br /> <a target="mainFrame" href="linspector.lib.config.periods.Period-class.html"
|
||||
>linspector.lib.config.periods.Period</a><br /> <a target="mainFrame" href="linspector.lib.config.services.Service-class.html"
|
||||
>linspector.lib.config.services.Service</a><br /> <a target="mainFrame" href="linspector.lib.core.command.Command-class.html"
|
||||
>linspector.lib.core.command.Command</a><br /> <a target="mainFrame" href="linspector.lib.core.daemon.Daemon-class.html"
|
||||
>linspector.lib.core.daemon.Daemon</a><br /> <a target="mainFrame" href="linspector.lib.core.job.Job-class.html"
|
||||
>linspector.lib.core.job.Job</a><br /> <a target="mainFrame" href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html"
|
||||
>linspector.lib.core.linspector_daemon.LinspectorDaemon</a><br /> <a target="mainFrame" href="linspector.lib.core.logger.Logger-class.html"
|
||||
>linspector.lib.core.logger.Logger</a><br /> <h2 class="toc">All Functions</h2>
|
||||
<a target="mainFrame" href="linspector.lib.config.filters-module.html#parseFilterList"
|
||||
>linspector.lib.config.filters.parseFilterList</a><br /> <a target="mainFrame" href="linspector.lib.config.hostgroups-module.html#parseHostGroupList"
|
||||
>linspector.lib.config.hostgroups.parseHostGroupList</a><br /> <a target="mainFrame" href="linspector.lib.config.hosts-module.html#parseHostList"
|
||||
>linspector.lib.config.hosts.parseHostList</a><br /> <a target="mainFrame" href="linspector.lib.config.members-module.html#parseMemberList"
|
||||
>linspector.lib.config.members.parseMemberList</a><br /> <a target="mainFrame" href="linspector.lib.config.periods-module.html#parsePeriodList"
|
||||
>linspector.lib.config.periods.parsePeriodList</a><br /> <a target="mainFrame" href="linspector.lib.config.services-module.html#serviceList"
|
||||
>linspector.lib.config.services.serviceList</a><br /> <h2 class="toc">All Variables</h2>
|
||||
<a target="mainFrame" href="linspector-module.html#__package__"
|
||||
>linspector.__package__</a><br /> <a target="mainFrame" href="linspector.lib-module.html#__package__"
|
||||
>linspector.lib.__package__</a><br /> <a target="mainFrame" href="linspector.lib.config-module.html#__package__"
|
||||
>linspector.lib.config.__package__</a><br /> <a target="mainFrame" href="linspector.lib.config.config-module.html#__package__"
|
||||
>linspector.lib.config.config.__package__</a><br /> <a target="mainFrame" href="linspector.lib.config.filters-module.html#__package__"
|
||||
>linspector.lib.config.filters.__package__</a><br /> <a target="mainFrame" href="linspector.lib.config.hostgroups-module.html#__package__"
|
||||
>linspector.lib.config.hostgroups.__package__</a><br /> <a target="mainFrame" href="linspector.lib.config.hosts-module.html#__package__"
|
||||
>linspector.lib.config.hosts.__package__</a><br /> <a target="mainFrame" href="linspector.lib.config.members-module.html#__package__"
|
||||
>linspector.lib.config.members.__package__</a><br /> <a target="mainFrame" href="linspector.lib.config.periods-module.html#__package__"
|
||||
>linspector.lib.config.periods.__package__</a><br /> <a target="mainFrame" href="linspector.lib.config.services-module.html#__package__"
|
||||
>linspector.lib.config.services.__package__</a><br /> <a target="mainFrame" href="linspector.lib.core-module.html#__package__"
|
||||
>linspector.lib.core.__package__</a><br /> <a target="mainFrame" href="linspector.lib.core.command-module.html#__package__"
|
||||
>linspector.lib.core.command.__package__</a><br /> <a target="mainFrame" href="linspector.lib.core.daemon-module.html#__package__"
|
||||
>linspector.lib.core.daemon.__package__</a><br /> <a target="mainFrame" href="linspector.lib.core.job-module.html#__package__"
|
||||
>linspector.lib.core.job.__package__</a><br /> <a target="mainFrame" href="linspector.lib.core.linspector_daemon-module.html#__package__"
|
||||
>linspector.lib.core.linspector_daemon.__package__</a><br /> <a target="mainFrame" href="linspector.lib.core.logger-module.html#__package__"
|
||||
>linspector.lib.core.logger.__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
||||
|
|
|
|||
31
docs/toc-linspector-module.html
Normal file
31
docs/toc-linspector-module.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="ascii"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>linspector</title>
|
||||
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
||||
<script type="text/javascript" src="epydoc.js"></script>
|
||||
</head>
|
||||
|
||||
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
||||
alink="#204080">
|
||||
<h1 class="toc">Module linspector</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="linspector-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
// Private objects are initially displayed (because if
|
||||
// javascript is turned off then we want them to be
|
||||
// visible); but by default, we want to hide them. So hide
|
||||
// them unless we have a cookie that says to show them.
|
||||
checkCookie();
|
||||
// -->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
<h1 class="toc">Module lib</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
<h1 class="toc">Module config</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.config-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.config-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
<h1 class="toc">Module config</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.config.config.Config-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.config.config.Config-class.html"
|
||||
>Config</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.config.config-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.config.config-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,11 +13,11 @@
|
|||
<h1 class="toc">Module filters</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.config.filters.Filter-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.config.filters.Filter-class.html"
|
||||
>Filter</a><br /> <h2 class="toc">Functions</h2>
|
||||
<a target="mainFrame" href="lib.config.filters-module.html#parseFilterList"
|
||||
<a target="mainFrame" href="linspector.lib.config.filters-module.html#parseFilterList"
|
||||
>parseFilterList</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.config.filters-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.config.filters-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,12 +13,12 @@
|
|||
<h1 class="toc">Module hostgroups</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.config.hostgroups.HostGroup-class.html"
|
||||
>HostGroup</a><br /> <a target="mainFrame" href="lib.config.hostgroups.HostGroupService-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.config.hostgroups.HostGroup-class.html"
|
||||
>HostGroup</a><br /> <a target="mainFrame" href="linspector.lib.config.hostgroups.HostGroupService-class.html"
|
||||
>HostGroupService</a><br /> <h2 class="toc">Functions</h2>
|
||||
<a target="mainFrame" href="lib.config.hostgroups-module.html#parseHostGroupList"
|
||||
<a target="mainFrame" href="linspector.lib.config.hostgroups-module.html#parseHostGroupList"
|
||||
>parseHostGroupList</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.config.hostgroups-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.config.hostgroups-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,12 +13,12 @@
|
|||
<h1 class="toc">Module hosts</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.config.hosts.Host-class.html"
|
||||
>Host</a><br /> <a target="mainFrame" href="lib.config.hosts.HostService-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.config.hosts.Host-class.html"
|
||||
>Host</a><br /> <a target="mainFrame" href="linspector.lib.config.hosts.HostService-class.html"
|
||||
>HostService</a><br /> <h2 class="toc">Functions</h2>
|
||||
<a target="mainFrame" href="lib.config.hosts-module.html#parseHostList"
|
||||
<a target="mainFrame" href="linspector.lib.config.hosts-module.html#parseHostList"
|
||||
>parseHostList</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.config.hosts-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.config.hosts-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,8 +13,8 @@
|
|||
<h1 class="toc">Module layouts</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.config.layouts.Layout-class.html"
|
||||
>Layout</a><br /> <a target="mainFrame" href="lib.config.layouts.LayoutList-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.config.layouts.Layout-class.html"
|
||||
>Layout</a><br /> <a target="mainFrame" href="linspector.lib.config.layouts.LayoutList-class.html"
|
||||
>LayoutList</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,12 +13,12 @@
|
|||
<h1 class="toc">Module members</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.config.members.Member-class.html"
|
||||
>Member</a><br /> <a target="mainFrame" href="lib.config.members.MemberFilter-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.config.members.Member-class.html"
|
||||
>Member</a><br /> <a target="mainFrame" href="linspector.lib.config.members.MemberFilter-class.html"
|
||||
>MemberFilter</a><br /> <h2 class="toc">Functions</h2>
|
||||
<a target="mainFrame" href="lib.config.members-module.html#parseMemberList"
|
||||
<a target="mainFrame" href="linspector.lib.config.members-module.html#parseMemberList"
|
||||
>parseMemberList</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.config.members-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.config.members-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,11 +13,11 @@
|
|||
<h1 class="toc">Module periods</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.config.periods.Period-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.config.periods.Period-class.html"
|
||||
>Period</a><br /> <h2 class="toc">Functions</h2>
|
||||
<a target="mainFrame" href="lib.config.periods-module.html#parsePeriodList"
|
||||
<a target="mainFrame" href="linspector.lib.config.periods-module.html#parsePeriodList"
|
||||
>parsePeriodList</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.config.periods-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.config.periods-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,11 +13,11 @@
|
|||
<h1 class="toc">Module services</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.config.services.Service-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.config.services.Service-class.html"
|
||||
>Service</a><br /> <h2 class="toc">Functions</h2>
|
||||
<a target="mainFrame" href="lib.config.services-module.html#serviceList"
|
||||
<a target="mainFrame" href="linspector.lib.config.services-module.html#serviceList"
|
||||
>serviceList</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.config.services-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.config.services-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
<h1 class="toc">Module core</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.core-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.core-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
<h1 class="toc">Module command</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.core.command.Command-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.core.command.Command-class.html"
|
||||
>Command</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.core.command-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.core.command-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
<h1 class="toc">Module daemon</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.core.daemon.Daemon-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.core.daemon.Daemon-class.html"
|
||||
>Daemon</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.core.daemon-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.core.daemon-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
<h1 class="toc">Module job</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.core.job.Job-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.core.job.Job-class.html"
|
||||
>Job</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.core.job-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.core.job-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
<h1 class="toc">Module linspector_daemon</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.core.linspector_daemon.LinspectorDaemon-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.core.linspector_daemon.LinspectorDaemon-class.html"
|
||||
>LinspectorDaemon</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.core.linspector_daemon-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.core.linspector_daemon-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
<h1 class="toc">Module logger</h1>
|
||||
<hr />
|
||||
<h2 class="toc">Classes</h2>
|
||||
<a target="mainFrame" href="lib.core.logger.Logger-class.html"
|
||||
<a target="mainFrame" href="linspector.lib.core.logger.Logger-class.html"
|
||||
>Logger</a><br /> <h2 class="toc">Variables</h2>
|
||||
<a target="mainFrame" href="lib.core.logger-module.html#__package__"
|
||||
<a target="mainFrame" href="linspector.lib.core.logger-module.html#__package__"
|
||||
>__package__</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
|
@ -15,23 +15,24 @@
|
|||
<a target="moduleFrame" href="toc-everything.html">Everything</a>
|
||||
<br />
|
||||
<h2 class="toc">Modules</h2>
|
||||
<a target="moduleFrame" href="toc-lib-module.html"
|
||||
onclick="setFrame('toc-lib-module.html','lib-module.html');" >lib</a><br /> <a target="moduleFrame" href="toc-lib.config-module.html"
|
||||
onclick="setFrame('toc-lib.config-module.html','lib.config-module.html');" >lib.config</a><br /> <a target="moduleFrame" href="toc-lib.config.config-module.html"
|
||||
onclick="setFrame('toc-lib.config.config-module.html','lib.config.config-module.html');" >lib.config.config</a><br /> <a target="moduleFrame" href="toc-lib.config.filters-module.html"
|
||||
onclick="setFrame('toc-lib.config.filters-module.html','lib.config.filters-module.html');" >lib.config.filters</a><br /> <a target="moduleFrame" href="toc-lib.config.hostgroups-module.html"
|
||||
onclick="setFrame('toc-lib.config.hostgroups-module.html','lib.config.hostgroups-module.html');" >lib.config.hostgroups</a><br /> <a target="moduleFrame" href="toc-lib.config.hosts-module.html"
|
||||
onclick="setFrame('toc-lib.config.hosts-module.html','lib.config.hosts-module.html');" >lib.config.hosts</a><br /> <a target="moduleFrame" href="toc-lib.config.layouts-module.html"
|
||||
onclick="setFrame('toc-lib.config.layouts-module.html','lib.config.layouts-module.html');" >lib.config.layouts</a><br /> <a target="moduleFrame" href="toc-lib.config.members-module.html"
|
||||
onclick="setFrame('toc-lib.config.members-module.html','lib.config.members-module.html');" >lib.config.members</a><br /> <a target="moduleFrame" href="toc-lib.config.periods-module.html"
|
||||
onclick="setFrame('toc-lib.config.periods-module.html','lib.config.periods-module.html');" >lib.config.periods</a><br /> <a target="moduleFrame" href="toc-lib.config.services-module.html"
|
||||
onclick="setFrame('toc-lib.config.services-module.html','lib.config.services-module.html');" >lib.config.services</a><br /> <a target="moduleFrame" href="toc-lib.core-module.html"
|
||||
onclick="setFrame('toc-lib.core-module.html','lib.core-module.html');" >lib.core</a><br /> <a target="moduleFrame" href="toc-lib.core.command-module.html"
|
||||
onclick="setFrame('toc-lib.core.command-module.html','lib.core.command-module.html');" >lib.core.command</a><br /> <a target="moduleFrame" href="toc-lib.core.daemon-module.html"
|
||||
onclick="setFrame('toc-lib.core.daemon-module.html','lib.core.daemon-module.html');" >lib.core.daemon</a><br /> <a target="moduleFrame" href="toc-lib.core.job-module.html"
|
||||
onclick="setFrame('toc-lib.core.job-module.html','lib.core.job-module.html');" >lib.core.job</a><br /> <a target="moduleFrame" href="toc-lib.core.linspector_daemon-module.html"
|
||||
onclick="setFrame('toc-lib.core.linspector_daemon-module.html','lib.core.linspector_daemon-module.html');" >lib.core.linspector_daemon</a><br /> <a target="moduleFrame" href="toc-lib.core.logger-module.html"
|
||||
onclick="setFrame('toc-lib.core.logger-module.html','lib.core.logger-module.html');" >lib.core.logger</a><br /><hr />
|
||||
<a target="moduleFrame" href="toc-linspector-module.html"
|
||||
onclick="setFrame('toc-linspector-module.html','linspector-module.html');" >linspector</a><br /> <a target="moduleFrame" href="toc-linspector.lib-module.html"
|
||||
onclick="setFrame('toc-linspector.lib-module.html','linspector.lib-module.html');" >linspector.lib</a><br /> <a target="moduleFrame" href="toc-linspector.lib.config-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.config-module.html','linspector.lib.config-module.html');" >linspector.lib.config</a><br /> <a target="moduleFrame" href="toc-linspector.lib.config.config-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.config.config-module.html','linspector.lib.config.config-module.html');" >linspector.lib.config.config</a><br /> <a target="moduleFrame" href="toc-linspector.lib.config.filters-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.config.filters-module.html','linspector.lib.config.filters-module.html');" >linspector.lib.config.filters</a><br /> <a target="moduleFrame" href="toc-linspector.lib.config.hostgroups-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.config.hostgroups-module.html','linspector.lib.config.hostgroups-module.html');" >linspector.lib.config.hostgroups</a><br /> <a target="moduleFrame" href="toc-linspector.lib.config.hosts-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.config.hosts-module.html','linspector.lib.config.hosts-module.html');" >linspector.lib.config.hosts</a><br /> <a target="moduleFrame" href="toc-linspector.lib.config.layouts-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.config.layouts-module.html','linspector.lib.config.layouts-module.html');" >linspector.lib.config.layouts</a><br /> <a target="moduleFrame" href="toc-linspector.lib.config.members-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.config.members-module.html','linspector.lib.config.members-module.html');" >linspector.lib.config.members</a><br /> <a target="moduleFrame" href="toc-linspector.lib.config.periods-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.config.periods-module.html','linspector.lib.config.periods-module.html');" >linspector.lib.config.periods</a><br /> <a target="moduleFrame" href="toc-linspector.lib.config.services-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.config.services-module.html','linspector.lib.config.services-module.html');" >linspector.lib.config.services</a><br /> <a target="moduleFrame" href="toc-linspector.lib.core-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.core-module.html','linspector.lib.core-module.html');" >linspector.lib.core</a><br /> <a target="moduleFrame" href="toc-linspector.lib.core.command-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.core.command-module.html','linspector.lib.core.command-module.html');" >linspector.lib.core.command</a><br /> <a target="moduleFrame" href="toc-linspector.lib.core.daemon-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.core.daemon-module.html','linspector.lib.core.daemon-module.html');" >linspector.lib.core.daemon</a><br /> <a target="moduleFrame" href="toc-linspector.lib.core.job-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.core.job-module.html','linspector.lib.core.job-module.html');" >linspector.lib.core.job</a><br /> <a target="moduleFrame" href="toc-linspector.lib.core.linspector_daemon-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.core.linspector_daemon-module.html','linspector.lib.core.linspector_daemon-module.html');" >linspector.lib.core.linspector_daemon</a><br /> <a target="moduleFrame" href="toc-linspector.lib.core.logger-module.html"
|
||||
onclick="setFrame('toc-linspector.lib.core.logger-module.html','linspector.lib.core.logger-module.html');" >linspector.lib.core.logger</a><br /><hr />
|
||||
<span class="options">[<a href="javascript:void(0);" class="privatelink"
|
||||
onclick="toggle_private();">hide private</a>]</span>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue