schema-recipe: task can't be empty

The scheme allowed the existence of empty tasks, which would later cause
an expcetion during the recipe execution.

This patch fixes the schema so that there is always at least one command
in the schema. The solution isn't perfect since now the error reported
is something like "expected element <run>" which isn't entirely true
(for e.g. <config> can be found as well), but it will do for now.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
update pyrout2 use

The new version of pyroute2 has a new feature that was added partially
on my request- the IPRSocket. This commit updates the code where we use
pyroute2 to use this feature.

This feature is available from pyroute2 version 0.1.11 which already is
available as a package in Fedora 19.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
smoke tests: add task with exec from command

We didn't have a smoke test for the exec from functionality, so this
patch fixes that. The task uses the tcp_conn test tool which we have in
our repository.

You need to re-generate the smoke tests for this to take effect, use the
generate-recipes.py script for that.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>