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
Thomas Gambier
slapos.core
Commits
c6097304
Commit
c6097304
authored
Oct 22, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide instance_guid parameter.
This is needed for specify SLA parameter for slave partitions.
parent
937365ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+2
-0
No files found.
master/product/Vifib/Tool/SlapTool.py
View file @
c6097304
...
@@ -673,6 +673,7 @@ class SlapTool(BaseTool):
...
@@ -673,6 +673,7 @@ class SlapTool(BaseTool):
computer_partition_document
.
getRelativeUrl
())
computer_partition_document
.
getRelativeUrl
())
if
software_instance
is
not
None
:
if
software_instance
is
not
None
:
slap_partition
.
_instance_guid
=
software_instance
.
getReference
()
# trick client side, that data has been synchronised already for given
# trick client side, that data has been synchronised already for given
# document
# document
slap_partition
.
_synced
=
True
slap_partition
.
_synced
=
True
...
@@ -810,6 +811,7 @@ class SlapTool(BaseTool):
...
@@ -810,6 +811,7 @@ class SlapTool(BaseTool):
computer_partition_document
.
getRelativeUrl
())
computer_partition_document
.
getRelativeUrl
())
if
software_instance
is
not
None
:
if
software_instance
is
not
None
:
slap_partition
.
_instance_guid
=
software_instance
.
getReference
()
state
=
software_instance
.
getSlapState
()
state
=
software_instance
.
getSlapState
()
if
state
==
"stop_requested"
:
if
state
==
"stop_requested"
:
slap_partition
.
_requested_state
=
'stopped'
slap_partition
.
_requested_state
=
'stopped'
...
...
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