Change function that verifies network interface status

The old way does just consider if the interface has connectivity, not
the interface status. The new file can determine if the interface is up
or down and if cable is connected or not.

Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com>