Commit 1e695e17 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Cédric Le Ninivin

slapos_cloud: Software Instance data schema include retention delay

parent 68a2ab2f
......@@ -341,6 +341,7 @@ class SoftwareInstance(Item, JSONType):
"software_type": self.getSourceReference().decode("UTF-8"),
"compute_node_id": parameter_dict.get("slap_computer_id"),
"compute_partition_id": parameter_dict.get("slap_computer_partition_id"),
"sla_parameters": self.getSlaXmlAsDict(),
}
result.update(parameter_dict)
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