Project

General

Profile

Bug #24040

Feature #23149: CRUD ZFS Volume (ZVol)

Bug #24002: add missing three fields, comments, Force Size, and block size.

Add comments to zvol dict

Added by Vaibhav Chauhan over 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
Nice to have
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

for GET request http://localhost:3000/api/v1.0/storage/volume/tank-a/zvols/zvol-test/
we get following response {"avail": 5711187968, "compression": "gzip-1", "dedup": "on", "name": "zvol-test", "refer": 57344, "used": 57344, "volsize": 10485760}

however, in order to display existing comments entered by user, I would like something along the lines of

{"avail": 5711187968, "compression": "gzip-1", "dedup": "on", "name": "zvol-test", "refer": 57344, "used": 57344, "volsize": 10485760, "comments": "test-comments"}

Associated revisions

Revision 9a5899e3 (diff)
Added by William Grzybowski over 1 year ago

feat(api): add comments to zvol dict

Ticket: #24040

History

#1 Updated by William Grzybowski over 1 year ago

  • Status changed from Unscreened to Screened

#2 Updated by William Grzybowski over 1 year ago

  • Status changed from Screened to Resolved
  • Target version set to 11.1

#3 Updated by Dru Lavigne about 1 year ago

  • Subject changed from please add "comments" in GET response. to Add comments to zvol dict

#4 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.1 to 11.1-BETA1

#5 Updated by Joe Maloney 12 months ago

  • Needs QA changed from Yes to No
  • QA Status deleted (Not Tested)

Also available in: Atom PDF