recipe format: change <machines> to <network>

This patch set changes the tag <machines> to <network>, we also changed
the <machine> tag to <host> and the 'network' attribute used in <eth>
tags has been changed to 'label'.

The 'network' attribute was changed for slave machine xml files as well.

The commit also contains appropriate changes to the recipes. I tested
them for parsability, functinality will be checked later.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Multicast: fix result data format

The Multicast test module was using names that couldn't be transformed
into valid xml element names which resulted in the test failing. This
commit fixes that by replacing spaces with underscores.

I also fixed the regular expression- the left part of it sometimes
contained '-' or '.' which resulted in some lines not being correctly
parsed.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
NetTestController: fix for configuration saving

We should only save information about dynamically created devices into
the file used for deconfiguration of previous config_only runs.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Fix query for libvirt_domain in non-virt scenarios

When using non-virtual machines the controller would fail with following
error:

    Traceback (most recent call last):
      File "./lnst-ctl", line 93, in get_recipe_result
        defined_aliases, overriden_aliases)
      File "./lnst-ctl", line 74, in process_recipe
        overriden_aliases=overriden_aliases)
      File "/mnt/testarea/lnst/lnst/Controller/NetTestController.py",
line 60, in __init__
        check_process_running("libvirtd"), pool_checks)
      File "/mnt/testarea/lnst/lnst/Controller/SlavePool.py", line 47,
in __init__
        self.add_dir(pool_dir)
      File "/mnt/testarea/lnst/lnst/Controller/SlavePool.py", line 55,
in add_dir
        res.append(self.add_file("%s/%s" % (pool_dir, dirent)))
      File "/mnt/testarea/lnst/lnst/Controller/SlavePool.py", line 96,
in add_file
        pm["libvirt_domain"] == rm["libvirt_domain"]:
    KeyError: 'libvirt_domain'

This was introduced by commit 2ed4e1e80de597309833a2b144682a63fcea3e74

Bare metal systems in pool do not have this parameter and therefore
parsing their slavemachine xml would fail.

As a first step I've split the hostname and libvirt_domain param check as
they are not tied together.

Next, the fix first checks whether the optional parameter libvirt_domain
exists then it checks it's value. I've tested this patch on our
regression-test machine.

Fixes issue #47.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>