8.1.1. cobbler.actions package

8.1.1.1. Submodules

8.1.1.2. cobbler.actions.acl module

8.1.1.3. cobbler.actions.buildiso module

8.1.1.4. cobbler.actions.check module

8.1.1.6. cobbler.actions.litesync module

8.1.1.7. cobbler.actions.log module

Copyright 2009, Red Hat, Inc and Others Bill Peck <bpeck@redhat.com>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

class cobbler.actions.log.LogTool(collection_mgr, system, api, logger=None)[source]

Bases: object

Helpers for dealing with System logs, anamon, etc..

clear()[source]

Clears the system logs

8.1.1.8. cobbler.actions.replicate module

8.1.1.9. cobbler.actions.report module

8.1.1.10. cobbler.actions.reposync module

8.1.1.11. cobbler.actions.status module

Reports on automatic installation activity by examining the logs in /var/log/cobbler.

Copyright 2007-2009, Red Hat, Inc and Others Michael DeHaan <michael.dehaan AT gmail>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

class cobbler.actions.status.CobblerStatusReport(collection_mgr, mode, logger=None)[source]

Bases: object

catalog(profile_or_system: str, name: str, ip, start_or_stop: str, ts: float)[source]

Add a system to cobbler status.

Parameters:
  • profile_or_system – This can be system or profile.

  • name – The name of the object.

  • ip – The ip of the system to watch.

  • start_or_stop – This parameter may be start or stop

  • ts – Don’t know what this does.

get_printable_results()[source]

Convert the status of Cobbler from a machine readable form to human readable.

Returns:

A nice formatted representation of the results of cobbler status.

process_results()[source]

Look through all systems which were collected and update the status.

Returns:

Return ip_data of the object.

run()[source]

Calculate and print a automatic installation status report.

scan_logfiles()[source]

Scan the install log-files - starting with the oldest file.

8.1.1.12. cobbler.actions.sync module

8.1.1.13. Module contents