S/LOG_WARN/LOG_WARNING/

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
s/libraty/library/

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: implement cli_usock

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: implement cli_dbus

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: allow to end successfully in teamdctl_connect

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: use cli->name in dbg messages

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: fix env variable name in teamdctl_alloc

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: try to call method after cli init

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: do not pass cli as param but use tdc->cli instead

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: silence error messages during cli init trying

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: fail if user tries to connect using unknown CLI

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: clear tdc->cli in case connect failed

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: refuse to connect if already connected

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: add port_add/remove functions

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: raw config and state handling functions

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamdctlx: copy code from teamdctl.c and adjust it for libteamdctl

And do buch of other tweaks

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamdctl: remove original one and rename teamdctlx->teamdctl

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: dbus: do introspection in init

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: usock: try to open socket in init

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteamdctl: more teamdctl_refresh() call to teamdctl_connect()

Signed-off-by: Jiri Pirko <jiri@resnulli.us>