(iface)
Verify that the given interface exists
Verify that the given interface exists
Verify that the given interface exists
def verify_iface(iface):
    """Verify that the given interface exists
    """
    try:
        tmp = init_app('ifconfig', True)
        if not iface in tmp:
            return False
        return True
    except Exception:
        return False
def verify_iface ( iface ) : try : tmp = init_app ( 'ifconfig' , True ) if not iface in tmp : return False return True except Exception : return False