juniper

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.Device, error)

Types

type JunOSDevice

type JunOSDevice struct {
	Driver     driver.IDriver
	DeviceType string
	Prompt     string
}

func (*JunOSDevice) Connect

func (d *JunOSDevice) Connect() error

func (*JunOSDevice) Disconnect

func (d *JunOSDevice) Disconnect()

func (*JunOSDevice) SendCommand

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

func (*JunOSDevice) SendConfigSet

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

func (*JunOSDevice) SetTimeout

func (d *JunOSDevice) SetTimeout(timeout uint8)

Jump to

Keyboard shortcuts

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