Add hypervisor information on README.md.

No information was available about how kimchi is run and which are the
supported hypervisors.

Signed-off-by: Leonardo Garcia <lagarcia@br.ibm.com>
Limit README.md to 80 columns.

Make the file easier to read.

Signed-off-by: Leonardo Garcia <lagarcia@br.ibm.com>
Add mailing list information.

It was impossible for a new developer to figure out where to send
patches to without this information.

Signed-off-by: Leonardo Garcia <lagarcia@br.ibm.com>
Storagepool SCSI/FC: Implement node devices API backend

In order to implement support to SCSI/FC UI, it is necessary to retrieve
node devices.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
Storagepool SCSI/FC: API.md entries related to host pci devices

This patch modifies the API.md to list get functions provided by
backend.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
Storagepool SCSI/FC: Backend implementation

This patch creates functions that allow kimchi users to create an libvirt
SCSI storagepool using the rest API. This patch creates the feature test
to check fc_host capability in libvirt. This patch implements basic
routines to add a disk (scsi) to a new vm template, based on given
volumes (LUN name) from UI or API directly.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
Storagepool SCSI/FC: Modifies mockmodel and implements tests for FC pool

This patch modifies the Mock model functions to allow user to create a
SCSI FC pool in test environment. Then implements functions to test
API and rest.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
Fix host debug report for Fedora 20

The tool sosreport does not save the report file in /tmp in F20, this
causes a error in Kimchi, which has /tmp hardcoded. This fixes this
problem searching report files in /var/tmp too.
Notice that is possible to pass --tmp-dir as the directory to save the
report file, but this option is crashing in Fedora 20, so the code is
not using it.
This patch also improves the logging and uses new i18n translation
system for exception error messages.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
bug fix: make install miss ifaces.py

use wildcard in the install list.

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
bug fix: fix python syntax error

the dict the key and value should be separated by colon

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Host's software update: Update API.md

Define get and POST action update API for software update resource.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com>
Host's software update: Update REST API

Define PackageUpdate resource features according to API.md
Activate auth support to new resource

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com>
Signed-off-by: Aline Manera <alinefm@br.ibm.com>
Host's software update: Update backend.

Update model and mockmodel to support backend opertions.
Add new file implementing backend operations, with four new classes:

1) SoftwareUpdate (object): Class to represent and operate with OS software
update system in Kimchi's perspective. It's agnostic to host's package management
system, and can execute all operations necessary: get all packages to update,
get information about one package and execute the update. This class will load
in runtime the necessary classes to work with the host's package management:
YumUpdate for YUM systems based, AptUpdate for APT systems based and ZypperUpdate
for Zypper systems based.

2) YumUpdate (object): Class to represent and operate with YUM. Loaded only on
those systems that supports YUM, it's responsible to connect and collect
information of the packages to be updated. Also it's responsible to execute the
update of the system.

3) AptUpdate (object): Class to represent and operate with APT. Loaded only on
those systems that supports APT, it's responsible to connect and collect
information of the packages to be updated. Also it's responsible to execute the
update of the system.

4) ZypperUpdate (object): Class to represent and operate with Zypper. Loaded only
on those systems that supports Zypper, it's responsible to connect and collect
information of the packages to be updated. Also it's responsible to execute the
update of the system.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com>
Signed-off-by: Aline Manera <alinefm@br.ibm.com>
Host's software update: Update Makefile

Update Makefile to provide software update support

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com>
Host's software update: Update test cases.

Added unit tests into test_mockmodel.py

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
host update: Update po files

Update po files as new messages were added to support host software
update.

Signed-off-by: Aline Manera <alinefm@br.ibm.com>
host update: Expose update tool

When there is no package manager compatible with the system, UI needs to
know to enable/disable the host update functionality.
Also update API.md accordingly and add missing parameter
system_report_tool there too.

Signed-off-by: Aline Manera <alinefm@br.ibm.com>
Setup VM's boot order.

In order to prevent the VM to boot *only* by virtual disk during the
first boot, setup the boot order to: 1st option: disk; 2nd option: cdrom.

This configuration guarantees that the virtual firmware will boot by
cdrom after check there is no boot section on default disk.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
bug fix: display kimchi icon instead of cherrypy icon

When we start a VNC window, the favicon.ico is always cherrypy icon.

Actually we open any page:
such as:
http://192.168.1.117:8000/error

the favicon.ico is also a cherrypy icon.

This patch fix this bug.

Ref:
http://docs.cherrypy.org/en/latest/progguide/files/favicon.html

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
CDROM Management: API.md and externalized error messages

This patch changes API.md with new storage sub-collection/sub-resource
information.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>

Excluding hard drive support from docs/API.md
Adding externalized string to be used in the new exception model

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>