infra_sla_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 infra-sla package configuration.

This module contains definitions for the following management objects:

sla: SLA prtocol and profile Configuration

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 Sla

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

	// Table of all SLA protocols.
	Protocols Sla_Protocols
}

Sla SLA prtocol and profile Configuration

func (*Sla) GetEntityData

func (sla *Sla) GetEntityData() *types.CommonEntityData

type Sla_Protocols

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

	// The Ethernet SLA protocol.
	Ethernet Sla_Protocols_Ethernet
}

Sla_Protocols Table of all SLA protocols

func (*Sla_Protocols) GetEntityData

func (protocols *Sla_Protocols) GetEntityData() *types.CommonEntityData

type Sla_Protocols_Ethernet

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

	// Table of SLA profiles on the protocol.
	Profiles Sla_Protocols_Ethernet_Profiles
}

Sla_Protocols_Ethernet The Ethernet SLA protocol

func (*Sla_Protocols_Ethernet) GetEntityData

func (ethernet *Sla_Protocols_Ethernet) GetEntityData() *types.CommonEntityData

type Sla_Protocols_Ethernet_Profiles

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

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

Sla_Protocols_Ethernet_Profiles Table of SLA profiles on the protocol

func (*Sla_Protocols_Ethernet_Profiles) GetEntityData

func (profiles *Sla_Protocols_Ethernet_Profiles) GetEntityData() *types.CommonEntityData

type Sla_Protocols_Ethernet_Profiles_Profile

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

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

	// The possible packet types are cfm-loopback, cfm-delay-measurement,
	// cfm-delay-measurement-version-0, cfm-loss-measurement and
	// cfm-synthetic-loss-measurement. The type is string.
	PacketType interface{}

	// Statistics configuration for the SLA profile.
	Statistics Sla_Protocols_Ethernet_Profiles_Profile_Statistics

	// Schedule to use for probes within an operation.
	Schedule Sla_Protocols_Ethernet_Profiles_Profile_Schedule

	// Probe configuration for the SLA profile.
	Probe Sla_Protocols_Ethernet_Profiles_Profile_Probe
}

Sla_Protocols_Ethernet_Profiles_Profile Name of the profile

func (*Sla_Protocols_Ethernet_Profiles_Profile) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Probe

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

	// Priority class to assign to outgoing SLA packets. The type is interface{}
	// with range: 0..7.
	Priority interface{}

	// Number of packets to use in each FLR calculation. The type is interface{}
	// with range: 10..12096000.
	SyntheticLossCalculationPackets interface{}

	// Schedule to use for packets within a burst. The default value is to send a
	// single packet once.
	Send Sla_Protocols_Ethernet_Profiles_Profile_Probe_Send

	// Minimum size to pad outgoing packet to.
	PacketSizeAndPadding Sla_Protocols_Ethernet_Profiles_Profile_Probe_PacketSizeAndPadding
}

Sla_Protocols_Ethernet_Profiles_Profile_Probe Probe configuration for the SLA profile

func (*Sla_Protocols_Ethernet_Profiles_Profile_Probe) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Probe_PacketSizeAndPadding

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

	// Minimum size to pad outgoing packet to. The type is interface{} with range:
	// 1..9000. This attribute is mandatory.
	Size interface{}

	// Type of padding to be used for the packet. The type is SlaPaddingPattern.
	PaddingType interface{}

	// Pattern to be used for hex padding. This can be specified if, and only if,
	// the PaddingType is 'Hex'. The type is string with pattern:
	// [0-9a-fA-F]{1,8}.
	PaddingValue interface{}
}

Sla_Protocols_Ethernet_Profiles_Profile_Probe_PacketSizeAndPadding Minimum size to pad outgoing packet to This type is a presence type.

func (*Sla_Protocols_Ethernet_Profiles_Profile_Probe_PacketSizeAndPadding) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Probe_Send

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

	// Interval between bursts.  This must be specified if, and only if, the
	// SendType is 'Burst' and the 'BurstIntervalUnit' is not 'Once'. The type is
	// interface{} with range: 1..3600.
	BurstInterval interface{}

	// Time unit associated with the BurstInterval .  This must be specified if,
	// and only if, SendType is 'Burst'. The type is SlaBurstIntervalUnitsEnum.
	BurstIntervalUnit interface{}

	// Interval between packets.  This must be specified if, and only if,
	// PacketIntervalUnit is not 'Once'. The type is interface{} with range:
	// 1..30000.
	PacketInterval interface{}

	// Time unit associated with the PacketInterval. The type is
	// SlaPacketIntervalUnitsEnum. This attribute is mandatory.
	PacketIntervalUnit interface{}

	// The number of packets in each burst.  This must be specified if, and only
	// if, the SendType is 'Burst'. The type is interface{} with range: 2..1200.
	PacketCount interface{}

	// The packet distribution: single packets or bursts of packets.  If 'Burst'
	// is specified , PacketCount and BurstInterval must be specified. The type is
	// SlaSend. This attribute is mandatory.
	SendType interface{}
}

Sla_Protocols_Ethernet_Profiles_Profile_Probe_Send Schedule to use for packets within a burst. The default value is to send a single packet once. This type is a presence type.

func (*Sla_Protocols_Ethernet_Profiles_Profile_Probe_Send) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Schedule

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

	// Interval between probes.  This must be specified if, and only if,
	// ProbeIntervalUnit is not 'Week' or 'Day'. The type is interface{} with
	// range: 1..90.
	ProbeInterval interface{}

	// Day of week on which to schedule probes. This must be specified if, and
	// only if, ProbeIntervalUnit is 'Week'. The type is SlaProbeIntervalDayEnum.
	ProbeIntervalDay interface{}

	// Time unit associated with the ProbeInterval. The value must not be 'Once'.
	// If 'Week' or 'Day' is specified, probes are scheduled weekly or daily
	// respectively. The type is SlaProbeIntervalUnitsEnum. This attribute is
	// mandatory.
	ProbeIntervalUnit interface{}

	// Time after midnight (in UTC) to send the first packet each day. The type is
	// interface{} with range: 0..23.
	StartTimeHour interface{}

	// Time after midnight (in UTC) to send the first packet each day. This must
	// be specified if, and only if, StartTimeHour is specified. The type is
	// interface{} with range: 0..59.
	StartTimeMinute interface{}

	// Time after midnight (in UTC) to send the first packet each day. This must
	// only be specified if StartTimeHour is specified, and must not be specified
	// if ProbeIntervalUnit is 'Week' or 'Day'. The type is interface{} with
	// range: 0..59.
	StartTimeSecond interface{}

	// Duration of each probe.  This must be specified if, and only if,
	// ProbeDurationUnit is specified. The type is interface{} with range:
	// 1..3600.
	ProbeDuration interface{}

	// Time unit associated with the ProbeDuration. The value must not be 'Once'.
	// The type is SlaProbeDurationUnitsEnum.
	ProbeDurationUnit interface{}
}

Sla_Protocols_Ethernet_Profiles_Profile_Schedule Schedule to use for probes within an operation This type is a presence type.

func (*Sla_Protocols_Ethernet_Profiles_Profile_Schedule) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Statistics

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

	// Type of statistic. The type is slice of
	// Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic.
	Statistic []*Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic
}

Sla_Protocols_Ethernet_Profiles_Profile_Statistics Statistics configuration for the SLA profile

func (*Sla_Protocols_Ethernet_Profiles_Profile_Statistics) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic

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

	// This attribute is a key. The type of statistic to measure. The type is
	// SlaStatisticTypeEnum.
	StatisticName interface{}

	// Enable statistic gathering of the metric. The type is interface{}.
	Enable interface{}

	// Number of buckets to archive in memory. The type is interface{} with range:
	// 1..100.
	BucketsArchive interface{}

	// Size of the buckets into which statistics are collected.
	BucketsSize Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_BucketsSize

	// Thresholds and associated actions for the given statistics type.
	Actions Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Actions

	// Aggregation to apply to results for the statistic.
	Aggregation Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Aggregation
}

Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic Type of statistic

func (*Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Actions

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

	// Action to perform when the threshold is crossed. The type is slice of
	// Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Actions_Action.
	Action []*Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Actions_Action
}

Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Actions Thresholds and associated actions for the given statistics type

func (*Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Actions) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Actions_Action

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

	// This attribute is a key. Threshold type. The type is SlaThresholdTypeEnum.
	ThresholdType interface{}

	// This attribute is a key. Action to take when the threshold is crossed. The
	// type is SlaActionTypeEnum.
	ActionType interface{}

	// This attribute is a key. Condition to be met to consider the threshold
	// crossed. The type is SlaThresholdConditionEnum.
	Condition interface{}

	// Threshold Value. The type is interface{} with range: 1..2147483647. This
	// attribute is mandatory.
	ThresholdValue interface{}

	// Bin number in-and-above which samples contribute towards a sample-count
	// threshold (required only when Condition is SampleCount). The type is
	// interface{} with range: 2..100.
	BinNumber interface{}
}

Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Actions_Action Action to perform when the threshold is crossed

func (*Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Actions_Action) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Aggregation

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

	// Number of bins to aggregate results into (0 for no aggregation). The type
	// is interface{} with range: 0..100. This attribute is mandatory.
	BinsCount interface{}

	// Width of each bin. The type is interface{} with range: 1..10000.
	BinsWidth interface{}

	// Tenths portion of the bin width. The type is interface{} with range: 0..9.
	BinsWidthTenths interface{}
}

Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Aggregation Aggregation to apply to results for the statistic This type is a presence type.

func (*Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_Aggregation) GetEntityData

type Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_BucketsSize

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

	// Size of each bucket. The type is interface{} with range: 1..100. This
	// attribute is mandatory.
	BucketsSize interface{}

	// Unit associated with the BucketsSize. The type is SlaBucketsSizeUnitsEnum.
	// This attribute is mandatory.
	BucketsSizeUnit interface{}
}

Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_BucketsSize Size of the buckets into which statistics are collected This type is a presence type.

func (*Sla_Protocols_Ethernet_Profiles_Profile_Statistics_Statistic_BucketsSize) GetEntityData

Jump to

Keyboard shortcuts

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