Skip to content
Snippets Groups Projects

feat: add CE ports to topology

Merged Alexander Rogovskiy requested to merge arogovsk/LHCbDIRAC:topology_ce_port into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -139,6 +139,9 @@ class NagiosTopologyAgent(AgentModule):
ceDetails["access_points"][ce]["type"] = MAPPING_CE_TYPE.get(
ceDetailsInCS["CEType"].lower(), "UNDEFINED"
)
# Port
if "Port" in ceDetailsInCS:
ceDetails["access_points"][ce]["port"] = ceDetailsInCS["Port"]
ceDetails["access_points"][ce]["monitored"] = "yes" if wlcgName else "no"
ceDetails["access_points"][ce]["quality_level"] = "production"
# queues
Loading