The ceilometer.api.controllers.v2.base Module

class ceilometer.api.controllers.v2.base.AdvEnum(name, *args, **kwargs)[source]

Bases: wsme.types.wsproperty

Handle default and mandatory for wtypes.Enum.

class ceilometer.api.controllers.v2.base.Base(**kw)[source]

Bases: wsme.types.DynamicBase

as_dict(db_model)[source]
as_dict_from_keys(keys)[source]
classmethod from_db_model(m)[source]
exception ceilometer.api.controllers.v2.base.ClientSideError(error, status_code=400)[source]

Bases: wsme.exc.ClientSideError

exception ceilometer.api.controllers.v2.base.EntityNotFound(entity, id)[source]

Bases: ceilometer.api.controllers.v2.base.ClientSideError

class ceilometer.api.controllers.v2.base.JsonType[source]

Bases: wsme.types.UserType

A simple JSON type.

basetype

alias of unicode

static validate(value)[source]

Bases: ceilometer.api.controllers.v2.base.Base

A link representation.

classmethod sample()[source]
exception ceilometer.api.controllers.v2.base.ProjectNotAuthorized(id, aspect='project')[source]

Bases: ceilometer.api.controllers.v2.base.ClientSideError

class ceilometer.api.controllers.v2.base.Query(**kw)[source]

Bases: ceilometer.api.controllers.v2.base.Base

Query filter.

as_dict()[source]
get_op()[source]
classmethod sample()[source]
set_op(value)[source]

Previous topic

The ceilometer.api.controllers.root Module

Next topic

The ceilometer.api.controllers.v2.capabilities Module

Project Source

This Page