2007-11-16 19:42:46 +00:00
|
|
|
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
|
|
|
|
package xCAT_plugin::hmc;
|
|
|
|
use strict;
|
|
|
|
use xCAT::PPC;
|
|
|
|
|
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
# Command handler method from tables
|
|
|
|
##########################################################################
|
|
|
|
sub handled_commands {
|
|
|
|
return {
|
2008-04-25 14:39:02 +00:00
|
|
|
rpower => 'nodehm:power,mgt',
|
|
|
|
rvitals => 'nodehm:mgt',
|
|
|
|
rinv => 'nodehm:mgt',
|
|
|
|
mkvm => 'nodehm:mgt',
|
|
|
|
rmvm => 'nodehm:mgt',
|
|
|
|
lsvm => 'nodehm:mgt',
|
|
|
|
chvm => 'nodehm:mgt',
|
|
|
|
rscan => 'nodehm:mgt',
|
|
|
|
getmacs => 'nodehm:mgt',
|
|
|
|
rnetboot => 'nodehm:mgt',
|
2009-01-06 11:08:21 +00:00
|
|
|
rspconfig => 'nodehm:mgt',
|
2009-05-20 09:04:19 +00:00
|
|
|
rflash => 'nodehm:mgt',
|
2009-08-04 20:28:03 +00:00
|
|
|
mkhwconn => 'nodehm:mgt',
|
|
|
|
rmhwconn => 'nodehm:mgt',
|
2009-09-21 06:33:27 +00:00
|
|
|
lshwconn => 'nodehm:mgt',
|
|
|
|
renergy => 'nodehm.mgt'
|
2007-11-16 19:42:46 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-04-16 16:45:14 +00:00
|
|
|
##########################################################################
|
|
|
|
# Pre-process request from xCat daemon
|
|
|
|
##########################################################################
|
|
|
|
sub preprocess_request {
|
|
|
|
xCAT::PPC::preprocess_request(__PACKAGE__,@_);
|
|
|
|
}
|
|
|
|
|
2007-11-16 19:42:46 +00:00
|
|
|
##########################################################################
|
|
|
|
# Process request from xCat daemon
|
|
|
|
##########################################################################
|
|
|
|
sub process_request {
|
|
|
|
xCAT::PPC::process_request(__PACKAGE__,@_);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1;
|