diff --git a/spec/oar_properties_spec.rb b/spec/oar_properties_spec.rb index e79963cf474cfadd663080b26a1192a2b54390da..6b7ccb0554898b8b05f7f565bd0a56442a6b9351 100644 --- a/spec/oar_properties_spec.rb +++ b/spec/oar_properties_spec.rb @@ -48,6 +48,7 @@ def prepare_stubs(oar_api, data_hierarchy) conf = RefRepo::Utils.get_api_config stubbed_addresses = [ "#{conf["uri"]}", + "#{conf["uri"]}/oarapi/resources/details.json?limit=999999", "#{conf["uri"]}stable/sites/fakesite/internal/oarapi/resources/details.json?limit=999999", ] stubbed_api_response = load_stub_file_content(oar_api) @@ -66,6 +67,60 @@ end describe 'OarProperties' do + context 'testing arguments' do + before do + prepare_stubs("dump_oar_api_empty_server.json", "load_data_hierarchy_stubbed_data.json") + end + + it 'should should accept case where only the site is specified' do + + uri = URI(conf["uri"]) + + response = Net::HTTP.get(uri) + + expect(response).to be_an_instance_of(String) + + options = { + :table => true, + :print => false, + :update => false, + :diff => false, + :site => "fakesite", + } + + expected_header = <<-TXT ++---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ +| cluster | host | cpu | core | cpuset | gpu | gpudevice | cpumodel | gpumodel | ++---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ +TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_header) + end + + it 'should should accept case where only the site is specified' do + + uri = URI(conf["uri"]) + + response = Net::HTTP.get(uri) + + expect(response).to be_an_instance_of(String) + + options = { + :table => true, + :print => false, + :update => false, + :diff => false, + :site => "fakesite2", + } + + expect { generate_oar_properties(options) }.to raise_error("The provided site does not exist : I can't detect clusters") + end + end + context 'interracting with an empty OAR server' do before do prepare_stubs("dump_oar_api_empty_server.json", "load_data_hierarchy_stubbed_data.json") @@ -279,8 +334,6 @@ TXT end end - - context 'OAR server with data' do before do prepare_stubs("dump_oar_api_configured_server.json", "load_data_hierarchy_stubbed_data.json") @@ -307,7 +360,7 @@ TXT +---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ | cluster | host | cpu | core | cpuset | gpu | gpudevice | cpumodel | gpumodel | +---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ - TXT +TXT expected_clustera1_desc = <<-TXT | clustera | clustera-1 | 1 | 1 | 0 | 1 | 0 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | @@ -316,7 +369,7 @@ TXT | clustera | clustera-1 | 1 | 4 | 3 | 1 | 0 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clustera | clustera-1 | 1 | 5 | 4 | 2 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clustera | clustera-1 | 1 | 6 | 5 | 2 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | - TXT +TXT expected_clustera2_desc = <<-TXT | clustera | clustera-2 | 4 | 26 | 9 | 7 | 2 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | @@ -326,7 +379,7 @@ TXT | clustera | clustera-2 | 4 | 30 | 13 | 8 | 3 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clustera | clustera-2 | 4 | 31 | 14 | 8 | 3 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clustera | clustera-2 | 4 | 32 | 15 | 8 | 3 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | - TXT +TXT generator_output = capture do generate_oar_properties(options) @@ -364,7 +417,7 @@ property_exist 'core' || oarproperty -a core property_exist 'gpudevice' || oarproperty -a gpudevice property_exist 'gpu' || oarproperty -a gpu property_exist 'gpu_model' || oarproperty -a gpu_model --varchar - TXT +TXT expected_clustera1_cmds = <<-TXT ################################### @@ -374,7 +427,7 @@ oarnodesetting --sql "host='clustera-1.fakesite.grid5000.fr' AND resource_id='1' oarnodesetting --sql "host='clustera-1.fakesite.grid5000.fr' AND resource_id='2' AND type='default'" -p cpu=1 -p core=2 -p cpuset=1 -p gpu=1 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=0 # This GPU is mapped on /dev/nvidia0 oarnodesetting --sql "host='clustera-1.fakesite.grid5000.fr' AND resource_id='3' AND type='default'" -p cpu=1 -p core=3 -p cpuset=2 -p gpu=1 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=0 # This GPU is mapped on /dev/nvidia0 oarnodesetting --sql "host='clustera-1.fakesite.grid5000.fr' AND resource_id='4' AND type='default'" -p cpu=1 -p core=4 -p cpuset=3 -p gpu=1 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=0 # This GPU is mapped on /dev/nvidia0 - TXT +TXT expected_clustera2_cmds = <<-TXT ################################### @@ -385,11 +438,11 @@ oarnodesetting --sql "host='clustera-2.fakesite.grid5000.fr' AND resource_id='18 oarnodesetting --sql "host='clustera-2.fakesite.grid5000.fr' AND resource_id='19' AND type='default'" -p cpu=3 -p core=19 -p cpuset=2 -p gpu=5 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=0 # This GPU is mapped on /dev/nvidia0 oarnodesetting --sql "host='clustera-2.fakesite.grid5000.fr' AND resource_id='20' AND type='default'" -p cpu=3 -p core=20 -p cpuset=3 -p gpu=5 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=0 # This GPU is mapped on /dev/nvidia0 oarnodesetting --sql "host='clustera-2.fakesite.grid5000.fr' AND resource_id='21' AND type='default'" -p cpu=3 -p core=21 -p cpuset=4 -p gpu=6 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=1 # This GPU is mapped on /dev/nvidia1 - TXT +TXT expected_clustera3_cmds = <<-TXT oarnodesetting --sql "host='clustera-2.fakesite.grid5000.fr' and type='default'" -p ip='172.16.64.2' -p cluster='clustera' -p nodemodel='Dell PowerEdge T640' -p switch='gw-fakesite' -p virtual='ivt' -p cpuarch='x86_64' -p cpucore=8 -p cputype='Intel Xeon Silver 4110' -p cpufreq='2.1' -p disktype='SATA' -p eth_count=1 -p eth_rate=10 -p ib_count=0 -p ib_rate=0 -p ib='NO' -p opa_count=0 -p opa_rate=0 -p opa='NO' -p myri_count=0 -p myri_rate=0 -p myri='NO' -p memcore=8192 -p memcpu=65536 -p memnode=131072 -p gpu_count=4 -p mic='NO' -p wattmeter='MULTIPLE' -p cluster_priority=201906 -p max_walltime=86400 -p production='YES' -p maintenance='NO' -p disk_reservation_count=0 - TXT +TXT generator_output = capture do generate_oar_properties(options) @@ -462,7 +515,7 @@ TXT +---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ | cluster | host | cpu | core | cpuset | gpu | gpudevice | cpumodel | gpumodel | +---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ - TXT +TXT expected_clusterb1_desc = <<-TXT | clusterb | clusterb-1 | 1 | 1 | 0 | 1 | 0 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | @@ -472,7 +525,7 @@ TXT | clusterb | clusterb-1 | 1 | 5 | 4 | 2 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clusterb | clusterb-1 | 1 | 6 | 5 | 2 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clusterb | clusterb-1 | 1 | 7 | 6 | 2 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | - TXT +TXT expected_clusterb2_desc = <<-TXT | clusterb | clusterb-2 | 3 | 17 | 0 | 5 | 0 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | @@ -482,7 +535,7 @@ TXT | clusterb | clusterb-2 | 3 | 21 | 4 | 6 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clusterb | clusterb-2 | 3 | 22 | 5 | 6 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clusterb | clusterb-2 | 3 | 23 | 6 | 6 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | - TXT +TXT generator_output = capture do generate_oar_properties(options) @@ -541,11 +594,11 @@ oarnodesetting -a -h 'clusterb-2.fakesite.grid5000.fr' -p host='clusterb-2.fakes oarnodesetting -a -h 'clusterb-2.fakesite.grid5000.fr' -p host='clusterb-2.fakesite.grid5000.fr' -p cpu=4 -p core=30 -p cpuset=13 -p gpu=8 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=3 # This GPU is mapped on /dev/nvidia3 oarnodesetting -a -h 'clusterb-2.fakesite.grid5000.fr' -p host='clusterb-2.fakesite.grid5000.fr' -p cpu=4 -p core=31 -p cpuset=14 -p gpu=8 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=3 # This GPU is mapped on /dev/nvidia3 oarnodesetting -a -h 'clusterb-2.fakesite.grid5000.fr' -p host='clusterb-2.fakesite.grid5000.fr' -p cpu=4 -p core=32 -p cpuset=15 -p gpu=8 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=3 # This GPU is mapped on /dev/nvidia3 - TXT +TXT expected_clusterb3_cmds = <<-TXT oarnodesetting --sql "host='clusterb-2.fakesite.grid5000.fr' and type='default'" -p ip='172.16.64.2' -p cluster='clusterb' -p nodemodel='Dell PowerEdge T640' -p virtual='ivt' -p cpuarch='x86_64' -p cpucore=8 -p cputype='Intel Xeon Silver 4110' -p cpufreq='2.1' -p disktype='SATA' -p eth_count=1 -p eth_rate=10 -p ib_count=0 -p ib_rate=0 -p ib='NO' -p opa_count=0 -p opa_rate=0 -p opa='NO' -p myri_count=0 -p myri_rate=0 -p myri='NO' -p memcore=8192 -p memcpu=65536 -p memnode=131072 -p gpu_count=4 -p mic='NO' -p wattmeter='MULTIPLE' -p cluster_priority=201906 -p max_walltime=86400 -p production='YES' -p maintenance='NO' -p disk_reservation_count=3 - TXT +TXT expected_clusterb4_cmds = <<-TXT echo '================================================================================' @@ -620,7 +673,7 @@ TXT ["+", "switch", nil] ["+", "virtual", "ivt"] ["+", "wattmeter", "MULTIPLE"] - TXT +TXT expected_clusterb2_diff = <<-TXT clusterb-2: new node ! @@ -656,7 +709,7 @@ TXT ["+", "switch", nil] ["+", "virtual", "ivt"] ["+", "wattmeter", "MULTIPLE"] - TXT +TXT expected_clusterb3_diff = <<-TXT ["clusterb-1", "sdb.clusterb-1"]: new disk ! @@ -725,7 +778,7 @@ TXT ["+", "maintenance", "NO"] ["+", "network_address", ""] ["+", "production", "YES"] - TXT +TXT generator_output = capture do generate_oar_properties(options) @@ -739,7 +792,7 @@ TXT - context 'OAR server with data' do + context 'OAR server with data (cluster with disk)' do before do prepare_stubs("dump_oar_api_configured_server_with_disk.json", "load_data_hierarchy_stubbed_data_with_disk.json") end @@ -765,7 +818,7 @@ TXT +---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ | cluster | host | cpu | core | cpuset | gpu | gpudevice | cpumodel | gpumodel | +---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ - TXT +TXT expected_clusterb1_desc = <<-TXT | clusterb | clusterb-1 | 1 | 1 | 0 | 1 | 0 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | @@ -774,7 +827,7 @@ TXT | clusterb | clusterb-1 | 1 | 4 | 3 | 1 | 0 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clusterb | clusterb-1 | 1 | 5 | 4 | 2 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clusterb | clusterb-1 | 1 | 6 | 5 | 2 | 1 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | - TXT +TXT expected_clusterb2_desc = <<-TXT | clusterb | clusterb-2 | 4 | 26 | 9 | 7 | 2 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | @@ -784,7 +837,7 @@ TXT | clusterb | clusterb-2 | 4 | 30 | 13 | 8 | 3 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clusterb | clusterb-2 | 4 | 31 | 14 | 8 | 3 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | | clusterb | clusterb-2 | 4 | 32 | 15 | 8 | 3 | Intel Xeon Silver 4110 | GeForce RTX 2080 Ti | - TXT +TXT generator_output = capture do generate_oar_properties(options) @@ -822,7 +875,7 @@ property_exist 'core' || oarproperty -a core property_exist 'gpudevice' || oarproperty -a gpudevice property_exist 'gpu' || oarproperty -a gpu property_exist 'gpu_model' || oarproperty -a gpu_model --varchar - TXT +TXT expected_clusterb1_cmds = <<-TXT ################################### @@ -832,7 +885,7 @@ oarnodesetting --sql "host='clusterb-1.fakesite.grid5000.fr' AND resource_id='1' oarnodesetting --sql "host='clusterb-1.fakesite.grid5000.fr' AND resource_id='2' AND type='default'" -p cpu=1 -p core=2 -p cpuset=1 -p gpu=1 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=0 # This GPU is mapped on /dev/nvidia0 oarnodesetting --sql "host='clusterb-1.fakesite.grid5000.fr' AND resource_id='3' AND type='default'" -p cpu=1 -p core=3 -p cpuset=2 -p gpu=1 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=0 # This GPU is mapped on /dev/nvidia0 oarnodesetting --sql "host='clusterb-1.fakesite.grid5000.fr' AND resource_id='4' AND type='default'" -p cpu=1 -p core=4 -p cpuset=3 -p gpu=1 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=0 # This GPU is mapped on /dev/nvidia0 - TXT +TXT expected_clusterb2_cmds = <<-TXT ################################### @@ -854,11 +907,11 @@ oarnodesetting --sql "host='clusterb-2.fakesite.grid5000.fr' AND resource_id='32 oarnodesetting --sql "host='clusterb-2.fakesite.grid5000.fr' AND resource_id='33' AND type='default'" -p cpu=4 -p core=30 -p cpuset=13 -p gpu=8 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=3 # This GPU is mapped on /dev/nvidia3 oarnodesetting --sql "host='clusterb-2.fakesite.grid5000.fr' AND resource_id='34' AND type='default'" -p cpu=4 -p core=31 -p cpuset=14 -p gpu=8 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=3 # This GPU is mapped on /dev/nvidia3 oarnodesetting --sql "host='clusterb-2.fakesite.grid5000.fr' AND resource_id='35' AND type='default'" -p cpu=4 -p core=32 -p cpuset=15 -p gpu=8 -p gpu_model='GeForce RTX 2080 Ti' -p gpudevice=3 # This GPU is mapped on /dev/nvidia3 - TXT +TXT expected_clusterb3_cmds = <<-TXT oarnodesetting --sql "host='clusterb-2.fakesite.grid5000.fr' and type='default'" -p ip='172.16.64.2' -p cluster='clusterb' -p nodemodel='Dell PowerEdge T640' -p virtual='ivt' -p cpuarch='x86_64' -p cpucore=8 -p cputype='Intel Xeon Silver 4110' -p cpufreq='2.1' -p disktype='SATA' -p eth_count=1 -p eth_rate=10 -p ib_count=0 -p ib_rate=0 -p ib='NO' -p opa_count=0 -p opa_rate=0 -p opa='NO' -p myri_count=0 -p myri_rate=0 -p myri='NO' -p memcore=8192 -p memcpu=65536 -p memnode=131072 -p gpu_count=4 -p mic='NO' -p wattmeter='MULTIPLE' -p cluster_priority=201906 -p max_walltime=86400 -p production='YES' -p maintenance='NO' -p disk_reservation_count=3 - TXT +TXT generator_output = capture do generate_oar_properties(options) @@ -890,11 +943,11 @@ oarnodesetting --sql "host='clusterb-2.fakesite.grid5000.fr' and type='default'" expected_clusterb1_diff = <<-TXT clusterb-1: OK - TXT +TXT expected_clusterb2_diff = <<-TXT clusterb-2: OK - TXT +TXT expected_clusterb3_diff = <<-TXT ["clusterb-1", "sdb.clusterb-1"]: OK @@ -903,7 +956,7 @@ oarnodesetting --sql "host='clusterb-2.fakesite.grid5000.fr' and type='default'" ["clusterb-2", "sdb.clusterb-2"]: OK ["clusterb-2", "sdc.clusterb-2"]: OK ["clusterb-2", "sdd.clusterb-2"]: OK - TXT +TXT generator_output = capture do generate_oar_properties(options) @@ -914,4 +967,372 @@ oarnodesetting --sql "host='clusterb-2.fakesite.grid5000.fr' and type='default'" expect(generator_output[:stdout]).to include(expected_clusterb3_diff) end end + + context 'interracting with an empty OAR server (without gpu)' do + before do + prepare_stubs("dump_oar_api_empty_server.json", "load_data_hierarchy_stubbed_data_without_gpu.json") + end + + it 'should generate correctly a table of nodes' do + + uri = URI(conf["uri"]) + + response = Net::HTTP.get(uri) + + expect(response).to be_an_instance_of(String) + + options = { + :table => true, + :print => false, + :update => false, + :diff => false, + :site => "fakesite", + :clusters => ["clusterc"] + } + + expected_header = <<-TXT ++---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ +| cluster | host | cpu | core | cpuset | gpu | gpudevice | cpumodel | gpumodel | ++---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ +TXT + + expected_clusterc1_desc = <<-TXT +| clusterc | clusterc-1 | 1 | 1 | 0 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 2 | 1 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 3 | 2 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 4 | 3 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 5 | 4 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 6 | 5 | | | Intel Xeon Silver 4110 | | +TXT + + expected_clusterc2_desc = <<-TXT +| clusterc | clusterc-2 | 4 | 26 | 9 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 27 | 10 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 28 | 11 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 29 | 12 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 30 | 13 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 31 | 14 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 32 | 15 | | | Intel Xeon Silver 4110 | | +TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_header) + expect(generator_output[:stdout]).to include(expected_clusterc1_desc) + expect(generator_output[:stdout]).to include(expected_clusterc2_desc) + end + + it 'should generate correctly all the commands to update OAR' do + + uri = URI(conf["uri"]) + + response = Net::HTTP.get(uri) + + expect(response).to be_an_instance_of(String) + + options = { + :table => false, + :print => true, + :update => false, + :diff => false, + :site => "fakesite", + :clusters => ["clusterc"] + } + + expected_header = <<-TXT +############################################# +# Create OAR properties that were created by 'oar_resources_add' +############################################# +property_exist 'host' || oarproperty -a host --varchar +property_exist 'cpu' || oarproperty -a cpu +property_exist 'core' || oarproperty -a core +property_exist 'gpudevice' || oarproperty -a gpudevice +property_exist 'gpu' || oarproperty -a gpu +property_exist 'gpu_model' || oarproperty -a gpu_model --varchar +TXT + + expected_clusterc1_cmds = <<-TXT +################################### +# clusterc-1.fakesite.grid5000.fr +################################### +oarnodesetting -a -h 'clusterc-1.fakesite.grid5000.fr' -p host='clusterc-1.fakesite.grid5000.fr' -p cpu=1 -p core=1 -p cpuset=0 +oarnodesetting -a -h 'clusterc-1.fakesite.grid5000.fr' -p host='clusterc-1.fakesite.grid5000.fr' -p cpu=1 -p core=2 -p cpuset=1 +oarnodesetting -a -h 'clusterc-1.fakesite.grid5000.fr' -p host='clusterc-1.fakesite.grid5000.fr' -p cpu=1 -p core=3 -p cpuset=2 +TXT + + + + expected_clusterc2_cmds = <<-TXT +oarnodesetting -a -h 'clusterc-2.fakesite.grid5000.fr' -p host='clusterc-2.fakesite.grid5000.fr' -p cpu=4 -p core=29 -p cpuset=12 +oarnodesetting -a -h 'clusterc-2.fakesite.grid5000.fr' -p host='clusterc-2.fakesite.grid5000.fr' -p cpu=4 -p core=30 -p cpuset=13 +oarnodesetting -a -h 'clusterc-2.fakesite.grid5000.fr' -p host='clusterc-2.fakesite.grid5000.fr' -p cpu=4 -p core=31 -p cpuset=14 +oarnodesetting -a -h 'clusterc-2.fakesite.grid5000.fr' -p host='clusterc-2.fakesite.grid5000.fr' -p cpu=4 -p core=32 -p cpuset=15 +TXT + expected_clusterc3_cmds = <<-TXT +oarnodesetting --sql "host='clusterc-2.fakesite.grid5000.fr' and type='default'" -p ip='172.16.64.2' -p cluster='clusterc' -p nodemodel='Dell PowerEdge T640' -p virtual='ivt' -p cpuarch='x86_64' -p cpucore=8 -p cputype='Intel Xeon Silver 4110' -p cpufreq='2.1' -p disktype='SATA' -p eth_count=1 -p eth_rate=10 -p ib_count=0 -p ib_rate=0 -p ib='NO' -p opa_count=0 -p opa_rate=0 -p opa='NO' -p myri_count=0 -p myri_rate=0 -p myri='NO' -p memcore=8192 -p memcpu=65536 -p memnode=131072 -p gpu_count=0 -p mic='NO' -p wattmeter='MULTIPLE' -p cluster_priority=201906 -p max_walltime=86400 -p production='YES' -p maintenance='NO' -p disk_reservation_count=3 +TXT + + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_header) + expect(generator_output[:stdout]).to include(expected_clusterc1_cmds) + expect(generator_output[:stdout]).to include(expected_clusterc2_cmds) + expect(generator_output[:stdout]).to include(expected_clusterc3_cmds) + end + + it 'should generate correctly a diff with the OAR server' do + + uri = URI(conf["uri"]) + + response = Net::HTTP.get(uri) + + expect(response).to be_an_instance_of(String) + + options = { + :table => false, + :print => false, + :update => false, + :diff => true, + :site => "fakesite", + :clusters => ["clusterc"], + :verbose => 2 + } + + expected_clusterc1_diff = <<-TXT + clusterc-1: new node ! + ["+", "cluster", "clusterc"] + ["+", "cluster_priority", 201906] + ["+", "cpuarch", "x86_64"] + ["+", "cpucore", 8] + ["+", "cpufreq", "2.1"] + ["+", "cputype", "Intel Xeon Silver 4110"] + ["+", "disk_reservation_count", 3] + ["+", "disktype", "SATA"] + ["+", "eth_count", 1] + ["+", "eth_rate", 10] + ["+", "gpu_count", 0] + ["+", "ib", "NO"] + ["+", "ib_count", 0] + ["+", "ib_rate", 0] + ["+", "ip", "172.16.64.1"] + ["+", "maintenance", "NO"] + ["+", "max_walltime", 86400] + ["+", "memcore", 8192] + ["+", "memcpu", 65536] + ["+", "memnode", 131072] + ["+", "mic", "NO"] + ["+", "myri", "NO"] + ["+", "myri_count", 0] + ["+", "myri_rate", 0] + ["+", "nodemodel", "Dell PowerEdge T640"] + ["+", "opa", "NO"] + ["+", "opa_count", 0] + ["+", "opa_rate", 0] + ["+", "production", "YES"] + ["+", "switch", nil] + ["+", "virtual", "ivt"] + ["+", "wattmeter", "MULTIPLE"] +TXT + + expected_clusterc2_diff = <<-TXT + clusterc-2: new node ! + ["+", "cluster", "clusterc"] + ["+", "cluster_priority", 201906] + ["+", "cpuarch", "x86_64"] + ["+", "cpucore", 8] + ["+", "cpufreq", "2.1"] + ["+", "cputype", "Intel Xeon Silver 4110"] + ["+", "disk_reservation_count", 3] + ["+", "disktype", "SATA"] + ["+", "eth_count", 1] + ["+", "eth_rate", 10] + ["+", "gpu_count", 0] + ["+", "ib", "NO"] + ["+", "ib_count", 0] + ["+", "ib_rate", 0] + ["+", "ip", "172.16.64.2"] + ["+", "maintenance", "NO"] + ["+", "max_walltime", 86400] + ["+", "memcore", 8192] + ["+", "memcpu", 65536] + ["+", "memnode", 131072] + ["+", "mic", "NO"] + ["+", "myri", "NO"] + ["+", "myri_count", 0] + ["+", "myri_rate", 0] + ["+", "nodemodel", "Dell PowerEdge T640"] + ["+", "opa", "NO"] + ["+", "opa_count", 0] + ["+", "opa_rate", 0] + ["+", "production", "YES"] + ["+", "switch", nil] + ["+", "virtual", "ivt"] + ["+", "wattmeter", "MULTIPLE"] +TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_clusterc1_diff) + expect(generator_output[:stdout]).to include(expected_clusterc2_diff) + end + end + + context 'interracting with a configured OAR server (without gpu)' do + before do + prepare_stubs("dump_oar_api_configured_server_without_gpu.json", "load_data_hierarchy_stubbed_data_without_gpu.json") + end + + it 'should generate correctly a table of nodes' do + + uri = URI(conf["uri"]) + + response = Net::HTTP.get(uri) + + expect(response).to be_an_instance_of(String) + + options = { + :table => true, + :print => false, + :update => false, + :diff => false, + :site => "fakesite", + :clusters => ["clusterc"] + } + + expected_header = <<-TXT ++---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ +| cluster | host | cpu | core | cpuset | gpu | gpudevice | cpumodel | gpumodel | ++---------- + -------------------- + ----- + ----- + -------- + ---- + -------------------- + ------------------------------ + ------------------------------+ +TXT + + expected_clusterc1_desc = <<-TXT +| clusterc | clusterc-1 | 1 | 1 | 0 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 2 | 1 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 3 | 2 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 4 | 3 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 5 | 4 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-1 | 1 | 6 | 5 | | | Intel Xeon Silver 4110 | | +TXT + + expected_clusterc2_desc = <<-TXT +| clusterc | clusterc-2 | 4 | 26 | 9 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 27 | 10 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 28 | 11 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 29 | 12 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 30 | 13 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 31 | 14 | | | Intel Xeon Silver 4110 | | +| clusterc | clusterc-2 | 4 | 32 | 15 | | | Intel Xeon Silver 4110 | | +TXT + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_header) + expect(generator_output[:stdout]).to include(expected_clusterc1_desc) + expect(generator_output[:stdout]).to include(expected_clusterc2_desc) + end + + it 'should generate correctly all the commands to update OAR' do + + uri = URI(conf["uri"]) + + response = Net::HTTP.get(uri) + + expect(response).to be_an_instance_of(String) + + options = { + :table => false, + :print => true, + :update => false, + :diff => false, + :site => "fakesite", + :clusters => ["clusterc"] + } + + expected_header = <<-TXT +############################################# +# Create OAR properties that were created by 'oar_resources_add' +############################################# +property_exist 'host' || oarproperty -a host --varchar +property_exist 'cpu' || oarproperty -a cpu +property_exist 'core' || oarproperty -a core +property_exist 'gpudevice' || oarproperty -a gpudevice +property_exist 'gpu' || oarproperty -a gpu +property_exist 'gpu_model' || oarproperty -a gpu_model --varchar +TXT + + expected_clusterc1_cmds = <<-TXT +################################### +# clusterc-1.fakesite.grid5000.fr +################################### +oarnodesetting --sql "host='clusterc-1.fakesite.grid5000.fr' AND resource_id='1' AND type='default'" -p cpu=1 -p core=1 -p cpuset=0 +oarnodesetting --sql "host='clusterc-1.fakesite.grid5000.fr' AND resource_id='2' AND type='default'" -p cpu=1 -p core=2 -p cpuset=1 +oarnodesetting --sql "host='clusterc-1.fakesite.grid5000.fr' AND resource_id='3' AND type='default'" -p cpu=1 -p core=3 -p cpuset=2 +TXT + + expected_clusterc2_cmds = <<-TXT +oarnodesetting --sql "host='clusterc-2.fakesite.grid5000.fr' AND resource_id='32' AND type='default'" -p cpu=4 -p core=29 -p cpuset=12 +oarnodesetting --sql "host='clusterc-2.fakesite.grid5000.fr' AND resource_id='33' AND type='default'" -p cpu=4 -p core=30 -p cpuset=13 +oarnodesetting --sql "host='clusterc-2.fakesite.grid5000.fr' AND resource_id='34' AND type='default'" -p cpu=4 -p core=31 -p cpuset=14 +oarnodesetting --sql "host='clusterc-2.fakesite.grid5000.fr' AND resource_id='35' AND type='default'" -p cpu=4 -p core=32 -p cpuset=15 +TXT + expected_clusterc3_cmds = <<-TXT +oarnodesetting --sql "host='clusterc-2.fakesite.grid5000.fr' and type='default'" -p ip='172.16.64.2' -p cluster='clusterc' -p nodemodel='Dell PowerEdge T640' -p virtual='ivt' -p cpuarch='x86_64' -p cpucore=8 -p cputype='Intel Xeon Silver 4110' -p cpufreq='2.1' -p disktype='SATA' -p eth_count=1 -p eth_rate=10 -p ib_count=0 -p ib_rate=0 -p ib='NO' -p opa_count=0 -p opa_rate=0 -p opa='NO' -p myri_count=0 -p myri_rate=0 -p myri='NO' -p memcore=8192 -p memcpu=65536 -p memnode=131072 -p gpu_count=0 -p mic='NO' -p wattmeter='MULTIPLE' -p cluster_priority=201906 -p max_walltime=86400 -p production='YES' -p maintenance='NO' -p disk_reservation_count=3 +TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_header) + expect(generator_output[:stdout]).to include(expected_clusterc1_cmds) + expect(generator_output[:stdout]).to include(expected_clusterc2_cmds) + expect(generator_output[:stdout]).to include(expected_clusterc3_cmds) + end + + it 'should generate correctly a diff with the OAR server' do + + uri = URI(conf["uri"]) + + response = Net::HTTP.get(uri) + + expect(response).to be_an_instance_of(String) + + options = { + :table => false, + :print => false, + :update => false, + :diff => true, + :site => "fakesite", + :clusters => ["clusterc"], + :verbose => 2 + } + + expected_clusterc1_diff = <<-TXT +Output format: [ '-', 'key', 'value'] for missing, [ '+', 'key', 'value'] for added, ['~', 'key', 'old value', 'new value'] for changed + clusterc-1: OK + clusterc-2: OK + ["clusterc-1", "sdb.clusterc-1"]: OK + ["clusterc-1", "sdc.clusterc-1"]: OK + ["clusterc-1", "sdd.clusterc-1"]: OK + ["clusterc-2", "sdb.clusterc-2"]: OK + ["clusterc-2", "sdc.clusterc-2"]: OK + ["clusterc-2", "sdd.clusterc-2"]: OK +TXT + + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_clusterc1_diff) + end + end end diff --git a/spec/stub_oar_properties/dump_oar_api_configured_server_without_gpu.json b/spec/stub_oar_properties/dump_oar_api_configured_server_without_gpu.json new file mode 100644 index 0000000000000000000000000000000000000000..83e5bd6b14119b18b92dbce3d9065436766676a5 --- /dev/null +++ b/spec/stub_oar_properties/dump_oar_api_configured_server_without_gpu.json @@ -0,0 +1,2978 @@ +{ + "links" : [ + { + "href" : "//oarapi/resources/details.json?limit=999999&offset=0", + "rel" : "self" + } + ], + "total" : 38, + "offset" : 0, + "items" : [ + { + "opa" : "NO", + "myri_count" : 0, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "api_timestamp" : 1569605253, + "cpuset" : 0, + "ib_count" : 0, + "state" : "Alive", + "cpuarch" : "x86_64", + "eth_rate" : 10, + "nodemodel" : "Dell PowerEdge T640", + "gpu" : null, + "max_walltime" : 86400, + "besteffort" : "YES", + "host" : "clusterc-1.fakesite.grid5000.fr", + "maintenance" : "NO", + "cpucore" : 8, + "gpu_model" : null, + "opa_rate" : 0, + "state_num" : 1, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "next_finaud_decision" : "NO", + "cpu" : 1, + "drain" : "NO", + "core" : 1, + "scheduler_priority" : 0, + "type" : "default", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "last_available_upto" : 0, + "expiry_date" : 0, + "ip" : "172.16.64.1", + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "rel" : "member", + "title" : "node" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/1" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/1/jobs" + } + ], + "last_job_date" : 0, + "id" : 1, + "memnode" : 131072, + "cluster_priority" : 201906, + "disk" : null, + "switch" : null, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "memcore" : 8192, + "diskpath" : null, + "virtual" : "ivt", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "ib_rate" : 0, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "production" : "YES", + "ib" : "NO" + }, + { + "cpu" : 1, + "next_finaud_decision" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "core" : 2, + "drain" : "NO", + "disktype" : "SATA", + "myri" : "NO", + "myri_rate" : 0, + "last_available_upto" : 0, + "expiry_date" : 0, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "finaud_decision" : "NO", + "eth_count" : 1, + "state" : "Alive", + "ib_count" : 0, + "cpuset" : 1, + "eth_rate" : 10, + "cpuarch" : "x86_64", + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "myri_count" : 0, + "opa" : "NO", + "api_timestamp" : 1569605253, + "maintenance" : "NO", + "gpu_model" : null, + "host" : "clusterc-1.fakesite.grid5000.fr", + "cpucore" : 8, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : 0, + "gpu" : null, + "max_walltime" : 86400, + "nodemodel" : "Dell PowerEdge T640", + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "ib_rate" : 0, + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "virtual" : "ivt", + "ib" : "NO", + "production" : "YES", + "memcpu" : 65536, + "next_state" : "UnChanged", + "opa_count" : 0, + "id" : 2, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "rel" : "member", + "title" : "node" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/2" + }, + { + "href" : "//oarapi/resources/2/jobs", + "title" : "jobs", + "rel" : "collection" + } + ], + "last_job_date" : 0, + "memnode" : 131072, + "cluster_priority" : 201906, + "ip" : "172.16.64.1", + "available_upto" : 2147483647, + "deploy" : "NO", + "suspended_jobs" : "NO", + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "diskpath" : null, + "disk" : null, + "switch" : null + }, + { + "disk" : null, + "switch" : null, + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "diskpath" : null, + "ip" : "172.16.64.1", + "deploy" : "NO", + "available_upto" : 2147483647, + "suspended_jobs" : "NO", + "links" : [ + { + "rel" : "member", + "title" : "node", + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/3" + }, + { + "href" : "//oarapi/resources/3/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "id" : 3, + "last_job_date" : 0, + "cluster_priority" : 201906, + "memnode" : 131072, + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "ib" : "NO", + "production" : "YES", + "ib_rate" : 0, + "virtual" : "ivt", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "desktop_computing" : "NO", + "gpudevice" : null, + "mic" : "NO", + "gpu" : null, + "max_walltime" : 86400, + "nodemodel" : "Dell PowerEdge T640", + "gpu_model" : null, + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "cpucore" : 8, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : 0, + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "opa" : "NO", + "myri_count" : 0, + "api_timestamp" : 1569605253, + "state" : "Alive", + "ib_count" : 0, + "cpuset" : 2, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "finaud_decision" : "NO", + "eth_count" : 1, + "last_available_upto" : 0, + "expiry_date" : 0, + "disktype" : "SATA", + "myri" : "NO", + "myri_rate" : 0, + "cpu" : 1, + "next_finaud_decision" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "drain" : "NO", + "core" : 3 + }, + { + "cluster_priority" : 201906, + "memnode" : 131072, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/4" + }, + { + "href" : "//oarapi/resources/4/jobs", + "title" : "jobs", + "rel" : "collection" + } + ], + "last_job_date" : 0, + "id" : 4, + "available_upto" : 2147483647, + "deploy" : "NO", + "suspended_jobs" : "NO", + "ip" : "172.16.64.1", + "diskpath" : null, + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "switch" : null, + "disk" : null, + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "ib_rate" : 0, + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "virtual" : "ivt", + "production" : "YES", + "ib" : "NO", + "opa_count" : 0, + "next_state" : "UnChanged", + "memcpu" : 65536, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "state" : "Alive", + "ib_count" : 0, + "cpuset" : 3, + "api_timestamp" : 1569605253, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "opa" : "NO", + "myri_count" : 0, + "state_num" : 1, + "opa_rate" : 0, + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "gpu_model" : null, + "cpucore" : 8, + "besteffort" : "YES", + "gpu" : null, + "max_walltime" : 86400, + "nodemodel" : "Dell PowerEdge T640", + "type" : "default", + "scheduler_priority" : 0, + "core" : 4, + "drain" : "NO", + "cpu" : 1, + "next_finaud_decision" : "NO", + "myri_rate" : 0, + "disktype" : "SATA", + "myri" : "NO", + "expiry_date" : 0, + "last_available_upto" : 0, + "finaud_decision" : "NO", + "eth_count" : 1, + "disk_reservation_count" : 3, + "cpufreq" : "2.1" + }, + { + "finaud_decision" : "NO", + "eth_count" : 1, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "expiry_date" : 0, + "last_available_upto" : 0, + "myri_rate" : 0, + "disktype" : "SATA", + "myri" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "drain" : "NO", + "core" : 5, + "next_finaud_decision" : "NO", + "cpu" : 1, + "gpu" : null, + "max_walltime" : 86400, + "nodemodel" : "Dell PowerEdge T640", + "state_num" : 1, + "opa_rate" : 0, + "host" : "clusterc-1.fakesite.grid5000.fr", + "maintenance" : "NO", + "cpucore" : 8, + "gpu_model" : null, + "besteffort" : "YES", + "api_timestamp" : 1569605253, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "myri_count" : 0, + "opa" : "NO", + "eth_rate" : 10, + "cpuarch" : "x86_64", + "state" : "Alive", + "ib_count" : 0, + "cpuset" : 4, + "opa_count" : 0, + "next_state" : "UnChanged", + "memcpu" : 65536, + "ib" : "NO", + "production" : "YES", + "ib_rate" : 0, + "virtual" : "ivt", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "switch" : null, + "disk" : null, + "diskpath" : null, + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "deploy" : "NO", + "available_upto" : 2147483647, + "suspended_jobs" : "NO", + "ip" : "172.16.64.1", + "memnode" : 131072, + "cluster_priority" : 201906, + "last_job_date" : 0, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/5" + }, + { + "title" : "jobs", + "rel" : "collection", + "href" : "//oarapi/resources/5/jobs" + } + ], + "id" : 5 + }, + { + "besteffort" : "YES", + "host" : "clusterc-1.fakesite.grid5000.fr", + "maintenance" : "NO", + "gpu_model" : null, + "cpucore" : 8, + "opa_rate" : 0, + "state_num" : 1, + "nodemodel" : "Dell PowerEdge T640", + "gpu" : null, + "max_walltime" : 86400, + "cpuset" : 5, + "ib_count" : 0, + "state" : "Alive", + "eth_rate" : 10, + "cpuarch" : "x86_64", + "opa" : "NO", + "myri_count" : 0, + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "api_timestamp" : 1569605253, + "last_available_upto" : 0, + "expiry_date" : 0, + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "cpu" : 1, + "next_finaud_decision" : "NO", + "core" : 6, + "drain" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192, + "diskpath" : null, + "disk" : null, + "switch" : null, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "href" : "//oarapi/resources/6", + "rel" : "self" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/6/jobs" + } + ], + "last_job_date" : 0, + "id" : 6, + "cluster_priority" : 201906, + "memnode" : 131072, + "ip" : "172.16.64.1", + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "ib" : "NO", + "production" : "YES", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "virtual" : "ivt", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "ib_rate" : 0 + }, + { + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "ib" : "NO", + "production" : "YES", + "ib_rate" : 0, + "virtual" : "ivt", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "desktop_computing" : "NO", + "gpudevice" : null, + "mic" : "NO", + "disk" : null, + "switch" : null, + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "diskpath" : null, + "ip" : "172.16.64.1", + "available_upto" : 2147483647, + "deploy" : "NO", + "suspended_jobs" : "NO", + "last_job_date" : 0, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/7" + }, + { + "href" : "//oarapi/resources/7/jobs", + "title" : "jobs", + "rel" : "collection" + } + ], + "id" : 7, + "cluster_priority" : 201906, + "memnode" : 131072, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "finaud_decision" : "NO", + "eth_count" : 1, + "last_available_upto" : 0, + "expiry_date" : 0, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "cpu" : 1, + "next_finaud_decision" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "drain" : "NO", + "core" : 7, + "gpu" : null, + "max_walltime" : 86400, + "nodemodel" : "Dell PowerEdge T640", + "gpu_model" : null, + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "cpucore" : 8, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : 0, + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "opa" : "NO", + "myri_count" : 0, + "api_timestamp" : 1569605253, + "ib_count" : 0, + "state" : "Alive", + "cpuset" : 6, + "cpuarch" : "x86_64", + "eth_rate" : 10 + }, + { + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "myri_count" : 0, + "opa" : "NO", + "api_timestamp" : 1569605253, + "state" : "Alive", + "ib_count" : 0, + "cpuset" : 7, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "gpu" : null, + "max_walltime" : 86400, + "nodemodel" : "Dell PowerEdge T640", + "maintenance" : "NO", + "cpucore" : 8, + "host" : "clusterc-1.fakesite.grid5000.fr", + "gpu_model" : null, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : 0, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "cpu" : 1, + "next_finaud_decision" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "drain" : "NO", + "core" : 8, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "finaud_decision" : "NO", + "eth_count" : 1, + "last_available_upto" : 0, + "expiry_date" : 0, + "ip" : "172.16.64.1", + "available_upto" : 2147483647, + "deploy" : "NO", + "suspended_jobs" : "NO", + "id" : 8, + "links" : [ + { + "rel" : "member", + "title" : "node", + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr" + }, + { + "href" : "//oarapi/resources/8", + "rel" : "self" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/8/jobs" + } + ], + "last_job_date" : 0, + "memnode" : 131072, + "cluster_priority" : 201906, + "disk" : null, + "switch" : null, + "memcore" : 8192, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "diskpath" : null, + "ib_rate" : 0, + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "virtual" : "ivt", + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "production" : "YES", + "ib" : "NO" + }, + { + "production" : "YES", + "ib" : "NO", + "opa_count" : 0, + "next_state" : "UnChanged", + "memcpu" : 65536, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "virtual" : "ivt", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "ib_rate" : 0, + "diskpath" : null, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192, + "switch" : null, + "disk" : null, + "cluster_priority" : 201906, + "memnode" : 131072, + "links" : [ + { + "rel" : "member", + "title" : "node", + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/9" + }, + { + "href" : "//oarapi/resources/9/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "last_job_date" : 0, + "id" : 9, + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "ip" : "172.16.64.1", + "expiry_date" : 0, + "last_available_upto" : 0, + "eth_count" : 1, + "finaud_decision" : "NO", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "core" : 9, + "drain" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "next_finaud_decision" : "NO", + "cpu" : 2, + "myri_rate" : 0, + "myri" : "NO", + "disktype" : "SATA", + "opa_rate" : 0, + "state_num" : 1, + "besteffort" : "YES", + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "cpucore" : 8, + "gpu_model" : null, + "nodemodel" : "Dell PowerEdge T640", + "gpu" : null, + "max_walltime" : 86400, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "cpuset" : 8, + "ib_count" : 0, + "state" : "Alive", + "api_timestamp" : 1569605253, + "myri_count" : 0, + "opa" : "NO", + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc" + }, + { + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "ib" : "NO", + "production" : "YES", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "virtual" : "ivt", + "ib_rate" : 0, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "disk" : null, + "switch" : null, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192, + "diskpath" : null, + "ip" : "172.16.64.1", + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "last_job_date" : 0, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "href" : "//oarapi/resources/10", + "rel" : "self" + }, + { + "href" : "//oarapi/resources/10/jobs", + "title" : "jobs", + "rel" : "collection" + } + ], + "id" : 10, + "cluster_priority" : 201906, + "memnode" : 131072, + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "last_available_upto" : 0, + "expiry_date" : 0, + "disktype" : "SATA", + "myri" : "NO", + "myri_rate" : 0, + "next_finaud_decision" : "NO", + "cpu" : 2, + "drain" : "NO", + "core" : 10, + "type" : "default", + "scheduler_priority" : 0, + "nodemodel" : "Dell PowerEdge T640", + "max_walltime" : 86400, + "gpu" : null, + "besteffort" : "YES", + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "gpu_model" : null, + "cpucore" : 8, + "opa_rate" : 0, + "state_num" : 1, + "myri_count" : 0, + "opa" : "NO", + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "api_timestamp" : 1569605253, + "cpuset" : 9, + "ib_count" : 0, + "state" : "Alive", + "eth_rate" : 10, + "cpuarch" : "x86_64" + }, + { + "cpu" : 2, + "next_finaud_decision" : "NO", + "core" : 11, + "drain" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "last_available_upto" : 0, + "expiry_date" : 0, + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "cpuset" : 10, + "state" : "Alive", + "ib_count" : 0, + "eth_rate" : 10, + "cpuarch" : "x86_64", + "opa" : "NO", + "myri_count" : 0, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "api_timestamp" : 1569605253, + "besteffort" : "YES", + "gpu_model" : null, + "maintenance" : "NO", + "cpucore" : 8, + "host" : "clusterc-1.fakesite.grid5000.fr", + "opa_rate" : 0, + "state_num" : 1, + "nodemodel" : "Dell PowerEdge T640", + "max_walltime" : 86400, + "gpu" : null, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "virtual" : "ivt", + "ib_rate" : 0, + "production" : "YES", + "ib" : "NO", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/11" + }, + { + "href" : "//oarapi/resources/11/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "last_job_date" : 0, + "id" : 11, + "cluster_priority" : 201906, + "memnode" : 131072, + "ip" : "172.16.64.1", + "suspended_jobs" : "NO", + "deploy" : "NO", + "available_upto" : 2147483647, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192, + "diskpath" : null, + "disk" : null, + "switch" : null + }, + { + "myri_rate" : 0, + "myri" : "NO", + "disktype" : "SATA", + "drain" : "NO", + "core" : 12, + "scheduler_priority" : 0, + "type" : "default", + "next_finaud_decision" : "NO", + "cpu" : 2, + "eth_count" : 1, + "finaud_decision" : "NO", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "expiry_date" : 0, + "last_available_upto" : 0, + "api_timestamp" : 1569605253, + "myri_count" : 0, + "opa" : "NO", + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "cpuarch" : "x86_64", + "eth_rate" : 10, + "cpuset" : 11, + "ib_count" : 0, + "state" : "Alive", + "nodemodel" : "Dell PowerEdge T640", + "max_walltime" : 86400, + "gpu" : null, + "opa_rate" : 0, + "state_num" : 1, + "besteffort" : "YES", + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "gpu_model" : null, + "cpucore" : 8, + "virtual" : "ivt", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "ib_rate" : 0, + "mic" : "NO", + "desktop_computing" : "NO", + "gpudevice" : null, + "opa_count" : 0, + "memcpu" : 65536, + "next_state" : "UnChanged", + "ib" : "NO", + "production" : "YES", + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "ip" : "172.16.64.1", + "memnode" : 131072, + "cluster_priority" : 201906, + "id" : 12, + "links" : [ + { + "rel" : "member", + "title" : "node", + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr" + }, + { + "href" : "//oarapi/resources/12", + "rel" : "self" + }, + { + "title" : "jobs", + "rel" : "collection", + "href" : "//oarapi/resources/12/jobs" + } + ], + "last_job_date" : 0, + "switch" : null, + "disk" : null, + "diskpath" : null, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192 + }, + { + "expiry_date" : 0, + "last_available_upto" : 0, + "eth_count" : 1, + "finaud_decision" : "NO", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "core" : 13, + "drain" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "cpu" : 2, + "next_finaud_decision" : "NO", + "myri_rate" : 0, + "disktype" : "SATA", + "myri" : "NO", + "opa_rate" : 0, + "state_num" : 1, + "besteffort" : "YES", + "host" : "clusterc-1.fakesite.grid5000.fr", + "maintenance" : "NO", + "gpu_model" : null, + "cpucore" : 8, + "nodemodel" : "Dell PowerEdge T640", + "gpu" : null, + "max_walltime" : 86400, + "eth_rate" : 10, + "cpuarch" : "x86_64", + "cpuset" : 12, + "ib_count" : 0, + "state" : "Alive", + "api_timestamp" : 1569605253, + "opa" : "NO", + "myri_count" : 0, + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "ib" : "NO", + "production" : "YES", + "opa_count" : 0, + "next_state" : "UnChanged", + "memcpu" : 65536, + "mic" : "NO", + "desktop_computing" : "NO", + "gpudevice" : null, + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "virtual" : "ivt", + "ib_rate" : 0, + "diskpath" : null, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192, + "switch" : null, + "disk" : null, + "cluster_priority" : 201906, + "memnode" : 131072, + "last_job_date" : 0, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/13" + }, + { + "title" : "jobs", + "rel" : "collection", + "href" : "//oarapi/resources/13/jobs" + } + ], + "id" : 13, + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "ip" : "172.16.64.1" + }, + { + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "opa" : "NO", + "myri_count" : 0, + "api_timestamp" : 1569605253, + "state" : "Alive", + "ib_count" : 0, + "cpuset" : 13, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "max_walltime" : 86400, + "gpu" : null, + "nodemodel" : "Dell PowerEdge T640", + "host" : "clusterc-1.fakesite.grid5000.fr", + "maintenance" : "NO", + "gpu_model" : null, + "cpucore" : 8, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : 0, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "next_finaud_decision" : "NO", + "cpu" : 2, + "scheduler_priority" : 0, + "type" : "default", + "core" : 14, + "drain" : "NO", + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "finaud_decision" : "NO", + "eth_count" : 1, + "last_available_upto" : 0, + "expiry_date" : 0, + "ip" : "172.16.64.1", + "available_upto" : 2147483647, + "deploy" : "NO", + "suspended_jobs" : "NO", + "links" : [ + { + "title" : "node", + "rel" : "member", + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr" + }, + { + "href" : "//oarapi/resources/14", + "rel" : "self" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/14/jobs" + } + ], + "last_job_date" : 0, + "id" : 14, + "memnode" : 131072, + "cluster_priority" : 201906, + "disk" : null, + "switch" : null, + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "diskpath" : null, + "ib_rate" : 0, + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "virtual" : "ivt", + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "memcpu" : 65536, + "next_state" : "UnChanged", + "opa_count" : 0, + "production" : "YES", + "ib" : "NO" + }, + { + "besteffort" : "YES", + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "cpucore" : 8, + "gpu_model" : null, + "opa_rate" : 0, + "state_num" : 1, + "nodemodel" : "Dell PowerEdge T640", + "max_walltime" : 86400, + "gpu" : null, + "cpuset" : 14, + "ib_count" : 0, + "state" : "Alive", + "cpuarch" : "x86_64", + "eth_rate" : 10, + "myri_count" : 0, + "opa" : "NO", + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "api_timestamp" : 1569605253, + "last_available_upto" : 0, + "expiry_date" : 0, + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "next_finaud_decision" : "NO", + "cpu" : 2, + "core" : 15, + "drain" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "memcore" : 8192, + "diskpath" : null, + "disk" : null, + "switch" : null, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "rel" : "member", + "title" : "node" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/15" + }, + { + "title" : "jobs", + "rel" : "collection", + "href" : "//oarapi/resources/15/jobs" + } + ], + "last_job_date" : 0, + "id" : 15, + "cluster_priority" : 201906, + "memnode" : 131072, + "ip" : "172.16.64.1", + "suspended_jobs" : "NO", + "deploy" : "NO", + "available_upto" : 2147483647, + "production" : "YES", + "ib" : "NO", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "virtual" : "ivt", + "ib_rate" : 0 + }, + { + "ib" : "NO", + "production" : "YES", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "virtual" : "ivt", + "network_address" : "clusterc-1.fakesite.grid5000.fr", + "ib_rate" : 0, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192, + "diskpath" : null, + "disk" : null, + "switch" : null, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-1.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "href" : "//oarapi/resources/16", + "rel" : "self" + }, + { + "href" : "//oarapi/resources/16/jobs", + "title" : "jobs", + "rel" : "collection" + } + ], + "id" : 16, + "last_job_date" : 0, + "cluster_priority" : 201906, + "memnode" : 131072, + "ip" : "172.16.64.1", + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "last_available_upto" : 0, + "expiry_date" : 0, + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "next_finaud_decision" : "NO", + "cpu" : 2, + "drain" : "NO", + "core" : 16, + "type" : "default", + "scheduler_priority" : 0, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "besteffort" : "YES", + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "gpu_model" : null, + "cpucore" : 8, + "opa_rate" : 0, + "state_num" : 1, + "nodemodel" : "Dell PowerEdge T640", + "max_walltime" : 86400, + "gpu" : null, + "cpuset" : 15, + "ib_count" : 0, + "state" : "Alive", + "cpuarch" : "x86_64", + "eth_rate" : 10, + "opa" : "NO", + "myri_count" : 0, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "api_timestamp" : 1569605253 + }, + { + "opa_count" : null, + "next_state" : "UnChanged", + "memcpu" : null, + "ib" : null, + "production" : "YES", + "ib_rate" : null, + "virtual" : null, + "network_address" : "", + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : null, + "switch" : null, + "disk" : "sdb.clusterc-1", + "diskpath" : "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:1:0", + "memcore" : null, + "wattmeter" : null, + "gpu_count" : null, + "deploy" : "YES", + "available_upto" : 0, + "suspended_jobs" : "NO", + "ip" : null, + "memnode" : null, + "cluster_priority" : null, + "links" : [ + { + "href" : "//oarapi/resources/nodes/", + "title" : "node", + "rel" : "member" + }, + { + "href" : "//oarapi/resources/17", + "rel" : "self" + }, + { + "href" : "//oarapi/resources/17/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "id" : 17, + "last_job_date" : 0, + "finaud_decision" : "NO", + "eth_count" : null, + "disk_reservation_count" : null, + "cpufreq" : null, + "expiry_date" : 0, + "last_available_upto" : 0, + "myri_rate" : null, + "myri" : null, + "disktype" : null, + "scheduler_priority" : 0, + "type" : "disk", + "core" : null, + "drain" : "NO", + "cpu" : null, + "next_finaud_decision" : "NO", + "gpu" : null, + "max_walltime" : null, + "nodemodel" : null, + "state_num" : 1, + "opa_rate" : null, + "cpucore" : null, + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "gpu_model" : null, + "besteffort" : "YES", + "api_timestamp" : 1569605253, + "cputype" : null, + "cluster" : "clusterc", + "myri_count" : null, + "opa" : null, + "eth_rate" : null, + "cpuarch" : null, + "state" : "Alive", + "ib_count" : null, + "cpuset" : -1 + }, + { + "type" : "disk", + "scheduler_priority" : 0, + "core" : null, + "drain" : "NO", + "next_finaud_decision" : "NO", + "cpu" : null, + "myri_rate" : null, + "myri" : null, + "disktype" : null, + "expiry_date" : 0, + "last_available_upto" : 0, + "finaud_decision" : "NO", + "eth_count" : null, + "disk_reservation_count" : null, + "cpufreq" : null, + "cpuarch" : null, + "eth_rate" : null, + "ib_count" : null, + "state" : "Alive", + "cpuset" : -1, + "api_timestamp" : 1569605253, + "cluster" : "clusterc", + "cputype" : null, + "myri_count" : null, + "opa" : null, + "state_num" : 1, + "opa_rate" : null, + "maintenance" : "NO", + "cpucore" : null, + "host" : "clusterc-1.fakesite.grid5000.fr", + "gpu_model" : null, + "besteffort" : "YES", + "gpu" : null, + "max_walltime" : null, + "nodemodel" : null, + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : null, + "ib_rate" : null, + "network_address" : "", + "virtual" : null, + "production" : "YES", + "ib" : null, + "opa_count" : null, + "memcpu" : null, + "next_state" : "UnChanged", + "memnode" : null, + "cluster_priority" : null, + "last_job_date" : 0, + "links" : [ + { + "href" : "//oarapi/resources/nodes/", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/18" + }, + { + "title" : "jobs", + "rel" : "collection", + "href" : "//oarapi/resources/18/jobs" + } + ], + "id" : 18, + "available_upto" : 0, + "deploy" : "YES", + "suspended_jobs" : "NO", + "ip" : null, + "diskpath" : "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:2:0", + "memcore" : null, + "gpu_count" : null, + "wattmeter" : null, + "switch" : null, + "disk" : "sdc.clusterc-1" + }, + { + "expiry_date" : 0, + "last_available_upto" : 0, + "eth_count" : null, + "finaud_decision" : "NO", + "cpufreq" : null, + "disk_reservation_count" : null, + "drain" : "NO", + "core" : null, + "scheduler_priority" : 0, + "type" : "disk", + "next_finaud_decision" : "NO", + "cpu" : null, + "myri_rate" : null, + "disktype" : null, + "myri" : null, + "opa_rate" : null, + "state_num" : 1, + "besteffort" : "YES", + "maintenance" : "NO", + "host" : "clusterc-1.fakesite.grid5000.fr", + "cpucore" : null, + "gpu_model" : null, + "nodemodel" : null, + "max_walltime" : null, + "gpu" : null, + "eth_rate" : null, + "cpuarch" : null, + "cpuset" : -1, + "state" : "Alive", + "ib_count" : null, + "api_timestamp" : 1569605253, + "myri_count" : null, + "opa" : null, + "cputype" : null, + "cluster" : "clusterc", + "ib" : null, + "production" : "YES", + "opa_count" : null, + "next_state" : "UnChanged", + "memcpu" : null, + "mic" : null, + "gpudevice" : null, + "desktop_computing" : "NO", + "network_address" : "", + "virtual" : null, + "ib_rate" : null, + "diskpath" : "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:3:0", + "gpu_count" : null, + "wattmeter" : null, + "memcore" : null, + "switch" : null, + "disk" : "sdd.clusterc-1", + "cluster_priority" : null, + "memnode" : null, + "links" : [ + { + "title" : "node", + "rel" : "member", + "href" : "//oarapi/resources/nodes/" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/19" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/19/jobs" + } + ], + "id" : 19, + "last_job_date" : 0, + "suspended_jobs" : "NO", + "available_upto" : 0, + "deploy" : "YES", + "ip" : null + }, + { + "eth_count" : 1, + "finaud_decision" : "NO", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "expiry_date" : 0, + "last_available_upto" : 0, + "myri_rate" : 0, + "disktype" : "SATA", + "myri" : "NO", + "drain" : "NO", + "core" : 17, + "type" : "default", + "scheduler_priority" : 0, + "next_finaud_decision" : "NO", + "cpu" : 3, + "nodemodel" : "Dell PowerEdge T640", + "max_walltime" : 86400, + "gpu" : null, + "opa_rate" : 0, + "state_num" : 1, + "besteffort" : "YES", + "maintenance" : "NO", + "cpucore" : 8, + "host" : "clusterc-2.fakesite.grid5000.fr", + "gpu_model" : null, + "api_timestamp" : 1569605253, + "myri_count" : 0, + "opa" : "NO", + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "eth_rate" : 10, + "cpuarch" : "x86_64", + "cpuset" : 0, + "state" : "Alive", + "ib_count" : 0, + "opa_count" : 0, + "next_state" : "UnChanged", + "memcpu" : 65536, + "production" : "YES", + "ib" : "NO", + "virtual" : "ivt", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "ib_rate" : 0, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "switch" : null, + "disk" : null, + "diskpath" : null, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "memcore" : 8192, + "suspended_jobs" : "NO", + "deploy" : "NO", + "available_upto" : 2147483647, + "ip" : "172.16.64.2", + "cluster_priority" : 201906, + "memnode" : 131072, + "id" : 20, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "href" : "//oarapi/resources/20", + "rel" : "self" + }, + { + "title" : "jobs", + "rel" : "collection", + "href" : "//oarapi/resources/20/jobs" + } + ], + "last_job_date" : 0 + }, + { + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "ib_rate" : 0, + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "virtual" : "ivt", + "production" : "YES", + "ib" : "NO", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "links" : [ + { + "rel" : "member", + "title" : "node", + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr" + }, + { + "href" : "//oarapi/resources/21", + "rel" : "self" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/21/jobs" + } + ], + "id" : 21, + "last_job_date" : 0, + "cluster_priority" : 201906, + "memnode" : 131072, + "ip" : "172.16.64.2", + "deploy" : "NO", + "available_upto" : 2147483647, + "suspended_jobs" : "NO", + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "diskpath" : null, + "disk" : null, + "switch" : null, + "cpu" : 3, + "next_finaud_decision" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "drain" : "NO", + "core" : 18, + "disktype" : "SATA", + "myri" : "NO", + "myri_rate" : 0, + "last_available_upto" : 0, + "expiry_date" : 0, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "finaud_decision" : "NO", + "eth_count" : 1, + "state" : "Alive", + "ib_count" : 0, + "cpuset" : 1, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "myri_count" : 0, + "opa" : "NO", + "api_timestamp" : 1569605253, + "cpucore" : 8, + "maintenance" : "NO", + "host" : "clusterc-2.fakesite.grid5000.fr", + "gpu_model" : null, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : 0, + "gpu" : null, + "max_walltime" : 86400, + "nodemodel" : "Dell PowerEdge T640" + }, + { + "ib_rate" : 0, + "virtual" : "ivt", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "opa_count" : 0, + "next_state" : "UnChanged", + "memcpu" : 65536, + "production" : "YES", + "ib" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "suspended_jobs" : "NO", + "ip" : "172.16.64.2", + "cluster_priority" : 201906, + "memnode" : 131072, + "last_job_date" : 0, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/22" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/22/jobs" + } + ], + "id" : 22, + "switch" : null, + "disk" : null, + "diskpath" : null, + "memcore" : 8192, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "myri_rate" : 0, + "disktype" : "SATA", + "myri" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "core" : 19, + "drain" : "NO", + "next_finaud_decision" : "NO", + "cpu" : 3, + "finaud_decision" : "NO", + "eth_count" : 1, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "expiry_date" : 0, + "last_available_upto" : 0, + "api_timestamp" : 1569605253, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "opa" : "NO", + "myri_count" : 0, + "eth_rate" : 10, + "cpuarch" : "x86_64", + "ib_count" : 0, + "state" : "Alive", + "cpuset" : 2, + "gpu" : null, + "max_walltime" : 86400, + "nodemodel" : "Dell PowerEdge T640", + "state_num" : 1, + "opa_rate" : 0, + "maintenance" : "NO", + "gpu_model" : null, + "host" : "clusterc-2.fakesite.grid5000.fr", + "cpucore" : 8, + "besteffort" : "YES" + }, + { + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "ib_rate" : 0, + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "virtual" : "ivt", + "production" : "YES", + "ib" : "NO", + "opa_count" : 0, + "memcpu" : 65536, + "next_state" : "UnChanged", + "memnode" : 131072, + "cluster_priority" : 201906, + "last_job_date" : 0, + "links" : [ + { + "rel" : "member", + "title" : "node", + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr" + }, + { + "href" : "//oarapi/resources/23", + "rel" : "self" + }, + { + "href" : "//oarapi/resources/23/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "id" : 23, + "available_upto" : 2147483647, + "deploy" : "NO", + "suspended_jobs" : "NO", + "ip" : "172.16.64.2", + "diskpath" : null, + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "switch" : null, + "disk" : null, + "type" : "default", + "scheduler_priority" : 0, + "core" : 20, + "drain" : "NO", + "cpu" : 3, + "next_finaud_decision" : "NO", + "myri_rate" : 0, + "myri" : "NO", + "disktype" : "SATA", + "expiry_date" : 0, + "last_available_upto" : 0, + "finaud_decision" : "NO", + "eth_count" : 1, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "eth_rate" : 10, + "cpuarch" : "x86_64", + "state" : "Alive", + "ib_count" : 0, + "cpuset" : 3, + "api_timestamp" : 1569605253, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "opa" : "NO", + "myri_count" : 0, + "state_num" : 1, + "opa_rate" : 0, + "maintenance" : "NO", + "gpu_model" : null, + "cpucore" : 8, + "host" : "clusterc-2.fakesite.grid5000.fr", + "besteffort" : "YES", + "max_walltime" : 86400, + "gpu" : null, + "nodemodel" : "Dell PowerEdge T640" + }, + { + "mic" : "NO", + "desktop_computing" : "NO", + "gpudevice" : null, + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "virtual" : "ivt", + "ib_rate" : 0, + "production" : "YES", + "ib" : "NO", + "opa_count" : 0, + "memcpu" : 65536, + "next_state" : "UnChanged", + "memnode" : 131072, + "cluster_priority" : 201906, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "href" : "//oarapi/resources/24", + "rel" : "self" + }, + { + "href" : "//oarapi/resources/24/jobs", + "title" : "jobs", + "rel" : "collection" + } + ], + "id" : 24, + "last_job_date" : 0, + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "ip" : "172.16.64.2", + "diskpath" : null, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "memcore" : 8192, + "switch" : null, + "disk" : null, + "drain" : "NO", + "core" : 21, + "scheduler_priority" : 0, + "type" : "default", + "next_finaud_decision" : "NO", + "cpu" : 3, + "myri_rate" : 0, + "disktype" : "SATA", + "myri" : "NO", + "expiry_date" : 0, + "last_available_upto" : 0, + "eth_count" : 1, + "finaud_decision" : "NO", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_rate" : 10, + "cpuarch" : "x86_64", + "cpuset" : 4, + "state" : "Alive", + "ib_count" : 0, + "api_timestamp" : 1569605253, + "opa" : "NO", + "myri_count" : 0, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "opa_rate" : 0, + "state_num" : 1, + "besteffort" : "YES", + "host" : "clusterc-2.fakesite.grid5000.fr", + "maintenance" : "NO", + "cpucore" : 8, + "gpu_model" : null, + "nodemodel" : "Dell PowerEdge T640", + "max_walltime" : 86400, + "gpu" : null + }, + { + "ib_rate" : 0, + "virtual" : "ivt", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "ib" : "NO", + "production" : "YES", + "ip" : "172.16.64.2", + "deploy" : "NO", + "available_upto" : 2147483647, + "suspended_jobs" : "NO", + "links" : [ + { + "rel" : "member", + "title" : "node", + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr" + }, + { + "href" : "//oarapi/resources/25", + "rel" : "self" + }, + { + "href" : "//oarapi/resources/25/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "last_job_date" : 0, + "id" : 25, + "cluster_priority" : 201906, + "memnode" : 131072, + "disk" : null, + "switch" : null, + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "diskpath" : null, + "disktype" : "SATA", + "myri" : "NO", + "myri_rate" : 0, + "cpu" : 3, + "next_finaud_decision" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "core" : 22, + "drain" : "NO", + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "finaud_decision" : "NO", + "eth_count" : 1, + "last_available_upto" : 0, + "expiry_date" : 0, + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "myri_count" : 0, + "opa" : "NO", + "api_timestamp" : 1569605253, + "ib_count" : 0, + "state" : "Alive", + "cpuset" : 5, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "max_walltime" : 86400, + "gpu" : null, + "nodemodel" : "Dell PowerEdge T640", + "maintenance" : "NO", + "cpucore" : 8, + "host" : "clusterc-2.fakesite.grid5000.fr", + "gpu_model" : null, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : 0 + }, + { + "disk" : null, + "switch" : null, + "memcore" : 8192, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "diskpath" : null, + "ip" : "172.16.64.2", + "deploy" : "NO", + "available_upto" : 2147483647, + "suspended_jobs" : "NO", + "id" : 26, + "links" : [ + { + "title" : "node", + "rel" : "member", + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr" + }, + { + "href" : "//oarapi/resources/26", + "rel" : "self" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/26/jobs" + } + ], + "last_job_date" : 0, + "cluster_priority" : 201906, + "memnode" : 131072, + "memcpu" : 65536, + "next_state" : "UnChanged", + "opa_count" : 0, + "production" : "YES", + "ib" : "NO", + "ib_rate" : 0, + "virtual" : "ivt", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "desktop_computing" : "NO", + "gpudevice" : null, + "mic" : "NO", + "max_walltime" : 86400, + "gpu" : null, + "nodemodel" : "Dell PowerEdge T640", + "gpu_model" : null, + "maintenance" : "NO", + "host" : "clusterc-2.fakesite.grid5000.fr", + "cpucore" : 8, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : 0, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "myri_count" : 0, + "opa" : "NO", + "api_timestamp" : 1569605253, + "ib_count" : 0, + "state" : "Alive", + "cpuset" : 6, + "eth_rate" : 10, + "cpuarch" : "x86_64", + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "finaud_decision" : "NO", + "eth_count" : 1, + "last_available_upto" : 0, + "expiry_date" : 0, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "next_finaud_decision" : "NO", + "cpu" : 3, + "scheduler_priority" : 0, + "type" : "default", + "core" : 23, + "drain" : "NO" + }, + { + "nodemodel" : "Dell PowerEdge T640", + "gpu" : null, + "max_walltime" : 86400, + "opa_rate" : 0, + "state_num" : 1, + "besteffort" : "YES", + "maintenance" : "NO", + "gpu_model" : null, + "host" : "clusterc-2.fakesite.grid5000.fr", + "cpucore" : 8, + "api_timestamp" : 1569605253, + "opa" : "NO", + "myri_count" : 0, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "eth_rate" : 10, + "cpuarch" : "x86_64", + "cpuset" : 7, + "ib_count" : 0, + "state" : "Alive", + "eth_count" : 1, + "finaud_decision" : "NO", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "expiry_date" : 0, + "last_available_upto" : 0, + "myri_rate" : 0, + "myri" : "NO", + "disktype" : "SATA", + "core" : 24, + "drain" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "next_finaud_decision" : "NO", + "cpu" : 3, + "switch" : null, + "disk" : null, + "diskpath" : null, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "memcore" : 8192, + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "ip" : "172.16.64.2", + "cluster_priority" : 201906, + "memnode" : 131072, + "last_job_date" : 0, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/27" + }, + { + "href" : "//oarapi/resources/27/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "id" : 27, + "opa_count" : 0, + "next_state" : "UnChanged", + "memcpu" : 65536, + "production" : "YES", + "ib" : "NO", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "virtual" : "ivt", + "ib_rate" : 0, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO" + }, + { + "disktype" : "SATA", + "myri" : "NO", + "myri_rate" : 0, + "cpu" : 4, + "next_finaud_decision" : "NO", + "drain" : "NO", + "core" : 25, + "type" : "default", + "scheduler_priority" : 0, + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "last_available_upto" : 0, + "expiry_date" : 0, + "myri_count" : 0, + "opa" : "NO", + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "api_timestamp" : 1569605253, + "cpuset" : 8, + "ib_count" : 0, + "state" : "Alive", + "cpuarch" : "x86_64", + "eth_rate" : 10, + "nodemodel" : "Dell PowerEdge T640", + "gpu" : null, + "max_walltime" : 86400, + "besteffort" : "YES", + "host" : "clusterc-2.fakesite.grid5000.fr", + "maintenance" : "NO", + "gpu_model" : null, + "cpucore" : 8, + "opa_rate" : 0, + "state_num" : 1, + "virtual" : "ivt", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "ib_rate" : 0, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "ib" : "NO", + "production" : "YES", + "ip" : "172.16.64.2", + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "id" : 28, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "href" : "//oarapi/resources/28", + "rel" : "self" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/28/jobs" + } + ], + "last_job_date" : 0, + "cluster_priority" : 201906, + "memnode" : 131072, + "disk" : null, + "switch" : null, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192, + "diskpath" : null + }, + { + "next_finaud_decision" : "NO", + "cpu" : 4, + "core" : 26, + "drain" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "last_available_upto" : 0, + "expiry_date" : 0, + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "cpuset" : 9, + "state" : "Alive", + "ib_count" : 0, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "myri_count" : 0, + "opa" : "NO", + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "api_timestamp" : 1569605253, + "besteffort" : "YES", + "maintenance" : "NO", + "gpu_model" : null, + "host" : "clusterc-2.fakesite.grid5000.fr", + "cpucore" : 8, + "opa_rate" : 0, + "state_num" : 1, + "nodemodel" : "Dell PowerEdge T640", + "max_walltime" : 86400, + "gpu" : null, + "mic" : "NO", + "desktop_computing" : "NO", + "gpudevice" : null, + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "virtual" : "ivt", + "ib_rate" : 0, + "ib" : "NO", + "production" : "YES", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0, + "last_job_date" : 0, + "links" : [ + { + "rel" : "member", + "title" : "node", + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/29" + }, + { + "href" : "//oarapi/resources/29/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "id" : 29, + "memnode" : 131072, + "cluster_priority" : 201906, + "ip" : "172.16.64.2", + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "memcore" : 8192, + "diskpath" : null, + "disk" : null, + "switch" : null + }, + { + "cpuset" : 10, + "ib_count" : 0, + "state" : "Alive", + "eth_rate" : 10, + "cpuarch" : "x86_64", + "opa" : "NO", + "myri_count" : 0, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "api_timestamp" : 1569605253, + "besteffort" : "YES", + "maintenance" : "NO", + "host" : "clusterc-2.fakesite.grid5000.fr", + "cpucore" : 8, + "gpu_model" : null, + "opa_rate" : 0, + "state_num" : 1, + "nodemodel" : "Dell PowerEdge T640", + "gpu" : null, + "max_walltime" : 86400, + "cpu" : 4, + "next_finaud_decision" : "NO", + "core" : 27, + "drain" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "disktype" : "SATA", + "myri" : "NO", + "myri_rate" : 0, + "last_available_upto" : 0, + "expiry_date" : 0, + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "last_job_date" : 0, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/30" + }, + { + "href" : "//oarapi/resources/30/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "id" : 30, + "cluster_priority" : 201906, + "memnode" : 131072, + "ip" : "172.16.64.2", + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192, + "diskpath" : null, + "disk" : null, + "switch" : null, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "virtual" : "ivt", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "ib_rate" : 0, + "ib" : "NO", + "production" : "YES", + "next_state" : "UnChanged", + "memcpu" : 65536, + "opa_count" : 0 + }, + { + "expiry_date" : 0, + "last_available_upto" : 0, + "eth_count" : 1, + "finaud_decision" : "NO", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "core" : 28, + "drain" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "next_finaud_decision" : "NO", + "cpu" : 4, + "myri_rate" : 0, + "myri" : "NO", + "disktype" : "SATA", + "opa_rate" : 0, + "state_num" : 1, + "besteffort" : "YES", + "maintenance" : "NO", + "host" : "clusterc-2.fakesite.grid5000.fr", + "gpu_model" : null, + "cpucore" : 8, + "nodemodel" : "Dell PowerEdge T640", + "max_walltime" : 86400, + "gpu" : null, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "cpuset" : 11, + "state" : "Alive", + "ib_count" : 0, + "api_timestamp" : 1569605253, + "myri_count" : 0, + "opa" : "NO", + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "ib" : "NO", + "production" : "YES", + "opa_count" : 0, + "next_state" : "UnChanged", + "memcpu" : 65536, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "virtual" : "ivt", + "ib_rate" : 0, + "diskpath" : null, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "memcore" : 8192, + "switch" : null, + "disk" : null, + "cluster_priority" : 201906, + "memnode" : 131072, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/31" + }, + { + "href" : "//oarapi/resources/31/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "id" : 31, + "last_job_date" : 0, + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "ip" : "172.16.64.2" + }, + { + "ib" : "NO", + "production" : "YES", + "memcpu" : 65536, + "next_state" : "UnChanged", + "opa_count" : 0, + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "ib_rate" : 0, + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "virtual" : "ivt", + "memcore" : 8192, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "diskpath" : null, + "disk" : null, + "switch" : null, + "id" : 32, + "links" : [ + { + "title" : "node", + "rel" : "member", + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/32" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/32/jobs" + } + ], + "last_job_date" : 0, + "memnode" : 131072, + "cluster_priority" : 201906, + "ip" : "172.16.64.2", + "available_upto" : 2147483647, + "deploy" : "NO", + "suspended_jobs" : "NO", + "last_available_upto" : 0, + "expiry_date" : 0, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "finaud_decision" : "NO", + "eth_count" : 1, + "cpu" : 4, + "next_finaud_decision" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "drain" : "NO", + "core" : 29, + "disktype" : "SATA", + "myri" : "NO", + "myri_rate" : 0, + "host" : "clusterc-2.fakesite.grid5000.fr", + "maintenance" : "NO", + "gpu_model" : null, + "cpucore" : 8, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : 0, + "max_walltime" : 86400, + "gpu" : null, + "nodemodel" : "Dell PowerEdge T640", + "state" : "Alive", + "ib_count" : 0, + "cpuset" : 12, + "cpuarch" : "x86_64", + "eth_rate" : 10, + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "opa" : "NO", + "myri_count" : 0, + "api_timestamp" : 1569605253 + }, + { + "ib_rate" : 0, + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "virtual" : "ivt", + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : "NO", + "opa_count" : 0, + "memcpu" : 65536, + "next_state" : "UnChanged", + "production" : "YES", + "ib" : "NO", + "deploy" : "NO", + "available_upto" : 2147483647, + "suspended_jobs" : "NO", + "ip" : "172.16.64.2", + "cluster_priority" : 201906, + "memnode" : 131072, + "links" : [ + { + "title" : "node", + "rel" : "member", + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/33" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/33/jobs" + } + ], + "last_job_date" : 0, + "id" : 33, + "switch" : null, + "disk" : null, + "diskpath" : null, + "memcore" : 8192, + "wattmeter" : "MULTIPLE", + "gpu_count" : 0, + "myri_rate" : 0, + "myri" : "NO", + "disktype" : "SATA", + "scheduler_priority" : 0, + "type" : "default", + "drain" : "NO", + "core" : 30, + "next_finaud_decision" : "NO", + "cpu" : 4, + "finaud_decision" : "NO", + "eth_count" : 1, + "disk_reservation_count" : 3, + "cpufreq" : "2.1", + "expiry_date" : 0, + "last_available_upto" : 0, + "api_timestamp" : 1569605253, + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "opa" : "NO", + "myri_count" : 0, + "eth_rate" : 10, + "cpuarch" : "x86_64", + "ib_count" : 0, + "state" : "Alive", + "cpuset" : 13, + "gpu" : null, + "max_walltime" : 86400, + "nodemodel" : "Dell PowerEdge T640", + "state_num" : 1, + "opa_rate" : 0, + "maintenance" : "NO", + "gpu_model" : null, + "host" : "clusterc-2.fakesite.grid5000.fr", + "cpucore" : 8, + "besteffort" : "YES" + }, + { + "expiry_date" : 0, + "last_available_upto" : 0, + "eth_count" : 1, + "finaud_decision" : "NO", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "core" : 31, + "drain" : "NO", + "type" : "default", + "scheduler_priority" : 0, + "cpu" : 4, + "next_finaud_decision" : "NO", + "myri_rate" : 0, + "disktype" : "SATA", + "myri" : "NO", + "opa_rate" : 0, + "state_num" : 1, + "besteffort" : "YES", + "maintenance" : "NO", + "cpucore" : 8, + "host" : "clusterc-2.fakesite.grid5000.fr", + "gpu_model" : null, + "nodemodel" : "Dell PowerEdge T640", + "gpu" : null, + "max_walltime" : 86400, + "eth_rate" : 10, + "cpuarch" : "x86_64", + "cpuset" : 14, + "state" : "Alive", + "ib_count" : 0, + "api_timestamp" : 1569605253, + "myri_count" : 0, + "opa" : "NO", + "cputype" : "Intel Xeon Silver 4110", + "cluster" : "clusterc", + "production" : "YES", + "ib" : "NO", + "opa_count" : 0, + "next_state" : "UnChanged", + "memcpu" : 65536, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "virtual" : "ivt", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "ib_rate" : 0, + "diskpath" : null, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "memcore" : 8192, + "switch" : null, + "disk" : null, + "memnode" : 131072, + "cluster_priority" : 201906, + "links" : [ + { + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr", + "rel" : "member", + "title" : "node" + }, + { + "href" : "//oarapi/resources/34", + "rel" : "self" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/34/jobs" + } + ], + "id" : 34, + "last_job_date" : 0, + "suspended_jobs" : "NO", + "deploy" : "NO", + "available_upto" : 2147483647, + "ip" : "172.16.64.2" + }, + { + "opa" : "NO", + "myri_count" : 0, + "cluster" : "clusterc", + "cputype" : "Intel Xeon Silver 4110", + "api_timestamp" : 1569605253, + "cpuset" : 15, + "ib_count" : 0, + "state" : "Alive", + "cpuarch" : "x86_64", + "eth_rate" : 10, + "nodemodel" : "Dell PowerEdge T640", + "gpu" : null, + "max_walltime" : 86400, + "besteffort" : "YES", + "maintenance" : "NO", + "cpucore" : 8, + "gpu_model" : null, + "host" : "clusterc-2.fakesite.grid5000.fr", + "opa_rate" : 0, + "state_num" : 1, + "myri" : "NO", + "disktype" : "SATA", + "myri_rate" : 0, + "next_finaud_decision" : "NO", + "cpu" : 4, + "core" : 32, + "drain" : "NO", + "scheduler_priority" : 0, + "type" : "default", + "cpufreq" : "2.1", + "disk_reservation_count" : 3, + "eth_count" : 1, + "finaud_decision" : "NO", + "last_available_upto" : 0, + "expiry_date" : 0, + "ip" : "172.16.64.2", + "suspended_jobs" : "NO", + "available_upto" : 2147483647, + "deploy" : "NO", + "id" : 35, + "links" : [ + { + "title" : "node", + "rel" : "member", + "href" : "//oarapi/resources/nodes/clusterc-2.fakesite.grid5000.fr" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/35" + }, + { + "href" : "//oarapi/resources/35/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "last_job_date" : 0, + "memnode" : 131072, + "cluster_priority" : 201906, + "disk" : null, + "switch" : null, + "gpu_count" : 0, + "wattmeter" : "MULTIPLE", + "memcore" : 8192, + "diskpath" : null, + "virtual" : "ivt", + "network_address" : "clusterc-2.fakesite.grid5000.fr", + "ib_rate" : 0, + "mic" : "NO", + "gpudevice" : null, + "desktop_computing" : "NO", + "memcpu" : 65536, + "next_state" : "UnChanged", + "opa_count" : 0, + "ib" : "NO", + "production" : "YES" + }, + { + "opa_rate" : null, + "state_num" : 1, + "besteffort" : "YES", + "gpu_model" : null, + "maintenance" : "NO", + "cpucore" : null, + "host" : "clusterc-2.fakesite.grid5000.fr", + "nodemodel" : null, + "max_walltime" : null, + "gpu" : null, + "eth_rate" : null, + "cpuarch" : null, + "cpuset" : -1, + "ib_count" : null, + "state" : "Alive", + "api_timestamp" : 1569605253, + "myri_count" : null, + "opa" : null, + "cluster" : "clusterc", + "cputype" : null, + "expiry_date" : 0, + "last_available_upto" : 0, + "eth_count" : null, + "finaud_decision" : "NO", + "cpufreq" : null, + "disk_reservation_count" : null, + "drain" : "NO", + "core" : null, + "type" : "disk", + "scheduler_priority" : 0, + "cpu" : null, + "next_finaud_decision" : "NO", + "myri_rate" : null, + "myri" : null, + "disktype" : null, + "diskpath" : "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:1:0", + "gpu_count" : null, + "wattmeter" : null, + "memcore" : null, + "switch" : null, + "disk" : "sdb.clusterc-2", + "cluster_priority" : null, + "memnode" : null, + "links" : [ + { + "title" : "node", + "rel" : "member", + "href" : "//oarapi/resources/nodes/" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/36" + }, + { + "href" : "//oarapi/resources/36/jobs", + "rel" : "collection", + "title" : "jobs" + } + ], + "id" : 36, + "last_job_date" : 0, + "suspended_jobs" : "NO", + "available_upto" : 0, + "deploy" : "YES", + "ip" : null, + "ib" : null, + "production" : "YES", + "opa_count" : null, + "next_state" : "UnChanged", + "memcpu" : null, + "mic" : null, + "gpudevice" : null, + "desktop_computing" : "NO", + "virtual" : null, + "network_address" : "", + "ib_rate" : null + }, + { + "gpu" : null, + "max_walltime" : null, + "nodemodel" : null, + "state_num" : 1, + "opa_rate" : null, + "gpu_model" : null, + "maintenance" : "NO", + "cpucore" : null, + "host" : "clusterc-2.fakesite.grid5000.fr", + "besteffort" : "YES", + "api_timestamp" : 1569605253, + "cluster" : "clusterc", + "cputype" : null, + "opa" : null, + "myri_count" : null, + "eth_rate" : null, + "cpuarch" : null, + "state" : "Alive", + "ib_count" : null, + "cpuset" : -1, + "finaud_decision" : "NO", + "eth_count" : null, + "disk_reservation_count" : null, + "cpufreq" : null, + "expiry_date" : 0, + "last_available_upto" : 0, + "myri_rate" : null, + "disktype" : null, + "myri" : null, + "scheduler_priority" : 0, + "type" : "disk", + "drain" : "NO", + "core" : null, + "next_finaud_decision" : "NO", + "cpu" : null, + "switch" : null, + "disk" : "sdc.clusterc-2", + "diskpath" : "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:2:0", + "memcore" : null, + "wattmeter" : null, + "gpu_count" : null, + "deploy" : "YES", + "available_upto" : 0, + "suspended_jobs" : "NO", + "ip" : null, + "memnode" : null, + "cluster_priority" : null, + "links" : [ + { + "rel" : "member", + "title" : "node", + "href" : "//oarapi/resources/nodes/" + }, + { + "href" : "//oarapi/resources/37", + "rel" : "self" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/37/jobs" + } + ], + "last_job_date" : 0, + "id" : 37, + "opa_count" : null, + "next_state" : "UnChanged", + "memcpu" : null, + "production" : "YES", + "ib" : null, + "ib_rate" : null, + "virtual" : null, + "network_address" : "", + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : null + }, + { + "cputype" : null, + "cluster" : "clusterc", + "myri_count" : null, + "opa" : null, + "api_timestamp" : 1569605253, + "ib_count" : null, + "state" : "Alive", + "cpuset" : -1, + "eth_rate" : null, + "cpuarch" : null, + "gpu" : null, + "max_walltime" : null, + "nodemodel" : null, + "host" : "clusterc-2.fakesite.grid5000.fr", + "maintenance" : "NO", + "gpu_model" : null, + "cpucore" : null, + "besteffort" : "YES", + "state_num" : 1, + "opa_rate" : null, + "myri" : null, + "disktype" : null, + "myri_rate" : null, + "next_finaud_decision" : "NO", + "cpu" : null, + "scheduler_priority" : 0, + "type" : "disk", + "core" : null, + "drain" : "NO", + "disk_reservation_count" : null, + "cpufreq" : null, + "finaud_decision" : "NO", + "eth_count" : null, + "last_available_upto" : 0, + "expiry_date" : 0, + "ip" : null, + "deploy" : "YES", + "available_upto" : 0, + "suspended_jobs" : "NO", + "id" : 38, + "links" : [ + { + "href" : "//oarapi/resources/nodes/", + "title" : "node", + "rel" : "member" + }, + { + "rel" : "self", + "href" : "//oarapi/resources/38" + }, + { + "rel" : "collection", + "title" : "jobs", + "href" : "//oarapi/resources/38/jobs" + } + ], + "last_job_date" : 0, + "memnode" : null, + "cluster_priority" : null, + "disk" : "sdd.clusterc-2", + "switch" : null, + "memcore" : null, + "gpu_count" : null, + "wattmeter" : null, + "diskpath" : "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:3:0", + "ib_rate" : null, + "network_address" : "", + "virtual" : null, + "gpudevice" : null, + "desktop_computing" : "NO", + "mic" : null, + "memcpu" : null, + "next_state" : "UnChanged", + "opa_count" : null, + "production" : "YES", + "ib" : null + } + ], + "api_timestamp" : 1569605253 +} + diff --git a/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_without_gpu.json b/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_without_gpu.json new file mode 100644 index 0000000000000000000000000000000000000000..88f43f9bb1519ddf38045bed9f5b2c67ebf6ba91 --- /dev/null +++ b/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_without_gpu.json @@ -0,0 +1,1984 @@ +{ + "sites": { + "fakesite": { + "clusters": { + "clustera": { + "nodes": { + "clustera-1": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "FL1CBX2" + }, + "cpuset_mapping": "continuous", + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "multiple" + }, + "network_adapters": [ + { + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:64", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, + { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:65", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, + { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.1", + "mac": "f8:f2:1e:60:41:20", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clustera-1.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": "gw-fakesite", + "switch_port": "Ethernet6/39", + "vendor": "Intel" + }, + { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:41:21", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, + { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.1", + "mac": "f4:02:70:9a:3f:74", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clustera-1-bmc.fakesite.grid5000.fr" + } + ], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [ + { + "port": 1, + "uid": "clustera-pdu1" + }, + { + "port": 1, + "uid": "clustera-pdu2" + } + ] + } + } + }, + "storage_devices": [ + { + "by_id": "/dev/disk/by-id/wwn-0x6f402700aefea00024afe4c307e10af8", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + } + ], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": [ + "admin", + "production" + ], + "virtual": "ivt" + }, + "type": "node", + "uid": "clustera-1" + }, + "clustera-2": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "9L1CBX2" + }, + "cpuset_mapping": "continuous", + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.AC", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "multiple" + }, + "network_adapters": [ + { + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d8", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, + { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d9", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, + { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.2", + "mac": "f8:f2:1e:60:3f:a0", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clustera-2.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": "gw-fakesite", + "switch_port": "Ethernet6/40", + "vendor": "Intel" + }, + { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:3f:a1", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, + { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.2", + "mac": "f4:02:70:9a:48:e8", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clustera-2-bmc.fakesite.grid5000.fr" + } + ], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [ + { + "port": 6, + "uid": "clustera-pdu1" + }, + { + "port": 6, + "uid": "clustera-pdu2" + } + ] + } + } + }, + "storage_devices": [ + { + "by_id": "/dev/disk/by-id/wwn-0x6f402700aeff430024929b4003cd51d0", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + } + ], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": [ + "admin", + "production" + ], + "virtual": "ivt" + }, + "type": "node", + "uid": "clustera-2" + } + }, + "created_at": "Fri, 07 Jun 2019 00:00:00 GMT", + "kavlan": false, + "model": "Dell PowerEdge T640", + "queues": [ + "admin", + "production" + ], + "type": "cluster", + "uid": "clustera" + }, + "clusterc": { + "nodes": { + "clusterc-1": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "FL1CBX2" + }, + "cpuset_mapping": "continuous", + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "multiple" + }, + "network_adapters": [ + { + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:64", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, + { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:65", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, + { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.1", + "mac": "f8:f2:1e:60:41:20", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clusterc-1.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": null, + "switch_port": null, + "vendor": "Intel" + }, + { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:41:21", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, + { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.1", + "mac": "f4:02:70:9a:3f:74", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clusterc-1-bmc.fakesite.grid5000.fr" + } + ], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [ + { + "port": 1, + "uid": "clusterc-pdu1" + }, + { + "port": 1, + "uid": "clusterc-pdu2" + } + ] + } + } + }, + "storage_devices": [ + { + "by_id": "/dev/disk/by-id/wwn-0x6f402700aefea00024afe4c307e10af8", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973c8a1ad9", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:1:0", + "device": "sdb", + "driver": "megaraid_sas", + "firmware_version": "AM04", + "interface": "SAS", + "model": "PX04SMB040", + "reservation": true, + "size": 400088457216, + "storage": "SSD", + "vendor": "Toshiba" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973be828eb", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:2:0", + "device": "sdc", + "driver": "megaraid_sas", + "firmware_version": "FJ2D", + "interface": "SATA", + "model": "TOSHIBA MG04ACA4", + "reservation": true, + "size": 4000787030016, + "storage": "HDD", + "vendor": "Toshiba" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973be828e9", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:3:0", + "device": "sdd", + "driver": "megaraid_sas", + "firmware_version": "FJ2D", + "interface": "SATA", + "model": "TOSHIBA MG04ACA4", + "reservation": true, + "size": 4000787030016, + "storage": "HDD", + "vendor": "Toshiba" + } + ], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": [ + "admin", + "production" + ], + "virtual": "ivt" + }, + "type": "node", + "uid": "clusterc-1" + }, + "clusterc-2": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "9L1CBX2" + }, + "cpuset_mapping": "continuous", + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "multiple" + }, + "network_adapters": [ + { + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d8", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, + { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d9", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, + { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.2", + "mac": "f8:f2:1e:60:3f:a0", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clusterc-2.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": null, + "switch_port": null, + "vendor": "Intel" + }, + { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:3f:a1", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, + { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.2", + "mac": "f4:02:70:9a:48:e8", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clusterc-2-bmc.fakesite.grid5000.fr" + } + ], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [ + { + "port": 6, + "uid": "clusterc-pdu1" + }, + { + "port": 6, + "uid": "clusterc-pdu2" + } + ] + } + } + }, + "storage_devices": [ + { + "by_id": "/dev/disk/by-id/wwn-0x6f402700aeff430024929b4003cd51d0", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973c8a1ad9", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:1:0", + "device": "sdb", + "driver": "megaraid_sas", + "firmware_version": "AM04", + "interface": "SAS", + "model": "PX04SMB040", + "reservation": true, + "size": 400088457216, + "storage": "SSD", + "vendor": "Toshiba" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973be828eb", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:2:0", + "device": "sdc", + "driver": "megaraid_sas", + "firmware_version": "FJ2D", + "interface": "SATA", + "model": "TOSHIBA MG04ACA4", + "reservation": true, + "size": 4000787030016, + "storage": "HDD", + "vendor": "Toshiba" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973be828e9", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:3:0", + "device": "sdd", + "driver": "megaraid_sas", + "firmware_version": "FJ2D", + "interface": "SATA", + "model": "TOSHIBA MG04ACA4", + "reservation": true, + "size": 4000787030016, + "storage": "HDD", + "vendor": "Toshiba" + } + ], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": [ + "admin", + "production" + ], + "virtual": "ivt" + }, + "type": "node", + "uid": "clusterc-2" + } + }, + "created_at": "Fri, 07 Jun 2019 00:00:00 GMT", + "kavlan": false, + "model": "Dell PowerEdge T640", + "queues": [ + "admin", + "production" + ], + "type": "cluster", + "uid": "clusterc" + }, + "clusterb": { + "nodes": { + "clusterb-2": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "9L1CBX2" + }, + "cpuset_mapping": "continuous", + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.AC", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "multiple" + }, + "network_adapters": [ + { + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d8", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, + { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d9", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, + { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.2", + "mac": "f8:f2:1e:60:3f:a0", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clusterb-2.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": null, + "switch_port": null, + "vendor": "Intel" + }, + { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:3f:a1", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, + { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.2", + "mac": "f4:02:70:9a:48:e8", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clusterb-2-bmc.fakesite.grid5000.fr" + } + ], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [ + { + "port": 6, + "uid": "clusterb-pdu1" + }, + { + "port": 6, + "uid": "clusterb-pdu2" + } + ] + } + } + }, + "storage_devices": [ + { + "by_id": "/dev/disk/by-id/wwn-0x6f402700aeff430024929b4003cd51d0", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973c8a1ad9", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:1:0", + "device": "sdb", + "driver": "megaraid_sas", + "firmware_version": "AM04", + "interface": "SAS", + "model": "PX04SMB040", + "reservation": true, + "size": 400088457216, + "storage": "SSD", + "vendor": "Toshiba" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973be828eb", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:2:0", + "device": "sdc", + "driver": "megaraid_sas", + "firmware_version": "FJ2D", + "interface": "SATA", + "model": "TOSHIBA MG04ACA4", + "reservation": true, + "size": 4000787030016, + "storage": "HDD", + "vendor": "Toshiba" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973be828e9", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:3:0", + "device": "sdd", + "driver": "megaraid_sas", + "firmware_version": "FJ2D", + "interface": "SATA", + "model": "TOSHIBA MG04ACA4", + "reservation": true, + "size": 4000787030016, + "storage": "HDD", + "vendor": "Toshiba" + } + ], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": [ + "admin", + "production" + ], + "virtual": "ivt" + }, + "type": "node", + "uid": "clusterb-2" + }, + "clusterb-1": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "FL1CBX2" + }, + "cpuset_mapping": "continuous", + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "multiple" + }, + "network_adapters": [ + { + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:64", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, + { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:65", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, + { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.1", + "mac": "f8:f2:1e:60:41:20", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clusterb-1.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": null, + "switch_port": null, + "vendor": "Intel" + }, + { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:41:21", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, + { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.1", + "mac": "f4:02:70:9a:3f:74", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clusterb-1-bmc.fakesite.grid5000.fr" + } + ], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [ + { + "port": 1, + "uid": "clusterb-pdu1" + }, + { + "port": 1, + "uid": "clusterb-pdu2" + } + ] + } + } + }, + "storage_devices": [ + { + "by_id": "/dev/disk/by-id/wwn-0x6f402700aefea00024afe4c307e10af8", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973c8a1ad9", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:1:0", + "device": "sdb", + "driver": "megaraid_sas", + "firmware_version": "AM04", + "interface": "SAS", + "model": "PX04SMB040", + "reservation": true, + "size": 400088457216, + "storage": "SSD", + "vendor": "Toshiba" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973be828eb", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:2:0", + "device": "sdc", + "driver": "megaraid_sas", + "firmware_version": "FJ2D", + "interface": "SATA", + "model": "TOSHIBA MG04ACA4", + "reservation": true, + "size": 4000787030016, + "storage": "HDD", + "vendor": "Toshiba" + }, + { + "by_id": "/dev/disk/by-id/wwn-0x500003973be828e9", + "by_path": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:3:0", + "device": "sdd", + "driver": "megaraid_sas", + "firmware_version": "FJ2D", + "interface": "SATA", + "model": "TOSHIBA MG04ACA4", + "reservation": true, + "size": 4000787030016, + "storage": "HDD", + "vendor": "Toshiba" + } + ], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": [ + "admin", + "production" + ], + "virtual": "ivt" + }, + "type": "node", + "uid": "clusterb-1" + } + }, + "created_at": "Fri, 07 Jun 2019 00:00:00 GMT", + "kavlan": false, + "model": "Dell PowerEdge T640", + "queues": [ + "admin", + "production" + ], + "type": "cluster", + "uid": "clusterb" + } + }, + "network_equipments": { + "gw-fakesite": { + "backplane_bps": 1280000000000, + "kind": "router", + "linecards": [ + {}, + {}, + {}, + {}, + {}, + {}, + { + "backplane_bps": 1280000000000, + "kavlan_pattern": "Ethernet%LINECARD%/%PORT%", + "kind": "node", + "model": "N9K-X9464PX", + "ports": [ + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {}, + { + "kind": "node", + "port": "eth2", + "uid": "clustera-1" + }, + { + "kind": "node", + "port": "eth2", + "uid": "clustera-2" + } + ], + "rate": 10000000000, + "snmp_pattern": "Ethernet%LINECARD%/%PORT%" + } + ], + "model": "Cisco Nexus 9508", + "monitoring": { + "metric": "power", + "wattmeter": "multiple" + }, + "sensors": { + "network": { + "available": true, + "resolution": 10 + }, + "power": { + "available": true, + "resolution": 1, + "via": { + "pdu": [ + { + "port": 8, + "uid": "graoully-pdu1" + }, + { + "port": 8, + "uid": "graoully-pdu2" + }, + { + "port": 8, + "uid": "grimoire-pdu1" + }, + { + "port": 8, + "uid": "grimoire-pdu2" + } + ] + } + } + }, + "site": "fakesite", + "snmp_community": "public", + "type": "network_equipment", + "uid": "gw-fakesite", + "vlans": { + "vlan100": { + "addresses": [ + "172.16.79.254" + ], + "administrative": true + }, + "vlan101": { + "addresses": [ + "172.17.79.254" + ] + }, + "vlan500": { + "addresses": [ + "192.168.4.14" + ] + }, + "vlan701": { + "addresses": [ + "192.168.192.0/20" + ], + "name": "kavlan-1" + }, + "vlan702": { + "addresses": [ + "192.168.208.0/20" + ], + "name": "kavlan-2" + }, + "vlan703": { + "addresses": [ + "192.168.224.0/20" + ], + "name": "kavlan-3" + }, + "vlan704": { + "addresses": [ + "10.16.0.0/18" + ], + "name": "kavlan-4" + }, + "vlan705": { + "addresses": [ + "10.16.64.0/18" + ], + "name": "kavlan-5" + }, + "vlan706": { + "addresses": [ + "10.16.128.0/18" + ], + "name": "kavlan-6" + }, + "vlan707": { + "addresses": [ + "10.16.192.0/18" + ], + "name": "kavlan-7" + }, + "vlan708": { + "addresses": [ + "10.17.0.0/18" + ], + "name": "kavlan-8" + }, + "vlan709": { + "addresses": [ + "10.17.64.0/18" + ], + "name": "kavlan-9" + }, + "vlan714": { + "addresses": [ + "10.19.192.0/18" + ], + "name": "kavlan-14" + } + }, + "warranty": "2020-09-01", + "weathermap": {} + } + }, + "pdus": { + "clustera-pdu1": { + "ip": "172.17.79.226", + "mac": "28:29:86:0B:3B:06", + "model": "AP8653", + "ports": { + "1": "clustera-1", + "6": "clustera-2" + }, + "sensors": [ + { + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": [ + "iso.3.6.1.4.1.318.1.1.12.1.16.0" + ], + "unit": "W" + } + } + } + ], + "type": "pdu", + "uid": "clustera-pdu1", + "vendor": "APC" + }, + "clustera-pdu3": { + "ip": "172.17.79.231", + "mac": "28:29:86:12:27:FF", + "model": "AP8653", + "ports": {}, + "sensors": [ + { + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": [ + "iso.3.6.1.4.1.318.1.1.12.1.16.0" + ], + "unit": "W" + } + } + } + ], + "type": "pdu", + "uid": "clustera-pdu3", + "vendor": "APC" + }, + "clustera-pdu2": { + "ip": "172.17.79.227", + "mac": "28:29:86:10:0E:8C", + "model": "AP8653", + "ports": { + "1": "clustera-1", + "6": "clustera-2" + }, + "sensors": [ + { + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": [ + "iso.3.6.1.4.1.318.1.1.12.1.16.0" + ], + "unit": "W" + } + } + } + ], + "type": "pdu", + "uid": "clustera-pdu2", + "vendor": "APC" + }, + "clustera-pdu4": { + "ip": "172.17.79.232", + "mac": "28:29:86:10:0E:B4", + "model": "AP8653", + "ports": {}, + "sensors": [ + { + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": [ + "iso.3.6.1.4.1.318.1.1.12.1.16.0" + ], + "unit": "W" + } + } + } + ], + "type": "pdu", + "uid": "clustera-pdu4", + "vendor": "APC" + } + }, + "compilation_server": false, + "description": "Grid5000 Fakesite site", + "email_contact": "support-staff@lists.grid5000.fr", + "frontend_ip": "172.16.79.101", + "g5ksubnet": { + "gateway": "10.147.255.254", + "network": "10.144.0.0/14" + }, + "latitude": 48.7, + "location": "Fakesite, France", + "longitude": 6.2, + "name": "Fakesite", + "production": true, + "renater_ip": "192.168.4.14", + "security_contact": "support-staff@lists.grid5000.fr", + "storage5k": false, + "sys_admin_contact": "support-staff@lists.grid5000.fr", + "type": "site", + "uid": "fakesite", + "user_support_contact": "support-staff@lists.grid5000.fr", + "virt_ip_range": "10.144.0.0/14", + "web": "http://www.grid5000.fr/mediawiki/index.php/Fakesite:Home" + } + }, + "network_equipments": { + "renater-rennes": { + "kind": "virtual", + "linecards": [ + { + "ports": [ + { + "uid": "renater-nantes" + }, + { + "kind": "router", + "site_uid": "rennes", + "uid": "gw-rennes" + } + ], + "rate": 10000000000 + } + ], + "type": "network_equipment", + "uid": "renater-rennes", + "weathermap": {} + }, + "renater-luxembourg": { + "kind": "virtual", + "linecards": [ + { + "ports": [ + { + "uid": "renater-nancy" + }, + { + "kind": "router", + "site_uid": "luxembourg", + "uid": "gw-luxembourg" + } + ], + "rate": 10000000000 + } + ], + "type": "network_equipment", + "uid": "renater-luxembourg", + "weathermap": {} + }, + "renater-lyon": { + "kind": "virtual", + "linecards": [ + { + "ports": [ + { + "uid": "renater-paris" + }, + { + "uid": "renater-sophia" + }, + { + "uid": "renater-grenoble" + }, + { + "uid": "renater-nantes" + }, + { + "kind": "router", + "site_uid": "lyon", + "uid": "gw-lyon" + } + ], + "rate": 10000000000 + } + ], + "type": "network_equipment", + "uid": "renater-lyon", + "weathermap": {} + }, + "renater-grenoble": { + "kind": "virtual", + "linecards": [ + { + "ports": [ + { + "uid": "renater-lyon" + }, + { + "kind": "router", + "site_uid": "grenoble", + "uid": "gw-grenoble" + } + ], + "rate": 10000000000 + } + ], + "type": "network_equipment", + "uid": "renater-grenoble", + "weathermap": {} + }, + "renater-paris": { + "kind": "virtual", + "linecards": [ + { + "ports": [ + { + "uid": "renater-lille" + }, + { + "uid": "renater-lyon" + }, + { + "uid": "renater-nancy" + } + ], + "rate": 10000000000 + } + ], + "type": "network_equipment", + "uid": "renater-paris", + "weathermap": {} + }, + "renater-nancy": { + "kind": "virtual", + "linecards": [ + { + "ports": [ + { + "uid": "renater-luxembourg" + }, + { + "uid": "renater-paris" + }, + { + "kind": "router", + "site_uid": "nancy", + "uid": "gw-nancy" + } + ], + "rate": 10000000000 + } + ], + "type": "network_equipment", + "uid": "renater-nancy", + "weathermap": {} + }, + "renater-sophia": { + "kind": "virtual", + "linecards": [ + { + "ports": [ + { + "uid": "renater-lyon" + }, + { + "kind": "router", + "site_uid": "sophia", + "uid": "gw-sophia" + } + ], + "rate": 10000000000 + } + ], + "type": "network_equipment", + "uid": "renater-sophia", + "weathermap": {} + }, + "renater-lille": { + "kind": "virtual", + "linecards": [ + { + "ports": [ + { + "uid": "renater-paris" + }, + { + "kind": "router", + "site_uid": "lille", + "uid": "gw-lille" + } + ], + "rate": 10000000000 + } + ], + "type": "network_equipment", + "uid": "renater-lille", + "weathermap": {} + }, + "renater-nantes": { + "kind": "virtual", + "linecards": [ + { + "ports": [ + { + "uid": "renater-lyon" + }, + { + "uid": "renater-rennes" + }, + { + "kind": "router", + "site_uid": "nantes", + "uid": "gw-nantes" + } + ], + "rate": 10000000000 + } + ], + "type": "network_equipment", + "uid": "renater-nantes", + "weathermap": {} + } + }, + "type": "grid", + "uid": "grid5000" +}