From: Ondrej Lichtner <olichtne(a)redhat.com>
The following patch series improves the resource synchronization.
The first part makes it so that only resources required by a slave machine, to
succesfully run a task, will be copied.
The last 3 patches add two new attributes to the <task> recipe element -
module_dir and tools_dir that can specify an additional directory that should be
searched for resources.
Ondrej Lichtner (9):
schema-recipe: fix python tasks
NetTestController: skip resource sync for config_only
NetTestController: sync only required resources
NetTestSlave: resource_table init
Task: add HostAPI method sync_resources
lnst-ctl: add -r, --reduce-sync option
XmlParser: save full filename in element objects
recipe xml format: add module_dir and tools_dir attributes
NetTestController: add support for {module,tools}_dir
lnst-ctl | 29 +++++++++-----
lnst/Controller/NetTestController.py | 78 ++++++++++++++++++++++++++++++------
lnst/Controller/RecipeParser.py | 16 ++++++++
lnst/Controller/Task.py | 21 ++++++++++
lnst/Controller/XmlParser.py | 2 +-
lnst/Slave/NetTestSlave.py | 4 +-
schema-recipe.rng | 40 ++++++++++++++++--
7 files changed, 160 insertions(+), 30 deletions(-)
--
1.8.5.3