Merge "sysinv: reduce minimum allowed vswitch cpu count"
This commit is contained in:
commit
b7255350a3
@ -1,2 +1,2 @@
|
|||||||
SRC_DIR="sysinv"
|
SRC_DIR="sysinv"
|
||||||
TIS_PATCH_VER=291
|
TIS_PATCH_VER=292
|
||||||
|
@ -19,7 +19,7 @@ CORE_FUNCTIONS = [
|
|||||||
constants.NO_FUNCTION
|
constants.NO_FUNCTION
|
||||||
]
|
]
|
||||||
|
|
||||||
VSWITCH_MIN_CORES = 1
|
VSWITCH_MIN_CORES = 0
|
||||||
VSWITCH_MAX_CORES = 8
|
VSWITCH_MAX_CORES = 8
|
||||||
|
|
||||||
|
|
||||||
|
@ -592,7 +592,7 @@ class PlatformPuppet(base.BasePuppet):
|
|||||||
|
|
||||||
# non-vswitch CPUs = all cores - vswitch cores
|
# non-vswitch CPUs = all cores - vswitch cores
|
||||||
non_vswitch_cpus = host_cpu_list
|
non_vswitch_cpus = host_cpu_list
|
||||||
for i in [int(s) for s in vswitch_cpu_list.split(',')]:
|
for i in [c.cpu for c in vswitch_cpus]:
|
||||||
non_vswitch_cpus.remove(i)
|
non_vswitch_cpus.remove(i)
|
||||||
|
|
||||||
# change the CPU list to ranges
|
# change the CPU list to ranges
|
||||||
|
Loading…
Reference in New Issue
Block a user