38 lines
943 B
Perl
38 lines
943 B
Perl
|
# 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 {
|
||
|
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'
|
||
|
};
|
||
|
}
|
||
|
|
||
|
|
||
|
##########################################################################
|
||
|
# Process request from xCat daemon
|
||
|
##########################################################################
|
||
|
sub process_request {
|
||
|
xCAT::PPC::process_request(__PACKAGE__,@_);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
1;
|