[node-patches] Change in ovirt-node[master]: status: Show num of running domains

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Dec 11 20:09:40 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: status: Show num of running domains
......................................................................

status: Show num of running domains

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


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/39/9939/1

diff --git a/scripts/tui/src/ovirt/node/setup/status_page.py b/scripts/tui/src/ovirt/node/setup/status_page.py
index c78ae49..03847f2 100644
--- a/scripts/tui/src/ovirt/node/setup/status_page.py
+++ b/scripts/tui/src/ovirt/node/setup/status_page.py
@@ -53,8 +53,8 @@
             net_addrs_str = "\nIPv4: {inet}\nIPv6: {inet6}".format(**net_addrs)
 
         num_domains = "N/A"
-#        with virt.LibvirtConnection() as con:
-#            num_domains = str(con.numOfDomains())
+        with virt.LibvirtConnection() as con:
+            num_domains = str(con.numOfDomains())
 
         return {
             "status": virt.virtualization_hardware_status(),


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

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