l2_eth_infra_cfg

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

This module contains a collection of YANG definitions for Cisco IOS-XR l2-eth-infra package configuration.

This module contains definitions for the following management objects:

ethernet-features: Ethernet Features Configuration

This YANG module augments the

Cisco-IOS-XR-ifmgr-cfg,
Cisco-IOS-XR-l2vpn-cfg

modules with configuration 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 EgressFiltering

type EgressFiltering string

EgressFiltering represents Egress filtering

const (
	// Strict Egress Filtering
	EgressFiltering_egress_filtering_type_strict EgressFiltering = "egress-filtering-type-strict"

	// Egress Filtering Disabled
	EgressFiltering_egress_filtering_type_disable EgressFiltering = "egress-filtering-type-disable"

	// Default Egress Filtering Behavior
	EgressFiltering_egress_filtering_type_default EgressFiltering = "egress-filtering-type-default"
)

type EthernetFeatures

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

	// Egress Filtering Configuration.
	EgressFiltering EthernetFeatures_EgressFiltering

	// CFM global configuration.
	Cfm EthernetFeatures_Cfm

	// Ethernet Link OAM Global Configuration.
	EtherLinkOam EthernetFeatures_EtherLinkOam
}

EthernetFeatures Ethernet Features Configuration

func (*EthernetFeatures) GetEntityData

func (ethernetFeatures *EthernetFeatures) GetEntityData() *types.CommonEntityData

type EthernetFeatures_Cfm

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

	// Disable processing of Ethernet SLA packets on nV Satellite devices. The
	// type is interface{}.
	NvSatelliteSlaProcessingDisable interface{}

	// Traceroute Cache Configuration.
	TracerouteCache EthernetFeatures_Cfm_TracerouteCache

	// Domain-specific global configuration.
	Domains EthernetFeatures_Cfm_Domains
}

EthernetFeatures_Cfm CFM global configuration

func (*EthernetFeatures_Cfm) GetEntityData

func (cfm *EthernetFeatures_Cfm) GetEntityData() *types.CommonEntityData

type EthernetFeatures_Cfm_Domains

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

	// Configuration for a particular Maintenance Domain. The type is slice of
	// EthernetFeatures_Cfm_Domains_Domain.
	Domain []*EthernetFeatures_Cfm_Domains_Domain
}

EthernetFeatures_Cfm_Domains Domain-specific global configuration

func (*EthernetFeatures_Cfm_Domains) GetEntityData

func (domains *EthernetFeatures_Cfm_Domains) GetEntityData() *types.CommonEntityData

type EthernetFeatures_Cfm_Domains_Domain

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

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

	// Service-specific global configuration.
	Services EthernetFeatures_Cfm_Domains_Domain_Services

	// Fundamental properties of the domain.
	DomainProperties EthernetFeatures_Cfm_Domains_Domain_DomainProperties
}

EthernetFeatures_Cfm_Domains_Domain Configuration for a particular Maintenance Domain

func (*EthernetFeatures_Cfm_Domains_Domain) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_DomainProperties

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

	// Maintenance Domain Level. The type is interface{} with range: 0..7.
	Level interface{}

	// Maintenance Domain ID Format. The type is CfmMdidFormat.
	MdidFormat interface{}

	// MAC Address, if MDID Format is MACAddress. The type is string with pattern:
	// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
	MdidMacAddress interface{}

	// Unsigned 16-bit Interger, if MDID Format is MACAddress. The type is
	// interface{} with range: 0..65535.
	MdidNumber interface{}

	// String MDID, if MDID format is String or DNSLike. The type is string with
	// length: 1..43.
	MdidString interface{}
}

EthernetFeatures_Cfm_Domains_Domain_DomainProperties Fundamental properties of the domain

func (*EthernetFeatures_Cfm_Domains_Domain_DomainProperties) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services

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

	// Configuration for a particular Service (Maintenance Association). The type
	// is slice of EthernetFeatures_Cfm_Domains_Domain_Services_Service.
	Service []*EthernetFeatures_Cfm_Domains_Domain_Services_Service
}

EthernetFeatures_Cfm_Domains_Domain_Services Service-specific global configuration

func (*EthernetFeatures_Cfm_Domains_Domain_Services) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service

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

	// This attribute is a key. Service (Maintenance Association). The type is
	// string with length: 1..79.
	Service interface{}

	// Limit on the number of MEPs in the service. The type is interface{} with
	// range: 2..8190. The default value is 100.
	MaximumMeps interface{}

	// Log Cross-check Errors detected for peer MEPs. The type is interface{}.
	LogCrossCheckErrors interface{}

	// How long to store information for peer MEPs that have timed out. The type
	// is interface{} with range: 1..65535. The default value is 100.
	ContinuityCheckArchiveHoldTime interface{}

	// The number of tags to use when sending CFM packets from up MEPs in this
	// Service. The type is interface{} with range: 0..4294967295.
	Tags interface{}

	// Log peer MEPs state changes. The type is interface{}.
	LogContinuityCheckStateChanges interface{}

	// Enable logging. The type is interface{}.
	LogEfd interface{}

	// Automatically trigger a traceroute when a peer MEP times out. The type is
	// interface{}.
	ContinuityCheckAutoTraceroute interface{}

	// Log CCM Errors detected for peer MEPs. The type is interface{}.
	LogContinuityCheckErrors interface{}

	// Log receipt of AIS and LCK messages. The type is interface{}.
	LogAis interface{}

	// Enable EFD to bring down ports when MEPs detect errors.
	Efd2 EthernetFeatures_Cfm_Domains_Domain_Services_Service_Efd2

	// Continuity Check Interval and Loss Threshold.  Configuring the interval
	// enables Continuity Check.
	ContinuityCheckInterval EthernetFeatures_Cfm_Domains_Domain_Services_Service_ContinuityCheckInterval

	// MIP Auto-creation Policy.
	MipAutoCreation EthernetFeatures_Cfm_Domains_Domain_Services_Service_MipAutoCreation

	// Service specific AIS configuration.
	Ais EthernetFeatures_Cfm_Domains_Domain_Services_Service_Ais

	// Cross-check configuration.
	CrossCheck EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck

	// Fundamental properties of the service (maintenance association).
	ServiceProperties EthernetFeatures_Cfm_Domains_Domain_Services_Service_ServiceProperties
}

EthernetFeatures_Cfm_Domains_Domain_Services_Service Configuration for a particular Service (Maintenance Association)

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_Ais

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

	// AIS transmission configuration.
	Transmission EthernetFeatures_Cfm_Domains_Domain_Services_Service_Ais_Transmission
}

EthernetFeatures_Cfm_Domains_Domain_Services_Service_Ais Service specific AIS configuration

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service_Ais) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_Ais_Transmission

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_Ais_Transmission struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// AIS Interval. The type is CfmAisInterval.
	AisInterval interface{}

	// Class of Service bits. The type is interface{} with range: 0..7.
	Cos interface{}
}

EthernetFeatures_Cfm_Domains_Domain_Services_Service_Ais_Transmission AIS transmission configuration This type is a presence type.

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service_Ais_Transmission) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_ContinuityCheckInterval

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_ContinuityCheckInterval struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// CCM Interval. The type is CfmCcmInterval. This attribute is mandatory.
	CcmInterval interface{}

	// Loss Threshold (default 3). The type is interface{} with range: 2..255.
	LossThreshold interface{}
}

EthernetFeatures_Cfm_Domains_Domain_Services_Service_ContinuityCheckInterval Continuity Check Interval and Loss Threshold. Configuring the interval enables Continuity Check. This type is a presence type.

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service_ContinuityCheckInterval) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck

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

	// Enable automatic MEP cross-check. The type is interface{}.
	Auto interface{}

	// Cross-check MEPs.
	CrossCheckMeps EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck_CrossCheckMeps
}

EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck Cross-check configuration

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck_CrossCheckMeps

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

	// MEP ID and optional MAC Address for Cross-check. The type is slice of
	// EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck_CrossCheckMeps_CrossCheckMep.
	CrossCheckMep []*EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck_CrossCheckMeps_CrossCheckMep
}

EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck_CrossCheckMeps Cross-check MEPs

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck_CrossCheckMeps) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck_CrossCheckMeps_CrossCheckMep

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

	// This attribute is a key. MEP ID. The type is interface{} with range:
	// 1..8191.
	MepId interface{}

	// MAC Address is specified. The type is interface{}.
	EnableMacAddress interface{}

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

EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck_CrossCheckMeps_CrossCheckMep MEP ID and optional MAC Address for Cross-check

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service_CrossCheck_CrossCheckMeps_CrossCheckMep) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_Efd2

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_Efd2 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Enable EFD. The type is interface{}. This attribute is mandatory.
	Enable interface{}

	// Enable protection switching notifications. The type is interface{}.
	ProtectionSwitchingEnable interface{}
}

EthernetFeatures_Cfm_Domains_Domain_Services_Service_Efd2 Enable EFD to bring down ports when MEPs detect errors This type is a presence type.

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service_Efd2) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_MipAutoCreation

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_MipAutoCreation struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// MIP Auto-creation Policy. The type is CfmMipPolicy. This attribute is
	// mandatory.
	MipPolicy interface{}

	// Enable CCM Learning at MIPs in this service. The type is interface{}.
	CcmLearningEnable interface{}
}

EthernetFeatures_Cfm_Domains_Domain_Services_Service_MipAutoCreation MIP Auto-creation Policy This type is a presence type.

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service_MipAutoCreation) GetEntityData

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_ServiceProperties

type EthernetFeatures_Cfm_Domains_Domain_Services_Service_ServiceProperties struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Type of Service. The type is CfmService. This attribute is mandatory.
	ServiceType interface{}

	// Bridge Group or Cross-connect Group, if Service Type is BridgeDomain or
	// CrossConnect. The type is string.
	GroupName interface{}

	// Bridge Domain or Cross-connect name, if Service Type is BridgeDomain or
	// CrossConnect. The type is string.
	SwitchingName interface{}

	// Local Customer Edge Identifier. The type is interface{} with range:
	// 1..16384.
	CeId interface{}

	// Remote Customer Edge Identifier. The type is interface{} with range:
	// 1..16384.
	RemoteCeId interface{}

	// EVPN ID. The type is interface{} with range: 1..65534.
	Evi interface{}

	// Short MA Name Format. The type is CfmShortMaNameFormat.
	ShortMaNameFormat interface{}

	// String Short MA Name, if format is String. The type is string with length:
	// 1..45.
	ShortMaNameString interface{}

	// Numeric Short MA Name, if format is VlanID or Number. The type is
	// interface{} with range: 0..65535.
	ShortMaNameNumber interface{}

	// VPN OUI, if Short MA Name format is VPN_ID. The type is interface{} with
	// range: 0..16777215.
	ShortMaNameOui interface{}

	// VPN Index, if Short MA Name format is VPN_ID. The type is interface{} with
	// range: 0..4294967295.
	ShortMaNameVpnIndex interface{}

	// ITU Carrier Code (ICC), if format is ICCBased. The type is string with
	// length: 1..6.
	ShortMaNameIcc interface{}

	// Unique MEG ID Code (UMC), if format is ICCBased. The type is string with
	// length: 1..12.
	ShortMaNameUmc interface{}
}

EthernetFeatures_Cfm_Domains_Domain_Services_Service_ServiceProperties Fundamental properties of the service (maintenance association) This type is a presence type.

func (*EthernetFeatures_Cfm_Domains_Domain_Services_Service_ServiceProperties) GetEntityData

type EthernetFeatures_Cfm_TracerouteCache

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

	// Hold Time in minutes. The type is interface{} with range: 1..525600. The
	// default value is 100.
	HoldTime interface{}

	// Cache Size limit (number of replies). The type is interface{} with range:
	// 1..4294967295. The default value is 100.
	CacheSize interface{}
}

EthernetFeatures_Cfm_TracerouteCache Traceroute Cache Configuration

func (*EthernetFeatures_Cfm_TracerouteCache) GetEntityData

func (tracerouteCache *EthernetFeatures_Cfm_TracerouteCache) GetEntityData() *types.CommonEntityData

type EthernetFeatures_EgressFiltering

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

	// Whether Egress Filtering is on by default. The type is interface{}.
	EgressFilteringDefaultOn interface{}
}

EthernetFeatures_EgressFiltering Egress Filtering Configuration

func (*EthernetFeatures_EgressFiltering) GetEntityData

func (egressFiltering *EthernetFeatures_EgressFiltering) GetEntityData() *types.CommonEntityData

type EthernetFeatures_EtherLinkOam

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

	// Table of Ethernet Link OAM profiles.
	Profiles EthernetFeatures_EtherLinkOam_Profiles
}

EthernetFeatures_EtherLinkOam Ethernet Link OAM Global Configuration

func (*EthernetFeatures_EtherLinkOam) GetEntityData

func (etherLinkOam *EthernetFeatures_EtherLinkOam) GetEntityData() *types.CommonEntityData

type EthernetFeatures_EtherLinkOam_Profiles

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

	// Name of the profile. The type is slice of
	// EthernetFeatures_EtherLinkOam_Profiles_Profile.
	Profile []*EthernetFeatures_EtherLinkOam_Profiles_Profile
}

EthernetFeatures_EtherLinkOam_Profiles Table of Ethernet Link OAM profiles

func (*EthernetFeatures_EtherLinkOam_Profiles) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile

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

	// This attribute is a key. none. The type is string with pattern:
	// [\w\-\.:,_@#%$\+=\|;]+.
	Profile interface{}

	// Enable or disable MIB retrieval support. The type is bool.
	MibRetrieval interface{}

	// Enable or disable uni-directional link-fault detection support. The type is
	// bool.
	Udlf interface{}

	// Possible Ethernet Link OAM hello intervals. The type is
	// EtherLinkOamHelloIntervalEnum.
	HelloInterval interface{}

	// Set the OAM mode to passive. The type is EtherLinkOamModeEnum.
	Mode interface{}

	// Enable or disable remote loopback support. The type is bool.
	RemoteLoopback interface{}

	// Connection timeout period in number of lost heartbeats. The type is
	// interface{} with range: 2..30.
	Timeout interface{}

	// Configure action parameters.
	Action EthernetFeatures_EtherLinkOam_Profiles_Profile_Action

	// Configure remote requirement parameters.
	RequireRemote EthernetFeatures_EtherLinkOam_Profiles_Profile_RequireRemote

	// Configure link monitor parameters.
	LinkMonitoring EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring
}

EthernetFeatures_EtherLinkOam_Profiles_Profile Name of the profile

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_Action

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

	// Action to perform when a dying gasp occurs. The type is
	// EtherLinkOamEventActionEnum.
	DyingGasp interface{}

	// Action to perform when a session comes up. The type is
	// EtherLinkOamEventActionPrimEnum.
	SessionUp interface{}

	// Action to perform when a critical event occurs. The type is
	// EtherLinkOamEventActionEnum.
	CriticalEvent interface{}

	// Action to perform when a session goes down. The type is
	// EtherLinkOamEventActionEnumEfd.
	SessionDown interface{}

	// Action to perform when discovery timeout occurs. The type is
	// EtherLinkOamEventActionEnumEfd.
	DiscoveryTimeout interface{}

	// Action to perform when a high-threshold event occurs. The type is
	// EtherLinkOamEventActionEnum.
	HighThreshold interface{}

	// Action to perform when a capabilities conflict occurs. The type is
	// EtherLinkOamEventActionEnumEfd.
	CapabilitiesConflict interface{}

	// Action to perform when remote loopback is entered or exited. The type is
	// EtherLinkOamEventActionPrimEnum.
	RemoteLoopback interface{}

	// Action to perform when a link fault message is received. The type is
	// EtherLinkOamEventActionEnumEfd.
	LinkFault interface{}

	// Action to perform when a wiring conflict occurs. The type is
	// EtherLinkOamEventActionEnumEfd.
	WiringConflict interface{}
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_Action Configure action parameters

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_Action) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring

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

	// Enable or disable monitoring. The type is bool.
	Monitoring interface{}

	// Symbol-period event configuration.
	SymbolPeriod EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod

	// Frame-period event configuration.
	FramePeriod EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod

	// Frame-seconds event configuration.
	FrameSeconds EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FrameSeconds

	// Frame event configuration.
	Frame EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_Frame
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring Configure link monitor parameters

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_Frame

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

	// Window size configuration for frame events. The type is interface{} with
	// range: 1000..60000. Units are millisecond. The default value is 1000.
	Window interface{}

	// Threshold configuration for frame events.
	Threshold EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_Frame_Threshold
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_Frame Frame event configuration

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_Frame) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod

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

	// Window size configuration for frame-period events.
	Window EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod_Window

	// Threshold configuration for frame-period events.
	Threshold EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod_Threshold
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod Frame-period event configuration

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod_Threshold

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

	// The low threshold for frame-period events. The type is interface{} with
	// range: 1..4294967295. The default value is 1.
	ThresholdLow interface{}

	// The high threshold for frame-period events. The type is interface{} with
	// range: 1..4294967295.
	ThresholdHigh interface{}

	// The units to use for these thresholds. The type is
	// EtherLinkOamThresholdUnitsFramesEnum. The default value is ppm.
	Units interface{}

	// The multiplier to use for the low threshold (only valid if 'Units' is
	// Frames and treated as 1 if unspecified). The type is
	// EtherLinkOamThresholdWindowMultiplierEnum. The default value is none.
	MultiplierLow interface{}

	// The multiplier to use for the high threshold (only valid if 'Units' is
	// Frames and treated as 1 if unspecified). The type is
	// EtherLinkOamThresholdWindowMultiplierEnum.
	MultiplierHigh interface{}
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod_Threshold Threshold configuration for frame-period events

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod_Threshold) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod_Window

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod_Window struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Size of the frame-period window. The type is interface{} with range:
	// 1..4294967295. This attribute is mandatory.
	Window interface{}

	// The units to use for this window. The type is
	// EtherLinkOamWindowUnitsFramesEnum. This attribute is mandatory.
	Units interface{}

	// The multiplier to use for this window (only valid if 'Units' is Frames and
	// treated as 1 if unspecified). The type is
	// EtherLinkOamThresholdWindowMultiplierEnum. The default value is none.
	Multiplier interface{}
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod_Window Window size configuration for frame-period events This type is a presence type.

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FramePeriod_Window) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FrameSeconds

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

	// Window size configuration for frame-seconds events. The type is interface{}
	// with range: 10000..900000. Units are millisecond. The default value is
	// 60000.
	Window interface{}

	// Threshold configuration for frame-seconds events.
	Threshold EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FrameSeconds_Threshold
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FrameSeconds Frame-seconds event configuration

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FrameSeconds) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FrameSeconds_Threshold

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

	// The low threshold for frame-seconds events. The type is interface{} with
	// range: 1..900. Units are second. The default value is 1.
	ThresholdLow interface{}

	// The high threshold for frame-seconds events. The type is interface{} with
	// range: 1..900. Units are second.
	ThresholdHigh interface{}
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FrameSeconds_Threshold Threshold configuration for frame-seconds events

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_FrameSeconds_Threshold) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_Frame_Threshold

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

	// The low threshold for frame events. The type is interface{} with range:
	// 1..4294967295. The default value is 1.
	ThresholdLow interface{}

	// The high threshold for frame events. The type is interface{} with range:
	// 1..4294967295.
	ThresholdHigh interface{}

	// The multiplier to use for the low threshold (treated as 1 if unspecified).
	// The type is EtherLinkOamThresholdWindowMultiplierEnum. The default value is
	// none.
	MultiplierLow interface{}

	// The multiplier to use for the high threshold (treated as 1 if unspecified).
	// The type is EtherLinkOamThresholdWindowMultiplierEnum.
	MultiplierHigh interface{}
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_Frame_Threshold Threshold configuration for frame events

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_Frame_Threshold) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod

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

	// Window size configuration for symbol-period events.
	Window EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod_Window

	// Threshold configuration for symbol-period events.
	Threshold EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod_Threshold
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod Symbol-period event configuration

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod_Threshold

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

	// The low threshold for symbol-period. The type is interface{} with range:
	// 1..4294967295. The default value is 1.
	ThresholdLow interface{}

	// The high threshold for symbol-period. The type is interface{} with range:
	// 1..4294967295.
	ThresholdHigh interface{}

	// The units to use for these thresholds. The type is
	// EtherLinkOamThresholdUnitsSymbolsEnum. The default value is symbols.
	Units interface{}

	// The multiplier to use for the low threshold (only valid if 'Units' is
	// Symbols and treated as 1 if unspecified). The type is
	// EtherLinkOamThresholdWindowMultiplierEnum. The default value is none.
	MultiplierLow interface{}

	// The multiplier to use for the high threshold (only valid if 'Units' is
	// Symbols and treated as 1 if unspecified). The type is
	// EtherLinkOamThresholdWindowMultiplierEnum.
	MultiplierHigh interface{}
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod_Threshold Threshold configuration for symbol-period events

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod_Threshold) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod_Window

type EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod_Window struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Size of the symbol-period window. The type is interface{} with range:
	// 1..4294967295. This attribute is mandatory.
	Window interface{}

	// Units to use for this window. The type is
	// EtherLinkOamWindowUnitsSymbolsEnum. This attribute is mandatory.
	Units interface{}

	// The multiplier to use for this window (only valid if 'Units' is Symbols and
	// treated as 1 if unspecified). The type is
	// EtherLinkOamThresholdWindowMultiplierEnum. The default value is none.
	Multiplier interface{}
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod_Window Window size configuration for symbol-period events This type is a presence type.

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_LinkMonitoring_SymbolPeriod_Window) GetEntityData

type EthernetFeatures_EtherLinkOam_Profiles_Profile_RequireRemote

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

	// Enable or disable MIB retrieval requirement. The type is bool.
	MibRetrieval interface{}

	// Possible required OAM modes. The type is EtherLinkOamRequireModeEnum.
	Mode interface{}

	// Enable or disable remote loopback requirement. The type is bool.
	RemoteLoopback interface{}

	// Enable or disable link monitoring requirement. The type is bool.
	LinkMonitoring interface{}
}

EthernetFeatures_EtherLinkOam_Profiles_Profile_RequireRemote Configure remote requirement parameters

func (*EthernetFeatures_EtherLinkOam_Profiles_Profile_RequireRemote) GetEntityData

type Filtering

type Filtering string

Filtering represents Filtering

const (
	// C-Vlan ingress frame filtering (Table 8-1 of
	// 802.1ad standard)
	Filtering_filtering_type_dot1q Filtering = "filtering-type-dot1q"

	// S-Vlan ingress frame filtering (Table 8-2 of
	// 802.1ad standard)
	Filtering_filtering_type_dot1ad Filtering = "filtering-type-dot1ad"
)

type L2ProtocolMode

type L2ProtocolMode string

L2ProtocolMode represents L2 protocol mode

const (
	// Forward packets transparently
	L2ProtocolMode_forward L2ProtocolMode = "forward"

	// Drop the protocol's packets
	L2ProtocolMode_drop L2ProtocolMode = "drop"

	// Tunnel ingress frames, untunnel egress frames
	L2ProtocolMode_tunnel L2ProtocolMode = "tunnel"

	// Tunnel egress frames, untunnel ingress frames
	L2ProtocolMode_reverse_tunnel L2ProtocolMode = "reverse-tunnel"
)

type L2ProtocolName

type L2ProtocolName string

L2ProtocolName represents L2 protocol name

const (
	// CDP
	L2ProtocolName_cdp L2ProtocolName = "cdp"

	// STP
	L2ProtocolName_stp L2ProtocolName = "stp"

	// VTP
	L2ProtocolName_vtp L2ProtocolName = "vtp"

	// PVST+
	L2ProtocolName_pvst L2ProtocolName = "pvst"

	// CDP, PVST+, STP, and VTP
	L2ProtocolName_cpsv L2ProtocolName = "cpsv"
)

Jump to

Keyboard shortcuts

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