openconfig

package
v0.0.0-...-45f8ed2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package openconfig implmements node definitions for nodes from the OpenConfig vendor. It implements both a device (model: lemming) and an ATE (model: magna).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(nodeImpl *node.Impl) (node.Node, error)

New creates a new instance of a node based on the specified model.

Types

type Node

type Node struct {
	*node.Impl
}

func (*Node) ConfigPush

func (n *Node) ConfigPush(context.Context, io.Reader) error

func (*Node) Create

func (n *Node) Create(ctx context.Context) error

func (*Node) Delete

func (n *Node) Delete(ctx context.Context) error

func (*Node) GenerateSelfSigned

func (n *Node) GenerateSelfSigned(context.Context) error

func (*Node) ResetCfg

func (n *Node) ResetCfg(ctx context.Context) error

func (*Node) Status

func (n *Node) Status(ctx context.Context) (node.Status, error)

Jump to

Keyboard shortcuts

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