Lance Bragstad 641a4faac1 Implement support for registered limits
This commit adds support for users to manage registered limits via
the command line.

bp unified-limits

Depends-On: https://review.openstack.org/#/c/574391/
Change-Id: Id8377363f7a3248b45aeeba21d2acc02684a0305
2018-07-23 21:18:50 +00:00

3.0 KiB

registered limit

Identity v3

Registered limits are used to define default limits for resources within a deployment.

registered limit create

Create a new registered limit

registered limit create

openstack registered limit create
    [--description <description>]
    [--region <region>]
    --service <service>
    --default-limit <default-limit>
    <resource-name>

--description <description>

Useful description of the registered limit or its purpose

--region <region>

Region that the limit should be applied to

--service <service>

The service that is responsible for the resource being limited (required)

--default-limit <default-limit>

The default limit for projects to assume unless explicitly overridden (required)

<resource-name>

The name of the resource to limit (e.g. cores or volumes)

registered limit delete

Delete registered limit(s)

registered limit delete

openstack registered limit delete
    <registered-limit-id> [<registered-limit-id> ...]

<registered-limit-id>

Registered limit(s) to delete (ID)

registered limit list

List registered limits

registered limit list

openstack registered limit list
    [--service <service>]
    [--resource-name <resource-name>]
    [--region <region>]

--service <service>

The service to filter the response by (name or ID)

--resource-name <resource-name>

The name of the resource to filter the response by

--region <region>

The region name to filter the response by

registered limit show

Display details about a registered limit

registered limit show

openstack registered limit show
    <registered-limit-id>

<registered-limit-id>

Registered limit to display (ID)

registered limit set

Update a registered limit

registered limit set

openstack registered limit set
    [--service <service>]
    [--resource-name <resource-name>]
    [--default-limit <default-limit>]
    [--description <description>]
    [--region <region>]
    <registered-limit-id>

--service <service>

The service of the registered limit to update (ID or name)

--resource-name <resource-name>

The name of the resource for the limit

--default-limit <default-limit>

The default limit for projects to assume for a given resource

--description <description>

A useful description of the limit or its purpose

--region <region>

The region the limit should apply to

<registered-limit-id>

Registered limit to display (ID)