SICS-587 (in progress) Put IP and PORT configurations in a single file.

TODO environment
This commit is contained in:
Ferdi Franceschini
2013-05-06 20:41:37 +10:00
parent 3e33a7b8b2
commit 5c76f7a243
5 changed files with 56 additions and 24 deletions

View File

@@ -0,0 +1,20 @@
# MOTOR HOST AND PORT
foreach {mc host port} {
MC1 mc1-taipan pmc1-taipan
MC2 mc2-taipan pmc2-taipan
MC3 mc3-taipan pmc3-taipan
MC4 mc4-taipan pmc4-taipan
MC6 mc6-taipan pmc6-taipan
} {
dict set MOTOR_HOSTPORT $mc HOST $host
dict set MOTOR_HOSTPORT $mc PORT $port
}
# BEAM MONITOR HOST AND PORT
foreach {bm host port} {
MONITOR_1 das1-taipan 33000
MONITOR_2 das1-taipan 33001
} {
dict set MONITOR_HOSTPORT $bm HOST $host
dict set MONITOR_HOSTPORT $bm PORT $port
}