lp:~zyga/junk/mantle

Created by Zygmunt Krynicki and last modified
Get this branch:
bzr branch lp:~zyga/junk/mantle
Only Zygmunt Krynicki can upload to this branch. If you are Zygmunt Krynicki please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Zygmunt Krynicki
Project:
Junk to learn
Status:
Development

Recent revisions

24. By Zygmunt Krynicki

Rename crust to mantle, meh

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

22. By Zygmunt Krynicki

Remove bundled copies of old lava code

21. By Zygmunt Krynicki

Add mockfs to tests_require

20. By Zygmunt Krynicki

Add DeviceController and agent support

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

16. By Zygmunt Krynicki

Infrastructure for workspaces (a method to manage configuration)

15. By Zygmunt Krynicki

Fix typos in test scenario format

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:junk
This branch contains Public information 
Everyone can see this information.

Subscribers