Commit 327b291f authored by Łukasz Nowak's avatar Łukasz Nowak

Expose computer update.

parent 7d771d00
...@@ -511,6 +511,16 @@ class VifibRestApiV1Tool(BaseTool): ...@@ -511,6 +511,16 @@ class VifibRestApiV1Tool(BaseTool):
self.REQUEST.response.setHeader('Cache-Control', 'must-revalidate') self.REQUEST.response.setHeader('Cache-Control', 'must-revalidate')
self.REQUEST.response.setStatus(200) self.REQUEST.response.setStatus(200)
d = { d = {
"computer_update": {
"authentication": True,
"url": '{computer_url}',
"method": "PUT",
"required": {},
"optional": {
"software": "list",
"address": "list"
}
},
"discovery": { "discovery": {
"authentication": False, "authentication": False,
"url": self.absolute_url(), "url": self.absolute_url(),
......
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