Skip to content

Commit

Permalink
Merge branch 'bug_13568' into 'master'
Browse files Browse the repository at this point in the history
[oar-properties] Add value type for gpu, core, cpuset and wattmeter properties

See merge request grid5000/reference-repository!315
  • Loading branch information
berardbe committed Nov 23, 2021
2 parents 694ef56 + 2824b43 commit 4ae45bc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/refrepo/gen/wiki/generators/oar_properties.rb
Expand Up @@ -40,14 +40,16 @@ def initialize(page_name)
},
"core" => {
"description" => "The ID of the CPU core the resource is part of. The unique scope is the OAR server.",
"possible_values" => "1, 2, 3, ..."
"possible_values" => "1, 2, 3, ...",
"value_type" => "Integer"
},
"cpu" => {
"description" => "The ID of the CPU the resource is part of. The unique scope is the OAR server. ",
"possible_values" => "1, 2, 3, ..."
},
"cpuset" => {
"description" => "Logical processor identifier (only the first thread in case of HyperThreading).",
"value_type" => "String",
"possible_values" => "0, 1, 2, 3, ..."
},
"disk" => {
Expand All @@ -63,7 +65,8 @@ def initialize(page_name)
},
"gpu" => {
"description" => "The ID of the GPU the resource is part of. The unique scope is the OAR server. ",
"possible_values" => "1, 2, 3, ..."
"possible_values" => "1, 2, 3, ...",
"Value_Type" => "Integer"
},
"gpudevice" => {
"description" => "GPU device identifier.",
Expand Down Expand Up @@ -205,7 +208,8 @@ def initialize(page_name)
"description" => "The number of GPU cards available"
},
"wattmeter" => {
"description" => "The type of wattmeter available"
"description" => "The type of wattmeter available",
"value_type" => "Boolean"
},
"mic" => {
"description" => "Intel many integrated core architecture support",
Expand Down

0 comments on commit 4ae45bc

Please sign in to comment.