Displaying 1 result from an estimated 1 matches for "get_selected_network".
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
...= self.__network_list
+ else:
+ self.__has_networks = False
+ result = Label("There are no networks available.")
+ grid = Grid(1, 1)
+ grid.setField(result, 0, 0)
+ return [Label("Network List"),
+ grid]
+
+ def get_selected_network(self):
+ return self.__network_list.current()
+
+ def has_selectable_networks(self):
+ return self.__has_networks
diff --git a/nodeadmin/createdomain.py b/nodeadmin/createdomain.py
index b73a09e..6f10b44 100755
--- a/nodeadmin/createdomain.py
+++ b/nodeadmin/createdomain.py
@@ -55,...