This is a middle class that ties all the subclasses together, plus it
provides a cleaner way to keep all the wrapper functions in one place.
The main Server class is based on this one and it looks a little bit
cleaner that way.
|
|
|
|
|
set_value(self,
name,
value)
update a value in self.server |
source code
|
|
|
add_package(self,
entry)
Wrappers for the similar functions from Packages class that
supplementaly require a valid sysid. |
source code
|
|
|
|
|
|
|
save_packages(self,
schedule=1)
wrapper for the Packages.save_packages_byid() which requires the
sysid |
source code
|
|
|
|
|
save_hardware(self)
wrapper for the Hardware.save_hardware_byid() which requires the
sysid |
source code
|
|
|
reload_hardware(self)
wrapper for the Hardware.reload_hardware_byid() which requires the
sysid |
source code
|
|
|
|
Inherited from server_packages.Packages :
get_package_arches ,
get_packages ,
reload_packages_byid ,
save_packages_byid
Inherited from server_hardware.Hardware :
add_hardware ,
hardware_by_class ,
reload_hardware_byid ,
save_hardware_byid
Inherited from server_history.History :
add_history ,
save_history_byid
|