crypto_sam_oper

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 operational data.

This module contains definitions for the following management objects:

sam: Software authentication manager certificate information

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 CertificateIssuer

type CertificateIssuer string

CertificateIssuer represents Certificate issuers

const (
	// Issuer is not known
	CertificateIssuer_unknown CertificateIssuer = "unknown"

	// Issuer is code signing server certificate
	// authority
	CertificateIssuer_code_signing_server_certificate_authority CertificateIssuer = "code-signing-server-certificate-authority"
)

type LogCode

type LogCode string

LogCode represents Log code types

const (
	// Log code is not known
	LogCode_unknown LogCode = "unknown"

	// Log code is SAM server restarted through router
	// reboot
	LogCode_sam_server_restared_router_reboot LogCode = "sam-server-restared-router-reboot"

	// Log code is SAM server restarted
	LogCode_sam_server_restared LogCode = "sam-server-restared"

	// Log code is Added certificate in table
	LogCode_added_certificate_in_table LogCode = "added-certificate-in-table"

	// Log code is Copied certificate in table
	LogCode_copied_certificate_in_table LogCode = "copied-certificate-in-table"

	// Log code is Certificate flag changed
	LogCode_certificate_flag_changed LogCode = "certificate-flag-changed"

	// Log code is validated ceritificate
	LogCode_validated_certificate LogCode = "validated-certificate"

	// Log code is Ceritificate expired detected
	LogCode_certificate_expired_detected LogCode = "certificate-expired-detected"

	// Log code is Ceritificate revoked detected
	LogCode_certificate_revoked_detected LogCode = "certificate-revoked-detected"

	// Log code is CA Ceritificate expired detected
	LogCode_ca_certificate_expired_detected LogCode = "ca-certificate-expired-detected"

	// Log code is CA Ceritificate revoked detected
	LogCode_ca_certificate_revoked_detected LogCode = "ca-certificate-revoked-detected"

	// Log code is Deleted certificate from table
	LogCode_deleted_certificate_from_table LogCode = "deleted-certificate-from-table"

	// Log code is CRL added/updated in table
	LogCode_crl_added_updated_in_table LogCode = "crl-added-updated-in-table"

	// Log code is Checked memory digest
	LogCode_checked_memory_digest LogCode = "checked-memory-digest"

	// Log code is NVRAM digest Mistmatch detected
	LogCode_nvram_digest_mismatch_detected LogCode = "nvram-digest-mismatch-detected"

	// Log code is Insecure backup file detected
	LogCode_insecure_backup_file_detected LogCode = "insecure-backup-file-detected"

	// Log code is Error during restore operation,
	// backup file might have not been intact
	LogCode_error_restore_operation LogCode = "error-restore-operation"

	// Log code is Found backup file on NVRAM for SAM
	// log had been deleted
	LogCode_backup_file_on_nvram_deleted LogCode = "backup-file-on-nvram-deleted"

	// Log code is SAM log backup file recovered from
	// system database
	LogCode_sam_log_file_recovered_from_system_database LogCode = "sam-log-file-recovered-from-system-database"

	// Log code is validated ELF
	LogCode_validated_elf LogCode = "validated-elf"

	// Log code is SAM system database name space
	// deleted/recovered by SAM
	LogCode_namespace_deleted_recovered_by_sam LogCode = "namespace-deleted-recovered-by-sam"
)

type LogError

type LogError string

LogError represents Log errors

const (
	// Log error is not known
	LogError_unknown LogError = "unknown"

	// Log error is message error
	LogError_log_message_error LogError = "log-message-error"

	// Log error is get issuer name failed
	LogError_get_issuer_name_failed LogError = "get-issuer-name-failed"
)

type LogTables

type LogTables string

LogTables represents Log tables

const (
	// Table is not known
	LogTables_unkown LogTables = "unkown"

	// Table is memory digest table
	LogTables_memory_digest_table LogTables = "memory-digest-table"

	// Table is system database digest table
	LogTables_system_database_digest LogTables = "system-database-digest"

	// Table is SAM table
	LogTables_sam_tables LogTables = "sam-tables"
)

type Sam

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

	// SAM system information.
	SystemInformation Sam_SystemInformation

	// SAM log content table information.
	LogContents Sam_LogContents

	// Certificate device table information.
	Devices Sam_Devices

	// SAM certificate information  package.
	Packages Sam_Packages

	// Certificate revocation list index table information.
	CertificateRevocations Sam_CertificateRevocations

	// Certificate revocation list summary information .
	CertificateRevocationListSummary Sam_CertificateRevocationListSummary
}

Sam Software authentication manager certificate information

func (*Sam) GetEntityData

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

type Sam_CertificateRevocationListSummary

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

	// CRL index. The type is interface{} with range: 0..65535.
	CrlIndex interface{}

	// Updated time of CRL is displayed. The type is string.
	Updates interface{}

	// Issuer name.
	Issuer Sam_CertificateRevocationListSummary_Issuer
}

Sam_CertificateRevocationListSummary Certificate revocation list summary information

func (*Sam_CertificateRevocationListSummary) GetEntityData

func (certificateRevocationListSummary *Sam_CertificateRevocationListSummary) GetEntityData() *types.CommonEntityData

type Sam_CertificateRevocationListSummary_Issuer

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

	// Common name. The type is string.
	CommonName interface{}

	// Organization. The type is string.
	Organization interface{}

	// Country. The type is string.
	Country interface{}
}

Sam_CertificateRevocationListSummary_Issuer Issuer name

func (*Sam_CertificateRevocationListSummary_Issuer) GetEntityData

type Sam_CertificateRevocations

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

	// Certificate revocation list index information. The type is slice of
	// Sam_CertificateRevocations_CertificateRevocation.
	CertificateRevocation []*Sam_CertificateRevocations_CertificateRevocation
}

Sam_CertificateRevocations Certificate revocation list index table information

func (*Sam_CertificateRevocations) GetEntityData

func (certificateRevocations *Sam_CertificateRevocations) GetEntityData() *types.CommonEntityData

type Sam_CertificateRevocations_CertificateRevocation

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

	// This attribute is a key. CRL index. The type is interface{} with range:
	// 0..4294967295.
	CrlIndex interface{}

	// Certificate revocation list detail information.
	CertificateRevocationListDetail Sam_CertificateRevocations_CertificateRevocation_CertificateRevocationListDetail
}

Sam_CertificateRevocations_CertificateRevocation Certificate revocation list index information

func (*Sam_CertificateRevocations_CertificateRevocation) GetEntityData

func (certificateRevocation *Sam_CertificateRevocations_CertificateRevocation) GetEntityData() *types.CommonEntityData

type Sam_CertificateRevocations_CertificateRevocation_CertificateRevocationListDetail

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

	// CRL index. The type is interface{} with range: 0..65535.
	CrlIndex interface{}

	// Updated time of CRL is displayed. The type is string.
	Updates interface{}

	// Issuer name.
	Issuer Sam_CertificateRevocations_CertificateRevocation_CertificateRevocationListDetail_Issuer
}

Sam_CertificateRevocations_CertificateRevocation_CertificateRevocationListDetail Certificate revocation list detail information

func (*Sam_CertificateRevocations_CertificateRevocation_CertificateRevocationListDetail) GetEntityData

type Sam_CertificateRevocations_CertificateRevocation_CertificateRevocationListDetail_Issuer

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

	// Common name. The type is string.
	CommonName interface{}

	// Organization. The type is string.
	Organization interface{}

	// Country. The type is string.
	Country interface{}
}

Sam_CertificateRevocations_CertificateRevocation_CertificateRevocationListDetail_Issuer Issuer name

func (*Sam_CertificateRevocations_CertificateRevocation_CertificateRevocationListDetail_Issuer) GetEntityData

type Sam_Devices

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

	// Certificate table device information. The type is slice of
	// Sam_Devices_Device.
	Device []*Sam_Devices_Device
}

Sam_Devices Certificate device table information

func (*Sam_Devices) GetEntityData

func (devices *Sam_Devices) GetEntityData() *types.CommonEntityData

type Sam_Devices_Device

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

	// This attribute is a key. Specify device name. The type is string with
	// pattern: [\w\-\.:,_@#%$\+=\|;]+.
	DeviceName interface{}

	// Certificate table information.
	Certificate Sam_Devices_Device_Certificate
}

Sam_Devices_Device Certificate table device information

func (*Sam_Devices_Device) GetEntityData

func (device *Sam_Devices_Device) GetEntityData() *types.CommonEntityData

type Sam_Devices_Device_Certificate

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

	// Certificate table brief information.
	Brief Sam_Devices_Device_Certificate_Brief

	// Certificate detail index table information.
	CertificateIndexes Sam_Devices_Device_Certificate_CertificateIndexes
}

Sam_Devices_Device_Certificate Certificate table information

func (*Sam_Devices_Device_Certificate) GetEntityData

func (certificate *Sam_Devices_Device_Certificate) GetEntityData() *types.CommonEntityData

type Sam_Devices_Device_Certificate_Brief

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

	// Certificate location. The type is string.
	Location interface{}

	// Certificate index. The type is interface{} with range: 0..65535.
	CertificateIndex interface{}

	// Certificate flags.
	CertificateFlags Sam_Devices_Device_Certificate_Brief_CertificateFlags
}

Sam_Devices_Device_Certificate_Brief Certificate table brief information

func (*Sam_Devices_Device_Certificate_Brief) GetEntityData

type Sam_Devices_Device_Certificate_Brief_CertificateFlags

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

	// Trusted flag. The type is bool.
	IsTrusted interface{}

	// Revoked flag. The type is bool.
	IsRevoked interface{}

	// Expired flag. The type is bool.
	IsExpired interface{}

	// Validated flag. The type is bool.
	IsValidated interface{}
}

Sam_Devices_Device_Certificate_Brief_CertificateFlags Certificate flags

func (*Sam_Devices_Device_Certificate_Brief_CertificateFlags) GetEntityData

type Sam_Devices_Device_Certificate_CertificateIndexes

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

	// Certificate detail index information. The type is slice of
	// Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex.
	CertificateIndex []*Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex
}

Sam_Devices_Device_Certificate_CertificateIndexes Certificate detail index table information

func (*Sam_Devices_Device_Certificate_CertificateIndexes) GetEntityData

func (certificateIndexes *Sam_Devices_Device_Certificate_CertificateIndexes) GetEntityData() *types.CommonEntityData

type Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex

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

	// This attribute is a key. Specify certificate index. The type is interface{}
	// with range: 0..4294967295.
	Index interface{}

	// Certificate table detail information.
	Detail Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex_Detail
}

Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex Certificate detail index information

func (*Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex) GetEntityData

type Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex_Detail

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

	// Certificate location. The type is string.
	Location interface{}

	// Certificate index. The type is interface{} with range: 0..65535.
	CertificateIndex interface{}

	// Certificate flags.
	CertificateFlags Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex_Detail_CertificateFlags
}

Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex_Detail Certificate table detail information

func (*Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex_Detail) GetEntityData

type Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex_Detail_CertificateFlags

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

	// Trusted flag. The type is bool.
	IsTrusted interface{}

	// Revoked flag. The type is bool.
	IsRevoked interface{}

	// Expired flag. The type is bool.
	IsExpired interface{}

	// Validated flag. The type is bool.
	IsValidated interface{}
}

Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex_Detail_CertificateFlags Certificate flags

func (*Sam_Devices_Device_Certificate_CertificateIndexes_CertificateIndex_Detail_CertificateFlags) GetEntityData

type Sam_LogContents

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

	// Number of lines for SAM log message. The type is slice of
	// Sam_LogContents_LogContent.
	LogContent []*Sam_LogContents_LogContent
}

Sam_LogContents SAM log content table information

func (*Sam_LogContents) GetEntityData

func (logContents *Sam_LogContents) GetEntityData() *types.CommonEntityData

type Sam_LogContents_LogContent

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

	// This attribute is a key. Number of lines. The type is interface{} with
	// range: 0..4294967295.
	NumberOfLines interface{}

	// Total log entries available. The type is interface{} with range:
	// 0..4294967295.
	TotalEntries interface{}

	// Total entries shown. The type is interface{} with range: 0..4294967295.
	EntriesShown interface{}

	// SAM logs. The type is slice of Sam_LogContents_LogContent_Logs.
	Logs []*Sam_LogContents_LogContent_Logs
}

Sam_LogContents_LogContent Number of lines for SAM log message

func (*Sam_LogContents_LogContent) GetEntityData

func (logContent *Sam_LogContents_LogContent) GetEntityData() *types.CommonEntityData

type Sam_LogContents_LogContent_Logs

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

	// Log time. The type is string.
	Time interface{}

	// Log code. The type is LogCode.
	Code interface{}

	// Target device. The type is string.
	TargetDevice interface{}

	// Device index. The type is interface{} with range: 0..4294967295.
	Index interface{}

	// Log error message. The type is LogError.
	Error interface{}

	// Issuer of the certificate. The type is CertificateIssuer.
	Issuer interface{}

	// Serial number. The type is string.
	SerialNo interface{}

	// SAM table index. The type is interface{} with range: 0..4294967295.
	SamTableIndex interface{}

	// Last update time of the certificate. The type is string.
	UpdateTime interface{}

	// source device name. The type is string.
	SourceDevice interface{}

	// Log table information. The type is LogTables.
	Table interface{}
}

Sam_LogContents_LogContent_Logs SAM logs

func (*Sam_LogContents_LogContent_Logs) GetEntityData

type Sam_Packages

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

	// SAM certificate information for a specific package. The type is slice of
	// Sam_Packages_Package.
	Package []*Sam_Packages_Package
}

Sam_Packages SAM certificate information package

func (*Sam_Packages) GetEntityData

func (packages *Sam_Packages) GetEntityData() *types.CommonEntityData

type Sam_Packages_Package

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

	// This attribute is a key. Specify package name. The type is string.
	PackageName interface{}

	// Certificate location. The type is string.
	Location interface{}

	// Certificate index. The type is interface{} with range: 0..65535.
	CertificateIndex interface{}

	// Certificate flags.
	CertificateFlags Sam_Packages_Package_CertificateFlags
}

Sam_Packages_Package SAM certificate information for a specific package

func (*Sam_Packages_Package) GetEntityData

func (self *Sam_Packages_Package) GetEntityData() *types.CommonEntityData

type Sam_Packages_Package_CertificateFlags

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

	// Trusted flag. The type is bool.
	IsTrusted interface{}

	// Revoked flag. The type is bool.
	IsRevoked interface{}

	// Expired flag. The type is bool.
	IsExpired interface{}

	// Validated flag. The type is bool.
	IsValidated interface{}
}

Sam_Packages_Package_CertificateFlags Certificate flags

func (*Sam_Packages_Package_CertificateFlags) GetEntityData

func (certificateFlags *Sam_Packages_Package_CertificateFlags) GetEntityData() *types.CommonEntityData

type Sam_SystemInformation

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

	// True if SAM status information runs. The type is bool.
	IsRunning interface{}

	// Prompt interval atreboot time in seconds. The type is interface{} with
	// range: 0..4294967295. Units are second.
	PromptInterval interface{}

	// True if promptdefault response is true. The type is bool.
	IsDefaultResponse interface{}
}

Sam_SystemInformation SAM system information

func (*Sam_SystemInformation) GetEntityData

func (systemInformation *Sam_SystemInformation) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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