Commit 33eafa5b authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

erp5_computer_immobilisation: Add jio api revision on Computer

parent c0dffd7d
......@@ -76,6 +76,7 @@ class Computer(Machine, JSONType):
"compute_node_id": self.getReference().decode("UTF-8"),
"title": self.getTitle().decode("UTF-8"),
"compute_partition_list": [],
"api_revision": self.getJIOAPIRevision(),
}
compute_partition_list = self.contentValues(
portal_type="Compute Partition",
......
......@@ -146,6 +146,11 @@
"initialisation_comand": {\n
"title": "Command to initiate slapos node",\n
"type": "string"\n
},\n
"api_revision": {\n
"title": "API Revision",\n
"type": "string",\n
"description": "The API Revision is set by the master node to mark when the element was last processed. It is incremental. If revision has changed, critical data has been updated"\n
}\n
}\n
}\n
......
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