remotelogin/devices/vendors/cisco.py
def _enter_enable(inter, device, *args, **kwargs):
    """ enters the enable area of the configuration

    :param inter:
    :param args:
    :param kwargs:
    :return:
    """
    cmd = inter.send_cmd('enble').expect_istr('Password:')
    if cmd.any_matches:
        inter.send_cmd(device.enable_password if device.enable_password else inter.con.password).expect_new_prompt()
    else:
        raise ExpectNotFound('Password was not return for enable command')
 enters the enable area of the configuration

    :param inter:
    :param args:
    :param kwargs:
    :return:
    
enters the enable area of the configuration
enters the enable area of the configuration
def _enter_enable(inter, device, *args, **kwargs):
    cmd = inter.send_cmd('enble').expect_istr('Password:')
    if cmd.any_matches:
        inter.send_cmd(device.enable_password if device.enable_password else inter.con.password).expect_new_prompt()
    else:
        raise ExpectNotFound('Password was not return for enable command')
def _enter_enable ( inter , device , * args , ** kwargs ) : cmd = inter . send_cmd ( 'enble' ) . expect_istr ( 'Password:' ) if cmd . any_matches : inter . send_cmd ( device . enable_password if device . enable_password else inter . con . password ) . expect_new_prompt ( ) else : raise ExpectNotFound ( 'Password was not return for enable command' )
enters the enable area of the configuration
enters the enable area of the configuration
""" enters the enable area of the configuration

    :param inter:
    :param args:
    :param kwargs:
    :return:
    """
None
inter
None
device
args
None
kwargs
None