summaryrefslogtreecommitdiff
path: root/cloudinit/event.py
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2018-07-09 15:34:51 -0600
committerChad Smith <chad.smith@canonical.com>2018-07-09 15:34:51 -0600
commit92002fb7a2f41314d6aba74646644e5fdd5c39a0 (patch)
tree05a6aedccd30b88a80d8f8f1187b75c9bb6444c6 /cloudinit/event.py
parentbea500a37d64ef62ecd7edb8c6cb4634336ad60c (diff)
parent2e62cb8a6406309cbeb5f8d2aa00fb30e72e1cfc (diff)
downloadvyos-cloud-init-92002fb7a2f41314d6aba74646644e5fdd5c39a0.tar.gz
vyos-cloud-init-92002fb7a2f41314d6aba74646644e5fdd5c39a0.zip
merge from master at 18.3-9-g2e62cb8a
Diffstat (limited to 'cloudinit/event.py')
-rw-r--r--cloudinit/event.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/cloudinit/event.py b/cloudinit/event.py
new file mode 100644
index 00000000..f7b311fb
--- /dev/null
+++ b/cloudinit/event.py
@@ -0,0 +1,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