parser_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 parser package configuration.

This module contains definitions for the following management objects:

parser: Parser 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 Parser

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

	// indentation tracking.
	Indentation Parser_Indentation

	// Alias for command mapping.
	Alias Parser_Alias

	// cli commands history.
	History Parser_History

	// interactive mode.
	Interactive Parser_Interactive

	// Enable optimization for regular commit.
	CommitOptimized Parser_CommitOptimized

	// Configuration to disable sysadmin login banner.
	SysadminLoginBanner Parser_SysadminLoginBanner

	// Configure the Interface display order.
	InterfaceDisplay Parser_InterfaceDisplay

	// Ipv4 netmask-format to be configured.
	NetmaskFormat Parser_NetmaskFormat

	// cli configuration services.
	Configuration Parser_Configuration

	// Exit submode when only '!' seen in interactive mode.
	SubmodeExit Parser_SubmodeExit
}

Parser Parser configuration

func (*Parser) GetEntityData

func (parser *Parser) GetEntityData() *types.CommonEntityData

type Parser_Alias

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

	// Exec command alias.
	Execs Parser_Alias_Execs

	// Configuration command alias.
	Configurations Parser_Alias_Configurations

	// Table of all aliases configured.
	Alls Parser_Alias_Alls
}

Parser_Alias Alias for command mapping

func (*Parser_Alias) GetEntityData

func (alias *Parser_Alias) GetEntityData() *types.CommonEntityData

type Parser_Alias_Alls

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

	// Alias name to command mapping. The type is slice of Parser_Alias_Alls_All.
	All []*Parser_Alias_Alls_All
}

Parser_Alias_Alls Table of all aliases configured

func (*Parser_Alias_Alls) GetEntityData

func (alls *Parser_Alias_Alls) GetEntityData() *types.CommonEntityData

type Parser_Alias_Alls_All

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

	// This attribute is a key. Alias name. The type is string with length: 1..30.
	Identifier interface{}

	// The actual command. The type is string. This attribute is mandatory.
	IdentifierXr interface{}
}

Parser_Alias_Alls_All Alias name to command mapping

func (*Parser_Alias_Alls_All) GetEntityData

func (all *Parser_Alias_Alls_All) GetEntityData() *types.CommonEntityData

type Parser_Alias_Configurations

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

	// Configuration Alias name. The type is slice of
	// Parser_Alias_Configurations_Configuration.
	Configuration []*Parser_Alias_Configurations_Configuration
}

Parser_Alias_Configurations Configuration command alias

func (*Parser_Alias_Configurations) GetEntityData

func (configurations *Parser_Alias_Configurations) GetEntityData() *types.CommonEntityData

type Parser_Alias_Configurations_Configuration

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

	// This attribute is a key. Configuration alias name. The type is string with
	// length: 1..30.
	Identifier interface{}

	// Aliased config command. The type is string. This attribute is mandatory.
	IdentifierXr interface{}
}

Parser_Alias_Configurations_Configuration Configuration Alias name

func (*Parser_Alias_Configurations_Configuration) GetEntityData

func (configuration *Parser_Alias_Configurations_Configuration) GetEntityData() *types.CommonEntityData

type Parser_Alias_Execs

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

	// Exec alias name. The type is slice of Parser_Alias_Execs_Exec.
	Exec []*Parser_Alias_Execs_Exec
}

Parser_Alias_Execs Exec command alias

func (*Parser_Alias_Execs) GetEntityData

func (execs *Parser_Alias_Execs) GetEntityData() *types.CommonEntityData

type Parser_Alias_Execs_Exec

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

	// This attribute is a key. Exec Alias name. The type is string with length:
	// 1..30.
	Identifier interface{}

	// Aliased exec command. The type is string. This attribute is mandatory.
	IdentifierXr interface{}
}

Parser_Alias_Execs_Exec Exec alias name

func (*Parser_Alias_Execs_Exec) GetEntityData

func (exec *Parser_Alias_Execs_Exec) GetEntityData() *types.CommonEntityData

type Parser_CommitOptimized

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

	// Enable the feature. The type is bool.
	CommitOptimizedEnable interface{}
}

Parser_CommitOptimized Enable optimization for regular commit

func (*Parser_CommitOptimized) GetEntityData

func (commitOptimized *Parser_CommitOptimized) GetEntityData() *types.CommonEntityData

type Parser_Configuration

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

	// disable for read-only access users.
	Disable Parser_Configuration_Disable
}

Parser_Configuration cli configuration services

func (*Parser_Configuration) GetEntityData

func (configuration *Parser_Configuration) GetEntityData() *types.CommonEntityData

type Parser_Configuration_Disable

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

	// Disable config mode for usergroup. The type is string.
	Usergroup interface{}
}

Parser_Configuration_Disable disable for read-only access users

func (*Parser_Configuration_Disable) GetEntityData

func (disable *Parser_Configuration_Disable) GetEntityData() *types.CommonEntityData

type Parser_History

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

	// maximum number of commands in history. The type is interface{} with range:
	// 1000..5000.
	Size interface{}
}

Parser_History cli commands history

func (*Parser_History) GetEntityData

func (history *Parser_History) GetEntityData() *types.CommonEntityData

type Parser_Indentation

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

	// disable the indentation. The type is bool.
	IndentationDisable interface{}
}

Parser_Indentation indentation tracking

func (*Parser_Indentation) GetEntityData

func (indentation *Parser_Indentation) GetEntityData() *types.CommonEntityData

type Parser_Interactive

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

	// disable interactive mode. The type is bool.
	InteractiveDisable interface{}
}

Parser_Interactive interactive mode

func (*Parser_Interactive) GetEntityData

func (interactive *Parser_Interactive) GetEntityData() *types.CommonEntityData

type Parser_InterfaceDisplay

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

	// Configure Interface display order as slot order. The type is bool.
	SlotOrder interface{}
}

Parser_InterfaceDisplay Configure the Interface display order

func (*Parser_InterfaceDisplay) GetEntityData

func (interfaceDisplay *Parser_InterfaceDisplay) GetEntityData() *types.CommonEntityData

type Parser_NetmaskFormat

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

	// Enable ipv4 netmask-format as bit-count. The type is bool.
	BitCount interface{}
}

Parser_NetmaskFormat Ipv4 netmask-format to be configured

func (*Parser_NetmaskFormat) GetEntityData

func (netmaskFormat *Parser_NetmaskFormat) GetEntityData() *types.CommonEntityData

type Parser_SubmodeExit

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

	// Enable the feature. The type is bool.
	Enable interface{}
}

Parser_SubmodeExit Exit submode when only '!' seen in interactive mode

func (*Parser_SubmodeExit) GetEntityData

func (submodeExit *Parser_SubmodeExit) GetEntityData() *types.CommonEntityData

type Parser_SysadminLoginBanner

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

	// Disable sysadmin login banner. The type is bool.
	SysadminLoginBannerDisable interface{}
}

Parser_SysadminLoginBanner Configuration to disable sysadmin login banner

func (*Parser_SysadminLoginBanner) GetEntityData

func (sysadminLoginBanner *Parser_SysadminLoginBanner) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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