diff --git a/lib/refrepo/gen/wiki/generators/oar_properties.rb b/lib/refrepo/gen/wiki/generators/oar_properties.rb index 99b8ac357bec5715f4ca0f38b562b68854d7545b..8e97c5c1d9018f712910f328942377c419a93b00 100644 --- a/lib/refrepo/gen/wiki/generators/oar_properties.rb +++ b/lib/refrepo/gen/wiki/generators/oar_properties.rb @@ -43,10 +43,6 @@ class OarPropertiesGenerator < WikiGenerator "description" => "The ID of the CPU the resource is part of. The unique scope is the OAR server. ", "possible_values" => "1, 2, 3, ..." }, - "gpu" => { - "description" => "The ID of the GPU the resource is part of. The unique scope is the OAR server. ", - "possible_values" => "1, 2, 3, ..." - }, "host" => { "description" => "A user-friendly name for the network_address property", "possible_values" => "dahu-1.grenoble.grid5000.fr, ..." diff --git a/lib/refrepo/valid/oar-properties.rb b/lib/refrepo/valid/oar-properties.rb index 3aad9034c67ca865deec65e8ad0fcdc7d3e01850..9a8238d5b32169603f848a7fc9fd0a6fee38dac1 100644 --- a/lib/refrepo/valid/oar-properties.rb +++ b/lib/refrepo/valid/oar-properties.rb @@ -7,7 +7,7 @@ require 'hashdiff' IGNORED_PROPERTIES=%w{} # Propriétés qui devraient être présentes -G5K_PROPERTIES=%w{api_timestamp available_upto besteffort chassis chunks cluster cluster_priority comment core cpu cpuarch cpucore cpufreq cpuset cputype deploy desktop_computing disk disk_reservation_count diskpath disktype drain eth_count eth_rate expiry_date finaud_decision gpu gpudevice gpu_model gpu_count grub host ib ib_count ib_rate id ip last_available_upto last_job_date links maintenance max_walltime memcore memcpu memnode mic myri myri_count myri_rate network_address next_finaud_decision next_state nodemodel production rconsole scheduler_priority slash_16 slash_17 slash_18 slash_19 slash_20 slash_21 slash_22 state state_num subnet_address subnet_prefix suspended_jobs switch type virtual vlan wattmeter opa opa_count opa_rate}.sort - IGNORED_PROPERTIES +G5K_PROPERTIES=%w{api_timestamp available_upto besteffort chassis chunks cluster cluster_priority comment core cpu cpuarch cpucore cpufreq cpuset cputype deploy desktop_computing disk disk_reservation_count diskpath disktype drain eth_count eth_rate expiry_date finaud_decision gpu_model gpu_count grub host ib ib_count ib_rate id ip last_available_upto last_job_date links maintenance max_walltime memcore memcpu memnode mic myri myri_count myri_rate network_address next_finaud_decision next_state nodemodel production rconsole scheduler_priority slash_16 slash_17 slash_18 slash_19 slash_20 slash_21 slash_22 state state_num subnet_address subnet_prefix suspended_jobs switch type virtual vlan wattmeter opa opa_count opa_rate}.sort - IGNORED_PROPERTIES module RefRepo::Valid::OarProperties