Public bug reported:

netplan 0.35 would include an additional command:

 netplan try

This would be used to allow users to automatically attempt to apply any
config that can be safely programmatically revert in the case of
failure, and presenting the user with a prompt to acknowledge the
changes. The prompt is intended as a way to ensure the user still has
access to the system when the settings are applied. In the event the
user can't approve the changes, they are backed out after a timeout (120
seconds by default to give the network time to converge).

Settings that can't be backed out are limited to custom bridge and bond
settings that tweak behavior of these devices, since networkd does not
necessarily update these settings when bond devices are changed (only
when they are being created).

'netplan try' is already available as a separate tree in git:
https://github.com/CanonicalLtd/netplan/pull/15/files

This FFE is to make sure the community is aware of these changes so late
in the cycle, and to ensure those are acceptable to land right now,
being leaf changes, fully covered by unit tests and autopkgtests (along
with manual testing). Only users consciously making the decision to use
the command would run into this code path.

The changes are limited to some terminal mangling to allow for the
prompt and timeout; everything else is handled directly in the existing
'netplan apply' code with minimal change to allow this code to be
executed from another "command".

This FFE request seeks pre-approval before merging the "try-command"
branch that incldues this new feature into netplan master to proceed
with the release of netplan 0.35.

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1764824

Title:
  [FFE] 'netplan try' feature in netplan 0.35

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1764824/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to