Keep standard 30MHzDF and adds the lite configuration
[debian6500.git] / simple-cdd / additional_scripts / configure_switch.tcl
index 8e2af2fc091571923fe89273a9ffcf64c176af52..4d34d434d431979317c3891e33d21a11334acacf 100755 (executable)
@@ -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 ]