ironic.api.controllers.v1.event module

class ironic.api.controllers.v1.event.EventsController[source]

Bases: pecan.rest.RestController

REST controller for Events.

post(evts)[source]
class ironic.api.controllers.v1.event.EvtCollection(**kw)[source]

Bases: ironic.api.controllers.v1.collection.Collection

API representation of a collection of events.

events

A list containing event dict objects

next

Complex type attribute definition.

Example:

class MyComplexType(wsme.types.Base):
    optionalvalue = int
    mandatoryvalue = wsattr(int, mandatory=True)
    named_value = wsattr(int, name='named.value')

After inspection, the non-wsattr attributes will be replaced, and the above class will be equivalent to:

class MyComplexType(wsme.types.Base):
    optionalvalue = wsattr(int)
    mandatoryvalue = wsattr(int, mandatory=True)