packaging: refactored firewalld support

Added one service configuration template file for each service
that should be allowed by firewalld under
/usr/share/ovirt-engine/firewalld/*.

During firewalld configuration the template files will be processed
by processTemplate with provided ports.
Then the service files will be copied to /etc/firewalld/services
and enabled for the active zones.

The ovirt-aio service will be enabled only if the plugin is installed and
enabled.

Change-Id: If6a60e1667182f926f399e22bbfbb939e7171cb0
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
packaging: engine-service: move service out of fedora into own directory

service is working in fedora, rhel, cenots, gentoo, ubuntu.

service resources are installed at one directory at target, reorder
filesystem structure within source tree to be similar.

Change-Id: I38c2653509795ae04c190c4a84f00f53410fa983
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
packaging: engine-service: rename service directory to services

we are about to have more than single service

Change-Id: I918264883c69f3429a45ccb854c8f23c4f1d55e7
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
packaging: engine-service: move generated code out of main source

this ease maintenance, as main source is regular script.

Change-Id: I1b55fbb7d9ad3513c429b190379825aa5a91c13a
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
packaging: engine-service: split service to allow code reuse

this will allow to reuse effort to implement other services.

Change-Id: Ie912a502f220417e72efbd2f5b87c5674525f79b
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
packaging: engine-setup re-write using otopi

Change-Id: I4d5e3ac7927802326e324c9b98ada75b421638aa
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
Signed-off-by: Alex Lourie <alourie@redhat.com>