Commit 19151e03 authored by Rafael Monnerat's avatar Rafael Monnerat

fixup slapos_*: rename Compute to Compute Node

See merge request !521
parents 139173b4 7e81d44a
...@@ -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-computer"] = 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
......
...@@ -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-computer": 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-computer": true
}, },
"KVM1": { "KVM1": {
"disk-device-path": "/dev/sdb", "disk-device-path": "/dev/sdb",
......
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