RETIRED, Urwid-based console user interface to configure Fuel master node.
42f24e8aec
This patch change menu modules is such way that they share settings and change it in memory not on file system. Settings dumped on fs only when save called explicitly by user from UI. Partial-Bug: #1527111 Change-Id: If2930991501b1718174d1b84b0d8d53af6f6a789 |
||
---|---|---|
fuelmenu | ||
specs | ||
.gitignore | ||
.gitreview | ||
MAINTAINERS | ||
MANIFEST.in | ||
README | ||
run_tests.sh | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Fuel menu This tool is used to perform setup of network interfaces, as well as configure Cobbler parameters. The framework is extensible. Plugin guidelines: Create a python class with a filename matching the class: class foo(urwid.Widget) and foo.py Place this file in the Fuel Menu modules folder. Plugin class should define the following functions: __init__(self, parent) check(self, args) apply(self, args) save(self) #Still need to complete load(self) #Still need to complete screenUI(self) screenUI should use urwidwrapper class to define and set up all UI elements Note that you need to specify a function for buttons and radio button groups for them to work properly. Check and Apply buttons should point to check and apply functions, respectively.