Commit cd1b4738 authored by Yingjie Xu's avatar Yingjie Xu

Declare the interfaces.

parent 4c674959
......@@ -190,6 +190,13 @@ class IComputerPartition(IBuildoutController, IRequester):
profile.
"""
def getConnectionParameterDict():
"""
Returns a dictionary of connection parameters.
The contained values are connection parameters of a compute partition.
"""
def setUsage(usage_log):
"""
Associate a usage log to the computer partition.
......@@ -229,6 +236,15 @@ class IComputerPartition(IBuildoutController, IRequester):
slave_reference -- current reference of the slave instance to modify
"""
def getInstanceParameter(key):
"""
Returns the instance parameter associated to the key.
Raise an INotFoundError if no key is defined.
key -- a string name of the parameter
"""
def getConnectionParameter(key):
"""
Return the connection parameter associate to the key.
......
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