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
Xavier Thompson
slapos.core
Commits
c9ba7743
Commit
c9ba7743
authored
Oct 10, 2011
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define the bang method interface
parent
594b0baa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
slapos/slap/interface/slap.py
slapos/slap/interface/slap.py
+17
-0
No files found.
slapos/slap/interface/slap.py
View file @
c9ba7743
...
...
@@ -174,6 +174,14 @@ class IComputerPartition(IBuildoutController):
It can be an XML for example.
"""
def
bang
(
log
):
"""
Report a problem detected on a computer partition.
This will trigger the reinstanciation of all partitions in the instance tree.
log -- a text explaining why the method was called
"""
class
IComputer
(
Interface
):
"""
Computer interface specification
...
...
@@ -209,6 +217,15 @@ class IComputer(Interface):
needs to be reported.
"""
def
bang
(
log
):
"""
Report a problem detected on a computer.
This will trigger IComputerPartition.bang on all instances hosted by the
Computer.
log -- a text explaining why the method was called
"""
class
IOpenOrder
(
Interface
):
"""
Open Order interface specification
...
...
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