pool.is_upgraded

Returns whether or not the pool of id is on the latest version and with all feature flags enabled.

Queries the database for the pool matching the given id, then checks each ZFS feature flag on the pool. Returns true only when every feature flag is in the ENABLED or ACTIVE state. Returns false if the pool is not currently imported or if the feature flags cannot be read for any reason.

Raises a ValidationError if id does not match any pool in the database.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer

ID of the pool to check upgrade status for.

Result

Type: boolean

Whether the pool has been upgraded to the latest feature flags.



Required roles: POOL_READ