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)
19 lines (18 loc) • 856 B
TypeScript
import { BaseConnection, DeviceCredentials, CommandResult } from '../base-connection';
export declare class CiscoIOSXRConnection extends BaseConnection {
private inConfigMode;
constructor(credentials: DeviceCredentials);
sessionPreparation(): Promise<void>;
private createIOSXRShellChannel;
protected setTerminalSettings(): Promise<void>;
protected setBasePrompt(): Promise<void>;
protected enterConfigMode(): Promise<void>;
protected exitConfigMode(): Promise<void>;
sendCommand(command: string): Promise<CommandResult>;
sendConfig(commands: string[]): Promise<CommandResult>;
getCurrentConfig(): Promise<CommandResult>;
saveConfig(): Promise<CommandResult>;
rebootDevice(): Promise<CommandResult>;
protected sanitizeOutput(output: string, command: string): string;
isInConfigMode(): boolean;
}