[PATCH] bug fix: Don't display vlan interfaces while creating network bridge

6 views
Skip to first unread message

Aline Manera

unread,
Dec 16, 2013, 8:46:06 AM12/16/13
to Project Kimchi
From: Aline Manera <ali...@br.ibm.com>

vlan brigdes aren't supported at this time so those interfaces should not be
displayed while creating a network bridge
The supported interfaces for a bridge network are: bare nic, bonding or bridge
device.

Signed-off-by: Aline Manera <ali...@br.ibm.com>
---
src/kimchi/netinfo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kimchi/netinfo.py b/src/kimchi/netinfo.py
index 5a21ff4..c34b96d 100644
--- a/src/kimchi/netinfo.py
+++ b/src/kimchi/netinfo.py
@@ -157,7 +157,7 @@ def is_bare_nic(iface):
# a slave of bond.
# The bridge will not be exposed when all it's port are tap.
def all_favored_interfaces():
- return aggregated_bridges() + bare_nics() + vlans() + bondings()
+ return aggregated_bridges() + bare_nics() + bondings()


def get_interface_type(iface):
--
1.7.10.4

Daniel Henrique Barboza

unread,
Dec 17, 2013, 6:46:28 AM12/17/13
to project...@googlegroups.com
Reviewed-by: Daniel Barboza <dani...@linux.vnet.ibm.com>

Aline Manera

unread,
Dec 17, 2013, 12:01:45 PM12/17/13
to Aline Manera, Project Kimchi
Applied. Thanks.

Regards,

Aline Manera

Reply all
Reply to author
Forward
0 new messages