ids.tables: add td-agent support (logging)

td-agent is used by fluentd software, used for logging.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
I.1.0.0 metadta: don't exclude openstack init scripts

Don't exclude OpenStack services scripts in rc.d.
Otherwise, services can't start correctly, due to Icehouse upgrade.
build/edeploy: Add the activate-pkgmngr and deactivate-pkgmngr
sub-commands.

build/common: the env variable KEEP_PKGMNGR can be set to keep the
package managers activated after the builds in eDeploy roles. By
default, package managers are disabled.

Fixes #59
build/common: fix version and role in nested calls
build/create-image.sh, tools/jenkins-build.sh: allow to replace
generated vm images.
tools/jenkins-build.sh: put options to build images in virt.conf
tools/jenkins-build.sh: pass the VIRTUALIZED env var to the make process
build/create-image: use HTTP instead of FTP to download syslinux

FTP seems down, let's use HTTP instead.
Merge pull request #97 from enovance/logging-support

ids.tables: add td-agent support (logging)
added C6.5-ids.tables
health: Adding first draft to get distributed

Turning health into a distributed mode will help controlling what node
is running what. In a perfect idea, that would mean having ahc inside
VMs controller by a centralized server.

This commit is provided the first code for it by providing a protocol,
some messages, client & server code.
health: Adding classes to manage action on modules

The main idea is to trigger some actions when a module have a particular
action.

As all modules shall have the same actions (stop/start/..) let's make a
generic class and override the needed actions in specific classes like
cpu,storage,...

This commit introduce a first set of classes and a sample case
health: Logging message,module,action

That's much more easy to read log when all those information are
reported :

2014-04-16 11:06:45,458 DEBUG Sent ACK/NONE/NONE to ('127.0.0.1', 40470) (need_ack=False)
2014-04-16 11:06:48,058 DEBUG Sent MODULE/CPU/START to ('127.0.0.1', 40470) (need_ack=False)
2014-04-16 11:06:50,102 DEBUG Received MODULE/CPU/COMPLETED from ('127.0.0.1', 40470) (need_ack=False)
health: Adding health_libs

Moving some code out of health-check to get in common with
health-client.py
health: Support client disconnect

If the client exists, it shall sent a disconnect message to the server
that handle this task properly.

In fact, the socket reference on the server side was deleted before
closing the socket.
health: Adding cpu support

This patch is using the hw.py as input, run the cpubenchmark and return
the hw.py structure in the completed message to the server.
health: Using decode() on read line

This is mandatory on python3 unless we do have exceptions.
health: Handling cpu decrease if test completed

Once the CPU test is completed, let's decrease the cpu count
health: Fixing connected node count

It's sufficient to check if a node exists to report it connect.
Checking the last message is wrong as it always change.
health: Keeping complete message

It could be useful to keep the last message of a host instead of a part
of it.