[node-patches] Change in ovirt-node[master]: network: Inform if NM is (not) used

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Feb 6 20:02:23 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: network: Inform if NM is (not) used
......................................................................

network: Inform if NM is (not) used

In future we also want to migrate tu GUdev via GI.

Change-Id: Id7c746a7e74435b6c3cdd166c24b271e0e06ff06
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/utils/network.py
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/23/11823/1

diff --git a/scripts/tui/src/ovirt/node/utils/network.py b/scripts/tui/src/ovirt/node/utils/network.py
index 9f80cb6..d810296 100644
--- a/scripts/tui/src/ovirt/node/utils/network.py
+++ b/scripts/tui/src/ovirt/node/utils/network.py
@@ -38,6 +38,7 @@
 
 #
 # Try to use NM if available
+# FIXME we need to migrte to GUdev at some poit to make it really work
 #
 _nm_client = None
 try:
@@ -46,9 +47,10 @@
     # pylint: enable-msg=E0611
     NetworkManager
     _nm_client = NMClient.Client.new()
+    LOGGER.info("NetworkManager support via GI (fast-path)")
 except Exception as e:
-    LOGGER.warning("NetworkManager support disabled: " +
-                   "NM Client not found (%s)" % e)
+    LOGGER.info("NetworkManager support disabled: " +
+                "NM Client not found (%s)" % e)
 
 
 class UnknownNicError(Exception):


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id7c746a7e74435b6c3cdd166c24b271e0e06ff06
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