notifications

package
v0.0.0-...-fac1166 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSubscription

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

	Input CreateSubscription_Input
}

CreateSubscription The command to create a notification subscription. It takes as argument the name of the notification stream and filter. Both of those options limit the content of the subscription. In addition, there are two time-related parameters, startTime and stopTime, which can be used to select the time interval of interest to the notification replay feature.

func (*CreateSubscription) GetEntityData

func (createSubscription *CreateSubscription) GetEntityData() *types.CommonEntityData

type CreateSubscription_Input

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

	// An optional parameter that indicates which stream of events is of interest.
	// If not present, then events in the default NETCONF stream will be sent. The
	// type is string. The default value is NETCONF.
	Stream interface{}

	// An optional parameter that indicates which subset of all possible events is
	// of interest. The format of this parameter is the same as that of the filter
	// parameter in the NETCONF protocol operations. If not present, all events
	// not precluded by other parameters will be sent. The type is string.
	Filter interface{}

	// A parameter used to trigger the replay feature and indicates that the
	// replay should start at the time specified. If start time is not present,
	// this is not a replay subscription. 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}).
	StartTime interface{}

	// An optional parameter used with the optional replay feature to indicate the
	// newest notifications of interest. If stop time is not present, the
	// notifications will continue until the subscription is terminated. Must be
	// used with startTime. 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}).
	StopTime interface{}
}

CreateSubscription_Input

func (*CreateSubscription_Input) GetEntityData

func (input *CreateSubscription_Input) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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