aaa_nacm_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 aaa-nacm package configuration.

This module contains definitions for the following management objects:

nacm: Parameters for NETCONF Access Control Model

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 Nacm

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

	// Enables or Disables all NETCONF access control enforcement. The type is
	// bool.
	EnableNacm interface{}

	// Controls write access if no appropriate rule is found. The type is
	// NacmAction.
	WriteDefault interface{}

	// Controls exec access if no appropriate rule is found. The type is
	// NacmAction.
	ExecDefault interface{}

	// Controls whether the server uses the groups reported by NETCONF transport
	// layer. The type is bool.
	EnableExternalGroups interface{}

	// Controls read access if no appropriate rule is found. The type is
	// NacmAction.
	ReadDefault interface{}

	// NETCONF Access Control Groups.
	Groups Nacm_Groups

	// Contains all rule lists of NACM.
	RulelistClasses Nacm_RulelistClasses
}

Nacm Parameters for NETCONF Access Control Model

func (*Nacm) GetEntityData

func (nacm *Nacm) GetEntityData() *types.CommonEntityData

type NacmAction

type NacmAction string

NacmAction represents Nacm action

const (
	// Permit
	NacmAction_permit NacmAction = "permit"

	// Deny
	NacmAction_deny NacmAction = "deny"
)

type NacmRule

type NacmRule string

NacmRule represents Nacm rule

const (
	// Protocoloperation
	NacmRule_protocol_operation NacmRule = "protocol-operation"

	// Datanode
	NacmRule_data_node NacmRule = "data-node"

	// Notification
	NacmRule_notification NacmRule = "notification"
)

type Nacm_Groups

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

	// One NACM Group Entry. The type is slice of Nacm_Groups_Group.
	Group []*Nacm_Groups_Group
}

Nacm_Groups NETCONF Access Control Groups

func (*Nacm_Groups) GetEntityData

func (groups *Nacm_Groups) GetEntityData() *types.CommonEntityData

type Nacm_Groups_Group

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

	// This attribute is a key. User group name. The type is string with length:
	// 1..63.
	GroupName interface{}

	// User name. The type is slice of string with length: 1..63.
	UserName []interface{}
}

Nacm_Groups_Group One NACM Group Entry

func (*Nacm_Groups_Group) GetEntityData

func (group *Nacm_Groups_Group) GetEntityData() *types.CommonEntityData

type Nacm_RulelistClasses

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

	// Each rule list of NACM. The type is slice of
	// Nacm_RulelistClasses_RulelistClass.
	RulelistClass []*Nacm_RulelistClasses_RulelistClass
}

Nacm_RulelistClasses Contains all rule lists of NACM

func (*Nacm_RulelistClasses) GetEntityData

func (rulelistClasses *Nacm_RulelistClasses) GetEntityData() *types.CommonEntityData

type Nacm_RulelistClasses_RulelistClass

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

	// This attribute is a key. This is used to sort the rulelists in the order of
	// precedence. The type is string with length: 1..15.
	OrderingIndex interface{}

	// This attribute is a key. Rulelist key name. The type is string with length:
	// 1..63.
	RulelistName interface{}

	// List of groups that will be assigned with the rule.
	GroupNames Nacm_RulelistClasses_RulelistClass_GroupNames

	// Set of rules in a rulelist.
	Rules Nacm_RulelistClasses_RulelistClass_Rules
}

Nacm_RulelistClasses_RulelistClass Each rule list of NACM

func (*Nacm_RulelistClasses_RulelistClass) GetEntityData

func (rulelistClass *Nacm_RulelistClasses_RulelistClass) GetEntityData() *types.CommonEntityData

type Nacm_RulelistClasses_RulelistClass_GroupNames

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

	// Group name. The type is slice of string with length: 1..63.
	GroupName []interface{}
}

Nacm_RulelistClasses_RulelistClass_GroupNames List of groups that will be assigned with the rule

func (*Nacm_RulelistClasses_RulelistClass_GroupNames) GetEntityData

type Nacm_RulelistClasses_RulelistClass_Rules

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

	// Each rule in a rulelist. The type is slice of
	// Nacm_RulelistClasses_RulelistClass_Rules_Rule.
	Rule []*Nacm_RulelistClasses_RulelistClass_Rules_Rule
}

Nacm_RulelistClasses_RulelistClass_Rules Set of rules in a rulelist

func (*Nacm_RulelistClasses_RulelistClass_Rules) GetEntityData

type Nacm_RulelistClasses_RulelistClass_Rules_Rule

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

	// This attribute is a key. This is used to sort the rules in the order of
	// precedence. The type is string with length: 1..15.
	OrderingIndex interface{}

	// This attribute is a key. Rule name. The type is string with length: 1..63.
	RuleName interface{}

	// Name of the module associated with this rule. The type is string with
	// length: 1..63.
	ModuleName interface{}

	// The access control action associated with the rule. The type is NacmAction.
	// This attribute is mandatory.
	Action interface{}

	// Textual description of the access rule. The type is string with length:
	// 1..255.
	Comment interface{}

	// Rule Type associated with this rule.
	RuleType Nacm_RulelistClasses_RulelistClass_Rules_Rule_RuleType

	// Access operations associated with this rule.
	AccessOperations Nacm_RulelistClasses_RulelistClass_Rules_Rule_AccessOperations
}

Nacm_RulelistClasses_RulelistClass_Rules_Rule Each rule in a rulelist

func (*Nacm_RulelistClasses_RulelistClass_Rules_Rule) GetEntityData

type Nacm_RulelistClasses_RulelistClass_Rules_Rule_AccessOperations

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

	// Enable Create. The type is interface{} with range: 0..4294967295.
	Create interface{}

	// Enable Read. The type is interface{} with range: 0..4294967295.
	Read interface{}

	// Enable Update. The type is interface{} with range: 0..4294967295.
	Update interface{}

	// Enable Delete. The type is interface{} with range: 0..4294967295.
	Delete interface{}

	// Enable Exec. The type is interface{} with range: 0..4294967295.
	Exec interface{}

	// Enable All permissions. The type is interface{} with range: 0..4294967295.
	All interface{}
}

Nacm_RulelistClasses_RulelistClass_Rules_Rule_AccessOperations Access operations associated with this rule

func (*Nacm_RulelistClasses_RulelistClass_Rules_Rule_AccessOperations) GetEntityData

type Nacm_RulelistClasses_RulelistClass_Rules_Rule_RuleType

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

	// Rule Type. The type is NacmRule.
	Type interface{}

	// Rule Value. The type is string with length: 1..511.
	Value interface{}
}

Nacm_RulelistClasses_RulelistClass_Rules_Rule_RuleType Rule Type associated with this rule

func (*Nacm_RulelistClasses_RulelistClass_Rules_Rule_RuleType) GetEntityData

Jump to

Keyboard shortcuts

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