From 85d215d5bca5681294cdffad152ef6e4f6e576b1 Mon Sep 17 00:00:00 2001 From: Pierre Neyron <pierre.neyron@imag.fr> Date: Wed, 5 Aug 2020 18:07:20 +0200 Subject: [PATCH] [spec] add test in oar_properties for unset chassis properties --- spec/oar_properties_spec.rb | 40 + ...i_configured_server_but_chassis_unset.json | 2478 +++++++++++++++++ 2 files changed, 2518 insertions(+) create mode 100644 spec/stub_oar_properties/dump_oar_api_configured_server_but_chassis_unset.json diff --git a/spec/oar_properties_spec.rb b/spec/oar_properties_spec.rb index b2c9a4049c..a1e50082a3 100644 --- a/spec/oar_properties_spec.rb +++ b/spec/oar_properties_spec.rb @@ -2564,4 +2564,44 @@ echo; echo 'Adding disk sdb.clusterb-2 on host clusterb-1.fakesite.grid5000.fr:' end end + context 'OAR server with data but chassis is unset' do + before do + prepare_stubs("dump_oar_api_configured_server_but_chassis_unset.json", "load_data_hierarchy_stubbed_data.json") + 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 => ["clustera"], + :verbose => 2 + } + + expected_clustera1_diff = <<-TXT + clustera-1: + ["~", "chassis", nil, "Dell Inc. PowerEdge T640 FL1CBX2"] +TXT + expected_clustera2_diff = <<-TXT + clustera-2: + ["~", "chassis", nil, "Dell Inc. PowerEdge T640 9L1CBX2"] +TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_clustera1_diff) + expect(generator_output[:stdout]).to include(expected_clustera2_diff) + end + end end diff --git a/spec/stub_oar_properties/dump_oar_api_configured_server_but_chassis_unset.json b/spec/stub_oar_properties/dump_oar_api_configured_server_but_chassis_unset.json new file mode 100644 index 0000000000..210c0331c2 --- /dev/null +++ b/spec/stub_oar_properties/dump_oar_api_configured_server_but_chassis_unset.json @@ -0,0 +1,2478 @@ +{ + "offset": 0, + "api_timestamp": 1568902577, + "items": [ + { + "chassis": null, + "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, + "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", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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" + }, + { + "chassis": null, + "last_job_date": 0, + "eth_rate": 10, + "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": "YES", + "cpufreq": "2.1", + "exotic": "NO", + "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" + }, + { + "chassis": null, + "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": "YES", + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "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, + "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 + }, + { + "chassis": null, + "cpu": 1, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "drain": "NO", + "memcpu": 65536, + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "deploy": "YES", + "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": 0, + "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": 3, + "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, + "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": 1, + "disktype": "SATA", + "cluster": "clustera", + "state": "Alive" + }, + { + "chassis": null, + "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": "YES", + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "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" + }, + { + "chassis": null, + "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, + "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": "YES", + "cpufreq": "2.1", + "exotic": "NO", + "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 + }, + { + "chassis": null, + "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, + "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", + "exotic": "NO", + "deploy": "YES" + }, + { + "chassis": null, + "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, + "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", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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" + }, + { + "chassis": null, + "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, + "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", + "exotic": "NO", + "deploy": "YES", + "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" + }, + { + "chassis": null, + "drain": "NO", + "cpu": 2, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "cpufreq": "2.1", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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, + "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 + }, + { + "chassis": null, + "cpu": 2, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "drain": "NO", + "memcpu": 65536, + "cpufreq": "2.1", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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, + "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" + }, + { + "chassis": null, + "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", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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, + "eth_rate": 10, + "last_job_date": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072 + }, + { + "chassis": null, + "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": "YES", + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "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", + "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 + }, + { + "chassis": null, + "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, + "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", + "exotic": "NO", + "deploy": "YES", + "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" + }, + { + "chassis": null, + "memcpu": 65536, + "cpufreq": "2.1", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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, + "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 + }, + { + "chassis": null, + "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, + "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": "YES", + "cpufreq": "2.1", + "exotic": "NO", + "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 + }, + { + "chassis": null, + "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", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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 + }, + { + "chassis": null, + "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", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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, + "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 + }, + { + "chassis": null, + "eth_rate": 10, + "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": "YES", + "cpufreq": "2.1", + "exotic": "NO", + "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" + }, + { + "chassis": null, + "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, + "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": "YES", + "cpufreq": "2.1", + "exotic": "NO", + "memcore": 8192, + "memcpu": 65536, + "drain": "NO", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 3 + }, + { + "chassis": null, + "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": "YES", + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "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, + "eth_rate": 10, + "memnode": 131072, + "desktop_computing": "NO", + "opa_rate": 0 + }, + { + "chassis": null, + "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, + "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": "YES", + "cpufreq": "2.1", + "exotic": "NO", + "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 + }, + { + "chassis": null, + "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": "YES", + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "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 + }, + { + "chassis": null, + "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", + "exotic": "NO", + "deploy": "YES", + "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, + "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" + }, + { + "chassis": null, + "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": "YES", + "cpufreq": "2.1", + "exotic": "NO", + "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", + "eth_rate": 10, + "last_job_date": 0 + }, + { + "chassis": null, + "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, + "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": "YES", + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "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 + }, + { + "chassis": null, + "opa_rate": 0, + "memnode": 131072, + "desktop_computing": "NO", + "eth_rate": 10, + "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": "YES", + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "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" + }, + { + "chassis": null, + "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", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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, + "last_job_date": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072 + }, + { + "chassis": null, + "drain": "NO", + "cpu": 4, + "virtual": "ivt", + "cputype": "Intel Xeon Silver 4110", + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "deploy": "YES", + "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, + "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 + }, + { + "chassis": null, + "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, + "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": "YES", + "memcore": 8192, + "cpufreq": "2.1", + "exotic": "NO", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 4, + "drain": "NO" + }, + { + "chassis": null, + "drain": "NO", + "cputype": "Intel Xeon Silver 4110", + "virtual": "ivt", + "cpu": 4, + "deploy": "YES", + "cpufreq": "2.1", + "exotic": "NO", + "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, + "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 + }, + { + "chassis": null, + "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": 4, + "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", + "exotic": "NO", + "memcore": 8192, + "deploy": "YES", + "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, + "eth_rate": 10, + "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