crypto_ssh_oper

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

This module contains definitions for the following management objects:

ssh1: Crypto Secure Shell(SSH) data
ssh: ssh

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 Authen

type Authen string

Authen represents SSH session authentication types

const (
	// Password
	Authen_password Authen = "password"

	// RSA public key encryption type
	Authen_rsa_public_key Authen = "rsa-public-key"

	// Keyboard interactive
	Authen_keyboard_interactive Authen = "keyboard-interactive"
)

type Cipher

type Cipher string

Cipher represents SSH session in and out cipher standards

const (
	// unknown
	Cipher_cipher_not_applicable Cipher = "cipher-not-applicable"

	// Advanced Encryption Standard(AES) 128 bits
	// cipher block chaining(CBC)
	Cipher_aes128_cbc Cipher = "aes128-cbc"

	// Advanced Encryption Standard(AES) 192 bits
	// cipher block chaining(CBC)
	Cipher_aes192_cbc Cipher = "aes192-cbc"

	// Advanced Encryption Standard(AES) 256 bits
	// cipher block chaining(CBC)
	Cipher_aes256_cbc Cipher = "aes256-cbc"

	// Triple Data Encryption Standard(DES) cipher
	// block chaining(CBC)
	Cipher_triple_des_cbc Cipher = "triple-des-cbc"

	// Advanced Encryption Standard(AES) 128 bits
	// counter mode (CTR)
	Cipher_aes128_ctr Cipher = "aes128-ctr"

	// Advanced Encryption Standard(AES) 192 bits
	// counter mode (CTR)
	Cipher_aes192_ctr Cipher = "aes192-ctr"

	// Advanced Encryption Standard(AES) 256 bits
	// counter mode (CTR)
	Cipher_aes256_ctr Cipher = "aes256-ctr"

	// Advanced Encryption Standard(AES) 128 bits GCM
	// mode (GCM)
	Cipher_aes128_gcm Cipher = "aes128-gcm"

	// Advanced Encryption Standard(AES) 256 bits GCM
	// mode (GCM)
	Cipher_aes256_gcm Cipher = "aes256-gcm"
)

type Connection

type Connection string

Connection represents SSH channel connection types

const (
	// connection type not yet known
	Connection_undefined Connection = "undefined"

	// Interactive Shell
	Connection_shell Connection = "shell"

	// Remote Command Execution
	Connection_exec Connection = "exec"

	// Secure Copy
	Connection_scp Connection = "scp"

	// Secure File Transfer
	Connection_sftp_subsystem Connection = "sftp-subsystem"

	// Netconf Subsystem
	Connection_netconf_subsystem Connection = "netconf-subsystem"

	// TL1 Subsystem
	Connection_tl1_subsystem Connection = "tl1-subsystem"

	// Netconf XML Subsystem
	Connection_netconf_xml_subsystem Connection = "netconf-xml-subsystem"
)

type Hostkey

type Hostkey string

Hostkey represents SSH session authentication types

const (
	// unknown
	Hostkey_host_key_not_applicable Hostkey = "host-key-not-applicable"

	// Algorithm type DSS
	Hostkey_ssh_dss Hostkey = "ssh-dss"

	// Algorithm type RSA
	Hostkey_ssh_rsa Hostkey = "ssh-rsa"

	// Algorithm type ECDSA NISTP521
	Hostkey_ecdsa_sha2_nistp521 Hostkey = "ecdsa-sha2-nistp521"

	// Algorithm type ECDSA NISTP384
	Hostkey_ecdsa_sha2_nistp384 Hostkey = "ecdsa-sha2-nistp384"

	// Algorithm type ECDSA NISTP256
	Hostkey_ecdsa_sha2_nistp256 Hostkey = "ecdsa-sha2-nistp256"
)

type KexName

type KexName string

KexName represents Different key-exchange(kex) algorithms

const (
	// unknown
	KexName_kex_not_applicable KexName = "kex-not-applicable"

	// Diffie-Hellman group 1 key exchange algorithm
	KexName_diffie_hellman_group1 KexName = "diffie-hellman-group1"

	// Diffie-Hellman group 14 key exchange algorithm
	KexName_diffie_hellman_group14 KexName = "diffie-hellman-group14"

	// Diffie-Hellman group 14 key exchange algorithm
	KexName_diffie_hellman_group15 KexName = "diffie-hellman-group15"

	// Diffie-Hellman group 16 key exchange algorithm
	KexName_diffie_hellman_group16 KexName = "diffie-hellman-group16"

	// Diffie-Hellman group 17 key exchange algorithm
	KexName_diffie_hellman_group17 KexName = "diffie-hellman-group17"

	// Diffie-Hellman key group 18 exchange algorithm
	KexName_diffie_hellman_group18 KexName = "diffie-hellman-group18"

	// Elliptical curve Diffie-Hellman prime 256 key
	// exchange algorithm
	KexName_ecdh_nistp256 KexName = "ecdh-nistp256"

	// Elliptical curve Diffie-Hellman prime 384 key
	// exchange algorithm
	KexName_ecdh_nistp384 KexName = "ecdh-nistp384"

	// Elliptical curve Diffie-Hellman prime 521
	// exchange algorithm
	KexName_ecdh_nistp521 KexName = "ecdh-nistp521"

	// Password authenticated key agreement algorithm
	KexName_password_authenticated KexName = "password-authenticated"
)

type Mac

type Mac string

Mac represents functions

const (
	// unknown
	Mac_mac_not_applicable Mac = "mac-not-applicable"

	// Hash-based Message Authentication Code(HMAC)
	// MD5 algorithm
	Mac_hmac_md5 Mac = "hmac-md5"

	// Hash-based Message Authentication Code(HMAC)
	// SHA1 algorithm
	Mac_hmac_sha1 Mac = "hmac-sha1"

	// Hash-based Message Authentication Code(HMAC)
	// SHA2-256 algorithm
	Mac_hmac_sha2_256 Mac = "hmac-sha2-256"

	// Hash-based Message Authentication Code(HMAC)
	// SHA2-512 algorithm
	Mac_hmac_sha2_512 Mac = "hmac-sha2-512"

	// AES GCM based Authentication Tag as MAC
	// algorithm
	Mac_aes_gcm Mac = "aes-gcm"
)

type Ssh

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

	// Crypto SSH session.
	Session Ssh_Session
}

Ssh ssh

func (*Ssh) GetEntityData

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

type Ssh1

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

	// key exchange method data.
	Kex Ssh1_Kex
}

Ssh1 Crypto Secure Shell(SSH) data

func (*Ssh1) GetEntityData

func (ssh1 *Ssh1) GetEntityData() *types.CommonEntityData

type Ssh1_Kex

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

	// Node-specific ssh session details.
	Nodes Ssh1_Kex_Nodes
}

Ssh1_Kex key exchange method data

func (*Ssh1_Kex) GetEntityData

func (kex *Ssh1_Kex) GetEntityData() *types.CommonEntityData

type Ssh1_Kex_Nodes

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

	// SSH session details for a particular node. The type is slice of
	// Ssh1_Kex_Nodes_Node.
	Node []*Ssh1_Kex_Nodes_Node
}

Ssh1_Kex_Nodes Node-specific ssh session details

func (*Ssh1_Kex_Nodes) GetEntityData

func (nodes *Ssh1_Kex_Nodes) GetEntityData() *types.CommonEntityData

type Ssh1_Kex_Nodes_Node

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

	// This attribute is a key. Node name. The type is string with pattern:
	// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
	NodeName interface{}

	// List of incoming sessions.
	IncomingSessions Ssh1_Kex_Nodes_Node_IncomingSessions

	// List of outgoing connections.
	OutgoingConnections Ssh1_Kex_Nodes_Node_OutgoingConnections
}

Ssh1_Kex_Nodes_Node SSH session details for a particular node

func (*Ssh1_Kex_Nodes_Node) GetEntityData

func (node *Ssh1_Kex_Nodes_Node) GetEntityData() *types.CommonEntityData

type Ssh1_Kex_Nodes_Node_IncomingSessions

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

	// session detail info. The type is slice of
	// Ssh1_Kex_Nodes_Node_IncomingSessions_SessionDetailInfo.
	SessionDetailInfo []*Ssh1_Kex_Nodes_Node_IncomingSessions_SessionDetailInfo
}

Ssh1_Kex_Nodes_Node_IncomingSessions List of incoming sessions

func (*Ssh1_Kex_Nodes_Node_IncomingSessions) GetEntityData

func (incomingSessions *Ssh1_Kex_Nodes_Node_IncomingSessions) GetEntityData() *types.CommonEntityData

type Ssh1_Kex_Nodes_Node_IncomingSessions_SessionDetailInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Key exchange name. The type is KexName.
	KeyExchange interface{}

	// Host key algorithm. The type is Hostkey.
	PublicKey interface{}

	// In cipher algorithm. The type is Cipher.
	InCipher interface{}

	// Out cipher algorithm. The type is Cipher.
	OutCipher interface{}

	// In MAC. The type is Mac.
	InMac interface{}

	// Out MAC. The type is Mac.
	OutMac interface{}

	// session start time. The type is string.
	StartTime interface{}

	// session end time. The type is string.
	EndTime interface{}
}

Ssh1_Kex_Nodes_Node_IncomingSessions_SessionDetailInfo session detail info

func (*Ssh1_Kex_Nodes_Node_IncomingSessions_SessionDetailInfo) GetEntityData

type Ssh1_Kex_Nodes_Node_OutgoingConnections

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

	// session detail info. The type is slice of
	// Ssh1_Kex_Nodes_Node_OutgoingConnections_SessionDetailInfo.
	SessionDetailInfo []*Ssh1_Kex_Nodes_Node_OutgoingConnections_SessionDetailInfo
}

Ssh1_Kex_Nodes_Node_OutgoingConnections List of outgoing connections

func (*Ssh1_Kex_Nodes_Node_OutgoingConnections) GetEntityData

func (outgoingConnections *Ssh1_Kex_Nodes_Node_OutgoingConnections) GetEntityData() *types.CommonEntityData

type Ssh1_Kex_Nodes_Node_OutgoingConnections_SessionDetailInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Key exchange name. The type is KexName.
	KeyExchange interface{}

	// Host key algorithm. The type is Hostkey.
	PublicKey interface{}

	// In cipher algorithm. The type is Cipher.
	InCipher interface{}

	// Out cipher algorithm. The type is Cipher.
	OutCipher interface{}

	// In MAC. The type is Mac.
	InMac interface{}

	// Out MAC. The type is Mac.
	OutMac interface{}

	// session start time. The type is string.
	StartTime interface{}

	// session end time. The type is string.
	EndTime interface{}
}

Ssh1_Kex_Nodes_Node_OutgoingConnections_SessionDetailInfo session detail info

func (*Ssh1_Kex_Nodes_Node_OutgoingConnections_SessionDetailInfo) GetEntityData

type Ssh_Session

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

	// SSH session rekey information.
	Rekey Ssh_Session_Rekey

	// SSH session history detail information.
	HistoryDetail Ssh_Session_HistoryDetail

	// SSH session brief information.
	Brief Ssh_Session_Brief

	// SSH session history information.
	History Ssh_Session_History

	// SSH session detail information.
	Detail Ssh_Session_Detail
}

Ssh_Session Crypto SSH session

func (*Ssh_Session) GetEntityData

func (session *Ssh_Session) GetEntityData() *types.CommonEntityData

type Ssh_Session_Brief

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

	// List of incoming sessions.
	IncomingSessions Ssh_Session_Brief_IncomingSessions

	// List of outgoing sessions.
	OutgoingSessions Ssh_Session_Brief_OutgoingSessions
}

Ssh_Session_Brief SSH session brief information

func (*Ssh_Session_Brief) GetEntityData

func (brief *Ssh_Session_Brief) GetEntityData() *types.CommonEntityData

type Ssh_Session_Brief_IncomingSessions

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

	// session brief info. The type is slice of
	// Ssh_Session_Brief_IncomingSessions_SessionBriefInfo.
	SessionBriefInfo []*Ssh_Session_Brief_IncomingSessions_SessionBriefInfo
}

Ssh_Session_Brief_IncomingSessions List of incoming sessions

func (*Ssh_Session_Brief_IncomingSessions) GetEntityData

func (incomingSessions *Ssh_Session_Brief_IncomingSessions) GetEntityData() *types.CommonEntityData

type Ssh_Session_Brief_IncomingSessions_SessionBriefInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Node name. The type is string with pattern:
	// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
	NodeName interface{}

	// SSH session state. The type is States.
	SessionState interface{}

	// User ID. The type is string.
	UserId interface{}

	// Host address. The type is string.
	HostAddress interface{}

	// SSH state version. The type is Version.
	Version interface{}

	// Authentication method. The type is Authen.
	AuthenticationType interface{}

	// List of channel info. The type is slice of
	// Ssh_Session_Brief_IncomingSessions_SessionBriefInfo_McInfo.
	McInfo []*Ssh_Session_Brief_IncomingSessions_SessionBriefInfo_McInfo
}

Ssh_Session_Brief_IncomingSessions_SessionBriefInfo session brief info

func (*Ssh_Session_Brief_IncomingSessions_SessionBriefInfo) GetEntityData

type Ssh_Session_Brief_IncomingSessions_SessionBriefInfo_McInfo

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

	// Channel ID. The type is interface{} with range: 0..4294967295.
	ChannelId interface{}

	// Channel Connection Type. The type is Connection.
	ConnectionType interface{}

	// VTY line number. The type is interface{} with range: 0..4294967295.
	VtyLineNumber interface{}

	// Boolean indicating whether line VTY line number is valid. The type is bool.
	VtyAssigned interface{}
}

Ssh_Session_Brief_IncomingSessions_SessionBriefInfo_McInfo List of channel info

func (*Ssh_Session_Brief_IncomingSessions_SessionBriefInfo_McInfo) GetEntityData

type Ssh_Session_Brief_OutgoingSessions

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

	// session brief info. The type is slice of
	// Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo.
	SessionBriefInfo []*Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo
}

Ssh_Session_Brief_OutgoingSessions List of outgoing sessions

func (*Ssh_Session_Brief_OutgoingSessions) GetEntityData

func (outgoingSessions *Ssh_Session_Brief_OutgoingSessions) GetEntityData() *types.CommonEntityData

type Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Node name. The type is string with pattern:
	// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
	NodeName interface{}

	// SSH session state. The type is States.
	SessionState interface{}

	// User ID. The type is string.
	UserId interface{}

	// Host address. The type is string.
	HostAddress interface{}

	// SSH state version. The type is Version.
	Version interface{}

	// Authentication method. The type is Authen.
	AuthenticationType interface{}

	// List of channel info. The type is slice of
	// Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo_McInfo.
	McInfo []*Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo_McInfo
}

Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo session brief info

func (*Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo) GetEntityData

type Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo_McInfo

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

	// Channel ID. The type is interface{} with range: 0..4294967295.
	ChannelId interface{}

	// Channel Connection Type. The type is Connection.
	ConnectionType interface{}

	// VTY line number. The type is interface{} with range: 0..4294967295.
	VtyLineNumber interface{}

	// Boolean indicating whether line VTY line number is valid. The type is bool.
	VtyAssigned interface{}
}

Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo_McInfo List of channel info

func (*Ssh_Session_Brief_OutgoingSessions_SessionBriefInfo_McInfo) GetEntityData

type Ssh_Session_Detail

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

	// List of incoming sessions.
	IncomingSessions Ssh_Session_Detail_IncomingSessions

	// List of outgoing connections.
	OutgoingConnections Ssh_Session_Detail_OutgoingConnections
}

Ssh_Session_Detail SSH session detail information

func (*Ssh_Session_Detail) GetEntityData

func (detail *Ssh_Session_Detail) GetEntityData() *types.CommonEntityData

type Ssh_Session_Detail_IncomingSessions

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

	// session detail info. The type is slice of
	// Ssh_Session_Detail_IncomingSessions_SessionDetailInfo.
	SessionDetailInfo []*Ssh_Session_Detail_IncomingSessions_SessionDetailInfo
}

Ssh_Session_Detail_IncomingSessions List of incoming sessions

func (*Ssh_Session_Detail_IncomingSessions) GetEntityData

func (incomingSessions *Ssh_Session_Detail_IncomingSessions) GetEntityData() *types.CommonEntityData

type Ssh_Session_Detail_IncomingSessions_SessionDetailInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Key exchange name. The type is KexName.
	KeyExchange interface{}

	// Host key algorithm. The type is Hostkey.
	PublicKey interface{}

	// In cipher algorithm. The type is Cipher.
	InCipher interface{}

	// Out cipher algorithm. The type is Cipher.
	OutCipher interface{}

	// In MAC. The type is Mac.
	InMac interface{}

	// Out MAC. The type is Mac.
	OutMac interface{}

	// session start time. The type is string.
	StartTime interface{}

	// session end time. The type is string.
	EndTime interface{}
}

Ssh_Session_Detail_IncomingSessions_SessionDetailInfo session detail info

func (*Ssh_Session_Detail_IncomingSessions_SessionDetailInfo) GetEntityData

type Ssh_Session_Detail_OutgoingConnections

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

	// session detail info. The type is slice of
	// Ssh_Session_Detail_OutgoingConnections_SessionDetailInfo.
	SessionDetailInfo []*Ssh_Session_Detail_OutgoingConnections_SessionDetailInfo
}

Ssh_Session_Detail_OutgoingConnections List of outgoing connections

func (*Ssh_Session_Detail_OutgoingConnections) GetEntityData

func (outgoingConnections *Ssh_Session_Detail_OutgoingConnections) GetEntityData() *types.CommonEntityData

type Ssh_Session_Detail_OutgoingConnections_SessionDetailInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Key exchange name. The type is KexName.
	KeyExchange interface{}

	// Host key algorithm. The type is Hostkey.
	PublicKey interface{}

	// In cipher algorithm. The type is Cipher.
	InCipher interface{}

	// Out cipher algorithm. The type is Cipher.
	OutCipher interface{}

	// In MAC. The type is Mac.
	InMac interface{}

	// Out MAC. The type is Mac.
	OutMac interface{}

	// session start time. The type is string.
	StartTime interface{}

	// session end time. The type is string.
	EndTime interface{}
}

Ssh_Session_Detail_OutgoingConnections_SessionDetailInfo session detail info

func (*Ssh_Session_Detail_OutgoingConnections_SessionDetailInfo) GetEntityData

type Ssh_Session_History

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

	// List of incoming sessions.
	IncomingSessions Ssh_Session_History_IncomingSessions
}

Ssh_Session_History SSH session history information

func (*Ssh_Session_History) GetEntityData

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

type Ssh_Session_HistoryDetail

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

	// List of incoming sessions.
	IncomingSessions Ssh_Session_HistoryDetail_IncomingSessions

	// List of outgoing connections.
	OutgoingConnections Ssh_Session_HistoryDetail_OutgoingConnections
}

Ssh_Session_HistoryDetail SSH session history detail information

func (*Ssh_Session_HistoryDetail) GetEntityData

func (historyDetail *Ssh_Session_HistoryDetail) GetEntityData() *types.CommonEntityData

type Ssh_Session_HistoryDetail_IncomingSessions

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

	// session detail info. The type is slice of
	// Ssh_Session_HistoryDetail_IncomingSessions_SessionDetailInfo.
	SessionDetailInfo []*Ssh_Session_HistoryDetail_IncomingSessions_SessionDetailInfo
}

Ssh_Session_HistoryDetail_IncomingSessions List of incoming sessions

func (*Ssh_Session_HistoryDetail_IncomingSessions) GetEntityData

func (incomingSessions *Ssh_Session_HistoryDetail_IncomingSessions) GetEntityData() *types.CommonEntityData

type Ssh_Session_HistoryDetail_IncomingSessions_SessionDetailInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Key exchange name. The type is KexName.
	KeyExchange interface{}

	// Host key algorithm. The type is Hostkey.
	PublicKey interface{}

	// In cipher algorithm. The type is Cipher.
	InCipher interface{}

	// Out cipher algorithm. The type is Cipher.
	OutCipher interface{}

	// In MAC. The type is Mac.
	InMac interface{}

	// Out MAC. The type is Mac.
	OutMac interface{}

	// session start time. The type is string.
	StartTime interface{}

	// session end time. The type is string.
	EndTime interface{}
}

Ssh_Session_HistoryDetail_IncomingSessions_SessionDetailInfo session detail info

func (*Ssh_Session_HistoryDetail_IncomingSessions_SessionDetailInfo) GetEntityData

type Ssh_Session_HistoryDetail_OutgoingConnections

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

	// session detail info. The type is slice of
	// Ssh_Session_HistoryDetail_OutgoingConnections_SessionDetailInfo.
	SessionDetailInfo []*Ssh_Session_HistoryDetail_OutgoingConnections_SessionDetailInfo
}

Ssh_Session_HistoryDetail_OutgoingConnections List of outgoing connections

func (*Ssh_Session_HistoryDetail_OutgoingConnections) GetEntityData

func (outgoingConnections *Ssh_Session_HistoryDetail_OutgoingConnections) GetEntityData() *types.CommonEntityData

type Ssh_Session_HistoryDetail_OutgoingConnections_SessionDetailInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Key exchange name. The type is KexName.
	KeyExchange interface{}

	// Host key algorithm. The type is Hostkey.
	PublicKey interface{}

	// In cipher algorithm. The type is Cipher.
	InCipher interface{}

	// Out cipher algorithm. The type is Cipher.
	OutCipher interface{}

	// In MAC. The type is Mac.
	InMac interface{}

	// Out MAC. The type is Mac.
	OutMac interface{}

	// session start time. The type is string.
	StartTime interface{}

	// session end time. The type is string.
	EndTime interface{}
}

Ssh_Session_HistoryDetail_OutgoingConnections_SessionDetailInfo session detail info

func (*Ssh_Session_HistoryDetail_OutgoingConnections_SessionDetailInfo) GetEntityData

type Ssh_Session_History_IncomingSessions

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

	// session history info. The type is slice of
	// Ssh_Session_History_IncomingSessions_SessionHistoryInfo.
	SessionHistoryInfo []*Ssh_Session_History_IncomingSessions_SessionHistoryInfo
}

Ssh_Session_History_IncomingSessions List of incoming sessions

func (*Ssh_Session_History_IncomingSessions) GetEntityData

func (incomingSessions *Ssh_Session_History_IncomingSessions) GetEntityData() *types.CommonEntityData

type Ssh_Session_History_IncomingSessions_SessionHistoryInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Node name. The type is string with pattern:
	// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
	NodeName interface{}

	// User ID. The type is string.
	UserId interface{}

	// Host address. The type is string.
	HostAddress interface{}

	// SSH state version. The type is Version.
	Version interface{}

	// Authentication method. The type is Authen.
	AuthenticationType interface{}

	// List of channel info. The type is slice of
	// Ssh_Session_History_IncomingSessions_SessionHistoryInfo_McInfo.
	McInfo []*Ssh_Session_History_IncomingSessions_SessionHistoryInfo_McInfo
}

Ssh_Session_History_IncomingSessions_SessionHistoryInfo session history info

func (*Ssh_Session_History_IncomingSessions_SessionHistoryInfo) GetEntityData

type Ssh_Session_History_IncomingSessions_SessionHistoryInfo_McInfo

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

	// Channel ID. The type is interface{} with range: 0..4294967295.
	ChannelId interface{}

	// Channel Connection Type. The type is Connection.
	ConnectionType interface{}

	// VTY line number. The type is interface{} with range: 0..4294967295.
	VtyLineNumber interface{}

	// Boolean indicating whether line VTY line number is valid. The type is bool.
	VtyAssigned interface{}
}

Ssh_Session_History_IncomingSessions_SessionHistoryInfo_McInfo List of channel info

func (*Ssh_Session_History_IncomingSessions_SessionHistoryInfo_McInfo) GetEntityData

type Ssh_Session_Rekey

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

	// List of incoming sessions.
	IncomingSessions Ssh_Session_Rekey_IncomingSessions

	// List of outgoing connections.
	OutgoingConnections Ssh_Session_Rekey_OutgoingConnections
}

Ssh_Session_Rekey SSH session rekey information

func (*Ssh_Session_Rekey) GetEntityData

func (rekey *Ssh_Session_Rekey) GetEntityData() *types.CommonEntityData

type Ssh_Session_Rekey_IncomingSessions

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

	// session rekey info. The type is slice of
	// Ssh_Session_Rekey_IncomingSessions_SessionRekeyInfo.
	SessionRekeyInfo []*Ssh_Session_Rekey_IncomingSessions_SessionRekeyInfo
}

Ssh_Session_Rekey_IncomingSessions List of incoming sessions

func (*Ssh_Session_Rekey_IncomingSessions) GetEntityData

func (incomingSessions *Ssh_Session_Rekey_IncomingSessions) GetEntityData() *types.CommonEntityData

type Ssh_Session_Rekey_IncomingSessions_SessionRekeyInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Session Rekey Count. The type is interface{} with range: 0..4294967295.
	SessionRekeyCount interface{}

	// Time To Rekey. The type is string.
	TimeToRekey interface{}

	// Volume To Rekey. The type is string.
	VolumeToRekey interface{}
}

Ssh_Session_Rekey_IncomingSessions_SessionRekeyInfo session rekey info

func (*Ssh_Session_Rekey_IncomingSessions_SessionRekeyInfo) GetEntityData

type Ssh_Session_Rekey_OutgoingConnections

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

	// session rekey info. The type is slice of
	// Ssh_Session_Rekey_OutgoingConnections_SessionRekeyInfo.
	SessionRekeyInfo []*Ssh_Session_Rekey_OutgoingConnections_SessionRekeyInfo
}

Ssh_Session_Rekey_OutgoingConnections List of outgoing connections

func (*Ssh_Session_Rekey_OutgoingConnections) GetEntityData

func (outgoingConnections *Ssh_Session_Rekey_OutgoingConnections) GetEntityData() *types.CommonEntityData

type Ssh_Session_Rekey_OutgoingConnections_SessionRekeyInfo

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

	// Session ID. The type is interface{} with range: 0..4294967295.
	SessionId interface{}

	// Session Rekey Count. The type is interface{} with range: 0..4294967295.
	SessionRekeyCount interface{}

	// Time To Rekey. The type is string.
	TimeToRekey interface{}

	// Volume To Rekey. The type is string.
	VolumeToRekey interface{}
}

Ssh_Session_Rekey_OutgoingConnections_SessionRekeyInfo session rekey info

func (*Ssh_Session_Rekey_OutgoingConnections_SessionRekeyInfo) GetEntityData

type States

type States string

States represents SSH session states

const (
	// SSH Open
	States_open States = "open"

	// SSH version OK
	States_version_ok States = "version-ok"

	// Key exchange(KEX) init message exchanged
	States_key_exchange_initialize States = "key-exchange-initialize"

	// Diffie-Hellman(DH) secret is generated
	States_key_exchange_dh States = "key-exchange-dh"

	// New keys are received
	States_new_keys States = "new-keys"

	// Need more information to authenticate
	States_authenticate_information States = "authenticate-information"

	// The client successfully authenticated
	States_authenticated States = "authenticated"

	// Channel has been successfully opened
	States_channel_open States = "channel-open"

	// Allocated PTY
	States_pty_open States = "pty-open"

	// Opened an exec shell
	States_session_open States = "session-open"

	// Received rekey request
	States_rekey States = "rekey"

	// Session is suspended
	States_suspended States = "suspended"

	// Session has been closed
	States_session_closed States = "session-closed"
)

type Version

type Version string

Version represents SSH state versions

const (
	// Version V2
	Version_v2 Version = "v2"

	// Version V1
	Version_v1 Version = "v1"
)

Jump to

Keyboard shortcuts

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