[node-patches] Change in ovirt-node[master]: network: Ignore vnet NICs

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Sep 10 08:54:58 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: network: Ignore vnet NICs
......................................................................

network: Ignore vnet NICs

Previously vnet NICs were shown in the NIC list on the network page,
this patch will prevent vnet NICs to appear in the list.

rhbz#835495

Change-Id: Id86a6f87c770d546a8b5dd9530189fb301105287
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirtnode/network.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/88/7888/1

diff --git a/scripts/ovirtnode/network.py b/scripts/ovirtnode/network.py
index 4c79920..e503c27 100644
--- a/scripts/ovirtnode/network.py
+++ b/scripts/ovirtnode/network.py
@@ -474,6 +474,7 @@
         if (not dev_interface == "lo" and \
             not dev_interface.startswith("bond") and \
             not dev_interface.startswith("sit") and \
+            not dev_interface.startswith("vnet") and \
             not "." in dev_interface):
             if not dev_type == "bridge":
                 nic_dict[dev_interface] = "%s,%s,%s,%s,%s,%s,%s" % ( \


--
To view, visit http://gerrit.ovirt.org/7888
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id86a6f87c770d546a8b5dd9530189fb301105287
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list