nephos.maintenance.main
index
/media/hdd/Essentials/Chapter_Kgp_WOrk/GSoC/projectnephos_gsoc18/GSoC18Nephos/nephos/maintenance/main.py

Defines maintenance class and it's functioning

 
Modules
       
pydash

 
Classes
       
builtins.object
Maintenance

 
class Maintenance(builtins.object)
    Manages all the maintenance tasks in a nut shell.
 
  Methods defined here:
__init__(self, maintenance_config)
Initiate the Maintenance object with it's configuration.
All jobs have different call methods for ease of scheduling.
 
Parameters
----------
maintenance_config
    type: dictionary
    maintenance configuration from "maintenance.yaml"
add_maintenance_to_scheduler(self, scheduler)
adds all maintenance jobs to scheduler
 
Parameters
----------
scheduler
    type: Scheduler class
    to add maintenance jobs into
 
Returns
-------

Static methods defined here:
call_channel_online_check()
Calls channel online check job passing the kind.
It may or may not execute depending on the setting.
 
Returns
-------
call_disk_space_check()
Calls disk space check job passing the kind.
It may or may not execute depending on the setting.
 
Returns
-------
call_update_data()
Calls update data job passing the kind.
It may or may not execute depending on the setting.
 
Returns
-------

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        LOG = <logging.Logger object>