UNPKG

n8n-nodes-netdevices

Version:

n8n node to interact with network devices (Cisco, MikroTik, Arista, Extreme Networks, Dell, Juniper, HP, Aruba, Ubiquiti, Palo Alto, Fortinet - ISP, data center, campus, and edge)

27 lines (26 loc) 1.17 kB
import { BaseConnection, DeviceCredentials, CommandResult } from '../base-connection'; export declare class CiscoConnection extends BaseConnection { private enablePassword; protected inEnableMode: boolean; protected inConfigMode: boolean; constructor(credentials: DeviceCredentials & { enablePassword?: string; }); sessionPreparation(): Promise<void>; protected createCiscoShellChannel(): Promise<void>; protected setTerminalWidth(): Promise<void>; protected disablePaging(): Promise<void>; protected setBasePrompt(): Promise<void>; protected checkAndEnterEnableMode(): Promise<void>; protected enterEnableMode(): Promise<void>; protected enterConfigMode(): Promise<void>; protected exitConfigMode(): Promise<void>; sendCommand(command: string): Promise<CommandResult>; sendConfig(configCommands: string[]): Promise<CommandResult>; getCurrentConfig(): Promise<CommandResult>; saveConfig(): Promise<CommandResult>; rebootDevice(): Promise<CommandResult>; protected sanitizeOutput(output: string, command: string): string; isInEnableMode(): boolean; isInConfigMode(): boolean; }