X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=simple-cdd%2Fadditional_scripts%2Fconfigure_switch.tcl;h=4d34d434d431979317c3891e33d21a11334acacf;hb=3a8d2b2fc527b9194dd3e37519b27102ba1333c7;hp=8e2af2fc091571923fe89273a9ffcf64c176af52;hpb=b3f3562f417f2983a7e0d0c2d5b54bb3bd9e94ab;p=debian6500.git diff --git a/simple-cdd/additional_scripts/configure_switch.tcl b/simple-cdd/additional_scripts/configure_switch.tcl index 8e2af2f..4d34d43 100755 --- a/simple-cdd/additional_scripts/configure_switch.tcl +++ b/simple-cdd/additional_scripts/configure_switch.tcl @@ -13,7 +13,7 @@ set host [lrange $argv 0 0] if { $host == "" } { - puts "usage: configure_switch.tcl \[swg1|swg2|swm\]" + puts "usage: configure_switch.tcl \[sw1|sw2|swg1|swg2|swm\]" exit 1 } @@ -21,6 +21,8 @@ set tftpserver "" if { $host == "swg1" } { set tftpserver "10.133.26.160" } if { $host == "swg2" } { set tftpserver "10.133.26.160" } if { $host == "swm" } { set tftpserver "10.133.28.160" } +if { $host == "sw1" } { set tftpserver "10.133.26.160" } +if { $host == "sw2" } { set tftpserver "10.133.26.160" } if { $tftpserver == "" } { puts "unknown switch '$host'"; exit } set date [ exec date +%Y%m%d-%H:%m:%S ]