diff --git a/confluent_server/confluent/util.py b/confluent_server/confluent/util.py index 3f55c2e6..1509a827 100644 --- a/confluent_server/confluent/util.py +++ b/confluent_server/confluent/util.py @@ -63,6 +63,8 @@ def list_interface_indexes(): for iface in os.listdir('/sys/class/net/'): if not os.path.exists('/sys/class/net/{0}/ifindex'.format(iface)): continue + if os.path.exists('/sys/class/net/{0}/bonding_slave'.format(iface)): + continue ifile = open('/sys/class/net/{0}/ifindex'.format(iface), 'r') intidx = int(ifile.read()) ifile.close()