novaclient.v2.server_external_events module

novaclient.v2.server_external_events module

External event triggering for servers, not to be used by users.

class novaclient.v2.server_external_events.Event(manager, info, loaded=False, resp=None)

Bases: novaclient.base.Resource

Populate and bind to a manager.

Parameters:
  • manager – BaseManager object
  • info – dictionary representing resource attributes
  • loaded – prevent lazy-loading if set to True
  • resp – Response or list of Response objects
class novaclient.v2.server_external_events.ServerExternalEventManager(api)

Bases: novaclient.base.Manager

create(events)

Create one or more server events.

:param:events: A list of dictionaries containing ‘server_uuid’, ‘name’,
‘status’, and ‘tag’ (which may be absent)
resource_class

alias of Event

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.