From 2824b434170faf32d634bcd38cac8d983512087c Mon Sep 17 00:00:00 2001 From: BERARD Benjamin Date: Thu, 18 Nov 2021 10:01:20 +0100 Subject: [PATCH] [oar-properties] Add value type for gpu, core, cpuset and wattmeter properties --- lib/refrepo/gen/wiki/generators/oar_properties.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/refrepo/gen/wiki/generators/oar_properties.rb b/lib/refrepo/gen/wiki/generators/oar_properties.rb index cf7264c62a..c4976e740c 100644 --- a/lib/refrepo/gen/wiki/generators/oar_properties.rb +++ b/lib/refrepo/gen/wiki/generators/oar_properties.rb @@ -40,7 +40,8 @@ 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. ", @@ -48,6 +49,7 @@ def initialize(page_name) }, "cpuset" => { "description" => "Logical processor identifier (only the first thread in case of HyperThreading).", + "value_type" => "String", "possible_values" => "0, 1, 2, 3, ..." }, "disk" => { @@ -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.", @@ -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",