Source code for netdev.vendors.cisco.cisco_sg3xx

"""Subclass specific to Cisco SG3XX"""

from netdev.vendors.ios_like import IOSLikeDevice

[docs]class CiscoSG3XX(IOSLikeDevice): """Class for working with Cisco SG3XX""" def __init__(self, *args, **kwargs): """ Initialize class for asynchronous working with network devices :param str host: device hostname or ip address for connection :param str username: username for logging to device :param str password: user password for logging to device :param str secret: secret password for privilege mode :param int port: ssh port for connection. Default is 22 :param str device_type: network device type :param known_hosts: file with known hosts. Default is None (no policy). With () it will use default file :param str local_addr: local address for binding source of tcp connection :param client_keys: path for client keys. Default in None. With () it will use default file in OS :param str passphrase: password for encrypted client keys :param float timeout: timeout in second for getting information from channel :param loop: asyncio loop object """ super().__init__(*args, **kwargs) self._ansi_escape_codes = True _disable_paging_command = "terminal datadump"