The Capabilities API allows you to directly discover which functions from the V2 API functionality, including the selectable aggregate functions, are supported by the currently configured storage driver. A capabilities query returns a flattened dictionary of properties with associated boolean values - a ‘False’ or absent value means that the corresponding feature is not available in the backend.
panko.api.controllers.v2.capabilities.Capabilities(**kw)A representation of the API and storage capabilities.
Usually constrained by restrictions imposed by the storage driver.
apiA flattened dictionary of API capabilities
event_storageA flattened dictionary of event storage capabilities
panko.api.controllers.v2.events.Event(**kw)A System event.
event_typeThe type of the event
generatedThe time the event occurred
message_idThe message ID for the notification
rawThe raw copy of notification
traitsEvent specific properties
panko.api.controllers.v2.events.Trait(**kw)A Trait associated with an event.
nameThe name of the trait
typethe type of the trait (string, integer, float or datetime)
valuethe value of the trait
panko.api.controllers.v2.events.TraitDescription(**kw)A description of a trait, with no associated value.
namethe name of the trait
typethe data type, defaults to string
panko.api.controllers.v2.events.EventQuery(**kw)Query arguments for Event Queries.
fieldName of the field to filter on. Can be either a trait name or field of an event. 1) Use start_timestamp/end_timestamp to filter on generated field. 2) Specify the ‘all_tenants=True’ query parameter to get all events for all projects, this is only allowed by admin users.
typethe type of the trait filter, defaults to string
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.