lbcli list-qos policies (2.3.16 and above)

Lists qos-policies resources.

Bash
Copy

Lists qos-policies resources.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for qos-policies.
--namestringPolicy name.
--project-namestringProject name. This is relevant only for polices that are available for this project (global, or projects specified in scope).
--uuidstringPolicy UUID.

This command returns the following fields for each policy. The default output format is human-readable. The human-readable output only shows some of these fields. The json/yaml output format is also supported and includes additional fields.

FieldTypeDescription
NameStringQoS policy name.
DescriptionStringQoS policy description.
StateString

Policy state:

  • Creating = 1
  • Active = 2
  • Updating = 3
  • Deprecated = 4. This is a QoS policy that a user requested to delete. However, the policy still has some volumes associated with it, so it cannot be deleted, but is now deprecated and not available for new actions. Policy will be deleted by cluster once volumes are deleted or updated to use a different policy.
  • Failed = 5. Failed to create a new QoS policy.
QoS Rate Limit PolicyStruct

The defined QOS parameters of the policy.

QoS Rate Limit Policy is a structure that contains visibility, scope, and an inner structure - as shown below (each of these are defined in create qos-policy). It will be either limitIOPS, limitBW, or limitIOPSPerGB.

message limitIOPS {

uint32 writeIOPSLimit = 1;

uint32 readIOPSLimit = 2;

}

message limitBW{

uint32 writeBWLimit = 1;

uint32 readBWLimit = 2;

}

message limitIOPSPerGB {

uint32 writeIOPSPerGBLimit = 1;

uint32 readIOPSPerGBLimit = 2;

}

Projects Names ScopeStringA list of project names that can use this policy.
Policy VisibilityEnum

This has three options:

  • Unavailable - which will be returned upon get/list QoS policies to non-cluster admin callers, or to all callers of "list" QoS policies if the result is filtered out by project name.
  • Global - indicates a global policy. A global policy is available to all volumes and projects in a cluster.
  • Scoped - indicates a private (scoped) policy. This is available only to projects specified in “Project Names Scope”.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard