panko.api.controllers.v2.events
Module¶None
Bases: panko.api.controllers.v2.base.Base
A System event.
Event.
get_traits
()¶Event.
sample
()¶Event.
set_traits
(traits)¶None
Bases: panko.api.controllers.v2.base.Query
Query arguments for Event Queries.
EventQuery.
sample
()¶None
Bases: pecan.rest.RestController
Works on Event Types in the system.
EventTypesController.
get_all
()¶Get all event types.
EventTypesController.
get_one
(event_type)¶Unused API, will always return 404.
event_type – A event type
None
Bases: pecan.rest.RestController
Works on Events.
EventsController.
get_all
(q=None, limit=None, sort=None, marker=None)¶Return all events matching the query filters.
q – Filter arguments for which Events to return
limit – Maximum number of samples to be returned.
sort – A pair of sort key and sort direction combined with “:”
marker – The pagination query marker, message id of the last item viewed
EventsController.
get_one
(message_id)¶Return a single event with the given message id.
message_id – Message ID of the Event to be returned
None
Bases: panko.api.controllers.v2.base.Base
A Trait associated with an event.
Trait.
sample
()¶None
Bases: panko.api.controllers.v2.base.Base
A description of a trait, with no associated value.
TraitDescription.
sample
()¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.