summaryrefslogtreecommitdiff
path: root/cloudinit/event.py
blob: f7b311fb92b57a1f66bd0dc38d18cdba28ff2a5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This file is part of cloud-init. See LICENSE file for license information.

"""Classes and functions related to event handling."""


# Event types which can generate maintenance requests for cloud-init.
class EventType(object):
    BOOT = "System boot"
    BOOT_NEW_INSTANCE = "New instance first boot"

    # TODO: Cloud-init will grow support for the follow event types:
    # UDEV
    # METADATA_CHANGE
    # USER_REQUEST


# vi: ts=4 expandtab