Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
slapos.core
Commits
cd1b4738
Commit
cd1b4738
authored
Jul 05, 2012
by
Yingjie Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declare the interfaces.
parent
4c674959
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
slapos/slap/interface/slap.py
slapos/slap/interface/slap.py
+16
-0
No files found.
slapos/slap/interface/slap.py
View file @
cd1b4738
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment