ha_eem_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 ha-eem package configuration.

This module contains definitions for the following management objects:

event-manager: Event manager 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 EventManager

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

	// Set refresh time (in seconds) for policy username's AAA taskmap. The type
	// is interface{} with range: 10..4294967295. Units are second. The default
	// value is 1800.
	RefreshTime interface{}

	// Enable suspend policy scheduling. The type is bool.
	ScheduleSuspend interface{}

	// Set event manager user policy directory. The type is string.
	DirectoryUserPolicy interface{}

	// Path of the user policy library directory. The type is string.
	DirectoryUserLibrary interface{}

	// Register an event manager policy.
	Policies EventManager_Policies

	// scheduler classs type.
	SchedulerScript EventManager_SchedulerScript

	// Set an event manager global variable for event manager policies.
	Environments EventManager_Environments
}

EventManager Event manager configuration

func (*EventManager) GetEntityData

func (eventManager *EventManager) GetEntityData() *types.CommonEntityData

type EventManagerChecksum

type EventManagerChecksum string

EventManagerChecksum represents Event manager checksum

const (
	// Use SHA-1 checksum
	EventManagerChecksum_sha_1 EventManagerChecksum = "sha-1"

	// Use MD5 checksum
	EventManagerChecksum_md5 EventManagerChecksum = "md5"
)

type EventManagerPolicy

type EventManagerPolicy string

EventManagerPolicy represents Event manager policy

const (
	// Event manager system policy
	EventManagerPolicy_system EventManagerPolicy = "system"

	// Event manager user policy
	EventManagerPolicy_user EventManagerPolicy = "user"
)

type EventManagerPolicyMode

type EventManagerPolicyMode string

EventManagerPolicyMode represents Event manager policy mode

const (
	// Cisco Signature
	EventManagerPolicyMode_cisco EventManagerPolicyMode = "cisco"

	// Trust Signature
	EventManagerPolicyMode_trust EventManagerPolicyMode = "trust"
)

type EventManagerPolicySec

type EventManagerPolicySec string

EventManagerPolicySec represents Event manager policy sec

const (
	// Cisco Signature
	EventManagerPolicySec_rsa_2048 EventManagerPolicySec = "rsa-2048"

	// Trust Signature
	EventManagerPolicySec_trust EventManagerPolicySec = "trust"
)

type EventManager_Environments

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

	// Name of the global variable. The type is slice of
	// EventManager_Environments_Environment.
	Environment []*EventManager_Environments_Environment
}

EventManager_Environments Set an event manager global variable for event manager policies

func (*EventManager_Environments) GetEntityData

func (environments *EventManager_Environments) GetEntityData() *types.CommonEntityData

type EventManager_Environments_Environment

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

	// This attribute is a key. Name of the global variable. The type is string
	// with pattern: [\w\-\.:,_@#%$\+=\|;]+.
	EnvironmentName interface{}

	// Value of the global variable. The type is string. This attribute is
	// mandatory.
	EnvironmentValue interface{}
}

EventManager_Environments_Environment Name of the global variable

func (*EventManager_Environments_Environment) GetEntityData

func (environment *EventManager_Environments_Environment) GetEntityData() *types.CommonEntityData

type EventManager_Policies

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

	// Name of the policy file. The type is slice of EventManager_Policies_Policy.
	Policy []*EventManager_Policies_Policy
}

EventManager_Policies Register an event manager policy

func (*EventManager_Policies) GetEntityData

func (policies *EventManager_Policies) GetEntityData() *types.CommonEntityData

type EventManager_Policies_Policy

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

	// This attribute is a key. Name of the policy file. The type is string with
	// pattern: [\w\-\.:,_@#%$\+=\|;]+.
	PolicyName interface{}

	// A configured username. The type is string. This attribute is mandatory.
	Username interface{}

	// Time of validity (in seconds) for cached AAA taskmap of username (default
	// is 3600). The type is interface{} with range: 0..4294967295. This attribute
	// is mandatory. Units are second.
	PersistTime interface{}

	// Event manager type of this policy. The type is EventManagerPolicy.
	PolicyType interface{}

	// Specify Embedded Event Manager policy checksum. The type is
	// EventManagerChecksum.
	ChecksumType interface{}

	// CheckSum Value. The type is string.
	CheckSumValue interface{}

	// Specify Embedded Event Manager policy security mode. The type is
	// EventManagerPolicyMode.
	PolicySecurityMode interface{}

	// Event Manager policy security Level. The type is EventManagerPolicySec.
	PolicySecurityLevel interface{}
}

EventManager_Policies_Policy Name of the policy file

func (*EventManager_Policies_Policy) GetEntityData

func (policy *EventManager_Policies_Policy) GetEntityData() *types.CommonEntityData

type EventManager_SchedulerScript

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

	// scheduler thread classs .
	ThreadClasses EventManager_SchedulerScript_ThreadClasses
}

EventManager_SchedulerScript scheduler classs type

func (*EventManager_SchedulerScript) GetEntityData

func (schedulerScript *EventManager_SchedulerScript) GetEntityData() *types.CommonEntityData

type EventManager_SchedulerScript_ThreadClasses

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

	// scheduler classs type argument. The type is slice of
	// EventManager_SchedulerScript_ThreadClasses_ThreadClass.
	ThreadClass []*EventManager_SchedulerScript_ThreadClasses_ThreadClass
}

EventManager_SchedulerScript_ThreadClasses scheduler thread classs

func (*EventManager_SchedulerScript_ThreadClasses) GetEntityData

func (threadClasses *EventManager_SchedulerScript_ThreadClasses) GetEntityData() *types.CommonEntityData

type EventManager_SchedulerScript_ThreadClasses_ThreadClass

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

	// This attribute is a key. Name of the global variable. The type is string
	// with pattern: [\w\-\.:,_@#%$\+=\|;]+.
	ThreadClassName interface{}

	// number of scheduler threads. The type is interface{} with range: 1..5. This
	// attribute is mandatory.
	NumThreads interface{}
}

EventManager_SchedulerScript_ThreadClasses_ThreadClass scheduler classs type argument

func (*EventManager_SchedulerScript_ThreadClasses_ThreadClass) GetEntityData

Jump to

Keyboard shortcuts

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