Files
openstacksdk/doc/source/user/guides/shared_file_system.rst
Ashley Rodriguez 4838e5e729 Add share group snapshots to shared file systems.
Introduce Share Group Snapshot class with basic methods including list,
create, delete, get and update to shared file system storage service.

Change-Id: Ice8750dcf07ff436ba8d9e9cf5e8cb183b5b3825
2023-07-05 19:12:05 -03:00

3.6 KiB

Using OpenStack Shared File Systems

Before working with the Shared File System service, you'll need to create a connection to your OpenStack cloud by following the connect user guide. This will provide you with the conn variable used in the examples below.

Table of Contents

List Availability Zones

A Shared File System service availability zone is a failure domain for your shared file systems. You may create a shared file system (referred to simply as shares) in a given availability zone, and create replicas of the share in other availability zones.

../examples/shared_file_system/availability_zones.py

Share Instances

Administrators can list, show information for, explicitly set the state of, and force-delete share instances.

../examples/shared_file_system/share_instances.py

Get Share Instance

Shows details for a single share instance.

../examples/shared_file_system/share_instances.py

Reset Share Instance Status

Explicitly updates the state of a share instance.

../examples/shared_file_system/share_instances.py

Delete Share Instance

Force-deletes a share instance.

../examples/shared_file_system/share_instances.py

Resize Share

Shared File System shares can be resized (extended or shrunk) to a given size. For details on resizing shares, refer to the Manila docs.

../examples/shared_file_system/shares.py

../examples/shared_file_system/shares.py

List Share Group Snapshots

A share group snapshot is a point-in-time, read-only copy of the data that is contained in a share group. You can list all share group snapshots

../examples/shared_file_system/share_group_snapshots.py

Get Share Group Snapshot

Show share group snapshot details

../examples/shared_file_system/share_group_snapshots.py

List Share Group Snapshot Members

Lists all share group snapshots members.

../examples/shared_file_system/share_group_snapshots.py

Create Share Group Snapshot

Creates a snapshot from a share group.

../examples/shared_file_system/share_group_snapshots.py

Reset Share Group Snapshot

Reset share group snapshot state.

../examples/shared_file_system/share_group_snapshots.py

Update Share Group Snapshot

Updates a share group snapshot.

../examples/shared_file_system/share_group_snapshots.py

Delete Share Group Snapshot

Deletes a share group snapshot.

../examples/shared_file_system/share_group_snapshots.py