Class: RhnSatellite::Schedule

Inherits:
Connection::Base show all
Defined in:
lib/rhn_satellite/schedule.rb

Class Method Summary collapse

Methods inherited from Connection::Base

reset

Class Method Details

.archive_actions(action_ids) ⇒ Object



6
7
8
# File 'lib/rhn_satellite/schedule.rb', line 6

def archive_actions(action_ids)
  base.default_call('schedule.archiveActions',action_ids)
end

.cancel_actions(action_ids) ⇒ Object



10
11
12
# File 'lib/rhn_satellite/schedule.rb', line 10

def cancel_actions(action_ids)
  base.default_call('schedule.cancelActions',action_ids)
end

.delete_actions(action_ids) ⇒ Object



14
15
16
# File 'lib/rhn_satellite/schedule.rb', line 14

def delete_actions(action_ids)
  base.default_call('schedule.deleteActions',action_ids)
end

.list_all_actionsObject



18
19
20
# File 'lib/rhn_satellite/schedule.rb', line 18

def list_all_actions
  base.default_call('schedule.listAllActions').to_a
end

.list_archived_actionsObject



22
23
24
# File 'lib/rhn_satellite/schedule.rb', line 22

def list_archived_actions
  base.default_call('schedule.listArchivedActions').to_a
end

.list_completed_actionsObject



26
27
28
# File 'lib/rhn_satellite/schedule.rb', line 26

def list_completed_actions
  base.default_call('schedule.listCompletedActions').to_a
end

.list_completed_systems(action_id) ⇒ Object



30
31
32
# File 'lib/rhn_satellite/schedule.rb', line 30

def list_completed_systems(action_id)
  base.default_call('schedule.listCompletedSystems',action_id).to_a
end

.list_failed_actionsObject



34
35
36
# File 'lib/rhn_satellite/schedule.rb', line 34

def list_failed_actions
  base.default_call('schedule.listFailedActions').to_a
end

.list_failed_systems(action_id) ⇒ Object



38
39
40
# File 'lib/rhn_satellite/schedule.rb', line 38

def list_failed_systems(action_id)
  base.default_call('schedule.listFailedSystems',action_id).to_a
end

.list_in_progress_actionsObject



42
43
44
# File 'lib/rhn_satellite/schedule.rb', line 42

def list_in_progress_actions
  base.default_call('schedule.listInProgressActions').to_a
end

.list_in_progress_systems(action_id) ⇒ Object



46
47
48
# File 'lib/rhn_satellite/schedule.rb', line 46

def list_in_progress_systems(action_id)
  base.default_call('schedule.listInProgressSystems',action_id).to_a
end

.reschedule_actions(action_ids, only_failed) ⇒ Object



50
51
52
# File 'lib/rhn_satellite/schedule.rb', line 50

def reschedule_actions(action_ids,only_failed)
  base.default_call('schedule.rescheduleActions',action_ids,only_failed)
end