action

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAllSessions

func CloseAllSessions()

CloseAllSessions is called on exit to gracefully close the sockets

func CreateDiagnosticContext added in v0.1.15

func CreateDiagnosticContext(diagFlag bool)

CreateDiagnosticContext creates a context used for instantiating new Netconf sessions, with the option of enabling netconf client diagnostics (diagFlag == true).

func Execute

func Execute(tsStart time.Time, cID int, ts *suite.TestSuite, action suite.Action, resultChannel chan result.NetconfResult)

Execute used to determine type of Action and call the appropriate function

func ExecuteNetconf

func ExecuteNetconf(tsStart time.Time, cID int, action suite.Action, config *suite.Sshconfig, resultChannel chan result.NetconfResult)

ExecuteNetconf invoked when a NETCONF Action is identified

func ExecuteSleep

func ExecuteSleep(action suite.Action)

ExecuteSleep invoked when a Sleep Action is identified

Types

This section is empty.

Jump to

Keyboard shortcuts

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