Commit e8bfc7f4 authored by PARISOT Clement's avatar PARISOT Clement
Browse files

[lib] oar:generate - Add a ib56g oar property

parent 65ba924a
......@@ -42,6 +42,9 @@ module Grid5000
ib40g = properties['network_adapters'].detect{|na| na['interface'] =~ /infiniband/i && na['rate'] == 40_000_000_000}
h['ib40g'] = ib40g.nil? ? "NO" : "YES"
h['ib40gmodel'] = ib40g.nil? ? "none" : ib40g['version']
ib56g = properties['network_adapters'].detect{|na| na['interface'] =~ /infiniband/i && na['rate'] == 56_000_000_000}
h['ib56g'] = ib56g.nil? ? "NO" : "YES"
h['ib56gmodel'] = ib56g.nil? ? "none" : ib56g['version']
myri10g = properties['network_adapters'].detect{|na| na['interface'] =~ /myri/i && na['rate'] == 10_000_000_000}
h['myri10g'] = myri10g.nil? ? "NO" : "YES"
h['myri10gmodel'] = myri10g.nil? ? "none" : myri10g['version']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment