use_ok 'H1::ZTEMSAN';
my $ip = shift @ARGV || '10.99.2.115';
+my @ports = @ARGV;
+@ports = qw( 0/15/0 0/16/0 ) unless @ports;
ok my $o = H1::ZTEMSAN->new( ip => $ip ), "new $ip";
-foreach my $port ( @ARGV || qw( 0/15/0 0/16/0 ) ) {
+foreach my $port ( @ports ) {
ok my $hash = $o->hash( $port ), "port $port";
diag dump $hash;