Module netmiko.brocade.brocade_fos_ssh
Expand source code
from typing import Any
from netmiko.no_enable import NoEnable
from netmiko.no_config import NoConfig
from netmiko.cisco_base_connection import CiscoSSHConnection
class BrocadeFOSSSH(NoEnable, NoConfig, CiscoSSHConnection):
"""Brocade Fabric OS support"""
def __init__(self, **kwargs: Any) -> None:
if kwargs.get("default_enter") is None:
kwargs["default_enter"] = "\r"
return super().__init__(**kwargs)
def session_preparation(self) -> None:
self._test_channel_read(pattern=r">")
self.set_base_prompt()
Classes
class BrocadeFOSSSH (**kwargs: Any)
-
Brocade Fabric OS support
Expand source code
class BrocadeFOSSSH(NoEnable, NoConfig, CiscoSSHConnection): """Brocade Fabric OS support""" def __init__(self, **kwargs: Any) -> None: if kwargs.get("default_enter") is None: kwargs["default_enter"] = "\r" return super().__init__(**kwargs) def session_preparation(self) -> None: self._test_channel_read(pattern=r">") self.set_base_prompt()
Ancestors
Inherited members
CiscoSSHConnection
:check_config_mode
check_enable_mode
cleanup
clear_buffer
commit
config_mode
disable_paging
disconnect
enable
establish_connection
exit_config_mode
exit_enable_mode
find_prompt
is_alive
normalize_cmd
normalize_linefeeds
paramiko_cleanup
read_channel
read_channel_timing
read_until_pattern
read_until_prompt
read_until_prompt_or_pattern
run_ttp
save_config
select_delay_factor
send_command
send_command_expect
send_command_timing
send_config_from_file
send_config_set
send_multiline
session_preparation
set_base_prompt
set_terminal_width
special_login_handler
strip_ansi_escape_codes
strip_backspaces
strip_command
strip_prompt
telnet_login
write_channel