Skip to content

Commit

Permalink
still use int2r for daq2val
Browse files Browse the repository at this point in the history
  • Loading branch information
smorovic committed Nov 5, 2014
1 parent 3f06764 commit 7cfcb9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/setupmachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,11 @@ def getBUAddr(parentTag,hostname):
con = cx_Oracle.connect(dblogin+'/'+dbpwd+'@'+dbhost+':10121/'+dbsid,
cclass="FFFSETUP",purity = cx_Oracle.ATTR_PURITY_SELF)
else:
con = cx_Oracle.connect('CMS_DAQ2_TEST_HW_CONF_W/'+dbpwd+'@int2r2-v.cern.ch:10121/int2r_lb.cern.ch',
cclass="FFFSETUP",purity = cx_Oracle.ATTR_PURITY_SELF)
#hardcoded daq2val (until/if it switches to new DB)
if hostname.startswith('dvrubu-c2f34'):return ['dvbu-c2f34-30-01.dvfus1v0.cms']
if hostname.startswith('dvrubu-c2f33'):return ['dvbu-c2f34-28-01.dvfus1v0.cms']
#if hostname.startswith('dvrubu-c2f34'):return ['dvbu-c2f34-30-01.dvfus1v0.cms']
#if hostname.startswith('dvrubu-c2f33'):return ['dvbu-c2f34-28-01.dvfus1v0.cms']

#print con.version

Expand Down
Binary file modified rpm/fffmeta-1.5.3-2.noarch.rpm
Binary file not shown.

0 comments on commit 7cfcb9a

Please sign in to comment.