tcp_con: add support for ipv6

The tcp_conn test tools are now capable of ipv6 connections. Simply pass -6
parameter to the tool to enable it, e.g.

./tcp_listen -a fe01::1 -p 10000-10050 -6

Same goes for client program, tcp_listen,

./tcp_connect -a fe01::1 -p 10000-10050 -6

Signed-off-by: Jan Tluka <jtluka@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Introducing TCPConnection test module

This is a python wrapper for tcp_conn test tool.

Example of use:

    <run module="TCPConnection" host="2" bg_id="server">
        <options>
            <option name="mode" value="server"/>
            <option name="address" value="{ip(2,testiface)}"/>
            <option name="portrange" value="10000-10050"/>
            <option name="continuous" value="yes"/>
        </options>
    </run>
    <ctl_wait seconds="3"/>
    <run module="TCPConnection" host="1" bg_id="client">
        <options>
            <option name="mode" value="client"/>
            <option name="address" value="{ip(2,testiface)}"/>
            <option name="portrange" value="10000-10050"/>
            <option name="continuous" value="yes"/>
        </options>
    </run>

Signed-off-by: Jan Tluka <jtluka@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>