Skip to content
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

Merged

Commits on Jul 2, 2024

  1. pylxd: Move managers from storage_pool to managers

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    c4761b8 View commit details
    Browse the repository at this point in the history
  2. pylxd/models/storage_pool: Add documentation link to docstring

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    96e5de0 View commit details
    Browse the repository at this point in the history
  3. lxd/models/storage_pool: Add content_type to StorageVolume

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    b84f2aa View commit details
    Browse the repository at this point in the history
  4. pylxd/managers: Create StorageVolumeSnapshotManager

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    19b9cb3 View commit details
    Browse the repository at this point in the history
  5. pylxd/models/storage_pool: Add restore_from function to `StorageVol…

    …ume`
    
    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    135af6b View commit details
    Browse the repository at this point in the history
  6. pylxd/models: Add post method to Model

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    1199807 View commit details
    Browse the repository at this point in the history
  7. 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>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    67b8de8 View commit details
    Browse the repository at this point in the history
  8. pylxd/models: Add StorageVolumeSnapshot to pylxd.models

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    6cd451f View commit details
    Browse the repository at this point in the history
  9. pylxd/models/_model: Add __eq__ to Model

    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>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    554f32e View commit details
    Browse the repository at this point in the history
  10. integration: Move storage helper functions to testing

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    e6c8f27 View commit details
    Browse the repository at this point in the history
  11. integration/testing: Add helper functions for snapshot tests

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    fd3add6 View commit details
    Browse the repository at this point in the history
  12. integration/test-storage: Use new functions from IntegrationTestCase

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    a7c6330 View commit details
    Browse the repository at this point in the history
  13. integration/test_storage: Change API missing error message

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    e0d5ee8 View commit details
    Browse the repository at this point in the history
  14. integration/test_storage: Add tests for StorageVolumeSnapshot

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    ed1a54e View commit details
    Browse the repository at this point in the history
  15. doc/source: Add documentation for added features

    Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
    hamistao committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    f9da9c1 View commit details
    Browse the repository at this point in the history