Skip to content

Full change log release 1.3

danielhb edited this page Dec 18, 2014 · 1 revision

commit 0e4806cca4837f57490fb6a2b6881abf8225146a Author: Daniel Henrique Barboza danielhb@linux.vnet.ibm.com Date: Wed Dec 3 08:49:12 2014 -0200

Debian/Ubuntu packaging files

This patch adds new files and changes existing config files
to add autoconf/automake support for Debian/Ubuntu packaging
files. In other words, this patch adds the support to generate
a .deb package for ginger.

To test it, running in a Debian/Ubuntu system:

./autogen.sh --system
make
make deb

The ginger .deb package file should be generated in the root dir
of the plug-in.

Signed-off-by: Daniel Henrique Barboza <dhbarboza82@gmail.com>

commit 23ded96fe722c5242190907c715a219e9b3946f9 Author: Daniel Henrique Barboza dhbarboza82@gmail.com Date: Thu Dec 18 13:09:03 2014 -0200

README: adding Ubuntu/Debian info.

Signed-off-by: Daniel Henrique Barboza <dhbarboza82@gmail.com>

commit f0c3be75480de5b935b67434f4951b895cf9e6da Author: Daniel Henrique Barboza danielhb@linux.vnet.ibm.com Date: Tue Dec 16 15:05:31 2014 -0200

models/ibm_sep.py: adding 'is_feature_available()' method

Adding the is_feature_available method so the SEP feature can be
flagged as 'False' by the Capabilities API if there are no SEP
support in the host.

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

commit c33251707660a76b5c576265298c402311c5f649 Author: Daniel Henrique Barboza danielhb@linux.vnet.ibm.com Date: Tue Dec 16 14:30:47 2014 -0200

models/interfaces.py: fixing an 'is not defined' error

The method was being called as '_get_all_libvirt_interfaces' instead
of 'self._get_all_libvirt_interfaces'.

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

commit fd5c176a5f0a43c28169d357774e14b26fa7440d Author: wenwang@linux.vnet.ibm.com wenwang@linux.vnet.ibm.com Date: Tue Dec 16 13:52:43 2014 +0800

UI: Capabilities for ginger

Show and hide different component based on different hosts.

Signed-off-by: Wen Wang <wenwang@linux.vnet.ibm.com>

commit b60e80a26717110c4827a035b774714e349fb038 Author: Daniel Henrique Barboza danielhb@linux.vnet.ibm.com Date: Thu Dec 11 10:13:57 2014 -0200

Capabilities API: adding support to some existing models

models/firmware.py: added an implementation of is_feature_available()

models/sensors.py: added an implementation of is_feature_available()

models/users.py: changed to the new Python class format

models/powermanagement.py: changed to the new Python class format and
added an implementation of is_feature_available()

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

commit b9111741686c9077e6163a395afc68f2969c3777 Author: Daniel Henrique Barboza danielhb@linux.vnet.ibm.com Date: Thu Dec 11 10:11:24 2014 -0200

Adding capabilities API to Makefiles

This patch adds the file models/capabilities.py and
controls/capabilities.py to the automake config files.

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

commit 6441dbff5371cbdfbbabc4ba7a5c6f1fe5a5519b Author: Daniel Henrique Barboza danielhb@linux.vnet.ibm.com Date: Thu Dec 11 10:08:02 2014 -0200

Adding new API: Capabilities

This backend API tells the caller about the current capabilities
of the Ginger plug-in, making it possible to the UI (or any other
caller) avoid using features/APIs that aren't suitable for the
current host Ginger is running in.

The API model is created by using an array of objects which represents
Ginger features, usually an array of Collection or Resource subclass
instances. For each element, we verify if a method called
'is_feature_available' is implemented. In that case, the availability
of the feature is determined by it. Otherwise, we assume that the feature
is always available. This makes the method optional for each feature to
implement.

Example of output:

$ curl -u danielhb -H "Content-Type: application/json" -H "Accept: application/json" http://localhost:8010/plugins/ginger/capabilities -X GET
Enter host password for user 'danielhb':
{
"PowerProfiles":false,
"Network":true,
"Sep":true,
"SanAdapters":true,
"Firmware":false,
"Sensors":false,
"Backup":true,
"Users":true
}

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

commit 8aa841f5b717fabf57ee8e561f4e1279cbb5b8c9 Author: Rodrigo Trujillo rodrigo.trujillo@linux.vnet.ibm.com Date: Tue Nov 25 17:27:04 2014 -0200

Fix delete user return error

If a kimchi user tries to delete a system user that no longer exists,
the error is not propagated to front-end, showing a generic error. This
patch fixes the problem, returning the right error message.

commit e8453fca0902b5474c21ba95754750f3ef3d5e6e Author: christy@linux.vnet.ibm.com christy@linux.vnet.ibm.com Date: Mon Nov 24 16:01:01 2014 -0600

Have Firmware inherit from Object

Make the Firmware model a new-style Python class. Old-style
classes will be deprecated.

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>

commit b7589c6a0a1a0c17a78085cc24f3f9093fbd52fc Author: Daniel Henrique Barboza danielhb@linux.vnet.ibm.com Date: Tue Nov 18 18:08:34 2014 -0200

Changing the network interfaces listing

- InterfacesModel now lists all available interfaces in the host,
sorted by interface name.

- InterfaceModel adds a new attribute to the lookup method called
'editable', which points whether the interface can be configured
by the user. The UI should take this parameter into consideration
to disable editing in these interfaces.

- The backend will raise an error if an attempt to edit a
non-editable interface is made by the frontend.

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

commit a7f2e088c6197edef0761e35c110a849e6e9abdc Author: Wen Wang wenwang@linux.vnet.ibm.com Date: Tue Nov 18 22:45:33 2014 +0800

UI: Ginger User Management

This patch added the User Management function to Ginger. "Name",
"Password", "Group" and "Profile" are required for this session. Also,
there are "Add", "Detach" function for user management.

Signed-off-by: Wen Wang <wenwang@linux.vnet.ibm.com>
Reviewed-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
Tested-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>

commit b76a7e2933fcc5b0f490571266417e992a56a24d Author: danielhb@linux.vnet.ibm.com danielhb@linux.vnet.ibm.com Date: Tue Nov 4 09:24:55 2014 -0200

models/interfaces.py: removing ip/netmask on blank input

This patch fixes github #1: https://github.com/kimchi-project/ginger/issues/1

API.json now allows blank ip/netmask values, which will be interpreted
by the backend as a command to remove the current IP configuration.
Note that the ip/netmask validation still exists in the frontend
(form validation) and in the backend.

The lookup function got reworked to show the static ip/netmask
configuration in the case where there isn't an active ip/netmask
in the interface. This is more consistent than the previous
behavior, where the ip/netmask remained blank even after setting
a new static ip/netmask in the case there isn't an active address.
This happens in the case where the ethernet cable isn't plugged
in the interface, for example.

Other changes:

- iface.create(), equivalent of "ifup()", won't be called if
the interface isn't active.
- _rollback_on_failure is now being used to handle the exception
instead of 'conn.changeRollback()'.

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

commit 1e1011f954fb2d8a188bc83897bf204de6740721 Author: Rodrigo Trujillo rodrigo.trujillo@linux.vnet.ibm.com Date: Wed Oct 8 21:32:23 2014 -0300

Add Ginger Help files

This patch adds Ginger Help files for en_US, pt_BR and zh_CN languages.
It also makes necessary changes in order to build Ginger and its package
correctly.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo@linux.vnet.ibm.com>
Clone this wiki locally