Skip to content

Commit 4ae45bc

Browse files
committed
Merge branch 'bug_13568' into 'master'
[oar-properties] Add value type for gpu, core, cpuset and wattmeter properties See merge request grid5000/reference-repository!315
2 parents 694ef56 + 2824b43 commit 4ae45bc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

lib/refrepo/gen/wiki/generators/oar_properties.rb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,16 @@ def initialize(page_name)
4040
},
4141
"core" => {
4242
"description" => "The ID of the CPU core the resource is part of. The unique scope is the OAR server.",
43-
"possible_values" => "1, 2, 3, ..."
43+
"possible_values" => "1, 2, 3, ...",
44+
"value_type" => "Integer"
4445
},
4546
"cpu" => {
4647
"description" => "The ID of the CPU the resource is part of. The unique scope is the OAR server. ",
4748
"possible_values" => "1, 2, 3, ..."
4849
},
4950
"cpuset" => {
5051
"description" => "Logical processor identifier (only the first thread in case of HyperThreading).",
52+
"value_type" => "String",
5153
"possible_values" => "0, 1, 2, 3, ..."
5254
},
5355
"disk" => {
@@ -63,7 +65,8 @@ def initialize(page_name)
6365
},
6466
"gpu" => {
6567
"description" => "The ID of the GPU the resource is part of. The unique scope is the OAR server. ",
66-
"possible_values" => "1, 2, 3, ..."
68+
"possible_values" => "1, 2, 3, ...",
69+
"Value_Type" => "Integer"
6770
},
6871
"gpudevice" => {
6972
"description" => "GPU device identifier.",
@@ -205,7 +208,8 @@ def initialize(page_name)
205208
"description" => "The number of GPU cards available"
206209
},
207210
"wattmeter" => {
208-
"description" => "The type of wattmeter available"
211+
"description" => "The type of wattmeter available",
212+
"value_type" => "Boolean"
209213
},
210214
"mic" => {
211215
"description" => "Intel many integrated core architecture support",

0 commit comments

Comments
 (0)