-
Notifications
You must be signed in to change notification settings - Fork 135
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
Introduce storage volume snapshots #584
Introduce storage volume snapshots #584
Commits on Jul 2, 2024
-
pylxd: Move managers from
storage_pool
tomanagers
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for c4761b8 - Browse repository at this point
Copy the full SHA c4761b8View commit details -
pylxd/models/storage_pool: Add documentation link to docstring
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 96e5de0 - Browse repository at this point
Copy the full SHA 96e5de0View commit details -
lxd/models/storage_pool: Add
content_type
toStorageVolume
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for b84f2aa - Browse repository at this point
Copy the full SHA b84f2aaView commit details -
pylxd/managers: Create
StorageVolumeSnapshotManager
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 19b9cb3 - Browse repository at this point
Copy the full SHA 19b9cb3View commit details -
pylxd/models/storage_pool: Add
restore_from
function to `StorageVol……ume` Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 135af6b - Browse repository at this point
Copy the full SHA 135af6bView commit details -
pylxd/models: Add
post
method toModel
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 1199807 - Browse repository at this point
Copy the full SHA 1199807View commit details -
pylxd/models/storage-pool: Create
StorageVolumeSnapshot
This class adds support for creating snapshots, restoring a volume from a snapshot, retrieving snapshot information and deleting a snapshot. Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 67b8de8 - Browse repository at this point
Copy the full SHA 67b8de8View commit details -
pylxd/models: Add
StorageVolumeSnapshot
topylxd.models
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6cd451f - Browse repository at this point
Copy the full SHA 6cd451fView commit details -
pylxd/models/_model: Add
__eq__
toModel
This method returns True when two models are of the same class and have the same attributes with the same values. This is needed for the StorageVolumeSnapshot tests. Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 554f32e - Browse repository at this point
Copy the full SHA 554f32eView commit details -
integration: Move storage helper functions to
testing
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e6c8f27 - Browse repository at this point
Copy the full SHA e6c8f27View commit details -
integration/testing: Add helper functions for snapshot tests
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for fd3add6 - Browse repository at this point
Copy the full SHA fd3add6View commit details -
integration/test-storage: Use new functions from
IntegrationTestCase
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for a7c6330 - Browse repository at this point
Copy the full SHA a7c6330View commit details -
integration/test_storage: Change API missing error message
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e0d5ee8 - Browse repository at this point
Copy the full SHA e0d5ee8View commit details -
integration/test_storage: Add tests for
StorageVolumeSnapshot
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for ed1a54e - Browse repository at this point
Copy the full SHA ed1a54eView commit details -
doc/source: Add documentation for added features
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f9da9c1 - Browse repository at this point
Copy the full SHA f9da9c1View commit details