Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 708dc762 authored by Simon Delamare's avatar Simon Delamare
Browse files

[admin] Add OAR properties rconsole, gpu_model & gpu_count

parent b6fc178f
No related branches found
No related tags found
No related merge requests found
...@@ -45,8 +45,11 @@ module Grid5000 ...@@ -45,8 +45,11 @@ module Grid5000
h['memnode'] = properties['main_memory']['ram_size']/MiB h['memnode'] = properties['main_memory']['ram_size']/MiB
properties["gpu"] ||= {} properties["gpu"] ||= {}
h['gpu'] = properties['gpu']['gpu'] ? "YES" : "NO" h['gpu'] = properties['gpu']['gpu'] ? "YES" : "NO"
h['gpu_count'] = properties['gpu']['gpu_count']
h['gpu_model'] = properties['gpu']['gpu_model']
properties["monitoring"] ||= {} properties["monitoring"] ||= {}
h['wattmeter'] = properties['monitoring']['wattmeter'] ? "YES" : "NO" h['wattmeter'] = properties['monitoring']['wattmeter'] ? "YES" : "NO"
h['rconsole'] = properties['monitoring']['rconsole'] == false ? "NO" : "YES"
h h
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment