1
0
Fork 0
tuned/profiles
Jaroslav Škarvada c24e2ea0ca Added support for 'summary' and 'description' of profiles
Added new tuned-adm functionality 'profile_info'. It has optional parameter
'profile_name'. If called without parameter, active profile is used.
It outputs name of the profile it is querying, profile summary, and profile
description. If there is no profile summary or description available it
outputs empty string(s).

Extended tuned-adm 'list' functionality. It now displays profile summary
in the list (if available).

Added summary to profiles.

Extended D-Bus API to support the new feature and for better Cockpit support:
 - Added 'profile_info' method. It gets profile_name argument and it queries
   the requested profile for information. If profile_name is empty string it
   queries the active/selected profile. It returns tuple of the following
   format (status, profile_name, summary, description), where status is
   boolean. If it is False, the query mechanism failed and the other fields
   don't contain valid data
 - Added 'profiles2' method. It's extension of 'profiles' method. It returns
   list of tuples. Tuples have following format:
   (profile_name, profile_summary)

Related: rhbz#1228356
Fixes: #46

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2016-01-05 11:28:25 +01:00
..
atomic-guest Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
atomic-host Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
balanced Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
default Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
desktop Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
desktop-powersave Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
enterprise-storage Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
laptop-ac-powersave Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
laptop-battery-powersave Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
latency-performance Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
network-latency Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
network-throughput Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
oracle Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
powersave Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
realtime Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
realtime-virtual-guest Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
realtime-virtual-host Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
sap-hana Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
sap-hana-vmware Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
sap-netweaver Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
server-powersave Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
spindown-disk Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
throughput-performance Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
virtual-guest Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
virtual-host Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
functions functions: fixed restore_logs_syncing to preserve SELinux context on rsyslog.conf 2015-10-06 11:42:46 +02:00