Commit e8c0138f authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Romain Courteaud

slapos_cloud: Software Instance data schema include retention delay

parent 88ba6e4c
...@@ -345,6 +345,7 @@ class SoftwareInstance(Item, JSONType): ...@@ -345,6 +345,7 @@ class SoftwareInstance(Item, JSONType):
"software_type": self.getSourceReference().decode("UTF-8"), "software_type": self.getSourceReference().decode("UTF-8"),
"compute_node_id": parameter_dict.get("slap_computer_id"), "compute_node_id": parameter_dict.get("slap_computer_id"),
"compute_partition_id": parameter_dict.get("slap_computer_partition_id"), "compute_partition_id": parameter_dict.get("slap_computer_partition_id"),
"sla_parameters": self.getSlaXmlAsDict(),
} }
result.update(parameter_dict) result.update(parameter_dict)
return json.dumps(result, indent=2) return json.dumps(result, indent=2)
......
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