File: allocation-unset-resource-3ff87787eca13f18.yaml

package info (click to toggle)
python-osc-placement 4.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 640 kB
  • sloc: python: 4,039; makefile: 25; sh: 2
file content (19 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
features:
  - |
    The ``openstack resource provider allocation unset`` command now supports
    ``--resource-class`` option, which accepts string of a resource class.
    This will remove allocations for the given resource class from all the
    providers. If ``--provider`` option is also specified, allocations to
    remove will be limited to the given resource class of the given resource
    provider.

    example1::

        # remove VGPU allocation from provider P for this consumer.
        allocation unset <consumer_uuid> --provider P --resource-class VGPU

    example2::

        # remove VGPU allocations from all providers for this consumer.
        allocation unset <consumer_uuid> --resource-class VGPU