Commit 708416c1 authored by DELABROYE Dimitri's avatar DELABROYE Dimitri Committed by deadlybore
Browse files

[dev] add infiniband partition key support on homogeneity cluster check

parent cc33c968
...@@ -31,14 +31,6 @@ def global_ignore_keys() ...@@ -31,14 +31,6 @@ def global_ignore_keys()
~network_adapters.bmc.switch ~network_adapters.bmc.switch
~network_adapters.bmc.switch_port ~network_adapters.bmc.switch_port
~network_adapters.ib0.guid
~network_adapters.ib0.hwid
~network_adapters.ib0.ip
~network_adapters.ib0.ip6
~network_adapters.ib0.line_card
~network_adapters.ib0.position
~network_adapters.ib1.guid
~network_adapters.myri0.ip ~network_adapters.myri0.ip
~network_adapters.myri0.ip6 ~network_adapters.myri0.ip6
~network_adapters.myri0.mac ~network_adapters.myri0.mac
...@@ -103,6 +95,26 @@ eos ...@@ -103,6 +95,26 @@ eos
ignore_keys.push(* keys) ignore_keys.push(* keys)
} }
ignore_ibkeys = <<-eos
~network_adapters.IB_IF.guid
~network_adapters.IB_IF.hwid
~network_adapters.IB_IF.ip
~network_adapters.IB_IF.ip6
~network_adapters.IB_IF.line_card
~network_adapters.IB_IF.position
eos
ib_interfaces = [
'ib0',
'ib1',
'ib0.8100'
]
ib_interfaces.each { |ib_if|
keys = ignore_ibkeys.gsub('IB_IF', "#{ib_if}").gsub("\n", " ").split(" ")
ignore_keys.push(* keys)
}
return ignore_keys return ignore_keys
end end
......
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