Merge "Ignore interfaces with @ in the name"
This commit is contained in:
commit
79ca6e27f7
1
agent
1
agent
@ -599,6 +599,7 @@ class NodeAgent
|
|||||||
#int = intinfo[:name]
|
#int = intinfo[:name]
|
||||||
# Send info about physical interfaces only
|
# Send info about physical interfaces only
|
||||||
|
|
||||||
|
next if int =~ /.*@.*/
|
||||||
next if intinfo[:encapsulation] !~ /^Ethernet.*/
|
next if intinfo[:encapsulation] !~ /^Ethernet.*/
|
||||||
# Avoid virtual devices like loopback, tunnels, bonding, vlans ...
|
# Avoid virtual devices like loopback, tunnels, bonding, vlans ...
|
||||||
# TODO(vsharshov): replace below lines by this string after excluding Ruby 1.8
|
# TODO(vsharshov): replace below lines by this string after excluding Ruby 1.8
|
||||||
|
Loading…
Reference in New Issue
Block a user