cisco_ia

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

DMI self-management YANG module for IOS Copyright (c) 2016, 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 Checkpoint

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

	Output Checkpoint_Output
}

Checkpoint Create a configuration rollback checkpoint. Equivalent to the "archive config" CLI

func (*Checkpoint) GetEntityData

func (checkpoint *Checkpoint) GetEntityData() *types.CommonEntityData

type Checkpoint_Output

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

	// Output returned by the network element. The type is string.
	Result interface{}
}

Checkpoint_Output

func (*Checkpoint_Output) GetEntityData

func (output *Checkpoint_Output) GetEntityData() *types.CommonEntityData

type CiaLogLevel

type CiaLogLevel string

CiaLogLevel represents Logging levels for DMI

const (
	// No logging
	CiaLogLevel_none CiaLogLevel = "none"

	// Log errors only
	CiaLogLevel_error_ CiaLogLevel = "error"

	// Log errors and warnings only
	CiaLogLevel_warning CiaLogLevel = "warning"

	// Log errors, warnings, and information only
	CiaLogLevel_information CiaLogLevel = "information"

	// Log errors, warnings, information,
	// and debug messages
	CiaLogLevel_debug CiaLogLevel = "debug"
)

type CiaSyncType

type CiaSyncType string

CiaSyncType represents database from the Network Element

const (
	// Do no synchronize the DMI
	// database from the Network Element
	CiaSyncType_disabled CiaSyncType = "disabled"

	// Collect "show running" from
	// the Network Element
	CiaSyncType_without_defaults CiaSyncType = "without-defaults"

	// Collect "show running all" from
	// the Network Element
	CiaSyncType_include_defaults CiaSyncType = "include-defaults"
)

type IsSyncing

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

	Output IsSyncing_Output
}

IsSyncing Checks to see if sync from the network element to the running data store is in progress.

func (*IsSyncing) GetEntityData

func (isSyncing *IsSyncing) GetEntityData() *types.CommonEntityData

type IsSyncing_Output

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

	// Output returned by the network element. The type is string.
	Result interface{}
}

IsSyncing_Output

func (*IsSyncing_Output) GetEntityData

func (output *IsSyncing_Output) GetEntityData() *types.CommonEntityData

type OnepLogLevel

type OnepLogLevel string

OnepLogLevel represents Logging levels for Onep

const (
	// No logging
	OnepLogLevel_none OnepLogLevel = "none"

	// Log fatal events only
	OnepLogLevel_fatal OnepLogLevel = "fatal"

	// Log fatal events and errors only
	OnepLogLevel_error_ OnepLogLevel = "error"

	// Log fatal events, errors, and warnings only
	OnepLogLevel_warning OnepLogLevel = "warning"

	// Log fatal events, errors, warnings,
	// and information only
	OnepLogLevel_information OnepLogLevel = "information"

	// Log fatal events, errors, warnings, information,
	// and debug messages
	OnepLogLevel_debug OnepLogLevel = "debug"

	// Log all messages
	OnepLogLevel_trace OnepLogLevel = "trace"
)

type ParserMsgProcessingMethod

type ParserMsgProcessingMethod string

ParserMsgProcessingMethod

const (
	// Check all parser output against a set
	// of known errors and abort the transaction
	// if matched.
	ParserMsgProcessingMethod_blacklist ParserMsgProcessingMethod = "blacklist"

	// Check all parser output against a set
	// of known messages to ignore and abort
	// the transaction if not matched.
	ParserMsgProcessingMethod_whitelist ParserMsgProcessingMethod = "whitelist"
)

type Revert

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

	Input Revert_Input

	Output Revert_Output
}

Revert Cancel the timed rollback and trigger the rollback immediately, or to reset parameters for the timed rollback

func (*Revert) GetEntityData

func (revert *Revert) GetEntityData() *types.CommonEntityData

type Revert_Input

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

	// To cancel the timed rollback and  trigger the rollback immediately. The
	// type is interface{}.
	Now interface{}

	// Reset parameters for the timed rollback. The type is interface{} with
	// range: 1..120.
	Timer interface{}

	// Maximum allowable time period of no activity before reverting to the saved
	// configuration. The type is interface{} with range: 1..120.
	Idle interface{}
}

Revert_Input

func (*Revert_Input) GetEntityData

func (input *Revert_Input) GetEntityData() *types.CommonEntityData

type Revert_Output

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

	// Output returned by the network element. The type is string.
	Result interface{}
}

Revert_Output

func (*Revert_Output) GetEntityData

func (output *Revert_Output) GetEntityData() *types.CommonEntityData

type Rollback

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

	Input Rollback_Input

	Output Rollback_Output
}

Rollback Replaces the current running configuration file with a saved Cisco IOS XE configuration file.

func (*Rollback) GetEntityData

func (rollback *Rollback) GetEntityData() *types.CommonEntityData

type Rollback_Input

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

	// Cisco IOS XE configuration file that is to  replace the current running
	// configuration. The type is string. This attribute is mandatory.
	TargetUrl interface{}

	// Display a list of the command lines applied by  the Cisco IOS XE software
	// parser during each pass  of the configuration replace operation. The total
	// number of passes performed is also displayed. The type is bool. The default
	// value is false.
	Verbose interface{}

	// Disables the locking of the running  configuration file that prevents other
	// users from changing the running configuration  during a configuration
	// replace operation. The type is bool. The default value is false.
	Nolock interface{}

	// Reverts to the original configuration upon error. The type is interface{}.
	RevertOnError interface{}

	// Reverts to the original configuration if  specified time elapses. The type
	// is interface{} with range: 1..120.
	RevertTimer interface{}
}

Rollback_Input

func (*Rollback_Input) GetEntityData

func (input *Rollback_Input) GetEntityData() *types.CommonEntityData

type Rollback_Output

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

	// Output returned by the network element. The type is string.
	Result interface{}
}

Rollback_Output

func (*Rollback_Output) GetEntityData

func (output *Rollback_Output) GetEntityData() *types.CommonEntityData

type SaveConfig

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

	Output SaveConfig_Output
}

SaveConfig Copy the running-config to startup-config on the Network Element.

func (*SaveConfig) GetEntityData

func (saveConfig *SaveConfig) GetEntityData() *types.CommonEntityData

type SaveConfig_Output

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

	// Output returned by the network element. The type is string.
	Result interface{}
}

SaveConfig_Output

func (*SaveConfig_Output) GetEntityData

func (output *SaveConfig_Output) GetEntityData() *types.CommonEntityData

type SyncFrom

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

	Input SyncFrom_Input

	Output SyncFrom_Output
}

SyncFrom Synchronize the network element's running-configuration to ConfD.

func (*SyncFrom) GetEntityData

func (syncFrom *SyncFrom) GetEntityData() *types.CommonEntityData

type SyncFrom_Input

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

	// Sends the output of  "show running all" line by line to Confd. The type is
	// interface{}.
	SyncDefaults interface{}

	// Sync everything under /native. Ignore any preserve paths. The type is
	// interface{}.
	IgnorePresrvPaths interface{}
}

SyncFrom_Input

func (*SyncFrom_Input) GetEntityData

func (input *SyncFrom_Input) GetEntityData() *types.CommonEntityData

type SyncFrom_Output

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

	// Output returned by the network element. The type is string.
	Result interface{}
}

SyncFrom_Output

func (*SyncFrom_Output) GetEntityData

func (output *SyncFrom_Output) GetEntityData() *types.CommonEntityData

type SyslogSeverity

type SyslogSeverity string

SyslogSeverity represents Standard Syslog logging levels)

const (
	// No logging
	SyslogSeverity_none SyslogSeverity = "none"

	// Emergency Level Msg
	SyslogSeverity_emergency SyslogSeverity = "emergency"

	// Alert Level Msg
	SyslogSeverity_alert SyslogSeverity = "alert"

	// Critical Level Msg
	SyslogSeverity_critical SyslogSeverity = "critical"

	// Error Level Msg
	SyslogSeverity_error_ SyslogSeverity = "error"

	// Warning Level Msg
	SyslogSeverity_warning SyslogSeverity = "warning"

	// Notification Level Msg
	SyslogSeverity_notice SyslogSeverity = "notice"

	// Informational Level Msg
	SyslogSeverity_info SyslogSeverity = "info"

	// Debugging Level Msg
	SyslogSeverity_debug SyslogSeverity = "debug"
)

Jump to

Keyboard shortcuts

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