crypto_ssh_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 crypto-ssh package configuration.

This module contains definitions for the following management objects:

ssh: Secure Shell 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 Ssh

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

	// Provide SSH client service.
	Client Ssh_Client

	// Provide SSH server service.
	Server Ssh_Server

	// Provide SSH server service.
	BackupServer Ssh_BackupServer
}

Ssh Secure Shell configuration

func (*Ssh) GetEntityData

func (ssh *Ssh) GetEntityData() *types.CommonEntityData

type Ssh_BackupServer

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

	// backup server config.
	BackupPortVrf Ssh_BackupServer_BackupPortVrf
}

Ssh_BackupServer Provide SSH server service

func (*Ssh_BackupServer) GetEntityData

func (backupServer *Ssh_BackupServer) GetEntityData() *types.CommonEntityData

type Ssh_BackupServer_BackupPortVrf

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

	// Port number. The type is interface{} with range: 11000..15000. This
	// attribute is mandatory.
	Port interface{}

	// VRF name (max:32 chars). The type is string with length: 1..32. This
	// attribute is mandatory.
	VrfName interface{}
}

Ssh_BackupServer_BackupPortVrf backup server config This type is a presence type.

func (*Ssh_BackupServer_BackupPortVrf) GetEntityData

func (backupPortVrf *Ssh_BackupServer_BackupPortVrf) GetEntityData() *types.CommonEntityData

type Ssh_Client

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

	// Configure client volume-based rekey for SSH. The type is interface{} with
	// range: 1024..4095. The default value is 1024.
	RekeyVolume interface{}

	// Filename - where to store known host file. The type is string.
	HostPublicKey interface{}

	// Source interface VRF for ssh client sessions. The type is string with
	// length: 1..32.
	ClientVrf interface{}

	// Cisco ssh client force protocol version 2 only. The type is interface{}.
	V2 interface{}

	// Set SSH Client Tcp Window Scale factor. The type is interface{} with range:
	// 1..14. The default value is 1.
	TcpWindowScale interface{}

	// Configure client time-based rekey for SSH. The type is interface{} with
	// range: 30..1440. Units are minute. The default value is 60.
	RekeyTime interface{}

	// Source interface for ssh client sessions. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	SourceInterface interface{}

	// Cisco sshd DSCP value. The type is interface{} with range: 0..63.
	Dscp interface{}

	// Cisco ssh algorithms.
	ClientAlgo Ssh_Client_ClientAlgo

	// clientenable.
	ClientEnable Ssh_Client_ClientEnable
}

Ssh_Client Provide SSH client service

func (*Ssh_Client) GetEntityData

func (client *Ssh_Client) GetEntityData() *types.CommonEntityData

type Ssh_Client_ClientAlgo

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

	// Key exchange algorithm.
	KeyExchanges Ssh_Client_ClientAlgo_KeyExchanges
}

Ssh_Client_ClientAlgo Cisco ssh algorithms

func (*Ssh_Client_ClientAlgo) GetEntityData

func (clientAlgo *Ssh_Client_ClientAlgo) GetEntityData() *types.CommonEntityData

type Ssh_Client_ClientAlgo_KeyExchanges

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

	// key exchange algorithm. The type is slice of string with length: 1..32.
	KeyExchange []interface{}
}

Ssh_Client_ClientAlgo_KeyExchanges Key exchange algorithm

func (*Ssh_Client_ClientAlgo_KeyExchanges) GetEntityData

func (keyExchanges *Ssh_Client_ClientAlgo_KeyExchanges) GetEntityData() *types.CommonEntityData

type Ssh_Client_ClientEnable

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

	// Enable AES-CBC and 3DES_CBC for ssh client.
	ClientCipher Ssh_Client_ClientEnable_ClientCipher
}

Ssh_Client_ClientEnable clientenable

func (*Ssh_Client_ClientEnable) GetEntityData

func (clientEnable *Ssh_Client_ClientEnable) GetEntityData() *types.CommonEntityData

type Ssh_Client_ClientEnable_ClientCipher

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

	// Enable AES-CBC ciphers. The type is bool. The default value is false.
	AesCbc interface{}

	// Enable 3DES-CBC cipher. The type is bool. The default value is false.
	TripledesCbc interface{}
}

Ssh_Client_ClientEnable_ClientCipher Enable AES-CBC and 3DES_CBC for ssh client

func (*Ssh_Client_ClientEnable_ClientCipher) GetEntityData

func (clientCipher *Ssh_Client_ClientEnable_ClientCipher) GetEntityData() *types.CommonEntityData

type Ssh_Server

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

	// Configure volume-based rekey for SSH. The type is interface{} with range:
	// 1024..4095. The default value is 1024.
	RekeyVolume interface{}

	// Cisco sshd session-limit of service requests. The type is interface{} with
	// range: 1..110.
	SessionLimit interface{}

	// port number on which ssh service to be started for netconf. The type is
	// interface{} with range: 1..65535. The default value is 830.
	Netconf interface{}

	// Cisco sshd force protocol version 2 only. The type is interface{}.
	V2 interface{}

	// Set SSH Server Tcp Window Scale factor. The type is interface{} with range:
	// 1..14. The default value is 1.
	TcpWindowScale interface{}

	// Time Period in minutes, defalut 60. The type is interface{} with range:
	// 30..1440. Units are minute. The default value is 60.
	RekeyTime interface{}

	// Enable ssh server logging. The type is interface{}.
	Logging interface{}

	// Cisco sshd rate-limit of service requests. The type is interface{} with
	// range: 1..600. The default value is 60.
	RateLimit interface{}

	// Timeout value between 5-120 seconds defalut 30. The type is interface{}
	// with range: 5..120. Units are second. The default value is 30.
	Timeout interface{}

	// Cisco sshd DSCP value. The type is interface{} with range: 0..63.
	Dscp interface{}

	// disable.
	Disable Ssh_Server_Disable

	// enable.
	Enable Ssh_Server_Enable

	// Cisco sshd VRF name.
	VrfTable Ssh_Server_VrfTable

	// Cisco ssh algorithms.
	ServerAlgo Ssh_Server_ServerAlgo

	// Capability.
	Capability Ssh_Server_Capability

	// Cisco sshd Netconf VRF name.
	NetconfVrfTable Ssh_Server_NetconfVrfTable
}

Ssh_Server Provide SSH server service

func (*Ssh_Server) GetEntityData

func (server *Ssh_Server) GetEntityData() *types.CommonEntityData

type Ssh_Server_Capability

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

	// Enable Netconf-XML stack on port 22. The type is bool. The default value is
	// false.
	NetconfXml interface{}
}

Ssh_Server_Capability Capability

func (*Ssh_Server_Capability) GetEntityData

func (capability *Ssh_Server_Capability) GetEntityData() *types.CommonEntityData

type Ssh_Server_Disable

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

	// hmac.
	Hmac Ssh_Server_Disable_Hmac
}

Ssh_Server_Disable disable

func (*Ssh_Server_Disable) GetEntityData

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

type Ssh_Server_Disable_Hmac

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

	// Disable Hmac-sha2-512 negotiation. The type is bool. The default value is
	// false.
	HmacSha512 interface{}
}

Ssh_Server_Disable_Hmac hmac

func (*Ssh_Server_Disable_Hmac) GetEntityData

func (hmac *Ssh_Server_Disable_Hmac) GetEntityData() *types.CommonEntityData

type Ssh_Server_Enable

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

	// Enable AES-CBC and 3DES-CBC ciphers.
	Cipher Ssh_Server_Enable_Cipher
}

Ssh_Server_Enable enable

func (*Ssh_Server_Enable) GetEntityData

func (enable *Ssh_Server_Enable) GetEntityData() *types.CommonEntityData

type Ssh_Server_Enable_Cipher

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

	// Enable aes-cbc ciphers. The type is bool. The default value is false.
	AesCbc interface{}

	// Enable 3des-cbc cipher. The type is bool. The default value is false.
	TripledesCbc interface{}
}

Ssh_Server_Enable_Cipher Enable AES-CBC and 3DES-CBC ciphers

func (*Ssh_Server_Enable_Cipher) GetEntityData

func (cipher *Ssh_Server_Enable_Cipher) GetEntityData() *types.CommonEntityData

type Ssh_Server_NetconfVrfTable

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

	// Enter VRF name. The type is slice of Ssh_Server_NetconfVrfTable_Vrf.
	Vrf []*Ssh_Server_NetconfVrfTable_Vrf
}

Ssh_Server_NetconfVrfTable Cisco sshd Netconf VRF name

func (*Ssh_Server_NetconfVrfTable) GetEntityData

func (netconfVrfTable *Ssh_Server_NetconfVrfTable) GetEntityData() *types.CommonEntityData

type Ssh_Server_NetconfVrfTable_Vrf

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

	// This attribute is a key. Enter VRF name. The type is string with length:
	// 1..32.
	VrfName interface{}

	// Enable to use VRF. The type is interface{}. This attribute is mandatory.
	Enable interface{}

	// SSH v4 access-list name. The type is string with length: 1..32.
	Ipv4AccessList interface{}

	// SSH v6 access-list name. The type is string with length: 1..32.
	Ipv6AccessList interface{}
}

Ssh_Server_NetconfVrfTable_Vrf Enter VRF name

func (*Ssh_Server_NetconfVrfTable_Vrf) GetEntityData

type Ssh_Server_ServerAlgo

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

	// Key exchange algorithm.
	KeyExchanges Ssh_Server_ServerAlgo_KeyExchanges
}

Ssh_Server_ServerAlgo Cisco ssh algorithms

func (*Ssh_Server_ServerAlgo) GetEntityData

func (serverAlgo *Ssh_Server_ServerAlgo) GetEntityData() *types.CommonEntityData

type Ssh_Server_ServerAlgo_KeyExchanges

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

	// key exchange algorithm. The type is slice of string with length: 1..32.
	KeyExchange []interface{}
}

Ssh_Server_ServerAlgo_KeyExchanges Key exchange algorithm

func (*Ssh_Server_ServerAlgo_KeyExchanges) GetEntityData

func (keyExchanges *Ssh_Server_ServerAlgo_KeyExchanges) GetEntityData() *types.CommonEntityData

type Ssh_Server_VrfTable

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

	// Enter VRF name. The type is slice of Ssh_Server_VrfTable_Vrf.
	Vrf []*Ssh_Server_VrfTable_Vrf
}

Ssh_Server_VrfTable Cisco sshd VRF name

func (*Ssh_Server_VrfTable) GetEntityData

func (vrfTable *Ssh_Server_VrfTable) GetEntityData() *types.CommonEntityData

type Ssh_Server_VrfTable_Vrf

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

	// This attribute is a key. Enter VRF name. The type is string with length:
	// 1..32.
	VrfName interface{}

	// Enable to use VRF. The type is interface{}. This attribute is mandatory.
	Enable interface{}

	// SSH v4 access-list name. The type is string with length: 1..32.
	Ipv4AccessList interface{}

	// SSH v6 access-list name. The type is string with length: 1..32.
	Ipv6AccessList interface{}
}

Ssh_Server_VrfTable_Vrf Enter VRF name

func (*Ssh_Server_VrfTable_Vrf) GetEntityData

func (vrf *Ssh_Server_VrfTable_Vrf) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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