The share size can be limited by share type

Registered by haixin

In some usage scenarios, we do not want users to create too large share size, then affect the number of shares that can be created, mybe limited by project quota or backend storage.
or in some usage scenarios, creating a share that is too small makes no sense.

So we would better gives administrators the ability to set the maximum and minimum sizes for a single share by set share type extra_specs. then the size restrictions will be checked at the API level as part of share creation, extend, shrink or migration.
for example:
two new share type keys are supported for setting the minimum share size and maximum share size for that type.
'min_share_size'
'max_share_size'

Blueprint information

Status:
Complete
Approver:
Goutham Pacha Ravi
Priority:
Low
Drafter:
haixin
Direction:
Approved
Assignee:
haixin
Definition:
Approved
Series goal:
Accepted for wallaby
Implementation:
Implemented
Milestone target:
milestone icon wallaby-rc1
Started by
Goutham Pacha Ravi
Completed by
Goutham Pacha Ravi

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.