Re: [openstack-dev] [Keystone] Listing Domain roles (or retrieving them by name)

2016-09-20 Thread Johannes Grassler
Hello, On 09/20/2016 10:15 AM, Johannes Grassler wrote: is there a canonical way to either * list roles in a given domain * or retrieve a role from a given domain by name (preferred) Looks like there is a way: osc_lib.utils.find_resource(admin_client.roles, role_name,

[openstack-dev] [Keystone] Listing Domain roles (or retrieving them by name)

2016-09-20 Thread Johannes Grassler
Hello, is there a canonical way to either * list roles in a given domain * or retrieve a role from a given domain by name (preferred) keystoneclient.v3.roles.RoleManager.list() does not appear to do the trick. While it takes a `domain` argument, it only returns roles with a domain_id=None