cisco_self_mgmt

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

Copyright (c) 2016 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 NetconfYang

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

	// Customize the behavior of the DMI applications.
	CiscoIa NetconfYang_CiscoIa
}

NetconfYang Top level container shared by cisco-ia and cisco-odm models

func (*NetconfYang) GetEntityData

func (netconfYang *NetconfYang) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa

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

	// Enables automatic synchronization of the network element's running
	// configuration with the DMI database. The type is CiaSyncType. The default
	// value is without-defaults.
	AutoSync interface{}

	// Enables synchronization of the network element's running configuration with
	// the DMI database when DMI initializes. The type is CiaSyncType. The default
	// value is without-defaults.
	InitSync interface{}

	// When enabled, intelligent-sync monitors all  ttys for configuration changes
	// and replays  these changes to the DMI database once the tty exits
	// configuration mode.  When  disabled, the complete running-configuration is
	// used to synchronize the DMI database whenever a CLI configuration change is
	// detected. The type is bool. The default value is true.
	IntelligentSync interface{}

	// 0 = Disabled,  1 = Save input message, DMI debugs, and response,  2 = Level
	// 1 + Save "before" and "after"      running-config, 3 = Level 2 + rollback
	// file and configuration diff. The type is interface{} with range: 0..3. The
	// default value is 0.
	MessageDiagLevel interface{}

	// The maximum number of messages whose diagnostic data  in kept in persistent
	// storage. The type is interface{} with range: 0..199. The default value is
	// 30.
	MaxDiagMessagesSaved interface{}

	// Run "show ip access-list" and send to ConfD. The type is bool. The default
	// value is true.
	PostSyncAclProcess interface{}

	// Delay in ms before applying CDB change to NE. The type is interface{} with
	// range: -32768..32767. The default value is 0.
	ConfigChangeDelay interface{}

	// Process any parser output from configuration changes as a possible error.
	// The type is bool. The default value is true.
	ProcessMissingPrc interface{}

	// Process any parser output from configuration changes and compare against
	// either a known set of errors  (blacklist) or a known set of messages to
	// ignore  (whitelist). The type is ParserMsgProcessingMethod. The default
	// value is blacklist.
	MissingPrcMethod interface{}

	// The community string for communication with the SNMP         agent. The
	// type is string. The default value is private.
	SnmpCommunityString interface{}

	// Preserve specified model paths in the NED model when performing a sync from
	// the  network element. The type is bool. The default value is false.
	PreservePathsEnabled interface{}

	// TTY number used by NetworkElementSynchronizer. The type is interface{} with
	// range: -32768..32767.
	NesTtynum interface{}

	// Indicates if CDB restored from NES running-config. The type is bool. The
	// default value is false.
	Restored interface{}

	// This container describes the configuration parameters for SNMP Trap to
	// NetConf notification processing.
	SnmpTrapControl NetconfYang_CiscoIa_SnmpTrapControl

	// Model paths from the NED model to preserve upon a sync from the network
	// element. These paths are not cleared from the  running data store prior to
	// the sync. These are expressed as nodes separated by  slash '/', e.g.
	// /native/ip/access-list. The type is slice of
	// NetconfYang_CiscoIa_PreserveNedPath.
	PreserveNedPath []*NetconfYang_CiscoIa_PreserveNedPath

	// Parser output from configuration  change that is informational only, not an
	// error. This is a read only list containing known informational  messages.
	// The type is slice of NetconfYang_CiscoIa_ParserMsgIgnore.
	ParserMsgIgnore []*NetconfYang_CiscoIa_ParserMsgIgnore

	// Parser output from configuration  change that is informational only, not an
	// error. The type is slice of NetconfYang_CiscoIa_ConfParserMsgIgnore.
	ConfParserMsgIgnore []*NetconfYang_CiscoIa_ConfParserMsgIgnore

	// Parser output from configuration  change that indicates an error that
	// cannot be ignored (must abort the transaction). This is a read only list
	// containing known error messages. The type is slice of
	// NetconfYang_CiscoIa_ParserMsgError.
	ParserMsgError []*NetconfYang_CiscoIa_ParserMsgError

	// Parser output from configuration  change that indicates an error that
	// cannot be ignored (must abort the transaction). The type is slice of
	// NetconfYang_CiscoIa_ConfParserMsgError.
	ConfParserMsgError []*NetconfYang_CiscoIa_ConfParserMsgError

	// IOS commands that result in other automatic configurations being applied
	// for which a complete sync is required. The type is slice of
	// NetconfYang_CiscoIa_FullSyncCli.
	FullSyncCli []*NetconfYang_CiscoIa_FullSyncCli

	// A user-configurable list of IOS commands  that result in other automatic
	// configurations  being applied for which a complete sync  is required. The
	// type is slice of NetconfYang_CiscoIa_ConfFullSyncCli.
	ConfFullSyncCli []*NetconfYang_CiscoIa_ConfFullSyncCli

	// Controls logging behavior of DMI applications.
	Logging NetconfYang_CiscoIa_Logging

	// Controls blocking of command lines, either  from the NE to Confd or
	// disallowing manual input from the console/vty.
	Blocking NetconfYang_CiscoIa_Blocking

	// WARNING: These configuration commands should not be used unless
	// directed to by Cisco. Some IOS configuration commands may have a vitally
	// important relationship to other IOS configuration commands. These so called
	// pivotal commands have to be handled as an  execption to the normal
	// processing flow. The pivotal commands and their special handling actions
	// are described in this list.
	PivotCommands NetconfYang_CiscoIa_PivotCommands
}

NetconfYang_CiscoIa Customize the behavior of the DMI applications

func (*NetconfYang_CiscoIa) GetEntityData

func (ciscoIa *NetconfYang_CiscoIa) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_Blocking

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

	// Enables blocking of designated command lines via the  network element's
	// CLI. The type is bool. The default value is false.
	CliBlockingEnabled interface{}

	// Enables blocking of designated command lines via the  network element's
	// CLI. The type is bool. The default value is true.
	ConfdCfgBlockingEnabled interface{}

	// Command line pattern to disallow via the network element's CLI. The type is
	// slice of NetconfYang_CiscoIa_Blocking_NetworkElementCommand.
	NetworkElementCommand []*NetconfYang_CiscoIa_Blocking_NetworkElementCommand

	// Command line pattern to omit syncing to Confd CDB. The type is slice of
	// NetconfYang_CiscoIa_Blocking_ConfdCfgCommand.
	ConfdCfgCommand []*NetconfYang_CiscoIa_Blocking_ConfdCfgCommand
}

NetconfYang_CiscoIa_Blocking Controls blocking of command lines, either from the NE to Confd or disallowing manual input from the console/vty

func (*NetconfYang_CiscoIa_Blocking) GetEntityData

func (blocking *NetconfYang_CiscoIa_Blocking) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_Blocking_ConfdCfgCommand

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

	// This attribute is a key. A regular expression matching command lines which
	// should be blocked from being sent to Confd from the network element. The
	// type is string.
	Command interface{}
}

NetconfYang_CiscoIa_Blocking_ConfdCfgCommand Command line pattern to omit syncing to Confd CDB

func (*NetconfYang_CiscoIa_Blocking_ConfdCfgCommand) GetEntityData

func (confdCfgCommand *NetconfYang_CiscoIa_Blocking_ConfdCfgCommand) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_Blocking_NetworkElementCommand

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

	// This attribute is a key. A regular expression matching command lines which
	// should be blocked from entry via console/vty. The type is string with
	// length: 1..255.
	Command interface{}
}

NetconfYang_CiscoIa_Blocking_NetworkElementCommand Command line pattern to disallow via the network element's CLI

func (*NetconfYang_CiscoIa_Blocking_NetworkElementCommand) GetEntityData

func (networkElementCommand *NetconfYang_CiscoIa_Blocking_NetworkElementCommand) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_ConfFullSyncCli

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

	// This attribute is a key. A regular expression matching command lines which
	// cause other automatic configuration changes. The type is string with
	// length: 1..255.
	Command interface{}
}

NetconfYang_CiscoIa_ConfFullSyncCli A user-configurable list of IOS commands that result in other automatic configurations being applied for which a complete sync is required

func (*NetconfYang_CiscoIa_ConfFullSyncCli) GetEntityData

func (confFullSyncCli *NetconfYang_CiscoIa_ConfFullSyncCli) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_ConfParserMsgError

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

	// This attribute is a key. A regular expression to match parser output to be
	// considered an error. The type is string with length: 1..255.
	Message interface{}
}

NetconfYang_CiscoIa_ConfParserMsgError Parser output from configuration change that indicates an error that cannot be ignored (must abort the transaction).

func (*NetconfYang_CiscoIa_ConfParserMsgError) GetEntityData

func (confParserMsgError *NetconfYang_CiscoIa_ConfParserMsgError) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_ConfParserMsgIgnore

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

	// This attribute is a key. A regular expression to match parser output to be
	// ignored. The type is string with length: 1..255.
	Message interface{}
}

NetconfYang_CiscoIa_ConfParserMsgIgnore Parser output from configuration change that is informational only, not an error

func (*NetconfYang_CiscoIa_ConfParserMsgIgnore) GetEntityData

func (confParserMsgIgnore *NetconfYang_CiscoIa_ConfParserMsgIgnore) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_FullSyncCli

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

	// This attribute is a key. A regular expression matching command lines which
	// cause other automatic configuration changes. The type is string with
	// length: 1..255.
	Command interface{}
}

NetconfYang_CiscoIa_FullSyncCli IOS commands that result in other automatic configurations being applied for which a complete sync is required

func (*NetconfYang_CiscoIa_FullSyncCli) GetEntityData

func (fullSyncCli *NetconfYang_CiscoIa_FullSyncCli) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_Logging

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

	// Logging level for Confd. The type is SyslogSeverity. The default value is
	// error.
	ConfdLogLevel interface{}

	// Logging level for CiaAuthDaemon. The type is CiaLogLevel. The default value
	// is error.
	CiaauthdLogLevel interface{}

	// Logging level for Network Element Synchronizer. The type is CiaLogLevel.
	// The default value is error.
	NesLogLevel interface{}

	// Logging level for ONEP. The type is OnepLogLevel. The default value is
	// error.
	OnepLogLevel interface{}

	// Logging level for  Operational Data Manager. The type is CiaLogLevel. The
	// default value is error.
	OdmLogLevel interface{}

	// Logging level for Sync-From Daemon. The type is CiaLogLevel. The default
	// value is error.
	SyncLogLevel interface{}
}

NetconfYang_CiscoIa_Logging Controls logging behavior of DMI applications

func (*NetconfYang_CiscoIa_Logging) GetEntityData

func (logging *NetconfYang_CiscoIa_Logging) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_ParserMsgError

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

	// This attribute is a key. A regular expression to match parser output to be
	// considered an error. The type is string with length: 1..255.
	Message interface{}
}

NetconfYang_CiscoIa_ParserMsgError Parser output from configuration change that indicates an error that cannot be ignored (must abort the transaction). This is a read only list containing known error messages.

func (*NetconfYang_CiscoIa_ParserMsgError) GetEntityData

func (parserMsgError *NetconfYang_CiscoIa_ParserMsgError) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_ParserMsgIgnore

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

	// This attribute is a key. A regular expression to match parser output to be
	// ignored. The type is string with length: 1..255.
	Message interface{}
}

NetconfYang_CiscoIa_ParserMsgIgnore Parser output from configuration change that is informational only, not an error. This is a read only list containing known informational messages

func (*NetconfYang_CiscoIa_ParserMsgIgnore) GetEntityData

func (parserMsgIgnore *NetconfYang_CiscoIa_ParserMsgIgnore) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_PivotCommands

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

	// Static list of pivot commands. The type is slice of
	// NetconfYang_CiscoIa_PivotCommands_PivotCommand.
	PivotCommand []*NetconfYang_CiscoIa_PivotCommands_PivotCommand
}

NetconfYang_CiscoIa_PivotCommands WARNING: These configuration commands should not be used unless

directed to by Cisco.

Some IOS configuration commands may have a vitally important relationship to other IOS configuration commands. These so called pivotal commands have to be handled as an execption to the normal processing flow. The pivotal commands and their special handling actions are described in this list.

func (*NetconfYang_CiscoIa_PivotCommands) GetEntityData

func (pivotCommands *NetconfYang_CiscoIa_PivotCommands) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_PivotCommands_PivotCommand

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

	// This attribute is a key. The command prefix to match.  Leading spaces are
	// counted towards the match. The type is string with length: 1..255.
	Command interface{}

	// Whether or not the command will be retried if it fails and associated
	// parameters.
	Retry NetconfYang_CiscoIa_PivotCommands_PivotCommand_Retry
}

NetconfYang_CiscoIa_PivotCommands_PivotCommand Static list of pivot commands.

func (*NetconfYang_CiscoIa_PivotCommands_PivotCommand) GetEntityData

type NetconfYang_CiscoIa_PivotCommands_PivotCommand_Retry

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

	// The minimum time to wait before retrying a failed command. The type is
	// interface{} with range: 10..60000. Units are milliseconds.
	MinRetryTime interface{}

	// The maximum time to wait before retrying a failed command.  Commands that
	// continue to fail after having waited this amount of time are considered to
	// have permanently failed. The type is interface{} with range: 10..60000.
	// Units are milliseconds.
	MaxRetryTime interface{}
}

NetconfYang_CiscoIa_PivotCommands_PivotCommand_Retry Whether or not the command will be retried if it fails and associated parameters. This type is a presence type.

func (*NetconfYang_CiscoIa_PivotCommands_PivotCommand_Retry) GetEntityData

type NetconfYang_CiscoIa_PreserveNedPath

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

	// This attribute is a key. An XPath from the NED model. The type is string
	// with length: 1..1024.
	Xpath interface{}
}

NetconfYang_CiscoIa_PreserveNedPath Model paths from the NED model to preserve upon a sync from the network element. These paths are not cleared from the running data store prior to the sync. These are expressed as nodes separated by slash '/', e.g. /native/ip/access-list

func (*NetconfYang_CiscoIa_PreserveNedPath) GetEntityData

func (preserveNedPath *NetconfYang_CiscoIa_PreserveNedPath) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_SnmpTrapControl

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

	// This leaf enables or disables forwarding for all SNMP traps. The type is
	// bool. The default value is true.
	GlobalForwarding interface{}

	// This list describes SNMP Traps that are  supported for automatic
	// translation to NetConf notifications. The type is slice of
	// NetconfYang_CiscoIa_SnmpTrapControl_TrapList.
	TrapList []*NetconfYang_CiscoIa_SnmpTrapControl_TrapList
}

NetconfYang_CiscoIa_SnmpTrapControl This container describes the configuration parameters for SNMP Trap to NetConf notification processing.

func (*NetconfYang_CiscoIa_SnmpTrapControl) GetEntityData

func (snmpTrapControl *NetconfYang_CiscoIa_SnmpTrapControl) GetEntityData() *types.CommonEntityData

type NetconfYang_CiscoIa_SnmpTrapControl_TrapList

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

	// This attribute is a key. This leaf contains the OID for the  SNMP trap to
	// be forwarded. The type is string with pattern:
	// (([0-1](\.[1-3]?[0-9]))|(2\.(0|([1-9]\d*))))(\.(0|([1-9]\d*)))*.
	TrapOid interface{}

	// This leaf contains the name of the SNMP trap to be  forwarded. The type is
	// string.
	Description interface{}

	// This leaf enables or disables forwarding for this SNMP trap. The type is
	// bool. The default value is true.
	Forward interface{}
}

NetconfYang_CiscoIa_SnmpTrapControl_TrapList This list describes SNMP Traps that are supported for automatic translation to NetConf notifications.

func (*NetconfYang_CiscoIa_SnmpTrapControl_TrapList) GetEntityData

Jump to

Keyboard shortcuts

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