21 Commits

Author SHA1 Message Date
Russell Haering
f01b8a62ad fix reference to invalid error class 2014-01-09 13:34:21 -08:00
Russell Haering
019bc75bbf fix typos in base agent 2014-01-08 14:33:33 -08:00
Russell Haering
0134631ab3 stop heartbeating when agent is stopped 2014-01-08 08:42:03 -08:00
Russell Haering
fecd9d5d65 exponential backoff in heartbeater 2014-01-07 23:45:47 -08:00
Russell Haering
baef85db56 start the heartbeater on agent run 2014-01-07 18:15:01 -08:00
Russell Haering
a794093f8a fix typo 2014-01-07 17:34:15 -08:00
Russell Haering
f40415e358 read the eth0 mac address from sysfs 2014-01-07 15:58:25 -08:00
Russell Haering
d01145512a add a class that heartbeats to the API 2014-01-07 14:28:05 -08:00
Russell Haering
3f1cb973b7 add methods to get agent URL and mac address 2014-01-07 14:27:55 -08:00
Russell Haering
2b858b90b1 record agent version on TeethBaseAgent 2014-01-07 14:16:13 -08:00
Russell Haering
0ece4ab51e add an api_url parameter to BaseTeethAgent 2014-01-06 12:02:12 -08:00
Russell Haering
476e6fa242 add an async command result that runs commands in a thread 2014-01-05 21:46:22 -08:00
Russell Haering
f230e7efbe add a concept of a command result 2014-01-02 13:18:33 -08:00
Russell Haering
26faa0dc4a pass the command name to implementations 2013-12-31 11:49:32 -08:00
Russell Haering
604ed14f2d pass command results back to the API 2013-12-27 15:06:29 -08:00
Russell Haering
da1b5bfecc document intentions regarding async command results 2013-12-27 12:53:44 -08:00
Russell Haering
467eb22edd fix typo in base agent 2013-12-25 21:00:19 -08:00
Russell Haering
15c63e8b46 begin hacking on command execution 2013-12-21 17:22:09 -08:00
Russell Haering
b976288335 simplify internal command execution API 2013-12-20 16:03:30 -08:00
Russell Haering
ffcbbd49e0 remove old agent classes 2013-12-20 15:29:23 -08:00
Russell Haering
f005c10d4f split agent out into standby and decom classes 2013-12-20 12:57:38 -08:00