add support dell networking s3048t (os9)
This commit is contained in:
parent
6293143105
commit
e6ed0534e0
@ -151,8 +151,9 @@ class SwitchConfigFetcher:
|
|||||||
conn.expect(['.*\\(y/n\\)\\s*'])
|
conn.expect(['.*\\(y/n\\)\\s*'])
|
||||||
conn.send('y')
|
conn.send('y')
|
||||||
if self.enable is not None:
|
if self.enable is not None:
|
||||||
conn.wait_command_prompt()
|
if self.system not in ['s3000']:
|
||||||
conn.send('exit')
|
conn.wait_command_prompt()
|
||||||
|
conn.send('exit')
|
||||||
conn.wait_command_prompt()
|
conn.wait_command_prompt()
|
||||||
conn.send('exit')
|
conn.send('exit')
|
||||||
conn.close()
|
conn.close()
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
{"hostname": "s5100", "protocol": "telnet", "system": "s5100", "username": "admin", "password": "secret"},
|
{"hostname": "s5100", "protocol": "telnet", "system": "s5100", "username": "admin", "password": "secret"},
|
||||||
{"hostname": "a5120", "protocol": "telnet", "system": "a5120", "username": "admin", "password": "secret"},
|
{"hostname": "a5120", "protocol": "telnet", "system": "a5120", "username": "admin", "password": "secret"},
|
||||||
{"hostname": "n4032f", "protocol": "telnet", "system": "n4000", "username": "admin", "password": "secret", "enable": "secret"},
|
{"hostname": "n4032f", "protocol": "telnet", "system": "n4000", "username": "admin", "password": "secret", "enable": "secret"},
|
||||||
|
{"hostname": "s3048t", "protocol": "telnet", "system": "s3000", "username": "admin", "password": "secret", "enable": "secret"},
|
||||||
{"hostname": "n3224t", "protocol": "ssh", "system": "n3000", "username": "admin", "password": "secret", "enable": ""},
|
{"hostname": "n3224t", "protocol": "ssh", "system": "n3000", "username": "admin", "password": "secret", "enable": ""},
|
||||||
{"hostname": "s4128f", "protocol": "ssh", "system": "s4000", "username": "admin", "password": "secret"}
|
{"hostname": "s4128f", "protocol": "ssh", "system": "s4000", "username": "admin", "password": "secret"}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user