add command "openstack rbac list"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Invalid
|
Undecided
|
ting.wang |
Bug Description
This bug aim to explain how I plan to implement command 'openstack rbac list' which is a part of the bp[1].
With command "neutron rbac-list"[2], we can get the rbac information from Neutron.
But in openstackclient, we have not implemented this command yet.So,add it.
$neutron rbac-list
+------
| id | object_type | object_id |
+------
| 374f5ea8-
| f1af9230-
+------
In neutronclient, there are not any optional arguments in command 'rbac-list' although the response looks like this:
RESP BODY: {"rbac_policies": [{"target_tenant": "*", "tenant_id": "82c2afcd955e4b
The other arguments like "target_tenant" will be displayed when we execute command "neutron rbac show ***".
Similarly, executing command "openstack rbac list" will return result like this:
$ openstack rbac list
+------
| ID | Object_type | Object_id |
+------
| 374f5ea8-
| f1af9230-
+------
and no optional arguments supplied.
ref:
[1]bp:
https:/
[2]about rbac in neutron:
https:/
Changed in python-openstackclient: | |
assignee: | nobody → ting.wang (bx-wang) |
Changed in python-openstackclient: | |
status: | New → In Progress |
Changed in python-openstackclient: | |
status: | In Progress → New |
status: | New → Invalid |
You can close this bug and track the work under the blueprint.