Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9f4a9ea1 authored by Nicolas Perrin's avatar Nicolas Perrin
Browse files

[Rake] Do not find netnodes without connection on fake equipments for network validation

parent ce8a86fd
No related branches found
No related tags found
1 merge request!491[Rake] Do not apply network_monitoring and kwollectg5k to fake equipments and skip some network validation
Pipeline #839221 passed
...@@ -230,7 +230,7 @@ def check_network_description(options) ...@@ -230,7 +230,7 @@ def check_network_description(options)
# find netnodes without connection # find netnodes without connection
# for routers, it's OK, because they would be connected to other G5K routers # for routers, it's OK, because they would be connected to other G5K routers
netnodes.select { |n| n['found'] == 0 and not n['kind'] == 'router' }.each do |n| netnodes.select { |n| n['found'] == 0 and not n['kind'] == 'router' and not n['uid'].include? "fake" }.each do |n|
if n['interface'] == 'InfiniBand' or n['interface'] == 'Myrinet' or n['interface'] == 'Omni-Path' or hpc_switch?(n) if n['interface'] == 'InfiniBand' or n['interface'] == 'Myrinet' or n['interface'] == 'Omni-Path' or hpc_switch?(n)
puts "WARNING: we did not find a corresponding entry on a network equipment for this InfiniBand node: #{n}" puts "WARNING: we did not find a corresponding entry on a network equipment for this InfiniBand node: #{n}"
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment