Mentions légales du service

Skip to content
Snippets Groups Projects
Commit da7fe89c authored by Lucas Nussbaum's avatar Lucas Nussbaum
Browse files

Merge branch 'net_unknown_warning' into 'master'

[dev] valid:network: when unknown node, emit warning, not error

See merge request !1062
parents 21b36149 40ef92a7
Branches
No related tags found
1 merge request!1062[dev] valid:network: when unknown node, emit warning, not error
Pipeline #1132835 passed with warnings
Pipeline: Resources Explorer

#1132845

    ......@@ -121,8 +121,7 @@ def check_network_description(options)
    'port' => mynetnodes.first['port']
    }
    else
    puts "ERROR: this port is connected to a node that does not exist: #{port}"
    ok = false
    puts "WARNING: this port is connected to a node that does not exist: #{port}"
    end
    elsif ['switch','router'].include?(port['kind'])
    mynetnodes = netnodes.select { |n| n.values_at('kind', 'uid') == port.values_at('kind', 'uid') }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment