Vishakha Agarwal 0d764cdb5a Add project param in LimitList parser
when doing openstack limit list --project xyz_id,
CLI raising error unrecognized arguments, whereas
in api-ref document [1], user can pass project_id
as query param.This addresses the above issue, by
adding param --project in parser of LimitList.

[1] https://developer.openstack.org/api-ref/identity/v3/index.html

Change-Id: If4644cc99a3803f61f4a688b828aeb73977fc0dd
Closes-Bug: #1798744
2018-11-08 11:19:24 -06:00

2.4 KiB

limit

Identity v3

Limits are used to specify project-specific limits thresholds of resources.

limit create

Create a new limit

limit create

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

--description <description>

Useful description of the limit or its purpose

--region <region>

Region that the limit should be applied to

--project <project>

The project that the limit applies to (required)

--service <service>

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

--resource-limit <resource-limit>

The limit to apply to the project (required)

<resource-name>

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

limit delete

Delete project-specific limit(s)

limit delete

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

<limit-id>

Limit(s) to delete (ID)

limit list

List project-specific limits

limit list

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

--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

--project <project>

List resource limits associated with project

limit show

Display details about a limit

limit show

openstack limit show
    <limit-id>

<limit-id>

Limit to display (ID)

limit set

Update a limit

limit show

openstack limit set
    [--description <description>]
    [--resource-limit <resource-limit>]
    <limit-id>

--description <description>

Useful description of the limit or its purpose

--resource-limit <resource-limit>

The limit to apply to the project

<limit-id>

Limit to update (ID)