crypto_sam_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 crypto-sam package configuration.

This module contains definitions for the following management objects:

sam: Software Authentication Manager (SAM) Config

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 CryptoSamAction

type CryptoSamAction string

CryptoSamAction represents Crypto sam action

const (
	// To respond YES to the SAM prompt
	CryptoSamAction_proceed CryptoSamAction = "proceed"

	// To respond NO to the SAM prompt
	CryptoSamAction_terminate CryptoSamAction = "terminate"
)

type Sam

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

	// Set prompt interval at reboot time.
	PromptInterval Sam_PromptInterval
}

Sam Software Authentication Manager (SAM) Config

func (*Sam) GetEntityData

func (sam *Sam) GetEntityData() *types.CommonEntityData

type Sam_PromptInterval

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

	// Respond to SAM prompt either Proceed/Terminate. The type is
	// CryptoSamAction. This attribute is mandatory.
	Action interface{}

	// Prompt time from 0 - 300 seconds. The type is interface{} with range:
	// 0..300. This attribute is mandatory. Units are second.
	PromptTime interface{}
}

Sam_PromptInterval Set prompt interval at reboot time This type is a presence type.

func (*Sam_PromptInterval) GetEntityData

func (promptInterval *Sam_PromptInterval) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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