Tools: hv: Add an example script to retrieve dhcp state
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 5 Sep 2012 20:50:10 +0000 (13:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 23:42:32 +0000 (16:42 -0700)
commit2aea3c712826824dbbbaa7b9c0b70936819304b4
tree693a30b565c85df5111058639c58499076f0eb5b
parent7083909023bbe29b3176e92d2d089def1aa7aa1e
Tools: hv: Add an example script to retrieve dhcp state

To keep the KVP daemon code free of distro specific details, we invoke an
external script to retrieve the DHCP state. This is an example script that
was used to test the KVP code. This script has to be implemented in a Distro
specific fashion. For instance on distros that ship with Network Manager enabled,
this script can be based on NM APIs.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_get_dhcp_info.sh [new file with mode: 0755]