netconf

package
v0.0.0-...-2f4518d Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: BSD-2-Clause-Views Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial() (*session.Session, error)

Dial creates a new NETCONF session via Junos local shell NETCONF interface (xml-mode netconf need-trailer).

Types

type TransportJunos

type TransportJunos struct {
	transport.TransportBasicIO
	// contains filtered or unexported fields
}

TransportJunos maintains the information necessary to communicate with Junos via local shell NETCONF interface.

func (*TransportJunos) Close

func (t *TransportJunos) Close() error

Close closes an existing local NETCONF session.

func (*TransportJunos) Open

func (t *TransportJunos) Open() error

Open creates a new local NETCONF session.

Jump to

Keyboard shortcuts

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