[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[rhel6-branch] fcoe: modprobe the VLAN layer module.



Related: rhbz#641420
---
 storage/fcoe.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/storage/fcoe.py b/storage/fcoe.py
index c8b957d..568f55d 100644
--- a/storage/fcoe.py
+++ b/storage/fcoe.py
@@ -133,6 +133,9 @@ class fcoe(object):
             # Ideally, this should be done by checking a "AUTO_VLAN" parameter,
             # not bnx2x driver usage
             if 'bnx2x' in os.path.realpath('/sys/class/net/%s/device/driver' %(nic)):
+                # certain network configrations require the VLAN layer module:
+                iutil.execWithRedirect("modprobe", ["8021q"],
+                                       stdout = "/dev/tty5", stderr="/dev/tty5")
                 iutil.execWithRedirect("fipvlan", ['-c', '-s', nic],
                                     stdout = "/dev/tty5", stderr="/dev/tty5")
             else:
-- 
1.7.6.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]