add support dell networking s3048t (os9)

This commit is contained in:
Yoshihiro OKUMURA 2022-04-12 16:14:13 +09:00
parent 6293143105
commit e6ed0534e0
2 changed files with 4 additions and 2 deletions

View File

@ -151,6 +151,7 @@ class SwitchConfigFetcher:
conn.expect(['.*\\(y/n\\)\\s*'])
conn.send('y')
if self.enable is not None:
if self.system not in ['s3000']:
conn.wait_command_prompt()
conn.send('exit')
conn.wait_command_prompt()

View File

@ -11,6 +11,7 @@
{"hostname": "s5100", "protocol": "telnet", "system": "s5100", "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": "s3048t", "protocol": "telnet", "system": "s3000", "username": "admin", "password": "secret", "enable": "secret"},
{"hostname": "n3224t", "protocol": "ssh", "system": "n3000", "username": "admin", "password": "secret", "enable": ""},
{"hostname": "s4128f", "protocol": "ssh", "system": "s4000", "username": "admin", "password": "secret"}
]