infra_tc_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-tc package configuration.

This module contains definitions for the following management objects:

traffic-collector: Global Traffic Collector configuration
  commands

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 CollectIonInterval

type CollectIonInterval string

CollectIonInterval represents Collect ion interval

const (
	// Interval1minute
	CollectIonInterval_Y_1_minute CollectIonInterval = "1-minute"

	// Interval2minutes
	CollectIonInterval_Y_2_minutes CollectIonInterval = "2-minutes"

	// Interval3minutes
	CollectIonInterval_Y_3_minutes CollectIonInterval = "3-minutes"

	// Interval4minutes
	CollectIonInterval_Y_4_minutes CollectIonInterval = "4-minutes"

	// Interval5minutes
	CollectIonInterval_Y_5_minutes CollectIonInterval = "5-minutes"

	// Interval6minutes
	CollectIonInterval_Y_6_minutes CollectIonInterval = "6-minutes"

	// Interval10minutes
	CollectIonInterval_Y_10_minutes CollectIonInterval = "10-minutes"

	// Interval12minutes
	CollectIonInterval_Y_12_minutes CollectIonInterval = "12-minutes"

	// Interval15inutes
	CollectIonInterval_Y_15_minutes CollectIonInterval = "15-minutes"

	// Interval20minutes
	CollectIonInterval_Y_20_minutes CollectIonInterval = "20-minutes"

	// Interval30minutes
	CollectIonInterval_Y_30_minutes CollectIonInterval = "30-minutes"

	// Interval60minutes
	CollectIonInterval_Y_60_minutes CollectIonInterval = "60-minutes"
)

type HistorySize

type HistorySize string

HistorySize represents History size

const (
	// Max history
	HistorySize_max HistorySize = "max"
)

type HistoryTimeout

type HistoryTimeout string

HistoryTimeout represents History timeout

const (
	// Max timeout
	HistoryTimeout_max HistoryTimeout = "max"
)

type TrafficCollector

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

	// Enable traffic collector. The type is interface{}.
	EnableTrafficCollector interface{}

	// Configure external interfaces.
	ExternalInterfaces TrafficCollector_ExternalInterfaces

	// Configure statistics related parameters.
	Statistics TrafficCollector_Statistics
}

TrafficCollector Global Traffic Collector configuration commands

func (*TrafficCollector) GetEntityData

func (trafficCollector *TrafficCollector) GetEntityData() *types.CommonEntityData

type TrafficCollector_ExternalInterfaces

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

	// Configure an external internface. The type is slice of
	// TrafficCollector_ExternalInterfaces_ExternalInterface.
	ExternalInterface []*TrafficCollector_ExternalInterfaces_ExternalInterface
}

TrafficCollector_ExternalInterfaces Configure external interfaces

func (*TrafficCollector_ExternalInterfaces) GetEntityData

func (externalInterfaces *TrafficCollector_ExternalInterfaces) GetEntityData() *types.CommonEntityData

type TrafficCollector_ExternalInterfaces_ExternalInterface

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

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

	// Enable traffic collector on this interface. The type is interface{}.
	Enable interface{}
}

TrafficCollector_ExternalInterfaces_ExternalInterface Configure an external internface

func (*TrafficCollector_ExternalInterfaces_ExternalInterface) GetEntityData

type TrafficCollector_Statistics

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

	// Configure statistics history size. The type is one of the following types:
	// enumeration HistorySize, or int with range: 1..10.
	HistorySize interface{}

	// Configure statistics collection interval. The type is CollectIonInterval.
	CollectionInterval interface{}

	// Enable traffic collector statistics. The type is interface{}.
	EnableTrafficCollectorStatistics interface{}

	// Configure statistics history timeout interval. The type is one of the
	// following types: enumeration HistoryTimeout, or int with range: 0..720.
	HistoryTimeout interface{}
}

TrafficCollector_Statistics Configure statistics related parameters

func (*TrafficCollector_Statistics) GetEntityData

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

Jump to

Keyboard shortcuts

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