diff options
Diffstat (limited to 'INF.pm')
-rw-r--r-- | INF.pm | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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); } |