keystone.common.json_home module

keystone.common.json_home module

class keystone.common.json_home.JsonHomeResources[source]

Bases: object

JSON Home resource data.

classmethod append_resource(rel, data)[source]
classmethod resources()[source]
class keystone.common.json_home.Parameters[source]

Bases: object

Relationships for Common parameters.

APPLICATION_CRED_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/application_credential_id'
DOMAIN_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/domain_id'
ENDPOINT_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/endpoint_id'
GROUP_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/group_id'
LIMIT_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/limit_id'
POLICY_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/policy_id'
PROJECT_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/project_id'
REGION_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/region_id'
REGISTERED_LIMIT_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/registered_limit_id'
ROLE_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/role_id'
SERVICE_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/service_id'
TAG_VALUE = 'https://docs.openstack.org/api/openstack-identity/3/param/tag_value'
USER_ID = 'https://docs.openstack.org/api/openstack-identity/3/param/user_id'
class keystone.common.json_home.Status[source]

Bases: object

Status values supported.

DEPRECATED = 'deprecated'
EXPERIMENTAL = 'experimental'
STABLE = 'stable'
classmethod update_resource_data(resource_data, status)[source]
keystone.common.json_home.build_v3_extension_parameter_relation(extension_name, extension_version, parameter_name)[source]
keystone.common.json_home.build_v3_extension_resource_relation(extension_name, extension_version, resource_name)[source]
keystone.common.json_home.build_v3_parameter_relation(parameter_name)[source]
keystone.common.json_home.build_v3_resource_relation(resource_name)[source]
keystone.common.json_home.translate_urls(json_home, new_prefix)[source]

Given a JSON Home document, sticks new_prefix on each of the urls.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.