Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 5580eebf authored by ramdsc's avatar ramdsc Committed by Millian Poquet
Browse files

Added type of processor to properties

parent ddcc81e4
......@@ -73,6 +73,8 @@ def main():
core_attrs = {"id": core_id}
core_attrs.update(proc_template["core_attributes"])
core_el = xml.SubElement(cluster_el, "host", attrib=core_attrs)
# Processor type
xml.SubElement(core_el, "prop", attrib={"id": "type", "value": proc["type"]})
for prop in proc_template["core_properties"]:
xml.SubElement(core_el, "prop", attrib=prop)
# Link association
......
This diff is collapsed.
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