lp:~zyga/junk/mantle
- Get this branch:
- bzr branch lp:~zyga/junk/mantle
Branch merges
Branch information
Recent revisions
- 23. By Zygmunt Krynicki
-
Rename lava-core to crust
There are a few non-automatic changes:
*) ReST headers were fixed to regain alignment
*) lava.core got renamed to crust
*) Some references to Linaro were removed (documentation)
*) Some descriptions were changed to TODO
*) lava-dev script was renamed to crust
*) Command/plugin namespace dropped the -dev suffix - 19. By Zygmunt Krynicki
-
Add two small custom software controllers: for telnet (trivial workaround for
missing --version) and for linaro-media-create (more elaborate, state machine
for confirming license questions, sudo support). - 18. By Zygmunt Krynicki
-
Add SoftwareController support.
Software controllers allow structured interaction with third party programs.
- 17. By Zygmunt Krynicki
-
Infrastructure for "agents"
Agents are small programs that run on a test device and provide standardized
protocol for interacting with the device. This patch provides a ShellCodeAgent
that uses /bin/sh compatible shell and a few standard utilities (most notably
od(1)) to provide IAgent interface. The agent works correctly over any pexpect
process interface including ssh, direct /bin/sh and any custom serial line
connection method.There are several methods defined by the agent but the basic principle of
operation is that you do a request (invoke, read, etc...) and expect an
optional payload followed by a ok or error token. The output (payload) is
'escaped' with od(1) so any binary data can be safely transmitted without
affecting the protocol.The agent itself is implemented as a shell script, please read the IMPORTANT
message in agent.sh to understand the requirements and limitations of modifying
the agent.Apart from the interface and implementation there are several unit tests that
check most of the code by opening /bin/sh. In the future it would be worth
adding mocked pexpect which replays earlier recordings.This patch makes lava-core depend on pexpect
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:junk