MessageDispatcherLite: fix missing import

Exception class NetTestError wasn't imported.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
UnusedInterface: add forgotten method overide

The cleanup method wasn't overridden and the controller would try to
unmap unused interfaces.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Logs: reset logging configuration on init

This patch makes sure that the python logging module is cleared of any
previously set log handlers. Without this we could have our logs appear
twice in a row as was experienced when deprecatin messages were added to
the current release of pyroute2.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Ignorecase when parsing output in iperf module

With iperf-2.0.5 when throughput is in kilobits iperf outputs it as
'Kbits/sec', example:
[ 27]  0.0-44.3 sec  1.12 MBytes   213 Kbits/sec

lnst's iperf module however, looks for lowercase k failing to
parse output.
Added re.IGNORECASE flag so any case would work. Regexp is complex enough so
that ignorecase shouldn't introduce any false hits.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>