jnpr_gnmi_extention

package
v1.28.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StreamType_name = map[int32]string{
		0: "INITIAL_SYNC",
		1: "ONCHANGE",
		2: "PERIODIC",
	}
	StreamType_value = map[string]int32{
		"INITIAL_SYNC": 0,
		"ONCHANGE":     1,
		"PERIODIC":     2,
	}
)

Enum value maps for StreamType.

View Source
var File_GnmiJuniperTelemetryHeaderExtension_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GnmiJuniperTelemetryHeaderExtension

type GnmiJuniperTelemetryHeaderExtension struct {

	// router name:export IP address
	SystemId string `protobuf:"bytes,1,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
	// line card / RE (slot number)
	ComponentId uint32 `protobuf:"varint,2,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	// PFE (if applicable)
	SubComponentId uint32 `protobuf:"varint,3,opt,name=sub_component_id,json=subComponentId,proto3" json:"sub_component_id,omitempty"`
	// Internal sensor name
	SensorName string `protobuf:"bytes,4,opt,name=sensor_name,json=sensorName,proto3" json:"sensor_name,omitempty"`
	// Sensor path in the subscribe request
	SubscribedPath string `protobuf:"bytes,5,opt,name=subscribed_path,json=subscribedPath,proto3" json:"subscribed_path,omitempty"`
	// Internal sensor path in junos
	StreamedPath string `protobuf:"bytes,6,opt,name=streamed_path,json=streamedPath,proto3" json:"streamed_path,omitempty"`
	Component    string `protobuf:"bytes,7,opt,name=component,proto3" json:"component,omitempty"`
	// Sequence number, monotonically increasing for each
	SequenceNumber uint64 `protobuf:"varint,8,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	// Payload get timestamp in milliseconds
	PayloadGetTimestamp int64 `protobuf:"varint,9,opt,name=payload_get_timestamp,json=payloadGetTimestamp,proto3" json:"payload_get_timestamp,omitempty"`
	// Stream creation timestamp in milliseconds
	StreamCreationTimestamp int64 `` /* 134-byte string literal not displayed */
	// [Deprecated] Event timestamp in milliseconds
	//
	// Deprecated: Marked as deprecated in GnmiJuniperTelemetryHeaderExtension.proto.
	EventTimestamp int64 `protobuf:"varint,11,opt,name=event_timestamp,json=eventTimestamp,proto3" json:"event_timestamp,omitempty"`
	// Export timestamp in milliseconds
	ExportTimestamp int64 `protobuf:"varint,12,opt,name=export_timestamp,json=exportTimestamp,proto3" json:"export_timestamp,omitempty"`
	// Subsequence number
	SubSequenceNumber uint64 `protobuf:"varint,13,opt,name=sub_sequence_number,json=subSequenceNumber,proto3" json:"sub_sequence_number,omitempty"`
	// End of marker
	Eom bool `protobuf:"varint,14,opt,name=eom,proto3" json:"eom,omitempty"`
	// Event publish timestamp in milliseconds
	EventPublishTimestamp int64 `` /* 128-byte string literal not displayed */
	// Stream type of packet
	StreamId StreamType `protobuf:"varint,16,opt,name=stream_id,json=streamId,proto3,enum=StreamType" json:"stream_id,omitempty"`
	// contains filtered or unexported fields
}

Present as first gNMI update in all packets

func (*GnmiJuniperTelemetryHeaderExtension) Descriptor deprecated

func (*GnmiJuniperTelemetryHeaderExtension) Descriptor() ([]byte, []int)

Deprecated: Use GnmiJuniperTelemetryHeaderExtension.ProtoReflect.Descriptor instead.

func (*GnmiJuniperTelemetryHeaderExtension) GetComponent

func (x *GnmiJuniperTelemetryHeaderExtension) GetComponent() string

func (*GnmiJuniperTelemetryHeaderExtension) GetComponentId

func (x *GnmiJuniperTelemetryHeaderExtension) GetComponentId() uint32

func (*GnmiJuniperTelemetryHeaderExtension) GetEom

func (*GnmiJuniperTelemetryHeaderExtension) GetEventPublishTimestamp

func (x *GnmiJuniperTelemetryHeaderExtension) GetEventPublishTimestamp() int64

func (*GnmiJuniperTelemetryHeaderExtension) GetEventTimestamp deprecated

func (x *GnmiJuniperTelemetryHeaderExtension) GetEventTimestamp() int64

Deprecated: Marked as deprecated in GnmiJuniperTelemetryHeaderExtension.proto.

func (*GnmiJuniperTelemetryHeaderExtension) GetExportTimestamp

func (x *GnmiJuniperTelemetryHeaderExtension) GetExportTimestamp() int64

func (*GnmiJuniperTelemetryHeaderExtension) GetPayloadGetTimestamp

func (x *GnmiJuniperTelemetryHeaderExtension) GetPayloadGetTimestamp() int64

func (*GnmiJuniperTelemetryHeaderExtension) GetSensorName

func (x *GnmiJuniperTelemetryHeaderExtension) GetSensorName() string

func (*GnmiJuniperTelemetryHeaderExtension) GetSequenceNumber

func (x *GnmiJuniperTelemetryHeaderExtension) GetSequenceNumber() uint64

func (*GnmiJuniperTelemetryHeaderExtension) GetStreamCreationTimestamp

func (x *GnmiJuniperTelemetryHeaderExtension) GetStreamCreationTimestamp() int64

func (*GnmiJuniperTelemetryHeaderExtension) GetStreamId

func (*GnmiJuniperTelemetryHeaderExtension) GetStreamedPath

func (x *GnmiJuniperTelemetryHeaderExtension) GetStreamedPath() string

func (*GnmiJuniperTelemetryHeaderExtension) GetSubComponentId

func (x *GnmiJuniperTelemetryHeaderExtension) GetSubComponentId() uint32

func (*GnmiJuniperTelemetryHeaderExtension) GetSubSequenceNumber

func (x *GnmiJuniperTelemetryHeaderExtension) GetSubSequenceNumber() uint64

func (*GnmiJuniperTelemetryHeaderExtension) GetSubscribedPath

func (x *GnmiJuniperTelemetryHeaderExtension) GetSubscribedPath() string

func (*GnmiJuniperTelemetryHeaderExtension) GetSystemId

func (*GnmiJuniperTelemetryHeaderExtension) ProtoMessage

func (*GnmiJuniperTelemetryHeaderExtension) ProtoMessage()

func (*GnmiJuniperTelemetryHeaderExtension) ProtoReflect

func (*GnmiJuniperTelemetryHeaderExtension) Reset

func (*GnmiJuniperTelemetryHeaderExtension) String

type StreamType

type StreamType int32
const (
	StreamType_INITIAL_SYNC StreamType = 0
	StreamType_ONCHANGE     StreamType = 1
	StreamType_PERIODIC     StreamType = 2
)

func (StreamType) Descriptor

func (StreamType) Descriptor() protoreflect.EnumDescriptor

func (StreamType) Enum

func (x StreamType) Enum() *StreamType

func (StreamType) EnumDescriptor deprecated

func (StreamType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StreamType.Descriptor instead.

func (StreamType) Number

func (x StreamType) Number() protoreflect.EnumNumber

func (StreamType) String

func (x StreamType) String() string

func (StreamType) Type

Jump to

Keyboard shortcuts

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