Merge "Add support project-id for arq patch releasenote"

This commit is contained in:
Zuul
2021-12-21 05:41:09 +00:00
committed by Gerrit Code Review
2 changed files with 14 additions and 0 deletions

View File

@@ -249,6 +249,13 @@ class BindAcceleratorRequest(command.ShowOne):
metavar="<device_rp_uuid>",
help=_("Bind device_rp_uuid of the accelerator request")
)
parser.add_argument(
"project_id",
metavar="<project_id>",
help=_("Bind current user's project_id to the accelerator "
"request. The field requires at least "
"``--os-accelerator-api-version 2.1``.")
)
return parser

View File

@@ -0,0 +1,7 @@
---
features:
- |
Add support for microversion 2.1, when apply arq patch, ``project_id`` of
current user can be saved in arq, which can forbidden other user to
operate the arq, like this:
``openstack --os-accelerator-api-version 2.1 accelerator arq bind --fileds project_id``