Project

General

Profile

Bug #66936

Use Nvlist keys from ZFS Header

Added by Waqar Ahmed 15 days ago. Updated 3 days ago.

Status:
Ready for Testing
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

For accessing data in zfs nvlists, we declare strings on the go and use them for fetching different data from the nvlist. However this is not ideal and we should be using consts defined in zfs header as this will reduce chances of error where we mistakingly change a key's name and also help increase readability and improve our py-libzfs code base in general

Associated revisions

Revision ac52656a (diff)
Added by Waqar Ahmed 4 days ago

Use constants defined in zfs header

This commit introduces changes to most of the strings which have been defined on the go and could be imported from zfs header. We import them from zfs header now to make the code base more consistent and also avoid potential errors in the future.
Ticket: #66936

History

#1 Updated by Waqar Ahmed 6 days ago

  • Status changed from Screened to In Progress

#2 Updated by Waqar Ahmed 3 days ago

  • Status changed from In Progress to Ready for Testing

Also available in: Atom PDF