Add support project-id for arq patch releasenote
Change-Id: Ie0c0a047ac2dd7341e1c66b6feb178e39b9ab433
This commit is contained in:
committed by
Wenping Song
parent
e1cf238c5d
commit
9c26ba7e4b
@@ -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
|
||||
|
||||
|
||||
@@ -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``
|
||||
Reference in New Issue
Block a user