diff --git a/spec/oar_properties_spec.rb b/spec/oar_properties_spec.rb index 0b03729378a5852ced25deabf7b2ddbe3f566f76..b144017dabfd030a24321582199fd3ce8650f30e 100644 --- a/spec/oar_properties_spec.rb +++ b/spec/oar_properties_spec.rb @@ -1783,4 +1783,294 @@ TXT expect(generator_output[:stdout]).to include(expected_output2) end end + + context 'interracting with a configured OAR server (msising network interfaces)' do + before do + prepare_stubs("dump_oar_api_configured_server.json", "load_data_hierarchy_stubbed_data_missing_main_network_property.json") + end + + it 'should propose a correction' 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 +Error (missing property) while processing node clustera-1: Node clustera-1 does not have a main network_adapter (ie. an ethernet interface with enabled=true && mounted==true && management==false) + TXT + expected_output2 = <<-TXT +*** Error: The following nodes exist in the OAR server but are missing in the reference-repo: clustera-1. + 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 + + context 'interracting with a configured OAR server (wrong variable type for gpu)' do + before do + prepare_stubs("dump_oar_api_configured_server_wrong_vartype.json", "load_data_hierarchy_stubbed_data.json") + end + + it 'should propose a correction' 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 +Output format: [ '-', 'key', 'value'] for missing, [ '+', 'key', 'value'] for added, ['~', 'key', 'old value', 'new value'] for changed + clustera-1: + ["~", "eth_rate", "10", 10] + TXT + + expected_output2 = <<-TXT +Error: the OAR property 'eth_rate' is a 'String' on the fakesite server and this script uses 'Fixnum' for this property. + 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 + + context 'interracting with a configured OAR server (different_values for wattmeters)' do + before do + prepare_stubs("dump_oar_api_configured_server.json", "load_data_hierarchy_stubbed_data_wattmeters_variations.json") + end + + it 'should propose a correction' 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 +Output format: [ '-', 'key', 'value'] for missing, [ '+', 'key', 'value'] for added, ['~', 'key', 'old value', 'new value'] for changed + clustera-1: + ["~", "wattmeter", "MULTIPLE", "YES"] + clustera-2: + ["~", "wattmeter", "MULTIPLE", "NO"] + TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_output) + end + end + + context 'interracting with a configured OAR server (no wattmeters)' do + before do + prepare_stubs("dump_oar_api_configured_server.json", "load_data_hierarchy_stubbed_data_wattmeters_nil.json") + end + + it 'should propose a correction' 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 +Output format: [ '-', 'key', 'value'] for missing, [ '+', 'key', 'value'] for added, ['~', 'key', 'old value', 'new value'] for changed + clustera-1: + ["~", "wattmeter", "MULTIPLE", "NO"] + clustera-2: same modifications as above + TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_output) + end + end + + context 'interracting with a configured OAR server (with missing property)' do + before do + prepare_stubs("dump_oar_api_configured_server_missing_property.json", "load_data_hierarchy_stubbed_data.json") + end + + it 'should propose a correction (verbose=1)' 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 => 1 + } + + expected_output = <<-TXT +clustera-1:["ib_rate"] +clustera-2:["ib_rate"] +Properties that need to be created on the fakesite server: ib_rate + TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_output) + end + + it 'should propose a correction (verbose=2)' 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 + ["+", "ib_rate", 0] + clustera-2: same modifications as above + TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_output) + end + + it 'should propose a correction (verbose=3)' 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 => 3 + } + + expected_output = <<-TXT + "new values": { + "ip": "172.16.64.2", + "cluster": "clustera", + "nodemodel": "Dell PowerEdge T640", + "switch": "gw-fakesite", + "virtual": "ivt", + "cpuarch": "x86_64", + "cpucore": 8, + "cputype": "Intel Xeon Silver 4110", + "cpufreq": "2.1", + "disktype": "SATA", + "eth_count": 1, + "eth_rate": 10, + "ib_count": 0, + "ib_rate": 0, + "ib": "NO", + "opa_count": 0, + "opa_rate": 0, + "opa": "NO", + "myri_count": 0, + "myri_rate": 0, + "myri": "NO", + "memcore": 8192, + "memcpu": 65536, + "memnode": 131072, + "gpu_count": 4, + "mic": "NO", + "wattmeter": "MULTIPLE", + "cluster_priority": 201906, + "max_walltime": 86400, + "production": "YES", + "maintenance": "NO", + "disk_reservation_count": 0 + } + } +} +Properties that need to be created on the fakesite server: ib_rate + TXT + + generator_output = capture do + generate_oar_properties(options) + end + + expect(generator_output[:stdout]).to include(expected_output) + end + end end diff --git a/spec/stub_oar_properties/dump_oar_api_configured_server_missing_property.json b/spec/stub_oar_properties/dump_oar_api_configured_server_missing_property.json new file mode 100644 index 0000000000000000000000000000000000000000..4d392db5e2a547627fe79f79fed39b62fe3970ee --- /dev/null +++ b/spec/stub_oar_properties/dump_oar_api_configured_server_missing_property.json @@ -0,0 +1,2434 @@ +{ + "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", + "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, + "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, + "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": 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", + "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": 1, + "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, + "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, + "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", + "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", + "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", + "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", + "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", + "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", + "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, + + "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", + + "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", + + "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, + + "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", + + "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", + + "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, + + "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, + + "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, + + "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, + + "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, + + "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", + + "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, + + "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, + + "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, + + "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", + + "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", + + "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, + + "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, + + "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": 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", + "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": 10, + "last_job_date": 0, + "opa_rate": 0, + "desktop_computing": "NO", + "memnode": 131072, + "production": "YES", + "type": "default", + "opa_count": 0, + "id": 32, + "besteffort": "YES", + + "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" + } + ] +} + diff --git a/spec/stub_oar_properties/dump_oar_api_configured_server_wrong_vartype.json b/spec/stub_oar_properties/dump_oar_api_configured_server_wrong_vartype.json new file mode 100644 index 0000000000000000000000000000000000000000..9c21cae959eec808b854225f215bfc14df0897eb --- /dev/null +++ b/spec/stub_oar_properties/dump_oar_api_configured_server_wrong_vartype.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": 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", + "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": 1, + "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": 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", + "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": "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" + } + ] +} + diff --git a/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_missing_main_network_property.json b/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_missing_main_network_property.json new file mode 100644 index 0000000000000000000000000000000000000000..2d2c43308405bb393622019c71a4f548ebe68c02 --- /dev/null +++ b/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_missing_main_network_property.json @@ -0,0 +1,744 @@ +{ + "sites": { + "fakesite": { + "clusters": { + "clustera": { + "nodes": { + "clustera-1": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64", + "cpu_core_numbering": "contiguous" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "FL1CBX2" + }, + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "multiple" + }, + "network_adapters": [], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [{ + "port": 1, + "uid": "clustera-pdu1" + }, { + "port": 1, + "uid": "clustera-pdu2" + }] + } + } + }, + "storage_devices": [{ + "by_id": "/dev/disk/by-id/wwn-0x6f402700aefea00024afe4c307e10af8", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": ["admin", "production"], + "virtual": "ivt" + }, + "type": "node", + "uid": "clustera-1" + }, + "clustera-2": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64", + "cpu_core_numbering": "contiguous" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "9L1CBX2" + }, + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.AC", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "multiple" + }, + "network_adapters": [{ + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d8", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d9", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.2", + "mac": "f8:f2:1e:60:3f:a0", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clustera-2.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": "gw-fakesite", + "switch_port": "Ethernet6/40", + "vendor": "Intel" + }, { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:3f:a1", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.2", + "mac": "f4:02:70:9a:48:e8", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clustera-2-bmc.fakesite.grid5000.fr" + }], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [{ + "port": 6, + "uid": "clustera-pdu1" + }, { + "port": 6, + "uid": "clustera-pdu2" + }] + } + } + }, + "storage_devices": [{ + "by_id": "/dev/disk/by-id/wwn-0x6f402700aeff430024929b4003cd51d0", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": ["admin", "production"], + "virtual": "ivt" + }, + "type": "node", + "uid": "clustera-2" + } + }, + "created_at": "Fri, 07 Jun 2019 00:00:00 GMT", + "kavlan": false, + "model": "Dell PowerEdge T640", + "queues": ["admin", "production"], + "type": "cluster", + "uid": "clustera" + } + }, + "network_equipments": { + "gw-fakesite": { + "backplane_bps": 1280000000000, + "kind": "router", + "linecards": [{}, {}, {}, {}, {}, {}, { + "backplane_bps": 1280000000000, + "kavlan_pattern": "Ethernet%LINECARD%/%PORT%", + "kind": "node", + "model": "N9K-X9464PX", + "ports": [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, { + "kind": "node", + "port": "eth2", + "uid": "clustera-1" + }, { + "kind": "node", + "port": "eth2", + "uid": "clustera-2" + }], + "rate": 10000000000, + "snmp_pattern": "Ethernet%LINECARD%/%PORT%" + }], + "model": "Cisco Nexus 9508", + "monitoring": { + "metric": "power", + "wattmeter": "multiple" + }, + "sensors": { + "network": { + "available": true, + "resolution": 10 + }, + "power": { + "available": true, + "resolution": 1, + "via": { + "pdu": [{ + "port": 8, + "uid": "graoully-pdu1" + }, { + "port": 8, + "uid": "graoully-pdu2" + }, { + "port": 8, + "uid": "grimoire-pdu1" + }, { + "port": 8, + "uid": "grimoire-pdu2" + }] + } + } + }, + "site": "fakesite", + "snmp_community": "public", + "type": "network_equipment", + "uid": "gw-fakesite", + "vlans": { + "vlan100": { + "addresses": ["172.16.79.254"], + "administrative": true + }, + "vlan101": { + "addresses": ["172.17.79.254"] + }, + "vlan500": { + "addresses": ["192.168.4.14"] + }, + "vlan701": { + "addresses": ["192.168.192.0/20"], + "name": "kavlan-1" + }, + "vlan702": { + "addresses": ["192.168.208.0/20"], + "name": "kavlan-2" + }, + "vlan703": { + "addresses": ["192.168.224.0/20"], + "name": "kavlan-3" + }, + "vlan704": { + "addresses": ["10.16.0.0/18"], + "name": "kavlan-4" + }, + "vlan705": { + "addresses": ["10.16.64.0/18"], + "name": "kavlan-5" + }, + "vlan706": { + "addresses": ["10.16.128.0/18"], + "name": "kavlan-6" + }, + "vlan707": { + "addresses": ["10.16.192.0/18"], + "name": "kavlan-7" + }, + "vlan708": { + "addresses": ["10.17.0.0/18"], + "name": "kavlan-8" + }, + "vlan709": { + "addresses": ["10.17.64.0/18"], + "name": "kavlan-9" + }, + "vlan714": { + "addresses": ["10.19.192.0/18"], + "name": "kavlan-14" + } + }, + "warranty": "2020-09-01", + "weathermap": {} + } + }, + "pdus": { + "clustera-pdu1": { + "ip": "172.17.79.226", + "mac": "28:29:86:0B:3B:06", + "model": "AP8653", + "ports": { + "1": "clustera-1", + "6": "clustera-2" + }, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu1", + "vendor": "APC" + }, + "clustera-pdu3": { + "ip": "172.17.79.231", + "mac": "28:29:86:12:27:FF", + "model": "AP8653", + "ports": {}, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu3", + "vendor": "APC" + }, + "clustera-pdu2": { + "ip": "172.17.79.227", + "mac": "28:29:86:10:0E:8C", + "model": "AP8653", + "ports": { + "1": "clustera-1", + "6": "clustera-2" + }, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu2", + "vendor": "APC" + }, + "clustera-pdu4": { + "ip": "172.17.79.232", + "mac": "28:29:86:10:0E:B4", + "model": "AP8653", + "ports": {}, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu4", + "vendor": "APC" + } + }, + "compilation_server": false, + "description": "Grid5000 Fakesite site", + "email_contact": "support-staff@lists.grid5000.fr", + "frontend_ip": "172.16.79.101", + "g5ksubnet": { + "gateway": "10.147.255.254", + "network": "10.144.0.0/14" + }, + "latitude": 48.7, + "location": "Fakesite, France", + "longitude": 6.2, + "name": "Fakesite", + "production": true, + "renater_ip": "192.168.4.14", + "security_contact": "support-staff@lists.grid5000.fr", + "storage5k": false, + "sys_admin_contact": "support-staff@lists.grid5000.fr", + "type": "site", + "uid": "fakesite", + "user_support_contact": "support-staff@lists.grid5000.fr", + "virt_ip_range": "10.144.0.0/14", + "web": "http://www.grid5000.fr/mediawiki/index.php/Fakesite:Home" + } + }, + "network_equipments": { + "renater-lyon": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-paris" + }, { + "uid": "renater-sophia" + }, { + "uid": "renater-grenoble" + }, { + "uid": "renater-nantes" + }, { + "kind": "router", + "site_uid": "lyon", + "uid": "gw-lyon" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-lyon", + "weathermap": {} + }, + "renater-grenoble": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lyon" + }, { + "kind": "router", + "site_uid": "grenoble", + "uid": "gw-grenoble" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-grenoble", + "weathermap": {} + }, + "renater-nancy": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-luxembourg" + }, { + "uid": "renater-paris" + }, { + "kind": "router", + "site_uid": "nancy", + "uid": "gw-nancy" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-nancy", + "weathermap": {} + }, + "renater-luxembourg": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-nancy" + }, { + "kind": "router", + "site_uid": "luxembourg", + "uid": "gw-luxembourg" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-luxembourg", + "weathermap": {} + }, + "renater-sophia": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lyon" + }, { + "kind": "router", + "site_uid": "sophia", + "uid": "gw-sophia" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-sophia", + "weathermap": {} + }, + "renater-paris": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lille" + }, { + "uid": "renater-lyon" + }, { + "uid": "renater-nancy" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-paris", + "weathermap": {} + }, + "renater-rennes": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-nantes" + }, { + "kind": "router", + "site_uid": "rennes", + "uid": "gw-rennes" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-rennes", + "weathermap": {} + }, + "renater-nantes": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lyon" + }, { + "uid": "renater-rennes" + }, { + "kind": "router", + "site_uid": "nantes", + "uid": "gw-nantes" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-nantes", + "weathermap": {} + }, + "renater-lille": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-paris" + }, { + "kind": "router", + "site_uid": "lille", + "uid": "gw-lille" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-lille", + "weathermap": {} + } + }, + "type": "grid", + "uid": "grid5000" +} diff --git a/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_wattmeters_nil.json b/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_wattmeters_nil.json new file mode 100644 index 0000000000000000000000000000000000000000..f6f7a47abf8afcfac706536f97f3a41a9e35a302 --- /dev/null +++ b/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_wattmeters_nil.json @@ -0,0 +1,813 @@ +{ + "sites": { + "fakesite": { + "clusters": { + "clustera": { + "nodes": { + "clustera-1": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64", + "cpu_core_numbering": "contiguous" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "FL1CBX2" + }, + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + }, + "network_adapters": [{ + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:64", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:65", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.1", + "mac": "f8:f2:1e:60:41:20", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clustera-1.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": "gw-fakesite", + "switch_port": "Ethernet6/39", + "vendor": "Intel" + }, { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:41:21", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.1", + "mac": "f4:02:70:9a:3f:74", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clustera-1-bmc.fakesite.grid5000.fr" + }], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [{ + "port": 1, + "uid": "clustera-pdu1" + }, { + "port": 1, + "uid": "clustera-pdu2" + }] + } + } + }, + "storage_devices": [{ + "by_id": "/dev/disk/by-id/wwn-0x6f402700aefea00024afe4c307e10af8", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": ["admin", "production"], + "virtual": "ivt" + }, + "type": "node", + "uid": "clustera-1" + }, + "clustera-2": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64", + "cpu_core_numbering": "contiguous" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "9L1CBX2" + }, + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.AC", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + }, + "network_adapters": [{ + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d8", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d9", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.2", + "mac": "f8:f2:1e:60:3f:a0", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clustera-2.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": "gw-fakesite", + "switch_port": "Ethernet6/40", + "vendor": "Intel" + }, { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:3f:a1", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.2", + "mac": "f4:02:70:9a:48:e8", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clustera-2-bmc.fakesite.grid5000.fr" + }], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [{ + "port": 6, + "uid": "clustera-pdu1" + }, { + "port": 6, + "uid": "clustera-pdu2" + }] + } + } + }, + "storage_devices": [{ + "by_id": "/dev/disk/by-id/wwn-0x6f402700aeff430024929b4003cd51d0", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": ["admin", "production"], + "virtual": "ivt" + }, + "type": "node", + "uid": "clustera-2" + } + }, + "created_at": "Fri, 07 Jun 2019 00:00:00 GMT", + "kavlan": false, + "model": "Dell PowerEdge T640", + "queues": ["admin", "production"], + "type": "cluster", + "uid": "clustera" + } + }, + "network_equipments": { + "gw-fakesite": { + "backplane_bps": 1280000000000, + "kind": "router", + "linecards": [{}, {}, {}, {}, {}, {}, { + "backplane_bps": 1280000000000, + "kavlan_pattern": "Ethernet%LINECARD%/%PORT%", + "kind": "node", + "model": "N9K-X9464PX", + "ports": [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, { + "kind": "node", + "port": "eth2", + "uid": "clustera-1" + }, { + "kind": "node", + "port": "eth2", + "uid": "clustera-2" + }], + "rate": 10000000000, + "snmp_pattern": "Ethernet%LINECARD%/%PORT%" + }], + "model": "Cisco Nexus 9508", + "monitoring": { + "metric": "power", + "wattmeter": "multiple" + }, + "sensors": { + "network": { + "available": true, + "resolution": 10 + }, + "power": { + "available": true, + "resolution": 1, + "via": { + "pdu": [{ + "port": 8, + "uid": "graoully-pdu1" + }, { + "port": 8, + "uid": "graoully-pdu2" + }, { + "port": 8, + "uid": "grimoire-pdu1" + }, { + "port": 8, + "uid": "grimoire-pdu2" + }] + } + } + }, + "site": "fakesite", + "snmp_community": "public", + "type": "network_equipment", + "uid": "gw-fakesite", + "vlans": { + "vlan100": { + "addresses": ["172.16.79.254"], + "administrative": true + }, + "vlan101": { + "addresses": ["172.17.79.254"] + }, + "vlan500": { + "addresses": ["192.168.4.14"] + }, + "vlan701": { + "addresses": ["192.168.192.0/20"], + "name": "kavlan-1" + }, + "vlan702": { + "addresses": ["192.168.208.0/20"], + "name": "kavlan-2" + }, + "vlan703": { + "addresses": ["192.168.224.0/20"], + "name": "kavlan-3" + }, + "vlan704": { + "addresses": ["10.16.0.0/18"], + "name": "kavlan-4" + }, + "vlan705": { + "addresses": ["10.16.64.0/18"], + "name": "kavlan-5" + }, + "vlan706": { + "addresses": ["10.16.128.0/18"], + "name": "kavlan-6" + }, + "vlan707": { + "addresses": ["10.16.192.0/18"], + "name": "kavlan-7" + }, + "vlan708": { + "addresses": ["10.17.0.0/18"], + "name": "kavlan-8" + }, + "vlan709": { + "addresses": ["10.17.64.0/18"], + "name": "kavlan-9" + }, + "vlan714": { + "addresses": ["10.19.192.0/18"], + "name": "kavlan-14" + } + }, + "warranty": "2020-09-01", + "weathermap": {} + } + }, + "pdus": { + "clustera-pdu1": { + "ip": "172.17.79.226", + "mac": "28:29:86:0B:3B:06", + "model": "AP8653", + "ports": { + "1": "clustera-1", + "6": "clustera-2" + }, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu1", + "vendor": "APC" + }, + "clustera-pdu3": { + "ip": "172.17.79.231", + "mac": "28:29:86:12:27:FF", + "model": "AP8653", + "ports": {}, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu3", + "vendor": "APC" + }, + "clustera-pdu2": { + "ip": "172.17.79.227", + "mac": "28:29:86:10:0E:8C", + "model": "AP8653", + "ports": { + "1": "clustera-1", + "6": "clustera-2" + }, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu2", + "vendor": "APC" + }, + "clustera-pdu4": { + "ip": "172.17.79.232", + "mac": "28:29:86:10:0E:B4", + "model": "AP8653", + "ports": {}, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu4", + "vendor": "APC" + } + }, + "compilation_server": false, + "description": "Grid5000 Fakesite site", + "email_contact": "support-staff@lists.grid5000.fr", + "frontend_ip": "172.16.79.101", + "g5ksubnet": { + "gateway": "10.147.255.254", + "network": "10.144.0.0/14" + }, + "latitude": 48.7, + "location": "Fakesite, France", + "longitude": 6.2, + "name": "Fakesite", + "production": true, + "renater_ip": "192.168.4.14", + "security_contact": "support-staff@lists.grid5000.fr", + "storage5k": false, + "sys_admin_contact": "support-staff@lists.grid5000.fr", + "type": "site", + "uid": "fakesite", + "user_support_contact": "support-staff@lists.grid5000.fr", + "virt_ip_range": "10.144.0.0/14", + "web": "http://www.grid5000.fr/mediawiki/index.php/Fakesite:Home" + } + }, + "network_equipments": { + "renater-lyon": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-paris" + }, { + "uid": "renater-sophia" + }, { + "uid": "renater-grenoble" + }, { + "uid": "renater-nantes" + }, { + "kind": "router", + "site_uid": "lyon", + "uid": "gw-lyon" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-lyon", + "weathermap": {} + }, + "renater-grenoble": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lyon" + }, { + "kind": "router", + "site_uid": "grenoble", + "uid": "gw-grenoble" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-grenoble", + "weathermap": {} + }, + "renater-nancy": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-luxembourg" + }, { + "uid": "renater-paris" + }, { + "kind": "router", + "site_uid": "nancy", + "uid": "gw-nancy" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-nancy", + "weathermap": {} + }, + "renater-luxembourg": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-nancy" + }, { + "kind": "router", + "site_uid": "luxembourg", + "uid": "gw-luxembourg" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-luxembourg", + "weathermap": {} + }, + "renater-sophia": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lyon" + }, { + "kind": "router", + "site_uid": "sophia", + "uid": "gw-sophia" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-sophia", + "weathermap": {} + }, + "renater-paris": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lille" + }, { + "uid": "renater-lyon" + }, { + "uid": "renater-nancy" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-paris", + "weathermap": {} + }, + "renater-rennes": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-nantes" + }, { + "kind": "router", + "site_uid": "rennes", + "uid": "gw-rennes" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-rennes", + "weathermap": {} + }, + "renater-nantes": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lyon" + }, { + "uid": "renater-rennes" + }, { + "kind": "router", + "site_uid": "nantes", + "uid": "gw-nantes" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-nantes", + "weathermap": {} + }, + "renater-lille": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-paris" + }, { + "kind": "router", + "site_uid": "lille", + "uid": "gw-lille" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-lille", + "weathermap": {} + } + }, + "type": "grid", + "uid": "grid5000" +} diff --git a/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_wattmeters_variations.json b/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_wattmeters_variations.json new file mode 100644 index 0000000000000000000000000000000000000000..8242e474aa494db05111beb6fc2fa87532734bcc --- /dev/null +++ b/spec/stub_oar_properties/load_data_hierarchy_stubbed_data_wattmeters_variations.json @@ -0,0 +1,815 @@ +{ + "sites": { + "fakesite": { + "clusters": { + "clustera": { + "nodes": { + "clustera-1": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64", + "cpu_core_numbering": "contiguous" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "FL1CBX2" + }, + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "true" + }, + "network_adapters": [{ + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:64", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:3f:65", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.1", + "mac": "f8:f2:1e:60:41:20", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clustera-1.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": "gw-fakesite", + "switch_port": "Ethernet6/39", + "vendor": "Intel" + }, { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:41:21", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.1", + "mac": "f4:02:70:9a:3f:74", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clustera-1-bmc.fakesite.grid5000.fr" + }], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [{ + "port": 1, + "uid": "clustera-pdu1" + }, { + "port": 1, + "uid": "clustera-pdu2" + }] + } + } + }, + "storage_devices": [{ + "by_id": "/dev/disk/by-id/wwn-0x6f402700aefea00024afe4c307e10af8", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": ["admin", "production"], + "virtual": "ivt" + }, + "type": "node", + "uid": "clustera-1" + }, + "clustera-2": { + "architecture": { + "nb_cores": 16, + "nb_procs": 2, + "nb_threads": 32, + "platform_type": "x86_64", + "cpu_core_numbering": "contiguous" + }, + "bios": { + "release_date": "06/14/2019", + "vendor": "Dell Inc.", + "version": "2.2.11" + }, + "chassis": { + "manufacturer": "Dell Inc.", + "name": "PowerEdge T640", + "serial": "9L1CBX2" + }, + "gpu": { + "gpu": true, + "gpu_cores": 17408, + "gpu_count": 4, + "gpu_model": "RTX 2080 Ti", + "gpu_vendor": "Nvidia" + }, + "gpu_devices": { + "nvidia0": { + "cpu_affinity": 0, + "device": "/dev/nvidia0", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.B2", + "vendor": "Nvidia" + }, + "nvidia1": { + "cpu_affinity": 0, + "device": "/dev/nvidia1", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia2": { + "cpu_affinity": 1, + "device": "/dev/nvidia2", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.0B.40.09", + "vendor": "Nvidia" + }, + "nvidia3": { + "cpu_affinity": 1, + "device": "/dev/nvidia3", + "memory": 10989000000, + "model": "GeForce RTX 2080 Ti", + "power_default_limit": "250.00 W", + "vbios_version": "90.02.17.00.AC", + "vendor": "Nvidia" + } + }, + "main_memory": { + "ram_size": 137438953472 + }, + "monitoring": { + "wattmeter": "false" + }, + "network_adapters": [{ + "bridged": false, + "device": "eth0", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d8", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno1", + "vendor": "Broadcom" + }, { + "bridged": false, + "device": "eth1", + "driver": "bnxt_en", + "enabled": false, + "firmware_version": "214.0.173/1.9.2 pkg 21.40.20.0", + "interface": "Ethernet", + "mac": "f4:02:70:9a:48:d9", + "management": false, + "model": "BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller", + "mountable": false, + "mounted": false, + "name": "eno2d1", + "vendor": "Broadcom" + }, { + "bridged": true, + "device": "eth2", + "driver": "i40e", + "enabled": true, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "ip": "172.16.64.2", + "mac": "f8:f2:1e:60:3f:a0", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": true, + "mounted": true, + "name": "enp137s0f0", + "network_address": "clustera-2.fakesite.grid5000.fr", + "rate": 10000000000, + "switch": "gw-fakesite", + "switch_port": "Ethernet6/40", + "vendor": "Intel" + }, { + "bridged": false, + "device": "eth3", + "driver": "i40e", + "enabled": false, + "firmware_version": "6.80 0x80003d72 18.8.9", + "interface": "Ethernet", + "mac": "f8:f2:1e:60:3f:a1", + "management": false, + "model": "Ethernet Controller X710 for 10GbE SFP+", + "mountable": false, + "mounted": false, + "name": "enp137s0f1", + "vendor": "Intel" + }, { + "device": "bmc", + "enabled": true, + "interface": "Ethernet", + "ip": "172.17.64.2", + "mac": "f4:02:70:9a:48:e8", + "management": true, + "mountable": false, + "mounted": false, + "network_address": "clustera-2-bmc.fakesite.grid5000.fr" + }], + "operating_system": { + "cstate_driver": "intel_idle", + "cstate_governor": "menu", + "ht_enabled": true, + "pstate_driver": "intel_pstate", + "pstate_governor": "performance", + "turboboost_enabled": true + }, + "performance": { + "core_flops": 17713000000, + "node_flops": 202670000000 + }, + "processor": { + "cache_l1": null, + "cache_l1d": 32768, + "cache_l1i": 32768, + "cache_l2": 1048576, + "cache_l3": 11534336, + "clock_speed": 2100000000, + "ht_capable": true, + "instruction_set": "x86-64", + "microarchitecture": "Skylake", + "model": "Intel Xeon", + "other_description": "Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz", + "vendor": "Intel", + "version": "Silver 4110" + }, + "sensors": { + "power": { + "available": true, + "via": { + "api": { + "metric": "power" + }, + "pdu": [{ + "port": 6, + "uid": "clustera-pdu1" + }, { + "port": 6, + "uid": "clustera-pdu2" + }] + } + } + }, + "storage_devices": [{ + "by_id": "/dev/disk/by-id/wwn-0x6f402700aeff430024929b4003cd51d0", + "by_path": "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0", + "device": "sda", + "driver": "megaraid_sas", + "firmware_version": 4.29, + "interface": "SATA", + "model": "PERC H330 Adp", + "size": 479559942144, + "storage": "SSD", + "vendor": "Dell (Raid)" + }], + "supported_job_types": { + "besteffort": true, + "deploy": true, + "max_walltime": 86400, + "queues": ["admin", "production"], + "virtual": "ivt" + }, + "type": "node", + "uid": "clustera-2" + } + }, + "created_at": "Fri, 07 Jun 2019 00:00:00 GMT", + "kavlan": false, + "model": "Dell PowerEdge T640", + "queues": ["admin", "production"], + "type": "cluster", + "uid": "clustera" + } + }, + "network_equipments": { + "gw-fakesite": { + "backplane_bps": 1280000000000, + "kind": "router", + "linecards": [{}, {}, {}, {}, {}, {}, { + "backplane_bps": 1280000000000, + "kavlan_pattern": "Ethernet%LINECARD%/%PORT%", + "kind": "node", + "model": "N9K-X9464PX", + "ports": [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, { + "kind": "node", + "port": "eth2", + "uid": "clustera-1" + }, { + "kind": "node", + "port": "eth2", + "uid": "clustera-2" + }], + "rate": 10000000000, + "snmp_pattern": "Ethernet%LINECARD%/%PORT%" + }], + "model": "Cisco Nexus 9508", + "monitoring": { + "metric": "power", + "wattmeter": "multiple" + }, + "sensors": { + "network": { + "available": true, + "resolution": 10 + }, + "power": { + "available": true, + "resolution": 1, + "via": { + "pdu": [{ + "port": 8, + "uid": "graoully-pdu1" + }, { + "port": 8, + "uid": "graoully-pdu2" + }, { + "port": 8, + "uid": "grimoire-pdu1" + }, { + "port": 8, + "uid": "grimoire-pdu2" + }] + } + } + }, + "site": "fakesite", + "snmp_community": "public", + "type": "network_equipment", + "uid": "gw-fakesite", + "vlans": { + "vlan100": { + "addresses": ["172.16.79.254"], + "administrative": true + }, + "vlan101": { + "addresses": ["172.17.79.254"] + }, + "vlan500": { + "addresses": ["192.168.4.14"] + }, + "vlan701": { + "addresses": ["192.168.192.0/20"], + "name": "kavlan-1" + }, + "vlan702": { + "addresses": ["192.168.208.0/20"], + "name": "kavlan-2" + }, + "vlan703": { + "addresses": ["192.168.224.0/20"], + "name": "kavlan-3" + }, + "vlan704": { + "addresses": ["10.16.0.0/18"], + "name": "kavlan-4" + }, + "vlan705": { + "addresses": ["10.16.64.0/18"], + "name": "kavlan-5" + }, + "vlan706": { + "addresses": ["10.16.128.0/18"], + "name": "kavlan-6" + }, + "vlan707": { + "addresses": ["10.16.192.0/18"], + "name": "kavlan-7" + }, + "vlan708": { + "addresses": ["10.17.0.0/18"], + "name": "kavlan-8" + }, + "vlan709": { + "addresses": ["10.17.64.0/18"], + "name": "kavlan-9" + }, + "vlan714": { + "addresses": ["10.19.192.0/18"], + "name": "kavlan-14" + } + }, + "warranty": "2020-09-01", + "weathermap": {} + } + }, + "pdus": { + "clustera-pdu1": { + "ip": "172.17.79.226", + "mac": "28:29:86:0B:3B:06", + "model": "AP8653", + "ports": { + "1": "clustera-1", + "6": "clustera-2" + }, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu1", + "vendor": "APC" + }, + "clustera-pdu3": { + "ip": "172.17.79.231", + "mac": "28:29:86:12:27:FF", + "model": "AP8653", + "ports": {}, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu3", + "vendor": "APC" + }, + "clustera-pdu2": { + "ip": "172.17.79.227", + "mac": "28:29:86:10:0E:8C", + "model": "AP8653", + "ports": { + "1": "clustera-1", + "6": "clustera-2" + }, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu2", + "vendor": "APC" + }, + "clustera-pdu4": { + "ip": "172.17.79.232", + "mac": "28:29:86:10:0E:B4", + "model": "AP8653", + "ports": {}, + "sensors": [{ + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": ["iso.3.6.1.4.1.318.1.1.12.1.16.0"], + "unit": "W" + } + } + }], + "type": "pdu", + "uid": "clustera-pdu4", + "vendor": "APC" + } + }, + "compilation_server": false, + "description": "Grid5000 Fakesite site", + "email_contact": "support-staff@lists.grid5000.fr", + "frontend_ip": "172.16.79.101", + "g5ksubnet": { + "gateway": "10.147.255.254", + "network": "10.144.0.0/14" + }, + "latitude": 48.7, + "location": "Fakesite, France", + "longitude": 6.2, + "name": "Fakesite", + "production": true, + "renater_ip": "192.168.4.14", + "security_contact": "support-staff@lists.grid5000.fr", + "storage5k": false, + "sys_admin_contact": "support-staff@lists.grid5000.fr", + "type": "site", + "uid": "fakesite", + "user_support_contact": "support-staff@lists.grid5000.fr", + "virt_ip_range": "10.144.0.0/14", + "web": "http://www.grid5000.fr/mediawiki/index.php/Fakesite:Home" + } + }, + "network_equipments": { + "renater-lyon": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-paris" + }, { + "uid": "renater-sophia" + }, { + "uid": "renater-grenoble" + }, { + "uid": "renater-nantes" + }, { + "kind": "router", + "site_uid": "lyon", + "uid": "gw-lyon" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-lyon", + "weathermap": {} + }, + "renater-grenoble": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lyon" + }, { + "kind": "router", + "site_uid": "grenoble", + "uid": "gw-grenoble" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-grenoble", + "weathermap": {} + }, + "renater-nancy": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-luxembourg" + }, { + "uid": "renater-paris" + }, { + "kind": "router", + "site_uid": "nancy", + "uid": "gw-nancy" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-nancy", + "weathermap": {} + }, + "renater-luxembourg": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-nancy" + }, { + "kind": "router", + "site_uid": "luxembourg", + "uid": "gw-luxembourg" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-luxembourg", + "weathermap": {} + }, + "renater-sophia": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lyon" + }, { + "kind": "router", + "site_uid": "sophia", + "uid": "gw-sophia" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-sophia", + "weathermap": {} + }, + "renater-paris": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lille" + }, { + "uid": "renater-lyon" + }, { + "uid": "renater-nancy" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-paris", + "weathermap": {} + }, + "renater-rennes": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-nantes" + }, { + "kind": "router", + "site_uid": "rennes", + "uid": "gw-rennes" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-rennes", + "weathermap": {} + }, + "renater-nantes": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-lyon" + }, { + "uid": "renater-rennes" + }, { + "kind": "router", + "site_uid": "nantes", + "uid": "gw-nantes" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-nantes", + "weathermap": {} + }, + "renater-lille": { + "kind": "virtual", + "linecards": [{ + "ports": [{ + "uid": "renater-paris" + }, { + "kind": "router", + "site_uid": "lille", + "uid": "gw-lille" + }], + "rate": 10000000000 + }], + "type": "network_equipment", + "uid": "renater-lille", + "weathermap": {} + } + }, + "type": "grid", + "uid": "grid5000" +}