openstacksdk/doc/source/user/guides/shared_file_system.rst
Reynaldo Bontje c3e77fc61e Add resize/extend share actions.
Adds the resize/extend actions from the
Share actions API. Includes the resize_share
method in the proxy.

Change-Id: I9c852360b2e71f6e0a2cfd45c0a77690220379cd
2023-04-11 18:51:41 +00:00

2.0 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