subiquity/subiquitycore
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
..
controllers Major refactor of network model 2018-10-31 09:58:56 +13:00
models Major refactor of network model 2018-10-31 09:58:56 +13:00
testing fix tests 2018-07-06 14:44:19 +12:00
tests Fix writing of netplan configs 2018-06-07 11:46:34 -04:00
ui Major refactor of network model 2018-10-31 09:58:56 +13:00
__init__.py pyflakes3 fixes for subiquitycore/__init__.py 2018-05-24 16:59:31 -05:00
controller.py pep8 fixes for subiquitycore/controller.py 2018-05-24 16:51:51 -05:00
core.py pep8 fixes for subiquitycore/core.py 2018-05-24 16:59:31 -05:00
file_util.py Fix writing of netplan configs 2018-06-07 11:46:34 -04:00
i18n.py tox: Support running tests and flake8 in tox. 2018-06-05 17:59:46 -04:00
log.py Drop commented out / dead code 2018-05-23 18:53:12 -05:00
lsb_release.py tox: Support running tests and flake8 in tox. 2018-06-05 17:59:46 -04:00
netplan.py Major refactor of network model 2018-10-31 09:58:56 +13:00
prober.py pep8 fixes for subiquitycore/prober.py 2018-05-24 16:51:51 -05:00
signals.py Drop commented out / dead code 2018-05-23 18:53:12 -05:00
tasksequence.py pep8 fixes for subiquitycore/tasksequence.py 2018-05-24 16:59:31 -05:00
utils.py pep8 fixes for subiquitycore/utils.py 2018-05-24 16:51:51 -05:00
view.py grey out the background widget when an overlay is showing 2018-07-04 15:53:47 +12:00