removes network os guess static method (#19467)

For devices that do not support mutliplexing, we cannot automatically
determine the network os.  This removes the os guess static method
from the terminal plugin.  For this devices, the network_os
value must be configured
This commit is contained in:
Peter Sprygada 2016-12-19 07:47:29 -05:00 committed by GitHub
parent c58461596a
commit 8f97ddd98a
2 changed files with 2 additions and 15 deletions

View file

@ -80,9 +80,3 @@ class TerminalModule(TerminalBase):
self._exec_cli_command('disable')
@staticmethod
def guess_network_os(conn):
stdin, stdout, stderr = conn.exec_command('show version')
if 'Cisco IOS Software' in stdout.read():
return 'ios'