From ef393874b4df287089d07f8d49d91972e0c5ca18 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 10 May 2019 22:48:36 +0100 Subject: supermicro support --- INF.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'INF.pm') diff --git a/INF.pm b/INF.pm index 962b15a..556a546 100644 --- a/INF.pm +++ b/INF.pm @@ -3,6 +3,7 @@ use INF::APC; use INF::DSRx020; use INF::ILO; use INF::ILO2; +use INF::SuperMicro; #$infs = [ @@ -31,6 +32,8 @@ sub new ($;$) { } elsif ( $inf->{inf_type} eq 'apc' ) { return INF::APC->new($inf); + } elsif ( $inf->{inf_type} eq 'supermicro' ) { + return INF::SuperMicro->new($inf); } elsif ( $inf->{inf_type} eq 'ilo' ) { return INF::ILO->new($inf); } elsif ( $inf->{inf_type} eq 'ilo2' ) { -- cgit v1.2.3