infra_dumper_cfg

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

This module contains definitions for the following management objects:

exception: Core dump 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 Context

type Context string

Context represents Context

const (
	// context not configured
	Context_default_ Context = "default"

	// Dump context info only: Overrides other options
	// except for 'no-core'
	Context_context Context = "context"
)

type Copy_

type Copy_ string

Copy_ represents Copy

const (
	// copy not configured
	Copy__default_ Copy_ = "default"

	// Dump to local memory: for time critical
	// processes
	Copy__copy_ Copy_ = "copy"
)

type Exception

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

	// Specify 'true' to enable sparse core dump, 'false' to disable sparse core
	// dump. The type is bool.
	Sparse interface{}

	// Disable core file verification. The type is bool.
	CoreVerification interface{}

	// Only print out stack trace and create no core file beyond this size. The
	// type is interface{} with range: 1..4095.
	CoreSize interface{}

	// Enable kernel debugger. The type is interface{}.
	KernelDebugger interface{}

	// Specify 'true' to dump packet memory for all process, 'false' to disable
	// dump of packet memory. The type is bool.
	PacketMemory interface{}

	// Switch to sparse core dump at this size. The type is interface{} with
	// range: 1..4095.
	SparseSize interface{}

	// Give up core dump if specified free memory can not be secured. The type is
	// interface{} with range: 3..40. Units are percentage.
	MemoryThreshold interface{}

	// Preference of the dump location.
	Choice1 Exception_Choice1

	// Preference of the dump location.
	Choice3 Exception_Choice3

	// Specify per process configuration.
	ProcessNames Exception_ProcessNames

	// Preference of the dump location.
	Choice2 Exception_Choice2
}

Exception Core dump configuration commands

func (*Exception) GetEntityData

func (exception *Exception) GetEntityData() *types.CommonEntityData

type Exception_Choice1

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

	// Specify 'true' to compress core files dumped on this path, 'false' to not
	// compress. The type is bool.
	Compress interface{}

	// Lower limit.  This is required if Filename is specified. The type is
	// interface{} with range: 0..4.
	LowerLimit interface{}

	// Higher limit.  This is required if Filename is specified. The type is
	// interface{} with range: 5..64.
	HigherLimit interface{}

	// Protocol and directory. The type is string.
	FilePath interface{}

	// Dump filename. The type is string.
	Filename interface{}
}

Exception_Choice1 Preference of the dump location

func (*Exception_Choice1) GetEntityData

func (choice1 *Exception_Choice1) GetEntityData() *types.CommonEntityData

type Exception_Choice2

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

	// Specify 'true' to compress core files dumped on this path, 'false' to not
	// compress. The type is bool.
	Compress interface{}

	// Lower limit.  This is required if Filename is specified. The type is
	// interface{} with range: 0..4.
	LowerLimit interface{}

	// Higher limit.  This is required if Filename is specified. The type is
	// interface{} with range: 5..64.
	HigherLimit interface{}

	// Protocol and directory. The type is string.
	FilePath interface{}

	// Dump filename. The type is string.
	Filename interface{}
}

Exception_Choice2 Preference of the dump location

func (*Exception_Choice2) GetEntityData

func (choice2 *Exception_Choice2) GetEntityData() *types.CommonEntityData

type Exception_Choice3

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

	// Specify 'true' to compress core files dumped on this path, 'false' to not
	// compress. The type is bool.
	Compress interface{}

	// Lower limit.  This is required if Filename is specified. The type is
	// interface{} with range: 0..4.
	LowerLimit interface{}

	// Higher limit.  This is required if Filename is specified. The type is
	// interface{} with range: 5..64.
	HigherLimit interface{}

	// Protocol and directory. The type is string.
	FilePath interface{}

	// Dump filename. The type is string.
	Filename interface{}
}

Exception_Choice3 Preference of the dump location

func (*Exception_Choice3) GetEntityData

func (choice3 *Exception_Choice3) GetEntityData() *types.CommonEntityData

type Exception_ProcessNames

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

	// Specify per process configuration. The type is slice of
	// Exception_ProcessNames_ProcessName.
	ProcessName []*Exception_ProcessNames_ProcessName
}

Exception_ProcessNames Specify per process configuration

func (*Exception_ProcessNames) GetEntityData

func (processNames *Exception_ProcessNames) GetEntityData() *types.CommonEntityData

type Exception_ProcessNames_ProcessName

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

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

	// Specify per process core option.
	CoreOption Exception_ProcessNames_ProcessName_CoreOption
}

Exception_ProcessNames_ProcessName Specify per process configuration

func (*Exception_ProcessNames_ProcessName) GetEntityData

func (processName *Exception_ProcessNames_ProcessName) GetEntityData() *types.CommonEntityData

type Exception_ProcessNames_ProcessName_CoreOption

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

	// Dump main memory of the target process. The type is Mainmemory. The default
	// value is default.
	MainMemoryval interface{}

	// Dump shared memory of the target process. The type is Sharedmemory. The
	// default value is default.
	SharedMemoryval interface{}

	// Dump packet memory of the target process. The type is Packetmemory. The
	// default value is default.
	PacketMemoryval interface{}

	// Dump to local memory: for time critical processes. The type is Copy_. The
	// default value is default.
	Copyval interface{}

	// Dump memory relevant to stack trace only: for time critical processes. The
	// type is Sparse. The default value is default.
	Sparseval interface{}

	// Skip CPU usage snapshot: for time critical processes. The type is
	// Skipcpuinfo. The default value is default.
	Skipcpuinfoval interface{}

	// Dump context info only: Overrides other options except for 'no-core'. The
	// type is Context. The default value is default.
	Contextval interface{}

	// Disable core dump for the target process: Overrides other options. The type
	// is Nocore. The default value is default.
	Nocoreval interface{}
}

Exception_ProcessNames_ProcessName_CoreOption Specify per process core option

func (*Exception_ProcessNames_ProcessName_CoreOption) GetEntityData

type Mainmemory

type Mainmemory string

Mainmemory represents Mainmemory

const (
	// main memory not configured
	Mainmemory_default_ Mainmemory = "default"

	// Dump main memory of the target process
	Mainmemory_main_memory Mainmemory = "main-memory"
)

type Nocore

type Nocore string

Nocore represents Nocore

const (
	// no core not configured
	Nocore_default_ Nocore = "default"

	// Disable core dump for the target process:
	// Overrides other options
	Nocore_no_core Nocore = "no-core"
)

type Packetmemory

type Packetmemory string

Packetmemory represents Packetmemory

const (
	// packet memory not configured
	Packetmemory_default_ Packetmemory = "default"

	// Dump packet memory of the target process
	Packetmemory_packet_memory Packetmemory = "packet-memory"
)

type Sharedmemory

type Sharedmemory string

Sharedmemory represents Sharedmemory

const (
	// shared memory not configured
	Sharedmemory_default_ Sharedmemory = "default"

	// Dump shared memory of the target process
	Sharedmemory_shared_memory Sharedmemory = "shared-memory"
)

type Skipcpuinfo

type Skipcpuinfo string

Skipcpuinfo represents Skipcpuinfo

const (
	// skip-cpu-info not configured
	Skipcpuinfo_default_ Skipcpuinfo = "default"

	// Skip CPU usage snapshot: for time critical
	// processes
	Skipcpuinfo_skip_cpu_info Skipcpuinfo = "skip-cpu-info"
)

type Sparse

type Sparse string

Sparse represents Sparse

const (
	// sparse not configured
	Sparse_default_ Sparse = "default"

	// Dump memory relevant to stack trace only: for
	// time critical processes
	Sparse_sparse Sparse = "sparse"
)

Jump to

Keyboard shortcuts

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