Commit 7e81d44a authored by Romain Courteaud's avatar Romain Courteaud

fixup slapos_*: rename Compute to Compute Node

See fba76904
parent 139173b4
...@@ -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