Exemplo n.º 1
0
 def __init__(self):
     Driver.__init__(self, 'saegw_telnet')
     self.user_re = [re.compile(r'Please give the username:\r\n')]
     self.password_re = [
         re.compile(r'Please give the password for user\r\n')
     ]
     self.prompt_re = [re.compile(r'\[.*\][\r\x00]*\r\n#')]
Exemplo n.º 2
0
    def __init__(self):
        Driver.__init__(self, 'mme_telnet')

        self.user_re     = [re.compile(r'ENTER USERNAME < ')]
        self.password_re = [re.compile(r'ENTER PASSWORD < ')]
        self.prompt_re = [re.compile(r'\r\n< \x08 ')]
        self.login_error_re = [re.compile(r'AUTHORIZATION FAILURE ')]
Exemplo n.º 3
0
 def __init__(self):
     Driver.__init__(self, 'hp_pro_curve')
     self.user_re = _user_re
     self.password_re = _password_re
     self.prompt_re = _prompt_re
     self.error_re = _error_re
     self.login_error_re = _login_fail_re
Exemplo n.º 4
0
 def __init__(self):
     Driver.__init__(self, "hp_pro_curve")
     self.user_re = _user_re
     self.password_re = _password_re
     self.prompt_re = _prompt_re
     self.error_re = _error_re
     self.login_error_re = _login_fail_re
Exemplo n.º 5
0
    def __init__(self):
        Driver.__init__(self, 'mme_telnet')

        self.user_re = [re.compile(r'ENTER USERNAME < ')]
        self.password_re = [re.compile(r'ENTER PASSWORD < ')]
        self.prompt_re = [re.compile(r'\r\n< \x08 ')]
        self.login_error_re = [re.compile(r'AUTHORIZATION FAILURE ')]
Exemplo n.º 6
0
    def __init__(self):
        Driver.__init__(self, 'ericsson_ban')

        self.user_re = _user_re
        self.password_re = _password_re
        self.prompt_re = _prompt_re
        self.error_re = _error_re
        self.login_error_re = _login_fail_re
Exemplo n.º 7
0
    def __init__(self):
        Driver.__init__(self, 'ericsson_ban')

        self.user_re = _user_re
        self.password_re = _password_re
        self.prompt_re = _prompt_re
        self.error_re = _error_re
        self.login_error_re = _login_fail_re
Exemplo n.º 8
0
 def __init__(self):
     Driver.__init__(self, 'junos_erx')
     self.user_re = _user_re
     self.password_re = _password_re
     self.prompt_re = _prompt_re
     # JunOS ERX OS do not accept further login
     # attempts after failing one. So in this hack, we
     # re-connect after each attempt...
     self.reconnect_between_auth_methods = True
Exemplo n.º 9
0
 def __init__(self):
     Driver.__init__(self, 'enterasys')
     self.user_re = _user_re
     self.password_re = _password_re
     self.prompt_re = _prompt_re
Exemplo n.º 10
0
 def __init__(self):
     Driver.__init__(self, 'aironet')
     self.user_re = _user_re
     self.prompt_re = _prompt_re
Exemplo n.º 11
0
 def __init__(self):
     Driver.__init__(self, 'arbor_peakflow')
     self.user_re     = _user_re
     self.password_re = _password_re
     self.prompt_re   = _prompt_re
Exemplo n.º 12
0
 def __init__(self):
     Driver.__init__(self, 'saegw_ssh2')
     self.password_re = [re.compile(r'Password:'******'\[.*\][\r\x00]*\r\n#')]
Exemplo n.º 13
0
 def __init__(self):
     Driver.__init__(self, 'smart_edge_os')
     self.user_re = _user_re
     self.password_re = _password_re
     self.prompt_re = _prompt_re
Exemplo n.º 14
0
 def __init__(self):
     Driver.__init__(self, 'generic')
Exemplo n.º 15
0
 def __init__(self):
     Driver.__init__(self, 'generic')
Exemplo n.º 16
0
 def __init__(self):
     Driver.__init__(self, 'mrv')
     self.user_re = _user_re
     self.password_re = _password_re
     self.prompt_re = _prompt_re
Exemplo n.º 17
0
 def __init__(self):
     Driver.__init__(self, 'sros')
     self.prompt_re = _prompt_re
Exemplo n.º 18
0
 def __init__(self):
     Driver.__init__(self, 'aironet')
     self.user_re = _user_re
     self.prompt_re = _prompt_re
Exemplo n.º 19
0
 def __init__(self):
     Driver.__init__(self, 'aix')
     self.user_re = _user_re
     self.password_re = _password_re
Exemplo n.º 20
0
 def __init__(self):
     Driver.__init__(self, 'generic_linux')
     self.prompt_re   = _prompt_re
Exemplo n.º 21
0
 def __init__(self):
     Driver.__init__(self, 'saegw_ssh2')
     self.password_re = [re.compile(r'Password:'******'\[.*\][\r\x00]*\r\n#')]
Exemplo n.º 22
0
 def __init__(self):
     Driver.__init__(self, 'arbor_peakflow')
     self.user_re = _user_re
     self.password_re = _password_re
     self.prompt_re = _prompt_re
Exemplo n.º 23
0
 def __init__(self):
     Driver.__init__(self, 'extremexos')
     self.user_re     = _user_re
     self.password_re = _password_re
     self.prompt_re   = _prompt_re
Exemplo n.º 24
0
 def __init__(self):
     Driver.__init__(self, 'zyxel')
     self.prompt_re = _prompt_re
Exemplo n.º 25
0
 def __init__(self):
     Driver.__init__(self, 'zyxel')
     self.prompt_re = _prompt_re
Exemplo n.º 26
0
 def __init__(self):
     Driver.__init__(self, 'one_os')
     self.user_re = _user_re
     self.password_re = _password_re
     self.prompt_re = _prompt_re
Exemplo n.º 27
0
 def __init__(self):
     Driver.__init__(self, 'saegw_telnet')
     self.user_re     = [re.compile(r'Please give the username:\r\n')]
     self.password_re = [re.compile(r'Please give the password for user\r\n')]
     self.prompt_re = [re.compile(r'\[.*\][\r\x00]*\r\n#')]
Exemplo n.º 28
0
 def __init__(self):
     Driver.__init__(self, 'ios')
     self.user_re     = _user_re
     self.password_re = _password_re
     self.prompt_re   = _prompt_re
     self.error_re    = _error_re
Exemplo n.º 29
0
    def __init__(self):
        Driver.__init__(self, 'mme_ssh2')

        self.password_re = [re.compile(r'password:'******'\r\n< \x08 ')]
        self.login_error_re = [re.compile(r'Permission denied')]
Exemplo n.º 30
0
 def __init__(self):
     Driver.__init__(self, 'junos')
     self.user_re     = _user_re
     self.password_re = _password_re
     self.prompt_re   = _prompt_re
     self.error_re    = _error_re
Exemplo n.º 31
0
 def __init__(self):
     Driver.__init__(self, 'junos_erx')
     self.user_re = _user_re
     self.password_re = _password_re
     self.prompt_re = _prompt_re
Exemplo n.º 32
0
    def __init__(self):
        Driver.__init__(self, 'mme_ssh2')

        self.password_re = [re.compile(r'password:'******'\r\n< \x08 ')]
        self.login_error_re = [re.compile(r'Permission denied')]
Exemplo n.º 33
0
 def __init__(self):
     Driver.__init__(self, 'sros')
     self.prompt_re = _prompt_re