XMLRPC queue functions that we will provide for the outside world.
|
|
|
__getV1(self,
action)
Fetches old queued actions for the client version 1. |
source code
|
|
|
__getV2(self,
action,
dry_run=0)
Fetches queued actions for the clients version 2+. |
source code
|
|
|
__update_status(self,
status)
Update the runnng kernel and the last boot values for this
server from the status dictionary passed on queue checkin. |
source code
|
|
|
|
|
|
|
|
|
|
|
_future_actions_enabled(self)
Returns true if staging content is enabled for this system |
source code
|
|
|
get_future_actions(self,
system_id,
time_window)
return actions which are scheduled within next /time_window/ hours |
source code
|
|
|
|
|
submit(self,
system_id,
action_id,
result,
message='
' ,
data={ } )
Submit the results of a queue run. |
source code
|
|
|
status_for_action_type_code(self,
action_type,
rcode)
Convert whatever the client sends as a result code into a status in
the database format This is more complicated, since some of the
client's result codes have to be marked as successes. |
source code
|
|
|
process_extra_data(self,
server_id,
action_id,
data={ } ,
action_type=None) |
source code
|
|
|
length(self,
system_id)
Return the queue length for a certain server. |
source code
|
|
|
__reboot_in_progress(self)
check for a reboot action for this server in status Picked Up |
source code
|
|
|
__update_action(self,
action_id,
status,
resultCode=None,
message='
' )
Update the status of an action. |
source code
|
|
|
__errataUpdate(self,
actionId)
Old client errata retrieval. |
source code
|
|
|
__packageUpdate(self,
actionId)
Old client package retrieval. |
source code
|
|
Inherited from spacewalk.server.rhnHandler.rhnHandler :
auth_system
Inherited from spacewalk.common.RPC_Base.RPC_Base :
get_function
|