Changeset 207
- Timestamp:
- Feb 16, 2017, 7:46:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r206 r207 2039 2039 my $port = shift @ARGV || q{}; 2040 2040 2041 if ($switch_name eq q{} or $port eq q{}) { 2042 die "Usage: klask status SWITCH_NAME PORT\n"; 2043 } 2044 2045 if (not defined $SWITCH_DB{$switch_name}) { 2046 die "Switch $switch_name must be defined in klask configuration file\n"; 2047 } 2048 2041 2049 my $sw = $SWITCH_DB{$switch_name}; 2042 2050 my %session = ( -hostname => $sw->{hostname} );
Note: See TracChangeset
for help on using the changeset viewer.