def get_iface(): iface = get_working_if() log.debug("Interface {} seems to be up and running") return iface