arista

package
v0.0.0-...-a02e82a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDevice

func NewDevice(connection connections.Connection, DeviceType string) (types.CiscoDevice, error)

Types

type EOSDevice

type EOSDevice struct {
	Driver driver.IDriver
	Prompt string
	// contains filtered or unexported fields
}

func (*EOSDevice) Connect

func (d *EOSDevice) Connect() error

func (*EOSDevice) Disconnect

func (d *EOSDevice) Disconnect()

func (*EOSDevice) SendCommand

func (d *EOSDevice) SendCommand(cmd string) (string, error)

func (*EOSDevice) SendConfigSet

func (d *EOSDevice) SendConfigSet(cmds []string) (string, error)

func (*EOSDevice) SetSecret

func (d *EOSDevice) SetSecret(secret string)

func (*EOSDevice) SetTimeout

func (d *EOSDevice) SetTimeout(timeout uint8)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL