ipsec

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KeyPrefix is the relative key prefix for IPSec
	KeyPrefix = "vpp/config/v1/ipsec/"
	// KeyPrefixSPD is the relative key prefix for IPSec's Security Policy Databases
	KeyPrefixSPD = KeyPrefix + "spd/"
	// KeyPrefixSA is the relative key prefix for IPSec's Security Associations
	KeyPrefixSA = KeyPrefix + "sa/"
	// KeyPrefixTunnel is the relative key prefix for IPSec's Tunnel Interface
	KeyPrefixTunnel = KeyPrefix + "tunnel/"
)

Prefixes

Variables

View Source
var (
	CryptoAlgorithm_name = map[int32]string{
		0: "NONE_CRYPTO",
		1: "AES_CBC_128",
		2: "AES_CBC_192",
		3: "AES_CBC_256",
	}
	CryptoAlgorithm_value = map[string]int32{
		"NONE_CRYPTO": 0,
		"AES_CBC_128": 1,
		"AES_CBC_192": 2,
		"AES_CBC_256": 3,
	}
)

Enum value maps for CryptoAlgorithm.

View Source
var (
	IntegAlgorithm_name = map[int32]string{
		0: "NONE_INTEG",
		1: "MD5_96",
		2: "SHA1_96",
		3: "SHA_256_96",
		4: "SHA_256_128",
		5: "SHA_384_192",
		6: "SHA_512_256",
	}
	IntegAlgorithm_value = map[string]int32{
		"NONE_INTEG":  0,
		"MD5_96":      1,
		"SHA1_96":     2,
		"SHA_256_96":  3,
		"SHA_256_128": 4,
		"SHA_384_192": 5,
		"SHA_512_256": 6,
	}
)

Enum value maps for IntegAlgorithm.

View Source
var (
	SecurityPolicyDatabases_SPD_PolicyEntry_Action_name = map[int32]string{
		0: "BYPASS",
		1: "DISCARD",
		3: "PROTECT",
	}
	SecurityPolicyDatabases_SPD_PolicyEntry_Action_value = map[string]int32{
		"BYPASS":  0,
		"DISCARD": 1,
		"PROTECT": 3,
	}
)

Enum value maps for SecurityPolicyDatabases_SPD_PolicyEntry_Action.

View Source
var (
	SecurityAssociations_SA_IPSecProtocol_name = map[int32]string{
		0: "AH",
		1: "ESP",
	}
	SecurityAssociations_SA_IPSecProtocol_value = map[string]int32{
		"AH":  0,
		"ESP": 1,
	}
)

Enum value maps for SecurityAssociations_SA_IPSecProtocol.

View Source
var File_ipsec_ipsec_proto protoreflect.FileDescriptor

Functions

func SAKey

func SAKey(name string) string

SAKey returns key for Security Association

func SPDKey

func SPDKey(name string) string

SPDKey returns key for Security Policy Database

func TunnelKey

func TunnelKey(name string) string

TunnelKey returns key for Tunnel Interface

Types

type CryptoAlgorithm

type CryptoAlgorithm int32

Cryptographic algorithm for encryption

const (
	CryptoAlgorithm_NONE_CRYPTO CryptoAlgorithm = 0
	CryptoAlgorithm_AES_CBC_128 CryptoAlgorithm = 1
	CryptoAlgorithm_AES_CBC_192 CryptoAlgorithm = 2
	CryptoAlgorithm_AES_CBC_256 CryptoAlgorithm = 3
)

func (CryptoAlgorithm) Descriptor

func (CryptoAlgorithm) Enum

func (x CryptoAlgorithm) Enum() *CryptoAlgorithm

func (CryptoAlgorithm) EnumDescriptor deprecated

func (CryptoAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use CryptoAlgorithm.Descriptor instead.

func (CryptoAlgorithm) Number

func (CryptoAlgorithm) String

func (x CryptoAlgorithm) String() string

func (CryptoAlgorithm) Type

type IntegAlgorithm

type IntegAlgorithm int32

Cryptographic algorithm for authentication

const (
	IntegAlgorithm_NONE_INTEG  IntegAlgorithm = 0
	IntegAlgorithm_MD5_96      IntegAlgorithm = 1
	IntegAlgorithm_SHA1_96     IntegAlgorithm = 2
	IntegAlgorithm_SHA_256_96  IntegAlgorithm = 3
	IntegAlgorithm_SHA_256_128 IntegAlgorithm = 4
	IntegAlgorithm_SHA_384_192 IntegAlgorithm = 5
	IntegAlgorithm_SHA_512_256 IntegAlgorithm = 6
)

func (IntegAlgorithm) Descriptor

func (IntegAlgorithm) Enum

func (x IntegAlgorithm) Enum() *IntegAlgorithm

func (IntegAlgorithm) EnumDescriptor deprecated

func (IntegAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use IntegAlgorithm.Descriptor instead.

func (IntegAlgorithm) Number

func (IntegAlgorithm) String

func (x IntegAlgorithm) String() string

func (IntegAlgorithm) Type

type ResyncRequest

type ResyncRequest struct {
	Tunnels []*TunnelInterfaces_Tunnel     `protobuf:"bytes,1,rep,name=tunnels,proto3" json:"tunnels,omitempty"`
	Spds    []*SecurityPolicyDatabases_SPD `protobuf:"bytes,2,rep,name=spds,proto3" json:"spds,omitempty"`
	Sas     []*SecurityAssociations_SA     `protobuf:"bytes,3,rep,name=sas,proto3" json:"sas,omitempty"`
	// contains filtered or unexported fields
}

func (*ResyncRequest) Descriptor deprecated

func (*ResyncRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResyncRequest.ProtoReflect.Descriptor instead.

func (*ResyncRequest) GetSas

func (x *ResyncRequest) GetSas() []*SecurityAssociations_SA

func (*ResyncRequest) GetSpds

func (*ResyncRequest) GetTunnels

func (x *ResyncRequest) GetTunnels() []*TunnelInterfaces_Tunnel

func (*ResyncRequest) ProtoMessage

func (*ResyncRequest) ProtoMessage()

func (*ResyncRequest) ProtoReflect

func (x *ResyncRequest) ProtoReflect() protoreflect.Message

func (*ResyncRequest) Reset

func (x *ResyncRequest) Reset()

func (*ResyncRequest) String

func (x *ResyncRequest) String() string

type SecurityAssociations

type SecurityAssociations struct {
	Sas []*SecurityAssociations_SA `protobuf:"bytes,1,rep,name=sas,proto3" json:"sas,omitempty"`
	// contains filtered or unexported fields
}

Security Association (SA)

func (*SecurityAssociations) Descriptor deprecated

func (*SecurityAssociations) Descriptor() ([]byte, []int)

Deprecated: Use SecurityAssociations.ProtoReflect.Descriptor instead.

func (*SecurityAssociations) GetSas

func (*SecurityAssociations) ProtoMessage

func (*SecurityAssociations) ProtoMessage()

func (*SecurityAssociations) ProtoReflect

func (x *SecurityAssociations) ProtoReflect() protoreflect.Message

func (*SecurityAssociations) Reset

func (x *SecurityAssociations) Reset()

func (*SecurityAssociations) String

func (x *SecurityAssociations) String() string

type SecurityAssociations_SA

type SecurityAssociations_SA struct {
	Name           string                                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // security association name
	Spi            uint32                                `protobuf:"varint,2,opt,name=spi,proto3" json:"spi,omitempty"`  // security parameter index
	Protocol       SecurityAssociations_SA_IPSecProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=ipsec.SecurityAssociations_SA_IPSecProtocol" json:"protocol,omitempty"`
	CryptoAlg      CryptoAlgorithm                       `protobuf:"varint,4,opt,name=crypto_alg,json=cryptoAlg,proto3,enum=ipsec.CryptoAlgorithm" json:"crypto_alg,omitempty"`
	CryptoKey      string                                `protobuf:"bytes,5,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"`
	IntegAlg       IntegAlgorithm                        `protobuf:"varint,6,opt,name=integ_alg,json=integAlg,proto3,enum=ipsec.IntegAlgorithm" json:"integ_alg,omitempty"`
	IntegKey       string                                `protobuf:"bytes,7,opt,name=integ_key,json=integKey,proto3" json:"integ_key,omitempty"`
	UseEsn         bool                                  `protobuf:"varint,8,opt,name=use_esn,json=useEsn,proto3" json:"use_esn,omitempty"`                        // Use extended sequence number
	UseAntiReplay  bool                                  `protobuf:"varint,9,opt,name=use_anti_replay,json=useAntiReplay,proto3" json:"use_anti_replay,omitempty"` // Use anti replay
	TunnelSrcAddr  string                                `protobuf:"bytes,10,opt,name=tunnel_src_addr,json=tunnelSrcAddr,proto3" json:"tunnel_src_addr,omitempty"`
	TunnelDstAddr  string                                `protobuf:"bytes,11,opt,name=tunnel_dst_addr,json=tunnelDstAddr,proto3" json:"tunnel_dst_addr,omitempty"`
	EnableUdpEncap bool                                  `protobuf:"varint,12,opt,name=enable_udp_encap,json=enableUdpEncap,proto3" json:"enable_udp_encap,omitempty"` // Enable UDP encapsulation for NAT traversal
	// contains filtered or unexported fields
}

func (*SecurityAssociations_SA) Descriptor deprecated

func (*SecurityAssociations_SA) Descriptor() ([]byte, []int)

Deprecated: Use SecurityAssociations_SA.ProtoReflect.Descriptor instead.

func (*SecurityAssociations_SA) GetCryptoAlg

func (x *SecurityAssociations_SA) GetCryptoAlg() CryptoAlgorithm

func (*SecurityAssociations_SA) GetCryptoKey

func (x *SecurityAssociations_SA) GetCryptoKey() string

func (*SecurityAssociations_SA) GetEnableUdpEncap

func (x *SecurityAssociations_SA) GetEnableUdpEncap() bool

func (*SecurityAssociations_SA) GetIntegAlg

func (x *SecurityAssociations_SA) GetIntegAlg() IntegAlgorithm

func (*SecurityAssociations_SA) GetIntegKey

func (x *SecurityAssociations_SA) GetIntegKey() string

func (*SecurityAssociations_SA) GetName

func (x *SecurityAssociations_SA) GetName() string

func (*SecurityAssociations_SA) GetProtocol

func (*SecurityAssociations_SA) GetSpi

func (x *SecurityAssociations_SA) GetSpi() uint32

func (*SecurityAssociations_SA) GetTunnelDstAddr

func (x *SecurityAssociations_SA) GetTunnelDstAddr() string

func (*SecurityAssociations_SA) GetTunnelSrcAddr

func (x *SecurityAssociations_SA) GetTunnelSrcAddr() string

func (*SecurityAssociations_SA) GetUseAntiReplay

func (x *SecurityAssociations_SA) GetUseAntiReplay() bool

func (*SecurityAssociations_SA) GetUseEsn

func (x *SecurityAssociations_SA) GetUseEsn() bool

func (*SecurityAssociations_SA) ProtoMessage

func (*SecurityAssociations_SA) ProtoMessage()

func (*SecurityAssociations_SA) ProtoReflect

func (x *SecurityAssociations_SA) ProtoReflect() protoreflect.Message

func (*SecurityAssociations_SA) Reset

func (x *SecurityAssociations_SA) Reset()

func (*SecurityAssociations_SA) String

func (x *SecurityAssociations_SA) String() string

type SecurityAssociations_SA_IPSecProtocol

type SecurityAssociations_SA_IPSecProtocol int32

IPSec protocol

const (
	SecurityAssociations_SA_AH  SecurityAssociations_SA_IPSecProtocol = 0
	SecurityAssociations_SA_ESP SecurityAssociations_SA_IPSecProtocol = 1
)

func (SecurityAssociations_SA_IPSecProtocol) Descriptor

func (SecurityAssociations_SA_IPSecProtocol) Enum

func (SecurityAssociations_SA_IPSecProtocol) EnumDescriptor deprecated

func (SecurityAssociations_SA_IPSecProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecurityAssociations_SA_IPSecProtocol.Descriptor instead.

func (SecurityAssociations_SA_IPSecProtocol) Number

func (SecurityAssociations_SA_IPSecProtocol) String

func (SecurityAssociations_SA_IPSecProtocol) Type

type SecurityPolicyDatabases

type SecurityPolicyDatabases struct {
	Spds []*SecurityPolicyDatabases_SPD `protobuf:"bytes,1,rep,name=spds,proto3" json:"spds,omitempty"` // list of all SPDs
	// contains filtered or unexported fields
}

Security Policy Database (SPD)

func (*SecurityPolicyDatabases) Descriptor deprecated

func (*SecurityPolicyDatabases) Descriptor() ([]byte, []int)

Deprecated: Use SecurityPolicyDatabases.ProtoReflect.Descriptor instead.

func (*SecurityPolicyDatabases) GetSpds

func (*SecurityPolicyDatabases) ProtoMessage

func (*SecurityPolicyDatabases) ProtoMessage()

func (*SecurityPolicyDatabases) ProtoReflect

func (x *SecurityPolicyDatabases) ProtoReflect() protoreflect.Message

func (*SecurityPolicyDatabases) Reset

func (x *SecurityPolicyDatabases) Reset()

func (*SecurityPolicyDatabases) String

func (x *SecurityPolicyDatabases) String() string

type SecurityPolicyDatabases_SPD

type SecurityPolicyDatabases_SPD struct {
	Name          string                                     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Interfaces    []*SecurityPolicyDatabases_SPD_Interface   `protobuf:"bytes,2,rep,name=interfaces,proto3" json:"interfaces,omitempty"`                            // list of interfaces belonging to this SPD
	PolicyEntries []*SecurityPolicyDatabases_SPD_PolicyEntry `protobuf:"bytes,3,rep,name=policy_entries,json=policyEntries,proto3" json:"policy_entries,omitempty"` // list of policy entries belonging to this SPD
	// contains filtered or unexported fields
}

func (*SecurityPolicyDatabases_SPD) Descriptor deprecated

func (*SecurityPolicyDatabases_SPD) Descriptor() ([]byte, []int)

Deprecated: Use SecurityPolicyDatabases_SPD.ProtoReflect.Descriptor instead.

func (*SecurityPolicyDatabases_SPD) GetInterfaces

func (*SecurityPolicyDatabases_SPD) GetName

func (x *SecurityPolicyDatabases_SPD) GetName() string

func (*SecurityPolicyDatabases_SPD) GetPolicyEntries

func (*SecurityPolicyDatabases_SPD) ProtoMessage

func (*SecurityPolicyDatabases_SPD) ProtoMessage()

func (*SecurityPolicyDatabases_SPD) ProtoReflect

func (*SecurityPolicyDatabases_SPD) Reset

func (x *SecurityPolicyDatabases_SPD) Reset()

func (*SecurityPolicyDatabases_SPD) String

func (x *SecurityPolicyDatabases_SPD) String() string

type SecurityPolicyDatabases_SPD_Interface

type SecurityPolicyDatabases_SPD_Interface struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // interface name
	// contains filtered or unexported fields
}

Interface

func (*SecurityPolicyDatabases_SPD_Interface) Descriptor deprecated

func (*SecurityPolicyDatabases_SPD_Interface) Descriptor() ([]byte, []int)

Deprecated: Use SecurityPolicyDatabases_SPD_Interface.ProtoReflect.Descriptor instead.

func (*SecurityPolicyDatabases_SPD_Interface) GetName

func (*SecurityPolicyDatabases_SPD_Interface) ProtoMessage

func (*SecurityPolicyDatabases_SPD_Interface) ProtoMessage()

func (*SecurityPolicyDatabases_SPD_Interface) ProtoReflect

func (*SecurityPolicyDatabases_SPD_Interface) Reset

func (*SecurityPolicyDatabases_SPD_Interface) String

type SecurityPolicyDatabases_SPD_PolicyEntry

type SecurityPolicyDatabases_SPD_PolicyEntry struct {
	Sa              string                                         `protobuf:"bytes,1,opt,name=sa,proto3" json:"sa,omitempty"` // security association name
	Priority        int32                                          `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	IsOutbound      bool                                           `protobuf:"varint,3,opt,name=is_outbound,json=isOutbound,proto3" json:"is_outbound,omitempty"`
	RemoteAddrStart string                                         `protobuf:"bytes,4,opt,name=remote_addr_start,json=remoteAddrStart,proto3" json:"remote_addr_start,omitempty"`
	RemoteAddrStop  string                                         `protobuf:"bytes,5,opt,name=remote_addr_stop,json=remoteAddrStop,proto3" json:"remote_addr_stop,omitempty"`
	LocalAddrStart  string                                         `protobuf:"bytes,6,opt,name=local_addr_start,json=localAddrStart,proto3" json:"local_addr_start,omitempty"`
	LocalAddrStop   string                                         `protobuf:"bytes,7,opt,name=local_addr_stop,json=localAddrStop,proto3" json:"local_addr_stop,omitempty"`
	Protocol        uint32                                         `protobuf:"varint,8,opt,name=protocol,proto3" json:"protocol,omitempty"`
	RemotePortStart uint32                                         `protobuf:"varint,9,opt,name=remote_port_start,json=remotePortStart,proto3" json:"remote_port_start,omitempty"`
	RemotePortStop  uint32                                         `protobuf:"varint,10,opt,name=remote_port_stop,json=remotePortStop,proto3" json:"remote_port_stop,omitempty"`
	LocalPortStart  uint32                                         `protobuf:"varint,11,opt,name=local_port_start,json=localPortStart,proto3" json:"local_port_start,omitempty"`
	LocalPortStop   uint32                                         `protobuf:"varint,12,opt,name=local_port_stop,json=localPortStop,proto3" json:"local_port_stop,omitempty"`
	Action          SecurityPolicyDatabases_SPD_PolicyEntry_Action `protobuf:"varint,13,opt,name=action,proto3,enum=ipsec.SecurityPolicyDatabases_SPD_PolicyEntry_Action" json:"action,omitempty"` // policy action
	// contains filtered or unexported fields
}

Policy Entry

func (*SecurityPolicyDatabases_SPD_PolicyEntry) Descriptor deprecated

func (*SecurityPolicyDatabases_SPD_PolicyEntry) Descriptor() ([]byte, []int)

Deprecated: Use SecurityPolicyDatabases_SPD_PolicyEntry.ProtoReflect.Descriptor instead.

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetAction

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetIsOutbound

func (x *SecurityPolicyDatabases_SPD_PolicyEntry) GetIsOutbound() bool

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStart

func (x *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStart() string

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStop

func (x *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStop() string

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStart

func (x *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStart() uint32

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStop

func (x *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStop() uint32

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetPriority

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetProtocol

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStart

func (x *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStart() string

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStop

func (x *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStop() string

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStart

func (x *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStart() uint32

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStop

func (x *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStop() uint32

func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetSa

func (*SecurityPolicyDatabases_SPD_PolicyEntry) ProtoMessage

func (*SecurityPolicyDatabases_SPD_PolicyEntry) ProtoReflect

func (*SecurityPolicyDatabases_SPD_PolicyEntry) Reset

func (*SecurityPolicyDatabases_SPD_PolicyEntry) String

type SecurityPolicyDatabases_SPD_PolicyEntry_Action

type SecurityPolicyDatabases_SPD_PolicyEntry_Action int32

Policy action

const (
	SecurityPolicyDatabases_SPD_PolicyEntry_BYPASS  SecurityPolicyDatabases_SPD_PolicyEntry_Action = 0
	SecurityPolicyDatabases_SPD_PolicyEntry_DISCARD SecurityPolicyDatabases_SPD_PolicyEntry_Action = 1
	//RESOLVE = 2; // unused in VPP
	SecurityPolicyDatabases_SPD_PolicyEntry_PROTECT SecurityPolicyDatabases_SPD_PolicyEntry_Action = 3
)

func (SecurityPolicyDatabases_SPD_PolicyEntry_Action) Descriptor

func (SecurityPolicyDatabases_SPD_PolicyEntry_Action) Enum

func (SecurityPolicyDatabases_SPD_PolicyEntry_Action) EnumDescriptor deprecated

Deprecated: Use SecurityPolicyDatabases_SPD_PolicyEntry_Action.Descriptor instead.

func (SecurityPolicyDatabases_SPD_PolicyEntry_Action) Number

func (SecurityPolicyDatabases_SPD_PolicyEntry_Action) String

func (SecurityPolicyDatabases_SPD_PolicyEntry_Action) Type

type TunnelInterfaces

type TunnelInterfaces struct {
	Tunnels []*TunnelInterfaces_Tunnel `protobuf:"bytes,1,rep,name=tunnels,proto3" json:"tunnels,omitempty"`
	// contains filtered or unexported fields
}

Tunnel Interfaces

func (*TunnelInterfaces) Descriptor deprecated

func (*TunnelInterfaces) Descriptor() ([]byte, []int)

Deprecated: Use TunnelInterfaces.ProtoReflect.Descriptor instead.

func (*TunnelInterfaces) GetTunnels

func (x *TunnelInterfaces) GetTunnels() []*TunnelInterfaces_Tunnel

func (*TunnelInterfaces) ProtoMessage

func (*TunnelInterfaces) ProtoMessage()

func (*TunnelInterfaces) ProtoReflect

func (x *TunnelInterfaces) ProtoReflect() protoreflect.Message

func (*TunnelInterfaces) Reset

func (x *TunnelInterfaces) Reset()

func (*TunnelInterfaces) String

func (x *TunnelInterfaces) String() string

type TunnelInterfaces_Tunnel

type TunnelInterfaces_Tunnel struct {
	Name            string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                // tunnel name
	Esn             bool            `protobuf:"varint,2,opt,name=esn,proto3" json:"esn,omitempty"`                                 // extended sequence number
	AntiReplay      bool            `protobuf:"varint,3,opt,name=anti_replay,json=antiReplay,proto3" json:"anti_replay,omitempty"` // anti replay option
	LocalIp         string          `protobuf:"bytes,4,opt,name=local_ip,json=localIp,proto3" json:"local_ip,omitempty"`
	RemoteIp        string          `protobuf:"bytes,5,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"`
	LocalSpi        uint32          `protobuf:"varint,6,opt,name=local_spi,json=localSpi,proto3" json:"local_spi,omitempty"`
	RemoteSpi       uint32          `protobuf:"varint,7,opt,name=remote_spi,json=remoteSpi,proto3" json:"remote_spi,omitempty"`
	CryptoAlg       CryptoAlgorithm `protobuf:"varint,8,opt,name=crypto_alg,json=cryptoAlg,proto3,enum=ipsec.CryptoAlgorithm" json:"crypto_alg,omitempty"`
	LocalCryptoKey  string          `protobuf:"bytes,9,opt,name=local_crypto_key,json=localCryptoKey,proto3" json:"local_crypto_key,omitempty"`
	RemoteCryptoKey string          `protobuf:"bytes,10,opt,name=remote_crypto_key,json=remoteCryptoKey,proto3" json:"remote_crypto_key,omitempty"`
	IntegAlg        IntegAlgorithm  `protobuf:"varint,11,opt,name=integ_alg,json=integAlg,proto3,enum=ipsec.IntegAlgorithm" json:"integ_alg,omitempty"`
	LocalIntegKey   string          `protobuf:"bytes,12,opt,name=local_integ_key,json=localIntegKey,proto3" json:"local_integ_key,omitempty"`
	RemoteIntegKey  string          `protobuf:"bytes,13,opt,name=remote_integ_key,json=remoteIntegKey,proto3" json:"remote_integ_key,omitempty"`
	// Extra fields related to interface
	Enabled     bool     `protobuf:"varint,100,opt,name=enabled,proto3" json:"enabled,omitempty"`
	IpAddresses []string `protobuf:"bytes,101,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
	Vrf         uint32   `protobuf:"varint,102,opt,name=vrf,proto3" json:"vrf,omitempty"`
	// contains filtered or unexported fields
}

func (*TunnelInterfaces_Tunnel) Descriptor deprecated

func (*TunnelInterfaces_Tunnel) Descriptor() ([]byte, []int)

Deprecated: Use TunnelInterfaces_Tunnel.ProtoReflect.Descriptor instead.

func (*TunnelInterfaces_Tunnel) GetAntiReplay

func (x *TunnelInterfaces_Tunnel) GetAntiReplay() bool

func (*TunnelInterfaces_Tunnel) GetCryptoAlg

func (x *TunnelInterfaces_Tunnel) GetCryptoAlg() CryptoAlgorithm

func (*TunnelInterfaces_Tunnel) GetEnabled

func (x *TunnelInterfaces_Tunnel) GetEnabled() bool

func (*TunnelInterfaces_Tunnel) GetEsn

func (x *TunnelInterfaces_Tunnel) GetEsn() bool

func (*TunnelInterfaces_Tunnel) GetIntegAlg

func (x *TunnelInterfaces_Tunnel) GetIntegAlg() IntegAlgorithm

func (*TunnelInterfaces_Tunnel) GetIpAddresses

func (x *TunnelInterfaces_Tunnel) GetIpAddresses() []string

func (*TunnelInterfaces_Tunnel) GetLocalCryptoKey

func (x *TunnelInterfaces_Tunnel) GetLocalCryptoKey() string

func (*TunnelInterfaces_Tunnel) GetLocalIntegKey

func (x *TunnelInterfaces_Tunnel) GetLocalIntegKey() string

func (*TunnelInterfaces_Tunnel) GetLocalIp

func (x *TunnelInterfaces_Tunnel) GetLocalIp() string

func (*TunnelInterfaces_Tunnel) GetLocalSpi

func (x *TunnelInterfaces_Tunnel) GetLocalSpi() uint32

func (*TunnelInterfaces_Tunnel) GetName

func (x *TunnelInterfaces_Tunnel) GetName() string

func (*TunnelInterfaces_Tunnel) GetRemoteCryptoKey

func (x *TunnelInterfaces_Tunnel) GetRemoteCryptoKey() string

func (*TunnelInterfaces_Tunnel) GetRemoteIntegKey

func (x *TunnelInterfaces_Tunnel) GetRemoteIntegKey() string

func (*TunnelInterfaces_Tunnel) GetRemoteIp

func (x *TunnelInterfaces_Tunnel) GetRemoteIp() string

func (*TunnelInterfaces_Tunnel) GetRemoteSpi

func (x *TunnelInterfaces_Tunnel) GetRemoteSpi() uint32

func (*TunnelInterfaces_Tunnel) GetVrf

func (x *TunnelInterfaces_Tunnel) GetVrf() uint32

func (*TunnelInterfaces_Tunnel) ProtoMessage

func (*TunnelInterfaces_Tunnel) ProtoMessage()

func (*TunnelInterfaces_Tunnel) ProtoReflect

func (x *TunnelInterfaces_Tunnel) ProtoReflect() protoreflect.Message

func (*TunnelInterfaces_Tunnel) Reset

func (x *TunnelInterfaces_Tunnel) Reset()

func (*TunnelInterfaces_Tunnel) String

func (x *TunnelInterfaces_Tunnel) String() string

Jump to

Keyboard shortcuts

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