ethernet_span_oper

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

This module contains a collection of YANG definitions for Cisco IOS-XR Ethernet-SPAN package operational data.

This module contains definitions for the following management objects:

span-monitor-session: Monitor Session operational data

Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DestinationClass

type DestinationClass string

DestinationClass represents Destination class

const (
	// Destination is an interface
	DestinationClass_interface_class DestinationClass = "interface-class"

	// Destination is a pseudowire
	DestinationClass_pseudowire_class DestinationClass = "pseudowire-class"

	// Destination is a next-hop IPv4 address
	DestinationClass_next_hop_ipv4_class DestinationClass = "next-hop-ipv4-class"

	// Destination is a next-hop IPv6 address
	DestinationClass_next_hop_ipv6_class DestinationClass = "next-hop-ipv6-class"

	// Destination is not specified
	DestinationClass_invalid_class DestinationClass = "invalid-class"
)

type ImStateEnum

type ImStateEnum string

ImStateEnum represents Im state enum

const (
	// im state not ready
	ImStateEnum_im_state_not_ready ImStateEnum = "im-state-not-ready"

	// im state admin down
	ImStateEnum_im_state_admin_down ImStateEnum = "im-state-admin-down"

	// im state down
	ImStateEnum_im_state_down ImStateEnum = "im-state-down"

	// im state up
	ImStateEnum_im_state_up ImStateEnum = "im-state-up"

	// im state shutdown
	ImStateEnum_im_state_shutdown ImStateEnum = "im-state-shutdown"

	// im state err disable
	ImStateEnum_im_state_err_disable ImStateEnum = "im-state-err-disable"

	// im state down immediate
	ImStateEnum_im_state_down_immediate ImStateEnum = "im-state-down-immediate"

	// im state down immediate admin
	ImStateEnum_im_state_down_immediate_admin ImStateEnum = "im-state-down-immediate-admin"

	// im state down graceful
	ImStateEnum_im_state_down_graceful ImStateEnum = "im-state-down-graceful"

	// im state begin shutdown
	ImStateEnum_im_state_begin_shutdown ImStateEnum = "im-state-begin-shutdown"

	// im state end shutdown
	ImStateEnum_im_state_end_shutdown ImStateEnum = "im-state-end-shutdown"

	// im state begin error disable
	ImStateEnum_im_state_begin_error_disable ImStateEnum = "im-state-begin-error-disable"

	// im state end error disable
	ImStateEnum_im_state_end_error_disable ImStateEnum = "im-state-end-error-disable"

	// im state begin down graceful
	ImStateEnum_im_state_begin_down_graceful ImStateEnum = "im-state-begin-down-graceful"

	// im state reset
	ImStateEnum_im_state_reset ImStateEnum = "im-state-reset"

	// im state operational
	ImStateEnum_im_state_operational ImStateEnum = "im-state-operational"

	// im state not operational
	ImStateEnum_im_state_not_operational ImStateEnum = "im-state-not-operational"

	// im state unknown
	ImStateEnum_im_state_unknown ImStateEnum = "im-state-unknown"

	// im state last
	ImStateEnum_im_state_last ImStateEnum = "im-state-last"
)

type MirrorInterval

type MirrorInterval string

MirrorInterval represents Monitor-session mirror intervals

const (
	// Mirror all packets
	MirrorInterval_mirror_interval_all MirrorInterval = "mirror-interval-all"

	// Mirror Interval 512
	MirrorInterval_mirror_interval512 MirrorInterval = "mirror-interval512"

	// Mirror Interval 1K
	MirrorInterval_mirror_interval1k MirrorInterval = "mirror-interval1k"

	// Mirror Interval 2K
	MirrorInterval_mirror_interval2k MirrorInterval = "mirror-interval2k"

	// Mirror Interval 4K
	MirrorInterval_mirror_interval4k MirrorInterval = "mirror-interval4k"

	// Mirror Interval 8K
	MirrorInterval_mirror_interval8k MirrorInterval = "mirror-interval8k"

	// Mirror Interval 16K
	MirrorInterval_mirror_interval16k MirrorInterval = "mirror-interval16k"
)

type SessionClass

type SessionClass string

SessionClass represents Session class

const (
	// Ethernet mirroring session
	SessionClass_ethernet_class SessionClass = "ethernet-class"

	// IPv4 mirroring session
	SessionClass_ipv4_class SessionClass = "ipv4-class"

	// IPv6 mirroring session
	SessionClass_ipv6_class SessionClass = "ipv6-class"

	// MPLS-IPv4 mirroring session
	SessionClass_mplsipv4_class SessionClass = "mplsipv4-class"

	// MPLS-IPv6 mirroring session
	SessionClass_mplsipv6_class SessionClass = "mplsipv6-class"

	// Invalid session class
	SessionClass_invalid_class SessionClass = "invalid-class"
)

type SpanMonitorSession

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

	// Global operational data.
	Global SpanMonitorSession_Global

	// Node table for node-specific operational data.
	Nodes SpanMonitorSession_Nodes
}

SpanMonitorSession Monitor Session operational data

func (*SpanMonitorSession) GetEntityData

func (spanMonitorSession *SpanMonitorSession) GetEntityData() *types.CommonEntityData

type SpanMonitorSession_Global

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

	// Table of statistics for source interfaces.
	Statistics SpanMonitorSession_Global_Statistics

	// Global Monitor Sessions table.
	GlobalSessions SpanMonitorSession_Global_GlobalSessions
}

SpanMonitorSession_Global Global operational data

func (*SpanMonitorSession_Global) GetEntityData

func (global *SpanMonitorSession_Global) GetEntityData() *types.CommonEntityData

type SpanMonitorSession_Global_GlobalSessions

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

	// Information about a globally-configured monitor session. The type is slice
	// of SpanMonitorSession_Global_GlobalSessions_GlobalSession.
	GlobalSession []*SpanMonitorSession_Global_GlobalSessions_GlobalSession
}

SpanMonitorSession_Global_GlobalSessions Global Monitor Sessions table

func (*SpanMonitorSession_Global_GlobalSessions) GetEntityData

func (globalSessions *SpanMonitorSession_Global_GlobalSessions) GetEntityData() *types.CommonEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession

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

	// This attribute is a key. Session Name. The type is string with length:
	// 1..79.
	Session interface{}

	// Session Name. The type is string.
	Name interface{}

	// Session class. The type is SessionClass.
	SessionClass interface{}

	// Numerical ID assigned to session. The type is interface{} with range:
	// 0..4294967295.
	Id interface{}

	// Last error observed for the destination . The type is interface{} with
	// range: 0..4294967295.
	DestinationError interface{}

	// Destination interface name (deprecated by DestinationData, invalid for
	// pseudowires). The type is string.
	DestinationInterfaceName interface{}

	// Destination interface handle (deprecated by DestinationID, invalid for
	// pseudowires). The type is string with pattern: [a-zA-Z0-9._/-]+.
	DestinationInterfaceHandle interface{}

	// Last error observed for the destination interface (deprecated by
	// DestinationError). The type is interface{} with range: 0..4294967295.
	InterfaceError interface{}

	// Destination data.
	DestinationData SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData

	// Destination ID.
	DestinationId SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId

	// Inject interface data.
	InjectInterface SpanMonitorSession_Global_GlobalSessions_GlobalSession_InjectInterface
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession Information about a globally-configured monitor session

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession) GetEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData

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

	// DestinationClass. The type is DestinationClass.
	DestinationClass interface{}

	// Invalid Parameter. The type is interface{} with range: 0..4294967295.
	InvalidValue interface{}

	// Interface data.
	InterfaceData SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_InterfaceData

	// Pseudowire data.
	PseudowireData SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_PseudowireData

	// Next-hop IPv4 data.
	NextHopIpv4Data SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_NextHopIpv4Data

	// Next-hop IPv6 data.
	NextHopIpv6Data SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_NextHopIpv6Data
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData Destination data

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData) GetEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_InterfaceData

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

	// Interface Name. The type is string.
	InterfaceName interface{}

	// Interface State. The type is ImStateEnum.
	InterfaceState interface{}
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_InterfaceData Interface data

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_InterfaceData) GetEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_NextHopIpv4Data

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

	// IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Ipv4Address interface{}

	// VRF name. The type is string.
	VrfName interface{}

	// Address is reachable. The type is bool.
	AddressIsReachable interface{}
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_NextHopIpv4Data Next-hop IPv4 data

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_NextHopIpv4Data) GetEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_NextHopIpv6Data

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

	// IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	Ipv6Address interface{}

	// VRF name. The type is string.
	VrfName interface{}

	// Address is reachable. The type is bool.
	AddressIsReachable interface{}
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_NextHopIpv6Data Next-hop IPv6 data

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_NextHopIpv6Data) GetEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_PseudowireData

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

	// Pseudowire Name. The type is string.
	PseudowireName interface{}

	// Pseudowire State. The type is bool.
	PseudowireIsUp interface{}
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_PseudowireData Pseudowire data

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationData_PseudowireData) GetEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId

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

	// DestinationClass. The type is DestinationClass.
	DestinationClass interface{}

	// Interface Handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
	Interface interface{}

	// Pseudowire XCID. The type is interface{} with range: 0..4294967295.
	PseudowireId interface{}

	// Invalid Parameter. The type is interface{} with range: 0..4294967295.
	InvalidValue interface{}

	// IPv4 address.
	Ipv4AddressAndVrf SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId_Ipv4AddressAndVrf

	// IPv6 address.
	Ipv6AddressAndVrf SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId_Ipv6AddressAndVrf
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId Destination ID

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId) GetEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId_Ipv4AddressAndVrf

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

	// IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Ipv4Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId_Ipv4AddressAndVrf IPv4 address

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId_Ipv4AddressAndVrf) GetEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId_Ipv6AddressAndVrf

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

	// IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	Ipv6Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId_Ipv6AddressAndVrf IPv6 address

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession_DestinationId_Ipv6AddressAndVrf) GetEntityData

type SpanMonitorSession_Global_GlobalSessions_GlobalSession_InjectInterface

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

	// Interface Name. The type is string.
	Name interface{}
}

SpanMonitorSession_Global_GlobalSessions_GlobalSession_InjectInterface Inject interface data

func (*SpanMonitorSession_Global_GlobalSessions_GlobalSession_InjectInterface) GetEntityData

type SpanMonitorSession_Global_Statistics

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

	// Statistics for a particular source interface. The type is slice of
	// SpanMonitorSession_Global_Statistics_Statistic.
	Statistic []*SpanMonitorSession_Global_Statistics_Statistic
}

SpanMonitorSession_Global_Statistics Table of statistics for source interfaces

func (*SpanMonitorSession_Global_Statistics) GetEntityData

func (statistics *SpanMonitorSession_Global_Statistics) GetEntityData() *types.CommonEntityData

type SpanMonitorSession_Global_Statistics_Statistic

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

	// This attribute is a key. Session Name. The type is string with length:
	// 1..79.
	Session interface{}

	// This attribute is a key. Interface. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	Interface interface{}

	// RX Packets Mirrored. The type is interface{} with range:
	// 0..18446744073709551615.
	RxPacketsMirrored interface{}

	// RX Octets Mirrored. The type is interface{} with range:
	// 0..18446744073709551615.
	RxOctetsMirrored interface{}

	// TX Packets Mirrored. The type is interface{} with range:
	// 0..18446744073709551615.
	TxPacketsMirrored interface{}

	// TX Octets Mirrored. The type is interface{} with range:
	// 0..18446744073709551615.
	TxOctetsMirrored interface{}

	// Packets Not Mirrored. The type is interface{} with range:
	// 0..18446744073709551615.
	PacketsNotMirrored interface{}

	// Octets Not Mirrored. The type is interface{} with range:
	// 0..18446744073709551615.
	OctetsNotMirrored interface{}
}

SpanMonitorSession_Global_Statistics_Statistic Statistics for a particular source interface

func (*SpanMonitorSession_Global_Statistics_Statistic) GetEntityData

type SpanMonitorSession_Nodes

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

	// Node-specific data for a particular node. The type is slice of
	// SpanMonitorSession_Nodes_Node.
	Node []*SpanMonitorSession_Nodes_Node
}

SpanMonitorSession_Nodes Node table for node-specific operational data

func (*SpanMonitorSession_Nodes) GetEntityData

func (nodes *SpanMonitorSession_Nodes) GetEntityData() *types.CommonEntityData

type SpanMonitorSession_Nodes_Node

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

	// This attribute is a key. Node. The type is string with pattern:
	// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
	Node interface{}

	// Table of source interfaces configured as attached to a session.
	Attachments SpanMonitorSession_Nodes_Node_Attachments

	// Table of sessions set up in the hardware. When all sessions are operating
	// correctly the entries in this table should match those entries in
	// GlobalSessionTable that have a destination configured.
	HardwareSessions SpanMonitorSession_Nodes_Node_HardwareSessions

	// Table of source interfaces set up in the hardware.  The entries in this
	// table should match the entries in AttachmentTable when all sessions are
	// operating correctly.
	Interfaces SpanMonitorSession_Nodes_Node_Interfaces
}

SpanMonitorSession_Nodes_Node Node-specific data for a particular node

func (*SpanMonitorSession_Nodes_Node) GetEntityData

func (node *SpanMonitorSession_Nodes_Node) GetEntityData() *types.CommonEntityData

type SpanMonitorSession_Nodes_Node_Attachments

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

	// Information about a particular source interface configured as attached to
	// monitor session. The type is slice of
	// SpanMonitorSession_Nodes_Node_Attachments_Attachment.
	Attachment []*SpanMonitorSession_Nodes_Node_Attachments_Attachment
}

SpanMonitorSession_Nodes_Node_Attachments Table of source interfaces configured as attached to a session

func (*SpanMonitorSession_Nodes_Node_Attachments) GetEntityData

type SpanMonitorSession_Nodes_Node_Attachments_Attachment

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

	// This attribute is a key. Session Name. The type is string with length:
	// 1..79.
	Session interface{}

	// This attribute is a key. Interface. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	Interface interface{}

	// Session Name. The type is string.
	Name interface{}

	// Local attachment class. The type is SessionClass.
	LocalClass interface{}

	// Numerical ID assigned to session. The type is interface{} with range:
	// 0..4294967295.
	Id interface{}

	// Global session class. The type is SessionClass.
	GlobalClass interface{}

	// The Session is configured globally. The type is bool.
	SessionIsConfigured interface{}

	// Source interface. The type is string with pattern: [a-zA-Z0-9._/-]+.
	SourceInterface interface{}

	// Source interface state. The type is ImStateEnum.
	SourceInterfaceState interface{}

	// Last error returned from PFI for this interface. The type is interface{}
	// with range: 0..4294967295.
	PfiError interface{}

	// The destination PW type is not supported. The type is bool.
	DestPwTypeNotSupported interface{}

	// This source interface is a destination for another monitor-session. The
	// type is bool.
	SourceInterfaceIsADestination interface{}

	// Destination interface (deprecated by DestinationID, invalid for
	// pseudowires). The type is string with pattern: [a-zA-Z0-9._/-]+.
	DestinationInterface interface{}

	// Traffic mirroring direction (deprecated by TrafficParameters). The type is
	// TrafficDirection.
	TrafficDirection interface{}

	// Traffic mirroring parameters.
	TrafficParameters SpanMonitorSession_Nodes_Node_Attachments_Attachment_TrafficParameters

	// Destination ID.
	DestinationId SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId
}

SpanMonitorSession_Nodes_Node_Attachments_Attachment Information about a particular source interface configured as attached to monitor session

func (*SpanMonitorSession_Nodes_Node_Attachments_Attachment) GetEntityData

type SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId

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

	// DestinationClass. The type is DestinationClass.
	DestinationClass interface{}

	// Interface Handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
	Interface interface{}

	// Pseudowire XCID. The type is interface{} with range: 0..4294967295.
	PseudowireId interface{}

	// Invalid Parameter. The type is interface{} with range: 0..4294967295.
	InvalidValue interface{}

	// IPv4 address.
	Ipv4AddressAndVrf SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId_Ipv4AddressAndVrf

	// IPv6 address.
	Ipv6AddressAndVrf SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId_Ipv6AddressAndVrf
}

SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId Destination ID

func (*SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId) GetEntityData

type SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId_Ipv4AddressAndVrf

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

	// IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Ipv4Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId_Ipv4AddressAndVrf IPv4 address

func (*SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId_Ipv4AddressAndVrf) GetEntityData

type SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId_Ipv6AddressAndVrf

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

	// IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	Ipv6Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId_Ipv6AddressAndVrf IPv6 address

func (*SpanMonitorSession_Nodes_Node_Attachments_Attachment_DestinationId_Ipv6AddressAndVrf) GetEntityData

type SpanMonitorSession_Nodes_Node_Attachments_Attachment_TrafficParameters

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

	// Direction. The type is TrafficDirection.
	TrafficDirection interface{}

	// Port level mirroring. The type is bool.
	PortLevel interface{}

	// ACL enabled. The type is bool.
	IsAclEnabled interface{}

	// Number of bytes to mirror. The type is interface{} with range:
	// 0..4294967295. Units are byte.
	MirrorBytes interface{}

	// Interval between mirrored packets. The type is MirrorInterval.
	MirrorInterval interface{}

	// ACL name. The type is string.
	AclName interface{}
}

SpanMonitorSession_Nodes_Node_Attachments_Attachment_TrafficParameters Traffic mirroring parameters

func (*SpanMonitorSession_Nodes_Node_Attachments_Attachment_TrafficParameters) GetEntityData

type SpanMonitorSession_Nodes_Node_HardwareSessions

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

	// Information about a particular session that is set up in the hardware. The
	// type is slice of
	// SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession.
	HardwareSession []*SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession
}

SpanMonitorSession_Nodes_Node_HardwareSessions Table of sessions set up in the hardware. When all sessions are operating correctly the entries in this table should match those entries in GlobalSessionTable that have a destination configured

func (*SpanMonitorSession_Nodes_Node_HardwareSessions) GetEntityData

func (hardwareSessions *SpanMonitorSession_Nodes_Node_HardwareSessions) GetEntityData() *types.CommonEntityData

type SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession

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

	// Sesssion class. The type is SpanSessionClass.
	SessionClass interface{}

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Assigned numerical ID for this session. The type is interface{} with range:
	// 0..4294967295.
	Id interface{}

	// Configured Session Name. The type is string.
	Name interface{}

	// Session class. The type is SessionClass.
	SessionClassXr interface{}

	// Destination interface (deprecated by DestinationID, invalid for
	// pseudowires). The type is string with pattern: [a-zA-Z0-9._/-]+.
	DestinationInterface interface{}

	// Last error observed for this session while programming the hardware. The
	// type is interface{} with range: 0..4294967295.
	PlatformError interface{}

	// Inject Interface ifhandle. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	InjectInterfaceIfh interface{}

	// Inject Interface MAC address. The type is string with pattern:
	// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
	InjectInterfaceMac interface{}

	// An inject interface is flagged as invalid on a particular node if the
	// interface exists on that node, and there is no attachment interface config
	// for it. The type is bool.
	InjectInterfaceInvalid interface{}

	// Destination ID.
	DestinationId SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId
}

SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession Information about a particular session that is set up in the hardware

func (*SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession) GetEntityData

type SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId

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

	// DestinationClass. The type is DestinationClass.
	DestinationClass interface{}

	// Interface Handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
	Interface interface{}

	// Pseudowire XCID. The type is interface{} with range: 0..4294967295.
	PseudowireId interface{}

	// Invalid Parameter. The type is interface{} with range: 0..4294967295.
	InvalidValue interface{}

	// IPv4 address.
	Ipv4AddressAndVrf SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId_Ipv4AddressAndVrf

	// IPv6 address.
	Ipv6AddressAndVrf SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId_Ipv6AddressAndVrf
}

SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId Destination ID

func (*SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId) GetEntityData

type SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId_Ipv4AddressAndVrf

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

	// IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Ipv4Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId_Ipv4AddressAndVrf IPv4 address

func (*SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId_Ipv4AddressAndVrf) GetEntityData

type SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId_Ipv6AddressAndVrf

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

	// IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	Ipv6Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId_Ipv6AddressAndVrf IPv6 address

func (*SpanMonitorSession_Nodes_Node_HardwareSessions_HardwareSession_DestinationId_Ipv6AddressAndVrf) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces

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

	// Information about a particular interface that is set up in the hardware.
	// The type is slice of SpanMonitorSession_Nodes_Node_Interfaces_Interface.
	Interface []*SpanMonitorSession_Nodes_Node_Interfaces_Interface
}

SpanMonitorSession_Nodes_Node_Interfaces Table of source interfaces set up in the hardware. The entries in this table should match the entries in AttachmentTable when all sessions are operating correctly

func (*SpanMonitorSession_Nodes_Node_Interfaces) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface

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

	// This attribute is a key. Interface. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	Interface interface{}

	// Source interface. The type is string with pattern: [a-zA-Z0-9._/-]+.
	SourceInterface interface{}

	// Last error observed for this interface while programming the hardware. The
	// type is interface{} with range: 0..4294967295.
	PlatformError interface{}

	// Destination interface (deprecated by Attachment). The type is string with
	// pattern: [a-zA-Z0-9._/-]+.
	DestinationInterface interface{}

	// Traffic mirroring direction (deprecated by Attachment). The type is
	// TrafficDirection.
	TrafficDirection interface{}

	// Destination ID (deprecated by Attachment).
	DestinationId SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId

	// Traffic mirroring parameters (deprecated by Attachment).
	TrafficMirroringParameters SpanMonitorSession_Nodes_Node_Interfaces_Interface_TrafficMirroringParameters

	// Attachment information. The type is slice of
	// SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment.
	Attachment []*SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface Information about a particular interface that is set up in the hardware

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment

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

	// Attachment class. The type is SessionClass.
	Class interface{}

	// Destination ID.
	DestinationId SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId

	// Traffic mirroring parameters.
	TrafficMirroringParameters SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_TrafficMirroringParameters
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment Attachment information

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId

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

	// DestinationClass. The type is DestinationClass.
	DestinationClass interface{}

	// Interface Handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
	Interface interface{}

	// Pseudowire XCID. The type is interface{} with range: 0..4294967295.
	PseudowireId interface{}

	// Invalid Parameter. The type is interface{} with range: 0..4294967295.
	InvalidValue interface{}

	// IPv4 address.
	Ipv4AddressAndVrf SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId_Ipv4AddressAndVrf

	// IPv6 address.
	Ipv6AddressAndVrf SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId_Ipv6AddressAndVrf
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId Destination ID

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId_Ipv4AddressAndVrf

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

	// IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Ipv4Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId_Ipv4AddressAndVrf IPv4 address

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId_Ipv4AddressAndVrf) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId_Ipv6AddressAndVrf

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

	// IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	Ipv6Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId_Ipv6AddressAndVrf IPv6 address

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_DestinationId_Ipv6AddressAndVrf) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_TrafficMirroringParameters

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

	// Direction. The type is TrafficDirection.
	TrafficDirection interface{}

	// Port level mirroring. The type is bool.
	PortLevel interface{}

	// ACL enabled. The type is bool.
	IsAclEnabled interface{}

	// Number of bytes to mirror. The type is interface{} with range:
	// 0..4294967295. Units are byte.
	MirrorBytes interface{}

	// Interval between mirrored packets. The type is MirrorInterval.
	MirrorInterval interface{}

	// ACL name. The type is string.
	AclName interface{}
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_TrafficMirroringParameters Traffic mirroring parameters

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface_Attachment_TrafficMirroringParameters) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId

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

	// DestinationClass. The type is DestinationClass.
	DestinationClass interface{}

	// Interface Handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
	Interface interface{}

	// Pseudowire XCID. The type is interface{} with range: 0..4294967295.
	PseudowireId interface{}

	// Invalid Parameter. The type is interface{} with range: 0..4294967295.
	InvalidValue interface{}

	// IPv4 address.
	Ipv4AddressAndVrf SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId_Ipv4AddressAndVrf

	// IPv6 address.
	Ipv6AddressAndVrf SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId_Ipv6AddressAndVrf
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId Destination ID (deprecated by Attachment)

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId_Ipv4AddressAndVrf

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

	// IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Ipv4Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId_Ipv4AddressAndVrf IPv4 address

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId_Ipv4AddressAndVrf) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId_Ipv6AddressAndVrf

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

	// IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	Ipv6Address interface{}

	// VRF. The type is string.
	VrfName interface{}
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId_Ipv6AddressAndVrf IPv6 address

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface_DestinationId_Ipv6AddressAndVrf) GetEntityData

type SpanMonitorSession_Nodes_Node_Interfaces_Interface_TrafficMirroringParameters

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

	// Direction. The type is TrafficDirection.
	TrafficDirection interface{}

	// Port level mirroring. The type is bool.
	PortLevel interface{}

	// ACL enabled. The type is bool.
	IsAclEnabled interface{}

	// Number of bytes to mirror. The type is interface{} with range:
	// 0..4294967295. Units are byte.
	MirrorBytes interface{}

	// Interval between mirrored packets. The type is MirrorInterval.
	MirrorInterval interface{}

	// ACL name. The type is string.
	AclName interface{}
}

SpanMonitorSession_Nodes_Node_Interfaces_Interface_TrafficMirroringParameters Traffic mirroring parameters (deprecated by Attachment)

func (*SpanMonitorSession_Nodes_Node_Interfaces_Interface_TrafficMirroringParameters) GetEntityData

type TrafficDirection

type TrafficDirection string

TrafficDirection represents Monitor-session traffic directions

const (
	// Invalid
	TrafficDirection_invalid TrafficDirection = "invalid"

	// Received
	TrafficDirection_rx_only TrafficDirection = "rx-only"

	// Transmitted
	TrafficDirection_tx_only TrafficDirection = "tx-only"

	// Both
	TrafficDirection_both TrafficDirection = "both"
)

Jump to

Keyboard shortcuts

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