Skip to content

Commit c332e3e

Browse files
authored
Merge pull request #3205 from kayrus/share-group-id
[manila] add share_group_id to share's CreateOpts
2 parents b6222a7 + f8007ee commit c332e3e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

openstack/sharedfilesystems/v2/shares/requests.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ type CreateOpts struct {
5656
SnapshotID string `json:"snapshot_id,omitempty"`
5757
// Determines whether or not the share is public
5858
IsPublic *bool `json:"is_public,omitempty"`
59+
// The UUID of the share group. Available starting from the microversion 2.31
60+
ShareGroupID string `json:"share_group_id,omitempty"`
5961
// Key value pairs of user defined metadata
6062
Metadata map[string]string `json:"metadata,omitempty"`
6163
// The UUID of the share network to which the share belongs to

openstack/sharedfilesystems/v2/shares/results.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ type Share struct {
5454
ShareType string `json:"share_type"`
5555
// The name of the share type.
5656
ShareTypeName string `json:"share_type_name"`
57+
// The UUID of the share group. Available starting from the microversion 2.31
58+
ShareGroupID string `json:"share_group_id"`
5759
// Size of the share in GB
5860
Size int `json:"size"`
5961
// UUID of the snapshot from which to create the share

0 commit comments

Comments
 (0)