• Scott Moser's avatar
    events: add timestamp and origin, support file posting · 7820a43b
    Scott Moser authored
    This adds 'timestamp' and 'origin' to events.
    The timestamp is simply that, a floating point timestamp of when
    the event occurred.
    
    The origin indicates the source / reporter of this.  It is useful
    to have a single endpoint with multiple different things reporting
    to it.  For example, MAAS will configure cloud-init and curtin
    to report to the same endpoint and then it can differenciate who
    made the post.  Admittedly, they could use multiple endpoints, but
    this this seems sane.
    
    Also, add support for posting files at the close of an event.
    This is utilized in curtin to post a log file when the install is
    done.  files are posted on success or fail of the event.
    7820a43b
Name
Last commit
Last update
bin Loading commit data...
cloudinit Loading commit data...
config Loading commit data...
doc Loading commit data...
packages Loading commit data...
systemd Loading commit data...
sysvinit Loading commit data...
templates Loading commit data...
tests Loading commit data...
tools Loading commit data...
udev Loading commit data...
upstart Loading commit data...
.bzrignore Loading commit data...
ChangeLog Loading commit data...
HACKING.rst Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
Makefile Loading commit data...
TODO.rst Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...
test-requirements.txt Loading commit data...
tox.ini Loading commit data...