teamd: push jsonpath into common json file

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: json: allow to build jsonpath

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: state: introduce new state dump/set infrastructure

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
introduce a_hwaddr_str()

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: state: convert teamdev state to new api

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: state: convert setup state to new api

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: state: convert ports ifinfo state to new api

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: state: convert ports link state to new api

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