yangentry

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package yangentry contains high-level helpers for using yang.Entry objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(yangfiles, path []string) (map[string]*yang.Entry, []error)

Parse takes a list of either module/submodule names or .yang file paths, and a list of include paths. It runs the yang parser on the YANG files by searching for them in the include paths or in the current directory, returning a slice of yang.Entry pointers which represent the parsed top level modules. It also returns a list of errors encountered while parsing, if any.

Types

This section is empty.

Jump to

Keyboard shortcuts

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