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_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.
Supports Markdown
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