Repository navigation
pybind/snap_schedule: add initial interface #29489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
ee9dea6
pybing/mgr/mgr_module: allow keyword arguments
2ec5a23
pybind/mgr/mgr_util: CephFSClient - add helper methods
26b94fe
snap_schedule: add initial interface and basic CRUD ops
29a6f72
spec: include snap_schedule in ceph spec file
vshankar 39cbd13
pybind/mgr/snap_schedule: take snapshots according to schedule.
3f3df87
snap-schedule: Implement pruning according to retention specfication
92f21b1
snap_schedule: add metadata fields, refactor Schedule, multiple Sched…
6c63b35
pybind/mgr/snap-schedule: list - print ws separated results
759403a
pybind/mgr/snap-schedule: add interface to de-/activate schedules
aee0981
pybind/mgr/snap-schedule: refactor schedule into two modules
efc9ca0
pybing/mgr/snap_schedule: Add active flag to status report
07efe45
pybind/mgr/snap_schedule: refactor Schedule ctor, make more args opti…
f19114a
pybind/snap_schedule: return negative error codes
vshankar a48efa4
pybing/mgr/snap_sched: improve SQL statements, logging, metadata
5b9c924
pybind/mgr/snap_schedule: add unit tests
0af1449
pybind/mgr/snap-schedule: fix meta uniqueness contraint
5f0c5f2
pybing/mgr/snap_schedule: add more unit tests
8ebf967
pybing/mgr/snap_schedule: add separate retention interface
38a3e21
pybind/mgr/snap_schedule: integrate with mgr wide tox testing
39cf0d9
pybind/mgr/snap_schedule: add type hint for mypy, fix import
ed61ed9
pybing/mgr/snap_schedule: guard minute repeat interval
4d29eae
pybind/mgr/snap_schedule: datetime.fromisoformat fallbacks
b88b5e9
pybind/mgr/snap_schedule: fix import locations for unit tests
19f918a
pybind/mgr/snap_schedule: don't use as keyword in update statement
4823e65
pybing/mgr/snap_schedule: normalize dates to utc and ignore microseconds
6491e53
pybind/mgr/snap_schedule: fix imports for snap_schedule vs mgr wide t…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| .tox |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # -*- coding: utf-8 -*- | ||
|
|
||
| from os import environ | ||
|
|
||
| if 'SNAP_SCHED_UNITTEST' in environ: | ||
| import tests | ||
| elif 'UNITTEST' in environ: | ||
| import tests | ||
| from .module import Module | ||
| else: | ||
| from .module import Module | ||
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.