Commit 6cbe82e0 authored by Łukasz Nowak's avatar Łukasz Nowak

Expose method used to requestComputer computer.

parent a74849c4
...@@ -671,6 +671,16 @@ class slap: ...@@ -671,6 +671,16 @@ class slap:
connection_helper=self._connection_helper, connection_helper=self._connection_helper,
) )
def requestComputer(self, computer_title):
"""
Requests a computer.
"""
self._connection_helper.POST('/requestComputer',
{'computer_title': computer_title})
xml = self._connection_helper.response.read()
computer = xml_marshaller.loads(xml)
return computer
def registerComputer(self, computer_guid): def registerComputer(self, computer_guid):
""" """
Registers connected representation of computer and Registers connected representation of computer and
......
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