subiquity/subiquitycore/ui
Michael Hudson-Doyle 15b6bb1114 Major refactor of network model
The main thrust of this is to not create virtual interfaces until
applying the config.

This meant that the network model has to change a bit to be able to
represent interfaces that do not yet exist on the system. I did this
by ripping out most of the existing network device code: now a
NetworkDev is really just a wrapper for the config for a device and (if
it exists) the netlink data too. A few places had to adjust to checking
if the netlink info is available before accessing it but all in all it
was not that painful.

There are a few other refactorings in this commit that perhaps should be
split out (how the bond parameters are handled, some stuff about
resizing the table rows when interfaces are edited) but it doesn't
really seem worth it.
2018-10-31 09:58:56 +13:00
..
views Major refactor of network model 2018-10-31 09:58:56 +13:00
__init__.py Rename subiquity to subiquitycore -- will serve as base classes for everything 2016-06-30 14:17:01 -04:00
actionmenu.py unify "action menu row" creation 2018-07-06 13:57:55 +12:00
anchors.py use our custom WidgetWrap everywhere 2018-06-22 09:38:18 +12:00
buttons.py change " menu >" to "[ menu ▸ ]" 2018-06-26 10:19:57 +12:00
container.py add arrows at end of scrollbar 2018-07-16 12:44:38 +12:00
form.py correctly call wrapped lost_focus in _Validator.lost_focus 2018-07-16 12:44:38 +12:00
frame.py use our custom WidgetWrap everywhere 2018-06-22 09:38:18 +12:00
interactive.py use our custom WidgetWrap everywhere 2018-06-22 09:38:18 +12:00
selector.py Merge pull request #373 from mwhudson/raid-the-fourth 2018-06-27 11:06:43 +12:00
stretchy.py fix stupid failure of arithmetic in stretchy 2018-06-25 22:57:57 +12:00
table.py Major refactor of network model 2018-10-31 09:58:56 +13:00
utils.py unify "action menu row" creation 2018-07-06 13:57:55 +12:00
width.py add the raid view 2018-06-26 12:22:09 +12:00