Commit pre- and post-hooks will be called from the Python vyconf_session.commit function, as a proper separation of concerns.
Those calls will be protected by a lockf/fcntl lock consistent with the legacy locking mechanism; when all remaining references to the legacy lock file are removed, this can be migrated to use the BSD-type lock of vyos.utils.locking.
Description
Description
Details
Details
- Version
- -
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Feature (new functionality)