Commit 2479ae20 authored by Jérome Perrin's avatar Jérome Perrin

interface: fix supply interface regarding destruction

parent 449f5d31
......@@ -470,15 +470,18 @@ class ISupply(Interface):
a given client is ready to supply.
"""
def supply(software_release, computer_guid=None):
def supply(software_release, computer_guid=None, state="available"):
"""
Tell that given client is ready to supply given software release
Request installation or deletion of a software relase.
To destroy a software, supply it with state "destroyed".
software_release -- URI of the software release
which has to be instantiated
computer_guid -- the identifier of the computer inside the slapgrid
server.
state -- the state of the software, can be "available" or "destroyed".
"""
......
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