forked from canonical/snapd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
many: fix iface static attrs not properly updating (canonical#12878)
* o/ifacestate: fix typo Signed-off-by: Alex Lewontin <[email protected]> * o/ifacestate: autoconnection checking should not be task-bound Signed-off-by: Alex Lewontin <[email protected]> * o/ifacestate: update static attrs based on {auto,}connection policy Signed-off-by: Alex Lewontin <[email protected]> * tests: add spread test for static attr updating Signed-off-by: Alex Lewontin <[email protected]> * tests: add shared-memory static-attr update test Signed-off-by: Alex Lewontin <[email protected]> * o/ifacestate: add tests for policy-driven static attr updates Signed-off-by: Alex Lewontin <[email protected]> * o/ifacestate: simplify state error handling when reloading connections Signed-off-by: Alex Lewontin <[email protected]> * Revert "o/ifacestate: simplify state error handling when reloading connections" This reverts commit d3f67c6. * o/i: restore DeviceCtx on cleanup Signed-off-by: Alex Lewontin <[email protected]> * o/ifacestate: simpler state handling when reloading connections Signed-off-by: Alex Lewontin <[email protected]> * o/ifacestate: also check AutoConnect method when doing policy based reloading Signed-off-by: Alex Lewontin <[email protected]> * o/i: use new Sequence helpers in test Signed-off-by: Alex Lewontin <[email protected]> * o/ifacestate: add missing appset parameter * tests/main/upgrade-from-2.15: kill the test The test is no longer useful. The oldest version we have in any distribution is 2.38 in Trusty, see https://launchpad.net/snapd/+packages but also 2.15 is very ancient and completely unsupported at this time. Signed-off-by: Maciej Borzecki <[email protected]> * overlord: update managers test to account for preserved plug static attributes Signed-off-by: Maciej Borzecki <[email protected]> * tests/main/interface-static-attrs-update-on-refresh: clean up after the test Signed-off-by: Maciej Borzecki <[email protected]> --------- Signed-off-by: Alex Lewontin <[email protected]> Signed-off-by: Maciej Borzecki <[email protected]> Co-authored-by: Philip Meulengracht <[email protected]> Co-authored-by: Maciej Borzecki <[email protected]>
- Loading branch information
1 parent
5291381
commit ccc5562
Showing
13 changed files
with
551 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.