Trees | Indices | Help |
---|
|
1 # 2 # Copyright (c) 2008--2015 Red Hat, Inc. 3 # 4 # This software is licensed to you under the GNU General Public License, 5 # version 2 (GPLv2). There is NO WARRANTY for this software, express or 6 # implied, including the implied warranties of MERCHANTABILITY or FITNESS 7 # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 8 # along with this software; if not, see 9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 10 # 11 # Red Hat trademarks are not licensed under GPLv2. No permission is 12 # granted to use or replicate Red Hat trademarks that are incorporated 13 # in this software or its documentation. 14 # 15 16 from spacewalk.common import rhnFlags 17 from spacewalk.common.rhnLog import log_debug 18 19 20 __rhnexport__ = ['schedulePoller', 21 'reboot', 22 'resume', 23 'start', 24 'suspend', 25 'shutdown', 26 'destroy', 27 'setMemory', 28 'setVCPUs' 29 ] 30 3133 log_debug(4, action_id) 34 action_status = rhnFlags.get('action_status') 35 log_debug(4, "Action ID: %s, Action Status: %s" % (str(action_id), str(action_status)))36 3739 _do_nothing(server_id, action_id)40 4143 _do_nothing(server_id, action_id)44 4547 _do_nothing(server_id, action_id)48 4951 _do_nothing(server_id, action_id)52 5355 _do_nothing(server_id, action_id)56 5759 _do_nothing(server_id, action_id)60 6163 _do_nothing(server_id, action_id)64 6567 _do_nothing(server_id, action_id)68 6971 _do_nothing(server_id, action_id)72
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Mar 4 07:37:52 2020 | http://epydoc.sourceforge.net |