From 83cd39983b01d44b9d61a94a9314f87497ed00e7 Mon Sep 17 00:00:00 2001 From: Jonathan Pastor <jonathancmoa@gmail.com> Date: Thu, 24 Oct 2019 17:49:26 +0200 Subject: [PATCH] implement an other spec test for DIFF action --- spec/oar_properties_spec.rb | 87 + ...ar_api_configured_server_to_test_diff.json | 2446 +++++++++++++++++ 2 files changed, 2533 insertions(+) create mode 100644 spec/stub_oar_properties/dump_oar_api_configured_server_to_test_diff.json diff --git a/spec/oar_properties_spec.rb b/spec/oar_properties_spec.rb index 947ed7e3673..acd2147afbc 100644 --- a/spec/oar_properties_spec.rb +++ b/spec/oar_properties_spec.rb @@ -2068,4 +2068,91 @@ Properties that need to be created on the fakesite server: ib_rate expect(generator_output[:stdout]).to include(expected_output) end end + + context 'interracting with a configured OAR server (non reservable GPUs)' do + before do + prepare_stubs("dump_oar_api_configured_server.json", "load_data_hierarchy_stubbed_data_with_non_reservable_gpus.json") + end + + it 'should ignore the GPUs' 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 => ["clustera"], + :verbose => 2 + } + + expected_output = <<-TXT +| clustera | clustera-1 | 1 | 1 | 0 | | | Intel Xeon Silver 4110 | | +| clustera | clustera-1 | 1 | 2 | 1 | | | Intel Xeon Silver 4110 | | +| clustera | clustera-1 | 1 | 3 | 2 | | | Intel Xeon Silver 4110 | | +| clustera | clustera-1 | 1 | 4 | 3 | | | Intel Xeon Silver 4110 | | + TXT + + not_expected_output = <<-TXT +GeForce RTX 2080 Ti + TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_output) + expect(generator_output[:stdout]).not_to include(not_expected_output) + end + end + + context 'interracting with a configured OAR server (misconfigured to test the "DIFF" action)' do + before do + prepare_stubs("dump_oar_api_configured_server_to_test_diff.json", "load_data_hierarchy_stubbed_data.json") + end + + it 'should ignore the GPUs' 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 => ["clustera"], + :verbose => 2 + } + + expected_output = <<-TXT + clustera-2: + ["~", "eth_rate", 100, 10] + ["~", "gpu_count", 2, 4] + TXT + + expected_output2 = <<-TXT +# Error: Resource 4 (host=clustera-1.fakesite.grid5000.fr cpu=1 core=4 cpuset=2 gpu=2 gpudevice=1) has a mismatch for ressource CPUSET: API gives 2, generator wants 3. +# Error: Resource 4 (host=clustera-1.fakesite.grid5000.fr cpu=1 core=4 cpuset=2 gpu=2 gpudevice=1) has a mismatch for ressource GPU: API gives 2, generator wants 1. +# Error: Resource 4 (host=clustera-1.fakesite.grid5000.fr cpu=1 core=4 cpuset=2 gpu=2 gpudevice=1) has a mismatch for ressource GPUDEVICE: API gives 1, generator wants 0. + TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_output) + expect(generator_output[:stdout]).to include(expected_output2) + end + end end diff --git a/spec/stub_oar_properties/dump_oar_api_configured_server_to_test_diff.json b/spec/stub_oar_properties/dump_oar_api_configured_server_to_test_diff.json new file mode 100644 index 00000000000..838f500cdc7 --- /dev/null +++ b/spec/stub_oar_properties/dump_oar_api_configured_server_to_test_diff.json @@ -0,0 +1,2446 @@ +{ + "offset": 0, + "api_timestamp": 1568902577, + "items": [ + { + "finaud_decision": "NO", + "last_available_upto": 0, + "cpucore": 8, + "scheduler_priority": 0, + "api_timestamp": 1568902577, + "myri_rate": 0, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "disktype": "SATA", + "cluster": "clustera", + "state": "Alive", + "gpu": 1, + "besteffort": "YES", + "ib_rate": 0, + "available_upto": 2147483647, + "cpuset": 0, + "links": [ + { + "title": "node", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "rel": "member" + }, + { + "rel": "self", + "href": "//oarapi/resources/1" + }, + { + "href": "//oarapi/resources/1/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "production": "YES", + "type": "default", + "opa_count": 0, + "id": 1, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072, + "opa": "NO", + "eth_rate": 10, + "last_job_date": 0, + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "host": "clustera-1.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "gpudevice": 0, + "next_state": "UnChanged", + "maintenance": "NO", + "gpu_count": 4, + "cluster_priority": 201906, + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "mic": "NO", + "switch": "gw-fakesite", + "eth_count": 1, + "drain": "NO", + "cpu": 1, + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "memcpu": 65536, + "myri_count": 0, + "ip": "172.16.64.1", + "core": 1, + "myri": "NO", + "max_walltime": 86400, + "network_address": "clustera-1.fakesite.grid5000.fr", + "state_num": 1, + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO" + }, + { + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO", + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0, + "id": 2, + "opa_count": 0, + "type": "default", + "production": "YES", + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr" + }, + { + "href": "//oarapi/resources/2", + "rel": "self" + }, + { + "title": "jobs", + "href": "//oarapi/resources/2/jobs", + "rel": "collection" + } + ], + "cpuset": 1, + "available_upto": 2147483647, + "ib_rate": 0, + "besteffort": "YES", + "gpu": 1, + "state": "Alive", + "disktype": "SATA", + "cluster": "clustera", + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "myri_rate": 0, + "api_timestamp": 1568902577, + "cpucore": 8, + "scheduler_priority": 0, + "last_available_upto": 0, + "finaud_decision": "NO", + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "network_address": "clustera-1.fakesite.grid5000.fr", + "state_num": 1, + "max_walltime": 86400, + "myri": "NO", + "core": 2, + "myri_count": 0, + "ip": "172.16.64.1", + "memcpu": 65536, + "deploy": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "cpu": 1, + "drain": "NO", + "eth_count": 1, + "switch": "gw-fakesite", + "mic": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "cluster_priority": 201906, + "gpu_count": 4, + "maintenance": "NO", + "next_state": "UnChanged", + "gpudevice": 0, + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE" + }, + { + "myri": "NO", + "max_walltime": 86400, + "myri_count": 0, + "core": 3, + "ip": "172.16.64.1", + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "network_address": "clustera-1.fakesite.grid5000.fr", + "state_num": 1, + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 1, + "drain": "NO", + "memcpu": 65536, + "deploy": "NO", + "memcore": 8192, + "cpufreq": "2.1", + "mic": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "eth_count": 1, + "switch": "gw-fakesite", + "gpudevice": 0, + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "cluster_priority": 201906, + "gpu_count": 4, + "maintenance": "NO", + "next_state": "UnChanged", + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0, + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO", + "cpuset": 2, + "links": [ + { + "title": "node", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "rel": "member" + }, + { + "rel": "self", + "href": "//oarapi/resources/3" + }, + { + "title": "jobs", + "href": "//oarapi/resources/3/jobs", + "rel": "collection" + } + ], + "available_upto": 2147483647, + "ib_rate": 0, + "besteffort": "YES", + "opa_count": 0, + "id": 3, + "type": "default", + "production": "YES", + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "gpu": 1, + "state": "Alive", + "cluster": "clustera", + "disktype": "SATA", + "last_available_upto": 0, + "finaud_decision": "NO", + "myri_rate": 0, + "api_timestamp": 1568902577, + "cpucore": 8, + "scheduler_priority": 0 + }, + { + "cpu": 1, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "drain": "NO", + "memcpu": 65536, + "memcore": 8192, + "cpufreq": "2.1", + "deploy": "NO", + "max_walltime": 86400, + "myri": "NO", + "ip": "172.16.64.1", + "myri_count": 0, + "core": 4, + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO", + "network_address": "clustera-1.fakesite.grid5000.fr", + "state_num": 1, + "host": "clustera-1.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "gpudevice": 1, + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "maintenance": "NO", + "cluster_priority": 201906, + "gpu_count": 4, + "next_state": "UnChanged", + "mic": "NO", + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "eth_count": 1, + "switch": "gw-fakesite", + "available_upto": 2147483647, + "links": [ + { + "title": "node", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "rel": "member" + }, + { + "href": "//oarapi/resources/4", + "rel": "self" + }, + { + "href": "//oarapi/resources/4/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "cpuset": 2, + "besteffort": "YES", + "ib_rate": 0, + "id": 4, + "opa_count": 0, + "production": "YES", + "type": "default", + "desktop_computing": "NO", + "memnode": 131072, + "opa_rate": 0, + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO", + "last_available_upto": 0, + "finaud_decision": "NO", + "api_timestamp": 1568902577, + "myri_rate": 0, + "scheduler_priority": 0, + "cpucore": 8, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "gpu": 2, + "disktype": "SATA", + "cluster": "clustera", + "state": "Alive" + }, + { + "opa": "NO", + "eth_rate": 10, + "last_job_date": 0, + "opa_rate": 0, + "memnode": 131072, + "desktop_computing": "NO", + "type": "default", + "production": "YES", + "opa_count": 0, + "id": 5, + "ib_rate": 0, + "besteffort": "YES", + "links": [ + { + "rel": "member", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "title": "node" + }, + { + "rel": "self", + "href": "//oarapi/resources/5" + }, + { + "rel": "collection", + "title": "jobs", + "href": "//oarapi/resources/5/jobs" + } + ], + "cpuset": 4, + "available_upto": 2147483647, + "state": "Alive", + "cluster": "clustera", + "disktype": "SATA", + "gpu": 2, + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "cpucore": 8, + "scheduler_priority": 0, + "myri_rate": 0, + "api_timestamp": 1568902577, + "finaud_decision": "NO", + "last_available_upto": 0, + "state_num": 1, + "network_address": "clustera-1.fakesite.grid5000.fr", + "suspended_jobs": "NO", + "ib": "NO", + "disk_reservation_count": 0, + "myri_count": 0, + "ip": "172.16.64.1", + "core": 5, + "myri": "NO", + "max_walltime": 86400, + "deploy": "NO", + "memcore": 8192, + "cpufreq": "2.1", + "memcpu": 65536, + "drain": "NO", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 1, + "switch": "gw-fakesite", + "eth_count": 1, + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "mic": "NO", + "next_state": "UnChanged", + "cluster_priority": 201906, + "gpu_count": 4, + "maintenance": "NO", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "gpudevice": 1, + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr" + }, + { + "opa_count": 0, + "id": 6, + "type": "default", + "production": "YES", + "links": [ + { + "rel": "member", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "title": "node" + }, + { + "href": "//oarapi/resources/6", + "rel": "self" + }, + { + "rel": "collection", + "title": "jobs", + "href": "//oarapi/resources/6/jobs" + } + ], + "cpuset": 5, + "available_upto": 2147483647, + "ib_rate": 0, + "besteffort": "YES", + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO", + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0, + "myri_rate": 0, + "api_timestamp": 1568902577, + "scheduler_priority": 0, + "cpucore": 8, + "last_available_upto": 0, + "finaud_decision": "NO", + "gpu": 2, + "state": "Alive", + "disktype": "SATA", + "cluster": "clustera", + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "memcpu": 65536, + "deploy": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "cpu": 1, + "drain": "NO", + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "state_num": 1, + "network_address": "clustera-1.fakesite.grid5000.fr", + "myri": "NO", + "max_walltime": 86400, + "myri_count": 0, + "ip": "172.16.64.1", + "core": 6, + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO", + "next_state": "UnChanged", + "gpudevice": 1, + "host": "clustera-1.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "eth_count": 1, + "switch": "gw-fakesite", + "mic": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0 + }, + { + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "gpu": 2, + "cluster": "clustera", + "disktype": "SATA", + "state": "Alive", + "last_available_upto": 0, + "finaud_decision": "NO", + "api_timestamp": 1568902577, + "myri_rate": 0, + "scheduler_priority": 0, + "cpucore": 8, + "desktop_computing": "NO", + "memnode": 131072, + "opa_rate": 0, + "last_job_date": 0, + "opa": "NO", + "eth_rate": 10, + "available_upto": 2147483647, + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr" + }, + { + "href": "//oarapi/resources/7", + "rel": "self" + }, + { + "rel": "collection", + "title": "jobs", + "href": "//oarapi/resources/7/jobs" + } + ], + "cpuset": 6, + "besteffort": "YES", + "ib_rate": 0, + "opa_count": 0, + "id": 7, + "production": "YES", + "type": "default", + "mic": "NO", + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "eth_count": 1, + "switch": "gw-fakesite", + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr", + "gpudevice": 1, + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "maintenance": "NO", + "gpu_count": 4, + "cluster_priority": 201906, + "next_state": "UnChanged", + "max_walltime": 86400, + "myri": "NO", + "myri_count": 0, + "core": 7, + "ip": "172.16.64.1", + "disk_reservation_count": 0, + "ib": "NO", + "suspended_jobs": "NO", + "network_address": "clustera-1.fakesite.grid5000.fr", + "state_num": 1, + "cpu": 1, + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "drain": "NO", + "memcpu": 65536, + "memcore": 8192, + "cpufreq": "2.1", + "deploy": "NO" + }, + { + "api_timestamp": 1568902577, + "myri_rate": 0, + "scheduler_priority": 0, + "cpucore": 8, + "last_available_upto": 0, + "finaud_decision": "NO", + "gpu": 2, + "disktype": "SATA", + "cluster": "clustera", + "state": "Alive", + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "id": 8, + "opa_count": 0, + "production": "YES", + "type": "default", + "available_upto": 2147483647, + "cpuset": 7, + "links": [ + { + "rel": "member", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "title": "node" + }, + { + "href": "//oarapi/resources/8", + "rel": "self" + }, + { + "rel": "collection", + "href": "//oarapi/resources/8/jobs", + "title": "jobs" + } + ], + "besteffort": "YES", + "ib_rate": 0, + "last_job_date": 0, + "opa": "NO", + "eth_rate": 10, + "desktop_computing": "NO", + "memnode": 131072, + "opa_rate": 0, + "maintenance": "NO", + "gpu_count": 4, + "cluster_priority": 201906, + "next_state": "UnChanged", + "host": "clustera-1.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "gpudevice": 1, + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "eth_count": 1, + "switch": "gw-fakesite", + "mic": "NO", + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "memcpu": 65536, + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "cpu": 1, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "drain": "NO", + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO", + "state_num": 1, + "network_address": "clustera-1.fakesite.grid5000.fr", + "myri": "NO", + "max_walltime": 86400, + "core": 8, + "myri_count": 0, + "ip": "172.16.64.1" + }, + { + "finaud_decision": "NO", + "last_available_upto": 0, + "scheduler_priority": 0, + "cpucore": 8, + "api_timestamp": 1568902577, + "myri_rate": 0, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "disktype": "SATA", + "cluster": "clustera", + "state": "Alive", + "gpu": 3, + "besteffort": "YES", + "ib_rate": 0, + "available_upto": 2147483647, + "links": [ + { + "rel": "member", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "title": "node" + }, + { + "rel": "self", + "href": "//oarapi/resources/9" + }, + { + "rel": "collection", + "href": "//oarapi/resources/9/jobs", + "title": "jobs" + } + ], + "cpuset": 8, + "production": "YES", + "type": "default", + "id": 9, + "opa_count": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072, + "opa": "NO", + "eth_rate": 10, + "last_job_date": 0, + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr", + "gpudevice": 2, + "next_state": "UnChanged", + "maintenance": "NO", + "gpu_count": 4, + "cluster_priority": 201906, + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "mic": "NO", + "switch": "gw-fakesite", + "eth_count": 1, + "drain": "NO", + "cpu": 2, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "memcore": 8192, + "cpufreq": "2.1", + "deploy": "NO", + "memcpu": 65536, + "myri_count": 0, + "core": 9, + "ip": "172.16.64.1", + "myri": "NO", + "max_walltime": 86400, + "network_address": "clustera-1.fakesite.grid5000.fr", + "state_num": 1, + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO" + }, + { + "drain": "NO", + "cpu": 2, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "memcpu": 65536, + "myri_count": 0, + "core": 10, + "ip": "172.16.64.1", + "max_walltime": 86400, + "myri": "NO", + "network_address": "clustera-1.fakesite.grid5000.fr", + "state_num": 1, + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr", + "gpudevice": 2, + "next_state": "UnChanged", + "maintenance": "NO", + "cluster_priority": 201906, + "gpu_count": 4, + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "mic": "NO", + "switch": "gw-fakesite", + "eth_count": 1, + "besteffort": "YES", + "ib_rate": 0, + "available_upto": 2147483647, + "links": [ + { + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "title": "node", + "rel": "member" + }, + { + "href": "//oarapi/resources/10", + "rel": "self" + }, + { + "rel": "collection", + "title": "jobs", + "href": "//oarapi/resources/10/jobs" + } + ], + "cpuset": 9, + "production": "YES", + "type": "default", + "id": 10, + "opa_count": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072, + "eth_rate": 10, + "opa": "NO", + "last_job_date": 0, + "finaud_decision": "NO", + "last_available_upto": 0, + "cpucore": 8, + "scheduler_priority": 0, + "api_timestamp": 1568902577, + "myri_rate": 0, + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "cluster": "clustera", + "disktype": "SATA", + "state": "Alive", + "gpu": 3 + }, + { + "cpu": 2, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "drain": "NO", + "memcpu": 65536, + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "myri": "NO", + "max_walltime": 86400, + "core": 11, + "myri_count": 0, + "ip": "172.16.64.1", + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO", + "state_num": 1, + "network_address": "clustera-1.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr", + "gpudevice": 2, + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "maintenance": "NO", + "gpu_count": 4, + "cluster_priority": 201906, + "next_state": "UnChanged", + "mic": "NO", + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "eth_count": 1, + "switch": "gw-fakesite", + "available_upto": 2147483647, + "cpuset": 10, + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr" + }, + { + "href": "//oarapi/resources/11", + "rel": "self" + }, + { + "title": "jobs", + "href": "//oarapi/resources/11/jobs", + "rel": "collection" + } + ], + "besteffort": "YES", + "ib_rate": 0, + "id": 11, + "opa_count": 0, + "production": "YES", + "type": "default", + "desktop_computing": "NO", + "memnode": 131072, + "opa_rate": 0, + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO", + "last_available_upto": 0, + "finaud_decision": "NO", + "api_timestamp": 1568902577, + "myri_rate": 0, + "scheduler_priority": 0, + "cpucore": 8, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "gpu": 3, + "disktype": "SATA", + "cluster": "clustera", + "state": "Alive" + }, + { + "next_state": "UnChanged", + "maintenance": "NO", + "cluster_priority": 201906, + "gpu_count": 4, + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "host": "clustera-1.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "gpudevice": 2, + "switch": "gw-fakesite", + "eth_count": 1, + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "mic": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "memcpu": 65536, + "drain": "NO", + "cpu": 2, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "state_num": 1, + "network_address": "clustera-1.fakesite.grid5000.fr", + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO", + "myri_count": 0, + "ip": "172.16.64.1", + "core": 12, + "myri": "NO", + "max_walltime": 86400, + "scheduler_priority": 0, + "cpucore": 8, + "api_timestamp": 1568902577, + "myri_rate": 0, + "finaud_decision": "NO", + "last_available_upto": 0, + "cluster": "clustera", + "disktype": "SATA", + "state": "Alive", + "gpu": 3, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "production": "YES", + "type": "default", + "opa_count": 0, + "id": 12, + "besteffort": "YES", + "ib_rate": 0, + "available_upto": 2147483647, + "links": [ + { + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "title": "node", + "rel": "member" + }, + { + "href": "//oarapi/resources/12", + "rel": "self" + }, + { + "rel": "collection", + "title": "jobs", + "href": "//oarapi/resources/12/jobs" + } + ], + "cpuset": 11, + "opa": "NO", + "eth_rate": 10, + "last_job_date": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072 + }, + { + "core": 13, + "myri_count": 0, + "ip": "172.16.64.1", + "myri": "NO", + "max_walltime": 86400, + "network_address": "clustera-1.fakesite.grid5000.fr", + "state_num": 1, + "suspended_jobs": "NO", + "ib": "NO", + "disk_reservation_count": 0, + "drain": "NO", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 2, + "deploy": "NO", + "memcore": 8192, + "cpufreq": "2.1", + "memcpu": 65536, + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "mic": "NO", + "switch": "gw-fakesite", + "eth_count": 1, + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "gpudevice": 3, + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr", + "next_state": "UnChanged", + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO", + "opa_rate": 0, + "memnode": 131072, + "desktop_computing": "NO", + "opa": "NO", + "eth_rate": 10, + "last_job_date": 0, + "ib_rate": 0, + "besteffort": "YES", + "cpuset": 12, + "links": [ + { + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr", + "title": "node", + "rel": "member" + }, + { + "rel": "self", + "href": "//oarapi/resources/13" + }, + { + "href": "//oarapi/resources/13/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "available_upto": 2147483647, + "type": "default", + "production": "YES", + "id": 13, + "opa_count": 0, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "state": "Alive", + "cluster": "clustera", + "disktype": "SATA", + "gpu": 4, + "finaud_decision": "NO", + "last_available_upto": 0, + "scheduler_priority": 0, + "cpucore": 8, + "myri_rate": 0, + "api_timestamp": 1568902577 + }, + { + "finaud_decision": "NO", + "last_available_upto": 0, + "cpucore": 8, + "scheduler_priority": 0, + "api_timestamp": 1568902577, + "myri_rate": 0, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "disktype": "SATA", + "cluster": "clustera", + "state": "Alive", + "gpu": 4, + "besteffort": "YES", + "ib_rate": 0, + "available_upto": 2147483647, + "cpuset": 13, + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr" + }, + { + "rel": "self", + "href": "//oarapi/resources/14" + }, + { + "rel": "collection", + "href": "//oarapi/resources/14/jobs", + "title": "jobs" + } + ], + "production": "YES", + "type": "default", + "id": 14, + "opa_count": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072, + "eth_rate": 10, + "opa": "NO", + "last_job_date": 0, + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "host": "clustera-1.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "gpudevice": 3, + "next_state": "UnChanged", + "maintenance": "NO", + "cluster_priority": 201906, + "gpu_count": 4, + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "mic": "NO", + "switch": "gw-fakesite", + "eth_count": 1, + "drain": "NO", + "cpu": 2, + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "memcore": 8192, + "cpufreq": "2.1", + "deploy": "NO", + "memcpu": 65536, + "myri_count": 0, + "ip": "172.16.64.1", + "core": 14, + "max_walltime": 86400, + "myri": "NO", + "state_num": 1, + "network_address": "clustera-1.fakesite.grid5000.fr", + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO" + }, + { + "memcpu": 65536, + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "cpu": 2, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "drain": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "suspended_jobs": "NO", + "state_num": 1, + "network_address": "clustera-1.fakesite.grid5000.fr", + "max_walltime": 86400, + "myri": "NO", + "myri_count": 0, + "core": 15, + "ip": "172.16.64.1", + "maintenance": "NO", + "gpu_count": 4, + "cluster_priority": 201906, + "next_state": "UnChanged", + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr", + "gpudevice": 3, + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "eth_count": 1, + "switch": "gw-fakesite", + "mic": "NO", + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "opa_count": 0, + "id": 15, + "production": "YES", + "type": "default", + "available_upto": 2147483647, + "cpuset": 14, + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr" + }, + { + "rel": "self", + "href": "//oarapi/resources/15" + }, + { + "href": "//oarapi/resources/15/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "besteffort": "YES", + "ib_rate": 0, + "last_job_date": 0, + "opa": "NO", + "eth_rate": 10, + "desktop_computing": "NO", + "memnode": 131072, + "opa_rate": 0, + "api_timestamp": 1568902577, + "myri_rate": 0, + "cpucore": 8, + "scheduler_priority": 0, + "last_available_upto": 0, + "finaud_decision": "NO", + "gpu": 4, + "cluster": "clustera", + "disktype": "SATA", + "state": "Alive", + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0 + }, + { + "last_available_upto": 0, + "finaud_decision": "NO", + "myri_rate": 0, + "api_timestamp": 1568902577, + "scheduler_priority": 0, + "cpucore": 8, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "gpu": 4, + "state": "Alive", + "cluster": "clustera", + "disktype": "SATA", + "cpuset": 15, + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-1.fakesite.grid5000.fr" + }, + { + "href": "//oarapi/resources/16", + "rel": "self" + }, + { + "href": "//oarapi/resources/16/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "available_upto": 2147483647, + "ib_rate": 0, + "besteffort": "YES", + "opa_count": 0, + "id": 16, + "type": "default", + "production": "YES", + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0, + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO", + "gpudevice": 3, + "cpuarch": "x86_64", + "host": "clustera-1.fakesite.grid5000.fr", + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "cluster_priority": 201906, + "gpu_count": 4, + "maintenance": "NO", + "next_state": "UnChanged", + "mic": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "eth_count": 1, + "switch": "gw-fakesite", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 2, + "drain": "NO", + "memcpu": 65536, + "deploy": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "myri": "NO", + "max_walltime": 86400, + "myri_count": 0, + "ip": "172.16.64.1", + "core": 16, + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "network_address": "clustera-1.fakesite.grid5000.fr", + "state_num": 1 + }, + { + "host": "clustera-2.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "gpudevice": 0, + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "maintenance": "NO", + "cluster_priority": 201906, + "gpu_count": 4, + "next_state": "UnChanged", + "mic": "NO", + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "eth_count": 1, + "switch": "gw-fakesite", + "cpu": 3, + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "drain": "NO", + "memcpu": 65536, + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "myri": "NO", + "max_walltime": 86400, + "myri_count": 0, + "core": 17, + "ip": "172.16.64.2", + "disk_reservation_count": 0, + "ib": "NO", + "suspended_jobs": "NO", + "state_num": 1, + "network_address": "clustera-2.fakesite.grid5000.fr", + "last_available_upto": 0, + "finaud_decision": "NO", + "api_timestamp": 1568902577, + "myri_rate": 0, + "scheduler_priority": 0, + "cpucore": 8, + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "gpu": 5, + "disktype": "SATA", + "cluster": "clustera", + "state": "Alive", + "available_upto": 2147483647, + "links": [ + { + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "rel": "member" + }, + { + "href": "//oarapi/resources/17", + "rel": "self" + }, + { + "title": "jobs", + "href": "//oarapi/resources/17/jobs", + "rel": "collection" + } + ], + "cpuset": 0, + "besteffort": "YES", + "ib_rate": 0, + "opa_count": 0, + "id": 17, + "production": "YES", + "type": "default", + "desktop_computing": "NO", + "memnode": 131072, + "opa_rate": 0, + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO" + }, + { + "max_walltime": 86400, + "myri": "NO", + "myri_count": 0, + "ip": "172.16.64.2", + "core": 18, + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO", + "state_num": 1, + "network_address": "clustera-2.fakesite.grid5000.fr", + "cpu": 3, + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "drain": "NO", + "memcpu": 65536, + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "mic": "NO", + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "eth_count": 1, + "switch": "gw-fakesite", + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "gpudevice": 0, + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "maintenance": "NO", + "cluster_priority": 201906, + "gpu_count": 4, + "next_state": "UnChanged", + "desktop_computing": "NO", + "memnode": 131072, + "opa_rate": 0, + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO", + "available_upto": 2147483647, + "cpuset": 1, + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr" + }, + { + "href": "//oarapi/resources/18", + "rel": "self" + }, + { + "href": "//oarapi/resources/18/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "besteffort": "YES", + "ib_rate": 0, + "opa_count": 0, + "id": 18, + "production": "YES", + "type": "default", + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "gpu": 5, + "cluster": "clustera", + "disktype": "SATA", + "state": "Alive", + "last_available_upto": 0, + "finaud_decision": "NO", + "api_timestamp": 1568902577, + "myri_rate": 0, + "cpucore": 8, + "scheduler_priority": 0 + }, + { + "eth_rate": 10, + "opa": "NO", + "last_job_date": 0, + "opa_rate": 0, + "memnode": 131072, + "desktop_computing": "NO", + "type": "default", + "production": "YES", + "opa_count": 0, + "id": 19, + "ib_rate": 0, + "besteffort": "YES", + "cpuset": 2, + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr" + }, + { + "rel": "self", + "href": "//oarapi/resources/19" + }, + { + "href": "//oarapi/resources/19/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "available_upto": 2147483647, + "state": "Alive", + "disktype": "SATA", + "cluster": "clustera", + "gpu": 5, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "cpucore": 8, + "scheduler_priority": 0, + "myri_rate": 0, + "api_timestamp": 1568902577, + "finaud_decision": "NO", + "last_available_upto": 0, + "network_address": "clustera-2.fakesite.grid5000.fr", + "state_num": 1, + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "myri_count": 0, + "ip": "172.16.64.2", + "core": 19, + "max_walltime": 86400, + "myri": "NO", + "deploy": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "memcpu": 65536, + "drain": "NO", + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "cpu": 3, + "switch": "gw-fakesite", + "eth_count": 1, + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "mic": "NO", + "next_state": "UnChanged", + "cluster_priority": 201906, + "gpu_count": 4, + "maintenance": "NO", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "gpudevice": 0, + "host": "clustera-2.fakesite.grid5000.fr", + "cpuarch": "x86_64" + }, + { + "state": "Alive", + "disktype": "SATA", + "cluster": "clustera", + "gpu": 5, + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "scheduler_priority": 0, + "cpucore": 8, + "myri_rate": 0, + "api_timestamp": 1568902577, + "finaud_decision": "NO", + "last_available_upto": 0, + "opa": "NO", + "eth_rate": 10, + "last_job_date": 0, + "opa_rate": 0, + "memnode": 131072, + "desktop_computing": "NO", + "type": "default", + "production": "YES", + "id": 20, + "opa_count": 0, + "ib_rate": 0, + "besteffort": "YES", + "links": [ + { + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "rel": "member" + }, + { + "rel": "self", + "href": "//oarapi/resources/20" + }, + { + "href": "//oarapi/resources/20/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "cpuset": 3, + "available_upto": 2147483647, + "switch": "gw-fakesite", + "eth_count": 1, + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "mic": "NO", + "next_state": "UnChanged", + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "gpudevice": 0, + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "network_address": "clustera-2.fakesite.grid5000.fr", + "state_num": 1, + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "myri_count": 0, + "core": 20, + "ip": "172.16.64.2", + "max_walltime": 86400, + "myri": "NO", + "deploy": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "memcpu": 65536, + "drain": "NO", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 3 + }, + { + "cluster_priority": 201906, + "gpu_count": 4, + "maintenance": "NO", + "next_state": "UnChanged", + "gpudevice": 1, + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "eth_count": 1, + "switch": "gw-fakesite", + "mic": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "memcpu": 65536, + "deploy": "NO", + "memcore": 8192, + "cpufreq": "2.1", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 3, + "drain": "NO", + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "network_address": "clustera-2.fakesite.grid5000.fr", + "state_num": 1, + "myri": "NO", + "max_walltime": 86400, + "myri_count": 0, + "core": 21, + "ip": "172.16.64.2", + "myri_rate": 0, + "api_timestamp": 1568902577, + "scheduler_priority": 0, + "cpucore": 8, + "last_available_upto": 0, + "finaud_decision": "NO", + "gpu": 6, + "state": "Alive", + "disktype": "SATA", + "cluster": "clustera", + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "opa_count": 0, + "id": 21, + "type": "default", + "production": "YES", + "cpuset": 4, + "links": [ + { + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "rel": "member" + }, + { + "rel": "self", + "href": "//oarapi/resources/21" + }, + { + "rel": "collection", + "href": "//oarapi/resources/21/jobs", + "title": "jobs" + } + ], + "available_upto": 2147483647, + "ib_rate": 0, + "besteffort": "YES", + "last_job_date": 0, + "opa": "NO", + "eth_rate": 10, + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0 + }, + { + "opa_count": 0, + "id": 22, + "type": "default", + "production": "YES", + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr" + }, + { + "rel": "self", + "href": "//oarapi/resources/22" + }, + { + "title": "jobs", + "href": "//oarapi/resources/22/jobs", + "rel": "collection" + } + ], + "cpuset": 5, + "available_upto": 2147483647, + "ib_rate": 0, + "besteffort": "YES", + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO", + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0, + "myri_rate": 0, + "api_timestamp": 1568902577, + "scheduler_priority": 0, + "cpucore": 8, + "last_available_upto": 0, + "finaud_decision": "NO", + "gpu": 6, + "state": "Alive", + "disktype": "SATA", + "cluster": "clustera", + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "memcpu": 65536, + "deploy": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "cpu": 3, + "drain": "NO", + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "state_num": 1, + "network_address": "clustera-2.fakesite.grid5000.fr", + "max_walltime": 86400, + "myri": "NO", + "core": 22, + "myri_count": 0, + "ip": "172.16.64.2", + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO", + "next_state": "UnChanged", + "gpudevice": 1, + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "eth_count": 1, + "switch": "gw-fakesite", + "mic": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0 + }, + { + "gpudevice": 1, + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO", + "next_state": "UnChanged", + "mic": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "eth_count": 1, + "switch": "gw-fakesite", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 3, + "drain": "NO", + "memcpu": 65536, + "deploy": "NO", + "memcore": 8192, + "cpufreq": "2.1", + "max_walltime": 86400, + "myri": "NO", + "ip": "172.16.64.2", + "myri_count": 0, + "core": 23, + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "state_num": 1, + "network_address": "clustera-2.fakesite.grid5000.fr", + "last_available_upto": 0, + "finaud_decision": "NO", + "myri_rate": 0, + "api_timestamp": 1568902577, + "scheduler_priority": 0, + "cpucore": 8, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "gpu": 6, + "state": "Alive", + "disktype": "SATA", + "cluster": "clustera", + "links": [ + { + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "rel": "member" + }, + { + "rel": "self", + "href": "//oarapi/resources/23" + }, + { + "rel": "collection", + "href": "//oarapi/resources/23/jobs", + "title": "jobs" + } + ], + "cpuset": 6, + "available_upto": 2147483647, + "ib_rate": 0, + "besteffort": "YES", + "id": 23, + "opa_count": 0, + "type": "default", + "production": "YES", + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0, + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO" + }, + { + "mic": "NO", + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "eth_count": 1, + "switch": "gw-fakesite", + "host": "clustera-2.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "gpudevice": 1, + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "maintenance": "NO", + "gpu_count": 4, + "cluster_priority": 201906, + "next_state": "UnChanged", + "myri": "NO", + "max_walltime": 86400, + "myri_count": 0, + "ip": "172.16.64.2", + "core": 24, + "disk_reservation_count": 0, + "ib": "NO", + "suspended_jobs": "NO", + "state_num": 1, + "network_address": "clustera-2.fakesite.grid5000.fr", + "cpu": 3, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "drain": "NO", + "memcpu": 65536, + "memcore": 8192, + "cpufreq": "2.1", + "deploy": "NO", + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "gpu": 6, + "cluster": "clustera", + "disktype": "SATA", + "state": "Alive", + "last_available_upto": 0, + "finaud_decision": "NO", + "api_timestamp": 1568902577, + "myri_rate": 0, + "cpucore": 8, + "scheduler_priority": 0, + "desktop_computing": "NO", + "memnode": 131072, + "opa_rate": 0, + "last_job_date": 0, + "opa": "NO", + "eth_rate": 10, + "available_upto": 2147483647, + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr" + }, + { + "href": "//oarapi/resources/24", + "rel": "self" + }, + { + "rel": "collection", + "href": "//oarapi/resources/24/jobs", + "title": "jobs" + } + ], + "cpuset": 7, + "besteffort": "YES", + "ib_rate": 0, + "opa_count": 0, + "id": 24, + "production": "YES", + "type": "default" + }, + { + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "gpudevice": 2, + "host": "clustera-2.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "next_state": "UnChanged", + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "mic": "NO", + "switch": "gw-fakesite", + "eth_count": 1, + "drain": "NO", + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "cpu": 4, + "deploy": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "memcpu": 65536, + "myri_count": 0, + "ip": "172.16.64.2", + "core": 25, + "myri": "NO", + "max_walltime": 86400, + "state_num": 1, + "network_address": "clustera-2.fakesite.grid5000.fr", + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "finaud_decision": "NO", + "last_available_upto": 0, + "cpucore": 8, + "scheduler_priority": 0, + "myri_rate": 0, + "api_timestamp": 1568902577, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "state": "Alive", + "cluster": "clustera", + "disktype": "SATA", + "gpu": 7, + "ib_rate": 0, + "besteffort": "YES", + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr" + }, + { + "href": "//oarapi/resources/25", + "rel": "self" + }, + { + "href": "//oarapi/resources/25/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "cpuset": 8, + "available_upto": 2147483647, + "type": "default", + "production": "YES", + "opa_count": 0, + "id": 25, + "opa_rate": 0, + "memnode": 131072, + "desktop_computing": "NO", + "opa": "NO", + "eth_rate": 10, + "last_job_date": 0 + }, + { + "id": 26, + "opa_count": 0, + "type": "default", + "production": "YES", + "cpuset": 9, + "links": [ + { + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "title": "node", + "rel": "member" + }, + { + "href": "//oarapi/resources/26", + "rel": "self" + }, + { + "rel": "collection", + "title": "jobs", + "href": "//oarapi/resources/26/jobs" + } + ], + "available_upto": 2147483647, + "ib_rate": 0, + "besteffort": "YES", + "last_job_date": 0, + "eth_rate": 10, + "opa": "NO", + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0, + "myri_rate": 0, + "api_timestamp": 1568902577, + "cpucore": 8, + "scheduler_priority": 0, + "last_available_upto": 0, + "finaud_decision": "NO", + "gpu": 7, + "state": "Alive", + "cluster": "clustera", + "disktype": "SATA", + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "memcpu": 65536, + "deploy": "NO", + "memcore": 8192, + "cpufreq": "2.1", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 4, + "drain": "NO", + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "network_address": "clustera-2.fakesite.grid5000.fr", + "state_num": 1, + "max_walltime": 86400, + "myri": "NO", + "core": 26, + "myri_count": 0, + "ip": "172.16.64.2", + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO", + "next_state": "UnChanged", + "gpudevice": 2, + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "eth_count": 1, + "switch": "gw-fakesite", + "mic": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0 + }, + { + "opa_rate": 0, + "memnode": 131072, + "desktop_computing": "NO", + "eth_rate": 10, + "opa": "NO", + "last_job_date": 0, + "ib_rate": 0, + "besteffort": "YES", + "links": [ + { + "rel": "member", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "title": "node" + }, + { + "rel": "self", + "href": "//oarapi/resources/27" + }, + { + "href": "//oarapi/resources/27/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "cpuset": 10, + "available_upto": 2147483647, + "type": "default", + "production": "YES", + "opa_count": 0, + "id": 27, + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "state": "Alive", + "disktype": "SATA", + "cluster": "clustera", + "gpu": 7, + "finaud_decision": "NO", + "last_available_upto": 0, + "cpucore": 8, + "scheduler_priority": 0, + "myri_rate": 0, + "api_timestamp": 1568902577, + "core": 27, + "myri_count": 0, + "ip": "172.16.64.2", + "myri": "NO", + "max_walltime": 86400, + "network_address": "clustera-2.fakesite.grid5000.fr", + "state_num": 1, + "suspended_jobs": "NO", + "ib": "NO", + "disk_reservation_count": 0, + "drain": "NO", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 4, + "deploy": "NO", + "memcore": 8192, + "cpufreq": "2.1", + "memcpu": 65536, + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "mic": "NO", + "switch": "gw-fakesite", + "eth_count": 1, + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "gpudevice": 2, + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "next_state": "UnChanged", + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO" + }, + { + "next_state": "UnChanged", + "maintenance": "NO", + "cluster_priority": 201906, + "gpu_count": 4, + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "gpudevice": 2, + "switch": "gw-fakesite", + "eth_count": 1, + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "mic": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "memcpu": 65536, + "drain": "NO", + "cpu": 4, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "state_num": 1, + "network_address": "clustera-2.fakesite.grid5000.fr", + "disk_reservation_count": 0, + "ib": "NO", + "suspended_jobs": "NO", + "core": 28, + "myri_count": 0, + "ip": "172.16.64.2", + "max_walltime": 86400, + "myri": "NO", + "cpucore": 8, + "scheduler_priority": 0, + "api_timestamp": 1568902577, + "myri_rate": 0, + "finaud_decision": "NO", + "last_available_upto": 0, + "cluster": "clustera", + "disktype": "SATA", + "state": "Alive", + "gpu": 7, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "production": "YES", + "type": "default", + "opa_count": 0, + "id": 28, + "besteffort": "YES", + "ib_rate": 0, + "available_upto": 2147483647, + "links": [ + { + "rel": "member", + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr" + }, + { + "href": "//oarapi/resources/28", + "rel": "self" + }, + { + "rel": "collection", + "href": "//oarapi/resources/28/jobs", + "title": "jobs" + } + ], + "cpuset": 11, + "eth_rate": 10, + "opa": "NO", + "last_job_date": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072 + }, + { + "drain": "NO", + "cpu": 4, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "memcore": 8192, + "cpufreq": "2.1", + "deploy": "NO", + "memcpu": 65536, + "core": 29, + "myri_count": 0, + "ip": "172.16.64.2", + "myri": "NO", + "max_walltime": 86400, + "state_num": 1, + "network_address": "clustera-2.fakesite.grid5000.fr", + "disk_reservation_count": 0, + "ib": "NO", + "suspended_jobs": "NO", + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "host": "clustera-2.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "gpudevice": 3, + "next_state": "UnChanged", + "maintenance": "NO", + "cluster_priority": 201906, + "gpu_count": 4, + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "mic": "NO", + "switch": "gw-fakesite", + "eth_count": 1, + "besteffort": "YES", + "ib_rate": 0, + "available_upto": 2147483647, + "links": [ + { + "rel": "member", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "title": "node" + }, + { + "rel": "self", + "href": "//oarapi/resources/29" + }, + { + "rel": "collection", + "href": "//oarapi/resources/29/jobs", + "title": "jobs" + } + ], + "cpuset": 12, + "production": "YES", + "type": "default", + "id": 29, + "opa_count": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072, + "eth_rate": 10, + "opa": "NO", + "last_job_date": 0, + "finaud_decision": "NO", + "last_available_upto": 0, + "cpucore": 8, + "scheduler_priority": 0, + "api_timestamp": 1568902577, + "myri_rate": 0, + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "disktype": "SATA", + "cluster": "clustera", + "state": "Alive", + "gpu": 8 + }, + { + "gpu": 8, + "state": "Alive", + "cluster": "clustera", + "disktype": "SATA", + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "myri_rate": 0, + "api_timestamp": 1568902577, + "cpucore": 8, + "scheduler_priority": 0, + "last_available_upto": 0, + "finaud_decision": "NO", + "last_job_date": 0, + "opa": "NO", + "eth_rate": 10, + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0, + "id": 30, + "opa_count": 0, + "type": "default", + "production": "YES", + "links": [ + { + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "rel": "member" + }, + { + "rel": "self", + "href": "//oarapi/resources/30" + }, + { + "title": "jobs", + "href": "//oarapi/resources/30/jobs", + "rel": "collection" + } + ], + "cpuset": 13, + "available_upto": 2147483647, + "ib_rate": 0, + "besteffort": "YES", + "eth_count": 1, + "switch": "gw-fakesite", + "mic": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO", + "next_state": "UnChanged", + "gpudevice": 3, + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "suspended_jobs": "NO", + "ib": "NO", + "disk_reservation_count": 0, + "network_address": "clustera-2.fakesite.grid5000.fr", + "state_num": 1, + "max_walltime": 86400, + "myri": "NO", + "myri_count": 0, + "core": 30, + "ip": "172.16.64.2", + "memcpu": 65536, + "deploy": "NO", + "memcore": 8192, + "cpufreq": "2.1", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 4, + "drain": "NO" + }, + { + "drain": "NO", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 4, + "deploy": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "memcpu": 65536, + "myri_count": 0, + "ip": "172.16.64.2", + "core": 31, + "max_walltime": 86400, + "myri": "NO", + "state_num": 1, + "network_address": "clustera-2.fakesite.grid5000.fr", + "suspended_jobs": "NO", + "disk_reservation_count": 0, + "ib": "NO", + "next_finaud_decision": "NO", + "wattmeter": "MULTIPLE", + "gpudevice": 3, + "host": "clustera-2.fakesite.grid5000.fr", + "cpuarch": "x86_64", + "next_state": "UnChanged", + "gpu_count": 4, + "cluster_priority": 201906, + "maintenance": "NO", + "gpu_model": "GeForce RTX 2080 Ti", + "ib_count": 0, + "mic": "NO", + "switch": "gw-fakesite", + "eth_count": 1, + "ib_rate": 0, + "besteffort": "YES", + "cpuset": 14, + "links": [ + { + "title": "node", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "rel": "member" + }, + { + "rel": "self", + "href": "//oarapi/resources/31" + }, + { + "href": "//oarapi/resources/31/jobs", + "title": "jobs", + "rel": "collection" + } + ], + "available_upto": 2147483647, + "type": "default", + "production": "YES", + "opa_count": 0, + "id": 31, + "opa_rate": 0, + "memnode": 131072, + "desktop_computing": "NO", + "eth_rate": 10, + "opa": "NO", + "last_job_date": 0, + "finaud_decision": "NO", + "last_available_upto": 0, + "cpucore": 8, + "scheduler_priority": 0, + "myri_rate": 0, + "api_timestamp": 1568902577, + "expiry_date": 0, + "nodemodel": "Dell PowerEdge T640", + "state": "Alive", + "cluster": "clustera", + "disktype": "SATA", + "gpu": 8 + }, + { + "switch": "gw-fakesite", + "eth_count": 1, + "ib_count": 0, + "gpu_model": "GeForce RTX 2080 Ti", + "mic": "NO", + "next_state": "UnChanged", + "maintenance": "NO", + "cluster_priority": 201906, + "gpu_count": 2, + "wattmeter": "MULTIPLE", + "next_finaud_decision": "NO", + "cpuarch": "x86_64", + "host": "clustera-2.fakesite.grid5000.fr", + "gpudevice": 3, + "network_address": "clustera-2.fakesite.grid5000.fr", + "state_num": 1, + "ib": "NO", + "disk_reservation_count": 0, + "suspended_jobs": "NO", + "myri_count": 0, + "core": 32, + "ip": "172.16.64.2", + "max_walltime": 86400, + "myri": "NO", + "cpufreq": "2.1", + "memcore": 8192, + "deploy": "NO", + "memcpu": 65536, + "drain": "NO", + "cpu": 4, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "cluster": "clustera", + "disktype": "SATA", + "state": "Alive", + "gpu": 8, + "nodemodel": "Dell PowerEdge T640", + "expiry_date": 0, + "scheduler_priority": 0, + "cpucore": 8, + "api_timestamp": 1568902577, + "myri_rate": 0, + "finaud_decision": "NO", + "last_available_upto": 0, + "opa": "NO", + "eth_rate": 100, + "last_job_date": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072, + "production": "YES", + "type": "default", + "opa_count": 0, + "id": 32, + "besteffort": "YES", + "ib_rate": 0, + "available_upto": 2147483647, + "cpuset": 15, + "links": [ + { + "rel": "member", + "href": "//oarapi/resources/nodes/clustera-2.fakesite.grid5000.fr", + "title": "node" + }, + { + "href": "//oarapi/resources/32", + "rel": "self" + }, + { + "rel": "collection", + "href": "//oarapi/resources/32/jobs", + "title": "jobs" + } + ] + } + ], + "total": 32, + "links": [ + { + "href": "//oarapi/resources/details.json?limit=999999&offset=0", + "rel": "self" + } + ] +} + -- GitLab