-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi Folks,
I propose that we change the value of the model field in the CPU templates to the real model name of the CPU and assign the current value of model to the name key. This would bring the CPU templates into line with the NIC templates and allow us to more easily use conditional logic on matching a value of CPU model to provide extra config if required. So for example, what I propose is:
Change from:
structure template hardware/cpu/intel/xeon_e5_2650v3;
"manufacturer" = "Intel";
"model" = "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30 GHz";
"speed" = 2300; # MHz
"arch" = "x86_64";
"cores" = 10;
"max_threads" = 20;
"type" = "haswell"; # Intel codename
"power" = 105; # TDP in watts
to
structure template hardware/cpu/intel/xeon_e5_2650v3;
"manufacturer" = "Intel";
"model" = "xeon_e5_2650v3";
"name" = "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30 GHz";
"speed" = 2300; # MHz
"arch" = "x86_64";
"cores" = 10;
"max_threads" = 20;
"type" = "haswell"; # Intel codename
"power" = 105; # TDP in watts
For extra consistency, I also propose changing the case of the manufacturer value to all lower case.
Comments please.
Reactions are currently unavailable