]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/snap-schedule: add interface to de-/activate schedules
authorJan Fajerski <jfajerski@suse.com>
Wed, 13 May 2020 08:42:34 +0000 (10:42 +0200)
committerJan Fajerski <jfajerski@suse.com>
Thu, 27 Aug 2020 13:55:46 +0000 (15:55 +0200)
commit759403a04fbc8dd067cc00cf94bddcb96d9422ed
treeb142e54f4959f1d3c38734860fd1bdc0511571b1
parent6c63b353ea9ce1b2e6e5081e9b087cf07650ac06
pybind/mgr/snap-schedule: add interface to de-/activate schedules

This allows to 1) activate schedules that have previously been
deactivated due to the path no existing and 2) allowing ussers to
explicitly deactivate a schedule for debugging or maintenance purposes.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/pybind/mgr/snap_schedule/fs/schedule.py
src/pybind/mgr/snap_schedule/module.py