Skip to content

Commit

Permalink
update files
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindmani-1 committed Nov 2, 2023
1 parent de2e807 commit e9d80e2
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions netmiko/dell/dell_sonic_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
from netmiko.cisco_base_connection import CiscoSSHConnection
from netmiko import log
from netmiko.base_connection import BaseConnection
from netmiko.scp_handler import BaseFileTransfer
from netmiko.scp_handler import BaseFileTransfer, SCPConn
from typing import Any, Optional
import os
import re


class DellSonicSSH(NoEnable, CiscoSSHConnection):
class DellSonicSSH(NoEnable, CiscoSSHConnection, SCPConn):
"""
Dell EMC PowerSwitch platforms running Enterprise SONiC Distribution
by Dell Technologies Driver - supports dellenterprisesonic.
Expand Down Expand Up @@ -71,13 +71,6 @@ def __init__(
)
self.folder_name = "/home/admin"

def session_preparation(self) -> None:
"""Prepare the session after the connection has been established."""
self._test_channel_read(pattern=r"[>$#]")
self._return_to_admin()
self.disable_paging()
self.set_base_prompt(alt_prompt_terminator="$")

def _enter_shell(self) -> str:
"""Enter the sonic-cli Shell."""
log.debug("Enter sonic-cli Shell.")
Expand Down

0 comments on commit e9d80e2

Please sign in to comment.