Skip to content
Snippets Groups Projects
Commit b10859f9 authored by Adriaan Renting's avatar Adriaan Renting
Browse files

Task #10262: Small fix on Arno's code to switch the Qpid monitor from CEP2 to CEP4

parent 94fb98a3
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,11 @@ class perpetualTimer:
brokerlist= []
if MyHostname.lower() != 'ccu099' :
#This should be done with
#from lofar.common import isProductionEnvironment, isTestEnvironment
#But lofar.common is not installed on ccu001.
if MyHostname.lower() == 'ccu001' :
brokerlist = [ "amqp://CCU001","amqp://sas001","amqp://lcs023","amqp://cbm001","amqp://cbm002","amqp://cbm003","amqp://cbm004","amqp://cbm005","amqp://cbm006","amqp://cbm007","amqp://cbm008","amqp://mcu001"]
for i in range(1,49):
nodename = 'amqp://cpu%(#)02d.cep4.control.lofar' % {"#": i}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment