Client cli and Library for Freezer API and storages media
Go to file
Fabrizio Vanni 58988fc3e3 freezer scheduler
The freezer scheduler is to be executed
as daemon process on the client machines

It has the following responsibilities:

  * when using the api:
    - register -if necessary- as a client in the api
    - download the list of jobs from the api
    - schedule the jobs for execution
    - launch the freezer client at the scheduled time
    - collect metadata and exit codes and upload them to the api
    - periodically poll the api for new/updated jobs
    - if a job is part of a session (a coordinated group of jobs)
      it updates the session status when job starts/stops

  * when not using the api
    - load jobs configurations from files
    - schedule the jobs for execution
    - launch the freezer client at the scheduled time

The freezer scheduler can also be used to manage jobs
and sessions using the following positional parameters:

  job-list
  job-get
  job-create
  job-delete
  job-start
  job-stop
  session-list
  session-get
  session-create
  session-delete
  session-list-job
  session-add-job
  session-remove-job

or to register the client in the api using the positional parameter:

  register

Implements blueprint: freezer-scheduler-start

Change-Id: I06ae202a0f464f7240c137744a5b54d1177cabd9
2015-07-10 18:51:17 +01:00
__init__.py Freezer API 2015-04-08 18:25:45 +01:00
actions.py freezer scheduler 2015-07-10 18:51:17 +01:00
backups.py Add api support for jobs 2015-06-21 18:13:54 +00:00
client.py freezer scheduler 2015-07-10 18:51:17 +01:00
exceptions.py freezer scheduler 2015-07-10 18:51:17 +01:00
jobs.py Add api support for jobs 2015-06-21 18:13:54 +00:00
registration.py Add api support for jobs 2015-06-21 18:13:54 +00:00
sessions.py freezer scheduler 2015-07-10 18:51:17 +01:00