Add icon file for use as favorites icon

New icon to be used as the favorites icon

Signed-off-by: Lise Noble <lwnoble@us.ibm.com>
Message-id: 1372704428-3856-1-git-send-email-rak@linux.vnet.ibm.com
Update design ui html template to use favorites icon

Update the design ui html template to specify the required link
tag so the browser will use the custom favorites icon.

Signed-off-by: Adam King <rak@linux.vnet.ibm.com>
Message-id: 1372704428-3856-2-git-send-email-rak@linux.vnet.ibm.com
Refactor osinfo/VMTemplate parameter handling

It is a little confusing how default and detected parameters are merged
with caller-supplied parameters when doing osinfo lookups and
instantiating VM Templates.  Add some comments and restructure the code
a bit for clarity.  Also, extend the tests a bit to make sure we are
covering more corner cases.

Signed-off-by: Adam Litke <agl@linux.vnet.ibm.com>
Message-id: 1372441514-24580-1-git-send-email-agl@linux.vnet.ibm.com
osinfo: Fix osinfo to use the correct distro shortnames and versions

We prefer numeric versions over release codenames.  The isoinfo module
is already correct.  e1000 is prefered over ne2k_pci for a network
driver when virtio is not supported by the guest OS.

Signed-off-by: Adam Litke <agl@linux.vnet.ibm.com>
Reviewed-by: Aline Manera <alinefm@br.ibm.com>
Message-id: 1372441514-24580-2-git-send-email-agl@linux.vnet.ibm.com
Identify Operating System from ISO file

This patch provides a mechanism for reading the Volume ID and El Torito
boot information to determine if an ISO is bootable and to identify the
Operating System 'distro' and 'version'.  This information can then be
fed into the lookup function in osinfo.py to produce a VM Template.

Although existing tools can scan ISO images, providing a simple in-house
implementation avoids messy dependencies and parsing program output.
Much of the Volume ID matching info (especially for Windows ISOs) comes
from libosinfo.

You can test this against your ISOs by running:

    python src/burnet/isoinfo.py <path>

Signed-off-by: Adam Litke <agl@linux.vnet.ibm.com>
Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Reviewed-by: Aline Manera <alinefm@br.ibm.com>
Message-id: 1372441514-24580-3-git-send-email-agl@linux.vnet.ibm.com
templates: Scan ISO to determine os_distro and os_version

When creating a template from a local ISO and the os_distro and
os_version are not specified, scan the ISO to identify these values so
the template can be created with the recommended parameters.

Signed-off-by: Adam Litke <agl@linux.vnet.ibm.com>
Reviewed-by: Aline Manera <alinefm@br.ibm.com>
Message-id: 1372441514-24580-4-git-send-email-agl@linux.vnet.ibm.com
ui: Display template icons

Show a Template's icon in the UI.  This helps make it easier to identify
a Template's target OS.

Signed-off-by: Adam Litke <agl@linux.vnet.ibm.com>
Reviewed-by: Aline Manera <alinefm@br.ibm.com>
Message-id: 1372441514-24580-5-git-send-email-agl@linux.vnet.ibm.com