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
19151e03
Commit
19151e03
authored
Apr 24, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
fixup slapos_*: rename Compute to Compute Node
See merge request
nexedi/slapos.core!521
parents
139173b4
7e81d44a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
master/bt5/slapos_subscription_request/SkinTemplateItem/portal_skins/slapos_subscription_request/SubscriptionCondition_renderKVMClusterParameter.py
...equest/SubscriptionCondition_renderKVMClusterParameter.py
+1
-1
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.py
...ortal_components/test.erp5.testSlapOSSubscriptionSkins.py
+2
-2
No files found.
master/bt5/slapos_subscription_request/SkinTemplateItem/portal_skins/slapos_subscription_request/SubscriptionCondition_renderKVMClusterParameter.py
View file @
19151e03
...
@@ -27,7 +27,7 @@ KVM0 = json_parameter["kvm-partition-dict"]["KVM0"]
...
@@ -27,7 +27,7 @@ KVM0 = json_parameter["kvm-partition-dict"]["KVM0"]
for
i
in
range
(
amount
):
for
i
in
range
(
amount
):
if
i
==
0
:
if
i
==
0
:
k
=
KVM0
.
copy
()
k
=
KVM0
.
copy
()
k
[
"sticky-compute
-node
"
]
=
True
k
[
"sticky-compute
r
"
]
=
True
json_parameter
[
"kvm-partition-dict"
][
"KVM"
+
str
(
i
)]
=
k
json_parameter
[
"kvm-partition-dict"
][
"KVM"
+
str
(
i
)]
=
k
else
:
else
:
json_parameter
[
"kvm-partition-dict"
][
"KVM"
+
str
(
i
)]
=
KVM0
json_parameter
[
"kvm-partition-dict"
][
"KVM"
+
str
(
i
)]
=
KVM0
...
...
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.py
View file @
19151e03
...
@@ -151,7 +151,7 @@ class TestSubscriptionCondition_renderKVMClusterParameter(TestSubscriptionSkinsM
...
@@ -151,7 +151,7 @@ class TestSubscriptionCondition_renderKVMClusterParameter(TestSubscriptionSkinsM
"ram-size": 245760,
"ram-size": 245760,
"project-guid": "PROJ-XXXX",
"project-guid": "PROJ-XXXX",
"cpu-max-count": 41,
"cpu-max-count": 41,
"sticky-compute
-node
": true
"sticky-compute
r
": true
}
}
}
}
}</parameter>
}</parameter>
...
@@ -170,7 +170,7 @@ class TestSubscriptionCondition_renderKVMClusterParameter(TestSubscriptionSkinsM
...
@@ -170,7 +170,7 @@ class TestSubscriptionCondition_renderKVMClusterParameter(TestSubscriptionSkinsM
"ram-size": 245760,
"ram-size": 245760,
"project-guid": "PROJ-XXXX",
"project-guid": "PROJ-XXXX",
"cpu-max-count": 41,
"cpu-max-count": 41,
"sticky-compute
-node
": true
"sticky-compute
r
": true
},
},
"KVM1": {
"KVM1": {
"disk-device-path": "/dev/sdb",
"disk-device-path": "/dev/sdb",
...
...
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