diskimage-builder/diskimage_builder/block_device
Ian Wienand deb832d685 Create and use plugin/node abstract classes
This completes the transitions started in
Ic5a61365ef0132476b11bdbf1dd96885e91c3cb6

The new file plugin.py is the place to start with this change.  The
abstract base classes PluginBase and NodeBase are heavily documented.
NodeBase essentially replaces Digraph.Node

The changes in level?/*.py make no functional changes, but are just
refactoring to implement the plugin and node classes consistently.
Additionally we have added asserts during parsing & generation to
ensure plugins are implemented PluginBase, and get_nodes() is always
returning NodeBase objects for the graph.

Change-Id: Ie648e9224749491260dea65d7e8b8151a6824b9c
2017-05-26 11:48:11 +10:00
..
level0 Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
level1 Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
level2 Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
level3 Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
level4 Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
tests Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
__init__.py Clear __init__.py from cmd move 2017-05-11 18:52:14 +10:00
blockdevice.py Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
cmd.py Remove args from BlockDevice() init 2017-05-12 09:36:23 +10:00
config.py Add a more generic tree->graph parser 2017-05-26 10:13:14 +10:00
exception.py Move exception to it's own file (again) 2017-05-20 06:44:39 +00:00
plugin.py Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
utils.py exec_sudo: check cmd for str, log output and raise exception 2017-05-11 09:45:25 +10:00