35 Commits

Author SHA1 Message Date
Jim Rollenhagen
f33e81391e switch structlog out for oslo.log 2014-03-17 15:17:27 -07:00
Jim Rollenhagen
2c77d82204 Remove dependency on teeth-rest.
This commit:
- Removes all references to teeth-rest.
- Brings in encoding.py and errors.py from teeth-rest.
- Removes the "view" thing from the encoding module.
- Adds structlog as a dep. This was missing and overlooked
  because teeth-rest was installing it in the environment.
2014-03-17 10:58:39 -07:00
Jim Rollenhagen
7ecb8978d0 Merge branch 'master' into use-pecan 2014-03-17 10:14:38 -07:00
Jim Rollenhagen
c1c6425e93 parse the ipaddr argument 2014-03-14 16:29:04 -07:00
Jim Rollenhagen
4f8bce3726 move everything into pecan 2014-03-12 09:51:58 -07:00
Jim Rollenhagen
18228e9093 get things kind of working with pecan 2014-03-07 15:39:38 -08:00
Russell Haering
e0b8b9362a remove auto-discovery of advertise url 2014-01-29 10:00:19 -08:00
Russell Haering
d371de6666 update heartbeater use of client heartbeat() 2014-01-28 11:25:46 -08:00
Russell Haering
1bca58281b cause the agent to lazily load a command mode 2014-01-23 12:37:18 -08:00
Russell Haering
5ea4484a2c cache a global hardware manager 2014-01-22 17:28:24 -08:00
Russell Haering
14cfadc1f8 use the new hardware manager loading 2014-01-21 17:14:54 -08:00
Russell Haering
835bdf21e2 move sync result wrapping into BaseAgentMode 2014-01-21 10:49:06 -08:00
Russell Haering
d4d97920cf clarify BaseAgentMode operation 2014-01-21 10:42:43 -08:00
Russell Haering
2dbe3a43e0 load agent mode from the configuration API 2014-01-20 14:36:17 -08:00
Russell Haering
ad70d89847 split out base and agent modules 2014-01-20 14:36:17 -08:00
Russell Haering
f005c10d4f split agent out into standby and decom classes 2013-12-20 12:57:38 -08:00
Russell Haering
98b56fe53c update code to adhere to OS hacking guidelines 2013-12-19 16:59:16 -08:00
Russell Haering
2f5dcb896b begin on command execution 2013-12-18 15:47:48 -08:00
Russell Haering
a58e837e59 begin adding agent API 2013-12-17 15:13:30 -08:00
Russell Haering
27fdc13e49 out with the old, in with the new 2013-12-16 15:38:02 -08:00
Russell Haering
0cee477518 finish stubbing out the standby agent 2013-10-13 10:20:45 -07:00
Russell Haering
6293722e2e hook up prepare_image to PrepareImageTask 2013-10-12 16:50:09 -07:00
Russell Haering
af1fff2226 unify agent handler convention
handlers should take a 'command' parameter, instead of multiple
parameters as keyword arguments
2013-10-11 10:23:02 -07:00
Russell Haering
1f9db20a5b rename addHandler -> add_handler 2013-10-10 14:08:11 -07:00
Russell Haering
37f74d0999 expand agent response to 'status' call 2013-10-09 15:56:32 -07:00
Russell Haering
8a5c09d9d0 fix prepare_image implementation 2013-10-07 17:22:59 -07:00
Paul Querna
697f98b929 Add many test cases for the RPC protocol and start making a Task structure. 2013-09-26 23:53:07 -07:00
Paul Querna
f9b88a309a add structlog 2013-09-24 02:56:09 +00:00
Paul Querna
30a0bbb09a Fix spelling of standbye. 2013-09-24 02:02:27 +00:00
Paul Querna
4c01cb43a6 Restructure agent into a higher level client that handles multiple connections to the endpoints 2013-09-24 01:24:45 +00:00
Paul Querna
de77b95343 Get version from single place 2013-09-20 17:09:14 +00:00
Russell Haering
21ea2b34c0 pep8 cleanup 2013-09-18 11:11:50 -07:00
Russell Haering
7f8cb6dd45 stub out prepare_image method 2013-09-17 18:14:51 -07:00
Russell Haering
146f2edf0e improve handshake logging 2013-09-17 18:09:44 -07:00
Russell Haering
11eac2f1a5 implement connecting and handshaking 2013-09-17 18:04:52 -07:00