/usr/lib/python2.6/site-packages/openstack/identity/v2
NameSizeModeActions
extension.py22160644editdlrm
extension.pyc14290644editdlrm
role.py13370644editdlrm
role.pyc9990644editdlrm
tenant.py14610644editdlrm
tenant.pyc9490644editdlrm
user.py14350644editdlrm
user.pyc9310644editdlrm
_proxy.py101020644editdlrm
_proxy.pyc117750644editdlrm
__init__.py00644editdlrm
__init__.pyc1550644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstack/identity/v2/_proxy.pyc (11775B)
5 Wc@s]ddklZddklZddklZddklZdei fdYZ dS(i(trole(ttenant(tuser(tproxytProxycBseZdZedZedZdZdZdZdZ edZ edZ d Z d Z d Zd Zed ZedZdZdZdZRS(cKs|iti|S(sqCreate a new role from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.identity.v2.role.Role`, comprised of the properties on the Role class. :returns: The results of role creation :rtype: :class:`~openstack.identity.v2.role.Role` (t_createt_roletRole(tselftattrs((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt create_roles cCs|iti|d|dS(sDelete a role :param role: The value can be either the ID of a role or a :class:`~openstack.identity.v2.role.Role` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the role does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent role. :returns: ``None`` tignore_missingN(t_deleteRR(RRR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt delete_role!s cCs|iti|d|S(sFind a single role :param name_or_id: The name or ID of a role. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.identity.v2.role.Role` or None R (t_findRR(Rt name_or_idR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt find_role0s cCs|iti|S(sRGet a single role :param role: The value can be the ID of a role or a :class:`~openstack.identity.v2.role.Role` instance. :returns: One :class:`~openstack.identity.v2.role.Role` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (t_getRR(RR((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pytget_role>s cKs|itidt|S(s!Retrieve a generator of roles :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of role instances. :rtype: :class:`~openstack.identity.v2.role.Role` t paginated(t_listRRtTrue(Rtquery((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pytrolesJs cKs|iti||S(s]Update a role :param role: Either the ID of a role or a :class:`~openstack.identity.v2.role.Role` instance. :attrs kwargs: The attributes to update on the role represented by ``value``. :returns: The updated role :rtype: :class:`~openstack.identity.v2.role.Role` (t_updateRR(RRR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt update_roleUs cKs|iti|S(sCreate a new tenant from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.identity.v2.tenant.Tenant`, comprised of the properties on the Tenant class. :returns: The results of tenant creation :rtype: :class:`~openstack.identity.v2.tenant.Tenant` (Rt_tenanttTenant(RR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt create_tenantbs cCs|iti|d|dS(sDelete a tenant :param tenant: The value can be either the ID of a tenant or a :class:`~openstack.identity.v2.tenant.Tenant` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the tenant does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent tenant. :returns: ``None`` R N(R RR(RRR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt delete_tenantns cCs|iti|d|S(sFind a single tenant :param name_or_id: The name or ID of a tenant. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.identity.v2.tenant.Tenant` or None R (RRR(RRR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt find_tenant}s cCs|iti|S(sbGet a single tenant :param tenant: The value can be the ID of a tenant or a :class:`~openstack.identity.v2.tenant.Tenant` instance. :returns: One :class:`~openstack.identity.v2.tenant.Tenant` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (RRR(RR((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt get_tenants cKs|itidt|S(s)Retrieve a generator of tenants :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of tenant instances. :rtype: :class:`~openstack.identity.v2.tenant.Tenant` R(RRRR(RR((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyttenantss cKs|iti||S(spUpdate a tenant :param tenant: Either the ID of a tenant or a :class:`~openstack.identity.v2.tenant.Tenant` instance. :attrs kwargs: The attributes to update on the tenant represented by ``value``. :returns: The updated tenant :rtype: :class:`~openstack.identity.v2.tenant.Tenant` (RRR(RRR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt update_tenants cKs|iti|S(sqCreate a new user from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.identity.v2.user.User`, comprised of the properties on the User class. :returns: The results of user creation :rtype: :class:`~openstack.identity.v2.user.User` (Rt_usertUser(RR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt create_users cCs|iti|d|dS(sDelete a user :param user: The value can be either the ID of a user or a :class:`~openstack.identity.v2.user.User` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the user does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent user. :returns: ``None`` R N(R R"R#(RRR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt delete_users cCs|iti|d|S(sFind a single user :param name_or_id: The name or ID of a user. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.identity.v2.user.User` or None R (RR"R#(RRR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt find_users cCs|iti|S(sRGet a single user :param user: The value can be the ID of a user or a :class:`~openstack.identity.v2.user.User` instance. :returns: One :class:`~openstack.identity.v2.user.User` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (RR"R#(RR((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pytget_users cKs|itidt|S(s!Retrieve a generator of users :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of user instances. :rtype: :class:`~openstack.identity.v2.user.User` R(RR"R#R(RR((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pytuserss cKs|iti||S(s]Update a user :param user: Either the ID of a user or a :class:`~openstack.identity.v2.user.User` instance. :attrs kwargs: The attributes to update on the user represented by ``value``. :returns: The updated user :rtype: :class:`~openstack.identity.v2.user.User` (RR"R#(RRR ((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt update_users (t__name__t __module__R RR RRRRRRRRR R!R$R%R&R'R(R)(((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyRs$       N( topenstack.identity.v2RRRRRR"t openstackRt BaseProxyR(((sB/tmp/pip-build-wCUybK/openstacksdk/openstack/identity/v2/_proxy.pyt s