Mini Shell

Direktori : /proc/self/root/opt/imh-python/lib/python3.9/site-packages/netmiko/cisco/
Upload File :
Current File : //proc/self/root/opt/imh-python/lib/python3.9/site-packages/netmiko/cisco/cisco_ftd_ssh.py

"""Subclass specific to Cisco FTD."""
from netmiko.cisco_base_connection import CiscoSSHConnection


class CiscoFtdSSH(CiscoSSHConnection):
    """Subclass specific to Cisco FTD."""

    def session_preparation(self):
        """Prepare the session after the connection has been established."""
        self._test_channel_read()
        self.set_base_prompt()

    def send_config_set(self, *args, **kwargs):
        """Canot change config on FTD via ssh"""
        raise NotImplementedError

    def enable(self, *args, **kwargs):
        """No enable mode on firepower ssh"""
        return ""

    def config_mode(self, *args, **kwargs):
        """No config mode on firepower ssh"""
        return ""

    def check_config_mode(self, *args, **kwargs):
        """No config mode on firepower ssh"""
        return False

Zerion Mini Shell 1.0