(adapter, ifname, verbose=True)
Remove DVB net interface

    Args:
        adapter   : Corresponding DVB adapter
        interface : dvbnet interface number
        verbose   : Controls verbosity
Remove DVB net interface
Remove DVB net interface
def _rm_dvbnet_interface(adapter, ifname, verbose=True):
    """Remove DVB net interface

    Args:
        adapter   : Corresponding DVB adapter
        interface : dvbnet interface number
        verbose   : Controls verbosity
    """

    if (verbose):
        util.print_header("Remove dvbnet interface")

    runner.run(["ip", "link", "set", ifname, "down"], root=True)

    if_number = ifname.split("_")[-1]
    runner.run(["dvbnet", "-a", adapter, "-d", if_number], root=True)

    # Remove also the static IP address configuration
    ip.rm_ip(ifname, runner.dry)
def _rm_dvbnet_interface ( adapter , ifname , verbose = True ) : if ( verbose ) : util . print_header ( "Remove dvbnet interface" ) runner . run ( [ "ip" , "link" , "set" , ifname , "down" ] , root = True ) if_number = ifname . split ( "_" ) [ - 1 ] runner . run ( [ "dvbnet" , "-a" , adapter , "-d" , if_number ] , root = True ) # Remove also the static IP address configuration ip . rm_ip ( ifname , runner . dry )