mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			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:getmac,mgt',
 | 
						|
      rnetboot  => 'nodehm:mgt',
 | 
						|
      rspconfig => 'nodehm:mgt',
 | 
						|
      rflash    => 'nodehm:mgt',
 | 
						|
      mkhwconn    => 'nodehm:mgt',
 | 
						|
      rmhwconn    => 'nodehm:mgt',
 | 
						|
      lshwconn    => 'nodehm:mgt',
 | 
						|
      renergy   => 'nodehm:mgt'
 | 
						|
  };
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
##########################################################################
 | 
						|
# Pre-process request from xCat daemon
 | 
						|
##########################################################################
 | 
						|
sub preprocess_request {
 | 
						|
    xCAT::PPC::preprocess_request(__PACKAGE__,@_);
 | 
						|
}
 | 
						|
 | 
						|
##########################################################################
 | 
						|
# Process request from xCat daemon
 | 
						|
##########################################################################
 | 
						|
sub process_request {
 | 
						|
    xCAT::PPC::process_request(__PACKAGE__,@_);
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
1;
 |