Module netmiko.pluribus.pluribus_ssh

Classes

class PluribusSSH (*args: Any, **kwargs: Any)

Common methods for Pluribus.

Expand source code
class PluribusSSH(NoConfig, BaseConnection):
    """Common methods for Pluribus."""

    def __init__(self, *args: Any, **kwargs: Any) -> None:
        super().__init__(*args, **kwargs)
        self._config_mode = False

    def session_preparation(self) -> None:
        """Prepare the netmiko session."""
        self._test_channel_read()
        self.set_base_prompt()
        self.disable_paging()
        # Clear the read buffer
        time.sleep(0.3 * self.global_delay_factor)
        self.clear_buffer()

Ancestors

Methods

def session_preparation(self) ‑> None

Prepare the netmiko session.

Inherited members