-
Notifications
You must be signed in to change notification settings - Fork 1.2k
API: Add support to list all snapshot policies & backup schedules #11587
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
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #11587 +/- ##
============================================
+ Coverage 17.54% 17.56% +0.01%
- Complexity 15483 15498 +15
============================================
Files 5897 5898 +1
Lines 527484 527778 +294
Branches 64432 64473 +41
============================================
+ Hits 92566 92703 +137
- Misses 424508 424651 +143
- Partials 10410 10424 +14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@Pearl1594 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 14924 |
|
@blueorangutan package |
|
@harikrishna-patnala a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14928 |
|
@blueorangutan package |
|
[SF] Trillian test result (tid-14497)
|
|
[SF] Trillian test result (tid-14496)
|
|
[SF] Trillian test result (tid-14501)
|
|
[SF] Trillian test result (tid-14502)
|
vladimirpetrov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM based on manual testing.
|
@Pearl1594 can you address the merge conflicts and rekick tests, thank you. |
…ort-list-policies
|
@blueorangutan package |
|
@Pearl1594 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15318 |
|
@blueorangutan test matrix |
|
@DaanHoogland a [SL] Trillian-Jenkins matrix job (EL8 mgmt + EL8 KVM, Ubuntu22 mgmt + Ubuntu22 KVM, EL8 mgmt + VMware 7.0u3, EL9 mgmt + XCP-ng 8.2 ) has been kicked to run smoke tests |
|
[SF] Trillian Build Failed (tid-14566) |
|
[SF] Trillian Build Failed (tid-14567) |
|
@blueorangutan test |
|
@harikrishna-patnala a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14565)
|
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
[SF] Trillian test result (tid-14568)
|
|
[SF] Trillian test result (tid-14571)
|
…ort-list-policies
|
…ache#11587) * API: Add support to list all snapshot policies & backup schedules * Add support for backup policy listing without tying it to the vmid * add tests for snapshot policy listing * update tests for listbackupschedules * remove trailing spaces and fix lint failure * Add upgrade test * remove unused import * add create policy - snap/backup in the list view with resource (volume/vm) selection * add translations * refresh parent list * remove unnecessary alert info * fix checks for UI backup schedule list view * fix checks for UI backup schedule list view * add back access checks * add since param * fix failing test * update snapshot policy and backup schedule ownership when VM is moved * fix issue with showing vm selection * fix unit test failure * Update list snappolicy & backup schedule logic to list only those that belong to a proj or for root admin those that belong to it, unless listall & projid is passed * fix test * support snap / backup policy search using keyword * fix tests



Description
This PR allows listing snapshot policies and backup schedules without tying them to volume ids and vm ids respectively, to get the entire list.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Screenshots (if appropriate):
Backup Schedule:
Creation of backup schedule from Backup schedule list view:

Snapshot Policy
Switch between volumes or instances for snapshot policy creation or backup schedule creation from the list view, results in refresh of the list of policies present of the resource in context.
Search filter for snapshot policies, lets you filter by volumes:

Search filter for backup schedules, lets you filter by instances:

How Has This Been Tested
How did you try to break this feature and the system with this change?