glance.api.v2.metadef_properties module

class glance.api.v2.metadef_properties.NamespacePropertiesController(db_api=None, policy_enforcer=None, notifier=None)[source]

Bases: object

create(req, namespace, property_type)[source]
delete(req, namespace, property_name)[source]
index(req, namespace)[source]
show(req, namespace, property_name, filters=None)[source]
update(req, namespace, property_name, property_type)[source]
class glance.api.v2.metadef_properties.RequestDeserializer(schema=None)[source]

Bases: glance.common.wsgi.JSONRequestDeserializer

create(request)[source]
show(request)[source]
update(request)[source]
class glance.api.v2.metadef_properties.ResponseSerializer(schema=None)[source]

Bases: glance.common.wsgi.JSONResponseSerializer

create(response, result)[source]
delete(response, result)[source]
index(response, result)[source]
show(response, result)[source]
update(response, result)[source]
glance.api.v2.metadef_properties.create_resource()[source]

NamespaceProperties resource factory method

glance.api.v2.metadef_properties.get_collection_schema()[source]
glance.api.v2.metadef_properties.get_schema(require_name=True)[source]