[node-patches] Change in ovirt-node[master]: [DRAFT] ui: Expose network topology in UI

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Jun 10 12:29:13 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: [DRAFT] ui: Expose network topology in UI
......................................................................

[DRAFT] ui: Expose network topology in UI

There is now an configuration item in the NIC Details Dialog which lets
the user configurae the desired network topology (bridged or bridgeless
currently).

Change-Id: Id056166c69350624cc95ecfde5abeb9e11f8bb87
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=971410
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/setup/core/network_page.py
1 file changed, 1 insertion(+), 9 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/13/15513/1

diff --git a/src/ovirt/node/setup/core/network_page.py b/src/ovirt/node/setup/core/network_page.py
index 6b668af..5b5b90c 100644
--- a/src/ovirt/node/setup/core/network_page.py
+++ b/src/ovirt/node/setup/core/network_page.py
@@ -385,9 +385,7 @@
         vendor_txt = nic.vendor[:24] if nic.vendor else ""
 
         self.plugin._model_extra.update({
-            "dialog.nic.ifname": nic.ifname,
             "dialog.nic.driver": nic.driver,
-            "dialog.nic.protocol": nic.config.bootproto or "N/A",
             "dialog.nic.vendor": vendor_txt,
             "dialog.nic.link_status": link_status_txt,
             "dialog.nic.hwaddress": nic.hwaddr,
@@ -407,13 +405,7 @@
 
         padd = lambda l: l.ljust(12)
         ws = [ui.Row("dialog.nic._row[0]",
-                     [ui.KeywordLabel("dialog.nic.ifname",
-                                      padd("Interface: ")),
-                      ui.KeywordLabel("dialog.nic.driver", padd("Driver: ")),
-                      ]),
-              ui.Row("dialog.nic._row[1]",
-                     [ui.KeywordLabel("dialog.nic.protocol",
-                                      padd("Protocol: ")),
+                     [ui.KeywordLabel("dialog.nic.driver", padd("Driver: ")),
                       ui.KeywordLabel("dialog.nic.vendor", padd("Vendor: ")),
                       ]),
 


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

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