Commit 591eee82 authored by Marian Babik's avatar Marian Babik
Browse files

marked legacy metrics

parent 6ff4d35d
......@@ -37,10 +37,13 @@ XROOT_METRICS = (
)
WN_METRICS = {
'WN-cvmfs': 'org.cms.WN-cvmfs-/cms/Role=lcgadmin',
}
WN_METRICS_LEGACY = {
'CE-cms-analysis.sing': 'org.cms.WN-analysis-/cms/Role=lcgadmin',
'CE-cms-singularity': 'org.cms.WN-isolation-/cms/Role=lcgadmin',
'CE-cms-basic': 'org.cms.WN-basic-/cms/Role=lcgadmin',
'WN-cvmfs': 'org.cms.WN-cvmfs-/cms/Role=lcgadmin',
'CE-cms-env': 'org.cms.WN-env-/cms/Role=lcgadmin',
'CE-cms-frontier.sing': 'org.cms.WN-frontier-/cms/Role=lcgadmin',
'CE-cms-mc.sing': 'org.cms.WN-mc-/cms/Role=lcgadmin',
......@@ -78,6 +81,7 @@ def run(url, ipv6=False):
c = Checks()
c.add_all(CE_METRICS, tags=["CREAM-CE", "ARC-CE", "HTCONDOR-CE"])
c.add_all(WN_METRICS.values(), tags=["CREAM-CE", "ARC-CE", "HTCONDOR-CE"])
c.add_all(WN_METRICS_LEGACY.values(), tags=["CREAM-CE", "ARC-CE", "HTCONDOR-CE"])
c.add_all(SE_METRICS, tags=["SRM"])
c.add_all(XROOT_METRICS, tags=["XROOTD"])
# IPv6
......@@ -114,6 +118,8 @@ def run(url, ipv6=False):
# SAME* environment variables are needed by the legacy/SFT tests
with open('/tmp/etf-env.sh', 'w') as etf_env:
etf_env.write('ETF_TESTS={}\n'.format(','.join(['etf/probes/org.cms/'+m for m in WN_METRICS.keys()])))
etf_env.write('ETF_LEGACY={}\n'.format(
','.join(['etf/probes/org.cms/' + m for m in WN_METRICS_LEGACY.keys()])))
for code, value in SAME_CODES.items():
etf_env.write('SAME_{}={}\n'.format(code, value))
etf_env.write('SAME_VO=cms\n')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment