lbcli get qos-policy (2.3.16 and above)

Gets qos-policy information.

Bash
Copy

Gets qos-policy information.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for qos-policy.
--namestringPolicy name. Either UUID or name must be specified, but not both.
--project-namestringProject name.
--uuidstringPolicy UUID. Either UUID or name must be specified, but not both.

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.
  • 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;

}

Project 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”.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches