cisco_ios_xr_snmp_agent_oper_snmp_correlator_traps_trap

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Cisco-IOS-XR-snmp-agent-oper:snmp/correlator/traps/trap

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnmpCorrTrapBag

type SnmpCorrTrapBag struct {
	// Object ID
	Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"`
	// Number of hsecs elapsed since snmpd was started
	RelativeTimestamp uint32 `protobuf:"varint,2,opt,name=relative_timestamp,json=relativeTimestamp,proto3" json:"relative_timestamp,omitempty"`
	// Time when the trap was generated. It is expressed in number of milliseconds since 00:00:00 UTC, January 1, 1970
	Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// VarBinds on the trap
	VarBind              []*SnmpCorrVbind `protobuf:"bytes,4,rep,name=var_bind,json=varBind,proto3" json:"var_bind,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Trap Information

func (*SnmpCorrTrapBag) Descriptor

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

func (*SnmpCorrTrapBag) GetOid

func (m *SnmpCorrTrapBag) GetOid() string

func (*SnmpCorrTrapBag) GetRelativeTimestamp

func (m *SnmpCorrTrapBag) GetRelativeTimestamp() uint32

func (*SnmpCorrTrapBag) GetTimestamp

func (m *SnmpCorrTrapBag) GetTimestamp() uint64

func (*SnmpCorrTrapBag) GetVarBind

func (m *SnmpCorrTrapBag) GetVarBind() []*SnmpCorrVbind

func (*SnmpCorrTrapBag) ProtoMessage

func (*SnmpCorrTrapBag) ProtoMessage()

func (*SnmpCorrTrapBag) Reset

func (m *SnmpCorrTrapBag) Reset()

func (*SnmpCorrTrapBag) String

func (m *SnmpCorrTrapBag) String() string

func (*SnmpCorrTrapBag) XXX_DiscardUnknown

func (m *SnmpCorrTrapBag) XXX_DiscardUnknown()

func (*SnmpCorrTrapBag) XXX_Marshal

func (m *SnmpCorrTrapBag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnmpCorrTrapBag) XXX_Merge

func (dst *SnmpCorrTrapBag) XXX_Merge(src proto.Message)

func (*SnmpCorrTrapBag) XXX_Size

func (m *SnmpCorrTrapBag) XXX_Size() int

func (*SnmpCorrTrapBag) XXX_Unmarshal

func (m *SnmpCorrTrapBag) XXX_Unmarshal(b []byte) error

type SnmpCorrTrapBufferBag

type SnmpCorrTrapBufferBag struct {
	// Correlation ID
	CorrelationId uint32 `protobuf:"varint,50,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
	// True if this is the rootcause
	IsRootcause bool `protobuf:"varint,51,opt,name=is_rootcause,json=isRootcause,proto3" json:"is_rootcause,omitempty"`
	// Correlation rule name
	RuleName string `protobuf:"bytes,52,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	// Correlated trap information
	TrapInfo             *SnmpCorrTrapBag `protobuf:"bytes,53,opt,name=trap_info,json=trapInfo,proto3" json:"trap_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SnmpCorrTrapBufferBag) Descriptor

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

func (*SnmpCorrTrapBufferBag) GetCorrelationId

func (m *SnmpCorrTrapBufferBag) GetCorrelationId() uint32

func (*SnmpCorrTrapBufferBag) GetIsRootcause

func (m *SnmpCorrTrapBufferBag) GetIsRootcause() bool

func (*SnmpCorrTrapBufferBag) GetRuleName

func (m *SnmpCorrTrapBufferBag) GetRuleName() string

func (*SnmpCorrTrapBufferBag) GetTrapInfo

func (m *SnmpCorrTrapBufferBag) GetTrapInfo() *SnmpCorrTrapBag

func (*SnmpCorrTrapBufferBag) ProtoMessage

func (*SnmpCorrTrapBufferBag) ProtoMessage()

func (*SnmpCorrTrapBufferBag) Reset

func (m *SnmpCorrTrapBufferBag) Reset()

func (*SnmpCorrTrapBufferBag) String

func (m *SnmpCorrTrapBufferBag) String() string

func (*SnmpCorrTrapBufferBag) XXX_DiscardUnknown

func (m *SnmpCorrTrapBufferBag) XXX_DiscardUnknown()

func (*SnmpCorrTrapBufferBag) XXX_Marshal

func (m *SnmpCorrTrapBufferBag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnmpCorrTrapBufferBag) XXX_Merge

func (dst *SnmpCorrTrapBufferBag) XXX_Merge(src proto.Message)

func (*SnmpCorrTrapBufferBag) XXX_Size

func (m *SnmpCorrTrapBufferBag) XXX_Size() int

func (*SnmpCorrTrapBufferBag) XXX_Unmarshal

func (m *SnmpCorrTrapBufferBag) XXX_Unmarshal(b []byte) error

type SnmpCorrTrapBufferBag_KEYS

type SnmpCorrTrapBufferBag_KEYS struct {
	EntryId              uint32   `protobuf:"varint,1,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Trap Buffer Record

func (*SnmpCorrTrapBufferBag_KEYS) Descriptor

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

func (*SnmpCorrTrapBufferBag_KEYS) GetEntryId

func (m *SnmpCorrTrapBufferBag_KEYS) GetEntryId() uint32

func (*SnmpCorrTrapBufferBag_KEYS) ProtoMessage

func (*SnmpCorrTrapBufferBag_KEYS) ProtoMessage()

func (*SnmpCorrTrapBufferBag_KEYS) Reset

func (m *SnmpCorrTrapBufferBag_KEYS) Reset()

func (*SnmpCorrTrapBufferBag_KEYS) String

func (m *SnmpCorrTrapBufferBag_KEYS) String() string

func (*SnmpCorrTrapBufferBag_KEYS) XXX_DiscardUnknown

func (m *SnmpCorrTrapBufferBag_KEYS) XXX_DiscardUnknown()

func (*SnmpCorrTrapBufferBag_KEYS) XXX_Marshal

func (m *SnmpCorrTrapBufferBag_KEYS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnmpCorrTrapBufferBag_KEYS) XXX_Merge

func (dst *SnmpCorrTrapBufferBag_KEYS) XXX_Merge(src proto.Message)

func (*SnmpCorrTrapBufferBag_KEYS) XXX_Size

func (m *SnmpCorrTrapBufferBag_KEYS) XXX_Size() int

func (*SnmpCorrTrapBufferBag_KEYS) XXX_Unmarshal

func (m *SnmpCorrTrapBufferBag_KEYS) XXX_Unmarshal(b []byte) error

type SnmpCorrVbind

type SnmpCorrVbind struct {
	// OID of the varbind
	Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"`
	// Value of the varbind
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SnmpCorrVbind) Descriptor

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

func (*SnmpCorrVbind) GetOid

func (m *SnmpCorrVbind) GetOid() string

func (*SnmpCorrVbind) GetValue

func (m *SnmpCorrVbind) GetValue() string

func (*SnmpCorrVbind) ProtoMessage

func (*SnmpCorrVbind) ProtoMessage()

func (*SnmpCorrVbind) Reset

func (m *SnmpCorrVbind) Reset()

func (*SnmpCorrVbind) String

func (m *SnmpCorrVbind) String() string

func (*SnmpCorrVbind) XXX_DiscardUnknown

func (m *SnmpCorrVbind) XXX_DiscardUnknown()

func (*SnmpCorrVbind) XXX_Marshal

func (m *SnmpCorrVbind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnmpCorrVbind) XXX_Merge

func (dst *SnmpCorrVbind) XXX_Merge(src proto.Message)

func (*SnmpCorrVbind) XXX_Size

func (m *SnmpCorrVbind) XXX_Size() int

func (*SnmpCorrVbind) XXX_Unmarshal

func (m *SnmpCorrVbind) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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