nc_notifications

package
v0.0.0-...-50def94 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Conversion of the 'manageEvent' XSD in the NETCONF Notifications RFC.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Netconf

type Netconf struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The list of event streams supported by the system. When a query is issued,
	// the returned set of streams is determined based on user privileges.
	Streams Netconf_Streams
}

Netconf Top-level element in the notification namespace

func (*Netconf) GetEntityData

func (netconf *Netconf) GetEntityData() *types.CommonEntityData

type Netconf_Streams

type Netconf_Streams struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Stream name, description and other information. The type is slice of
	// Netconf_Streams_Stream.
	Stream []*Netconf_Streams_Stream
}

Netconf_Streams The list of event streams supported by the system. When a query is issued, the returned set of streams is determined based on user privileges.

func (*Netconf_Streams) GetEntityData

func (streams *Netconf_Streams) GetEntityData() *types.CommonEntityData

type Netconf_Streams_Stream

type Netconf_Streams_Stream struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. The name of the event stream. If this is the
	// default NETCONF stream, this must have the value 'NETCONF'. The type is
	// string.
	Name interface{}

	// A description of the event stream, including such information as the type
	// of events that are sent over this stream. The type is string. This
	// attribute is mandatory.
	Description interface{}

	// A description of the event stream, including such information as the type
	// of events that are sent over this stream. The type is bool. This attribute
	// is mandatory.
	ReplaySupport interface{}

	// The timestamp of the creation of the log used to support the replay
	// function on this stream. Note that this might be earlier then the earliest
	// available notification in the log. This object is updated if the log resets
	// for some reason.  This object MUST be present if replay is supported. The
	// type is string with pattern:
	// \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}).
	ReplayLogCreationTime interface{}
}

Netconf_Streams_Stream Stream name, description and other information.

func (*Netconf_Streams_Stream) GetEntityData

func (stream *Netconf_Streams_Stream) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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