summaryrefslogtreecommitdiffstats
path: root/INF.pm
diff options
context:
space:
mode:
Diffstat (limited to 'INF.pm')
-rw-r--r--INF.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/INF.pm b/INF.pm
index 20b41b8..58a5964 100644
--- a/INF.pm
+++ b/INF.pm
@@ -1,8 +1,9 @@
package INF;
use INF::APC;
use INF::DSRx020;
-use INF::ILO;
use INF::ILO2;
+use INF::ILO; #ilo 4 confusingly
+use INF::ILO5;
use INF::SuperMicro;
use INF::Cyclades;
@@ -35,10 +36,14 @@ sub new ($;$) {
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' ) {
return INF::ILO2->new($inf);
+ } elsif ( $inf->{inf_type} eq 'ilo' ) {
+ return INF::ILO->new($inf);
+ } elsif ( $inf->{inf_type} eq 'ilo4' ) {
+ return INF::ILO->new($inf);
+ } elsif ( $inf->{inf_type} eq 'ilo5' ) {
+ return INF::ILO5->new($inf);
} elsif ( $inf->{inf_type} eq 'cyclades' ) {
return INF::Cyclades->new($inf);
}