Module netmiko.digi.digi_transport
Digi TransPort Routers
Classes
class DigiTransportBase (*args: Any, **kwargs: Any)- 
Class for platforms that have no enable mode.
Netmiko translates the meaning of "enable" mode to be a proxy for "can go into config mode". In other words, that you ultimately have privileges to execute configuration changes.
The expectation on platforms that have no method for elevating privileges is that the standard default privileges allow configuration changes.
Consequently check_enable_mode returns True by default for platforms that don't explicitly support enable mode.
Expand source code
class DigiTransportBase(NoEnable, NoConfig, CiscoSSHConnection): def __init__(self, *args: Any, **kwargs: Any) -> None: default_enter = kwargs.get("default_enter") kwargs["default_enter"] = "\r\n" if default_enter is None else default_enter super().__init__(*args, **kwargs) def save_config( self, cmd: str = "config 0 save", confirm: bool = False, confirm_response: str = "", ) -> str: output = self._send_command_str( command_string=cmd, expect_string="Please wait..." ) return outputAncestors
Subclasses
Inherited members
CiscoSSHConnection:check_config_modecheck_enable_modecleanupclear_buffercommitconfig_modedisable_pagingdisconnectenableestablish_connectionexit_config_modeexit_enable_modefind_promptis_alivenormalize_cmdnormalize_linefeedsparamiko_cleanupread_channelread_channel_timingread_until_patternread_until_promptread_until_prompt_or_patternrun_ttpsave_configselect_delay_factorsend_commandsend_command_expectsend_command_timingsend_config_from_filesend_config_setsend_multilinesession_preparationset_base_promptset_terminal_widthspecial_login_handlerstrip_ansi_escape_codesstrip_backspacesstrip_commandstrip_prompttelnet_loginwrite_channel
 class DigiTransportSSH (*args: Any, **kwargs: Any)- 
Class for platforms that have no enable mode.
Netmiko translates the meaning of "enable" mode to be a proxy for "can go into config mode". In other words, that you ultimately have privileges to execute configuration changes.
The expectation on platforms that have no method for elevating privileges is that the standard default privileges allow configuration changes.
Consequently check_enable_mode returns True by default for platforms that don't explicitly support enable mode.
Expand source code
class DigiTransportSSH(DigiTransportBase): passAncestors
Inherited members
DigiTransportBase:check_config_modecheck_enable_modecleanupclear_buffercommitconfig_modedisable_pagingdisconnectenableestablish_connectionexit_config_modeexit_enable_modefind_promptis_alivenormalize_cmdnormalize_linefeedsparamiko_cleanupread_channelread_channel_timingread_until_patternread_until_promptread_until_prompt_or_patternrun_ttpsave_configselect_delay_factorsend_commandsend_command_expectsend_command_timingsend_config_from_filesend_config_setsend_multilinesession_preparationset_base_promptset_terminal_widthspecial_login_handlerstrip_ansi_escape_codesstrip_backspacesstrip_commandstrip_prompttelnet_loginwrite_channel