Merge "Ignore interfaces with @ in the name" into stable/mitaka

This commit is contained in:
Jenkins 2017-01-10 15:44:52 +00:00 committed by Gerrit Code Review
commit 771f8cb303
1 changed files with 1 additions and 0 deletions

1
agent
View File

@ -623,6 +623,7 @@ class NodeAgent
#int = intinfo[:name]
# Send info about physical interfaces only
next if int =~ /.*@.*/
next if intinfo[:encapsulation] !~ /^Ethernet.*/
# Avoid virtual devices like loopback, tunnels, bonding, vlans ...
# TODO(vsharshov): replace below lines by this string after excluding Ruby 1.8