Documentation ¶
Overview ¶
Package ipsec is a generated protocol buffer package.
It is generated from these files:
ipsec.proto
It has these top-level messages:
TunnelInterfaces SecurityPolicyDatabases SecurityAssociations ResyncRequest
Index ¶
- Constants
- Variables
- func SAKey(name string) string
- func SPDKey(name string) string
- func TunnelKey(name string) string
- type CryptoAlgorithm
- type IntegAlgorithm
- type ResyncRequest
- func (*ResyncRequest) Descriptor() ([]byte, []int)
- func (m *ResyncRequest) GetSas() []*SecurityAssociations_SA
- func (m *ResyncRequest) GetSpds() []*SecurityPolicyDatabases_SPD
- func (m *ResyncRequest) GetTunnels() []*TunnelInterfaces_Tunnel
- func (*ResyncRequest) ProtoMessage()
- func (m *ResyncRequest) Reset()
- func (m *ResyncRequest) String() string
- type SecurityAssociations
- type SecurityAssociations_SA
- func (*SecurityAssociations_SA) Descriptor() ([]byte, []int)
- func (m *SecurityAssociations_SA) GetCryptoAlg() CryptoAlgorithm
- func (m *SecurityAssociations_SA) GetCryptoKey() string
- func (m *SecurityAssociations_SA) GetEnableUdpEncap() bool
- func (m *SecurityAssociations_SA) GetIntegAlg() IntegAlgorithm
- func (m *SecurityAssociations_SA) GetIntegKey() string
- func (m *SecurityAssociations_SA) GetName() string
- func (m *SecurityAssociations_SA) GetProtocol() SecurityAssociations_SA_IPSecProtocol
- func (m *SecurityAssociations_SA) GetSpi() uint32
- func (m *SecurityAssociations_SA) GetTunnelDstAddr() string
- func (m *SecurityAssociations_SA) GetTunnelSrcAddr() string
- func (m *SecurityAssociations_SA) GetUseAntiReplay() bool
- func (m *SecurityAssociations_SA) GetUseEsn() bool
- func (*SecurityAssociations_SA) ProtoMessage()
- func (m *SecurityAssociations_SA) Reset()
- func (m *SecurityAssociations_SA) String() string
- type SecurityAssociations_SA_IPSecProtocol
- type SecurityPolicyDatabases
- type SecurityPolicyDatabases_SPD
- func (*SecurityPolicyDatabases_SPD) Descriptor() ([]byte, []int)
- func (m *SecurityPolicyDatabases_SPD) GetInterfaces() []*SecurityPolicyDatabases_SPD_Interface
- func (m *SecurityPolicyDatabases_SPD) GetName() string
- func (m *SecurityPolicyDatabases_SPD) GetPolicyEntries() []*SecurityPolicyDatabases_SPD_PolicyEntry
- func (*SecurityPolicyDatabases_SPD) ProtoMessage()
- func (m *SecurityPolicyDatabases_SPD) Reset()
- func (m *SecurityPolicyDatabases_SPD) String() string
- type SecurityPolicyDatabases_SPD_Interface
- func (*SecurityPolicyDatabases_SPD_Interface) Descriptor() ([]byte, []int)
- func (m *SecurityPolicyDatabases_SPD_Interface) GetName() string
- func (*SecurityPolicyDatabases_SPD_Interface) ProtoMessage()
- func (m *SecurityPolicyDatabases_SPD_Interface) Reset()
- func (m *SecurityPolicyDatabases_SPD_Interface) String() string
- type SecurityPolicyDatabases_SPD_PolicyEntry
- func (*SecurityPolicyDatabases_SPD_PolicyEntry) Descriptor() ([]byte, []int)
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetAction() SecurityPolicyDatabases_SPD_PolicyEntry_Action
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetIsOutbound() bool
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStart() string
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStop() string
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStart() uint32
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStop() uint32
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetPriority() int32
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetProtocol() uint32
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStart() string
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStop() string
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStart() uint32
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStop() uint32
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetSa() string
- func (*SecurityPolicyDatabases_SPD_PolicyEntry) ProtoMessage()
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) Reset()
- func (m *SecurityPolicyDatabases_SPD_PolicyEntry) String() string
- type SecurityPolicyDatabases_SPD_PolicyEntry_Action
- type TunnelInterfaces
- type TunnelInterfaces_Tunnel
- func (*TunnelInterfaces_Tunnel) Descriptor() ([]byte, []int)
- func (m *TunnelInterfaces_Tunnel) GetAntiReplay() bool
- func (m *TunnelInterfaces_Tunnel) GetCryptoAlg() CryptoAlgorithm
- func (m *TunnelInterfaces_Tunnel) GetEnabled() bool
- func (m *TunnelInterfaces_Tunnel) GetEsn() bool
- func (m *TunnelInterfaces_Tunnel) GetIntegAlg() IntegAlgorithm
- func (m *TunnelInterfaces_Tunnel) GetIpAddresses() []string
- func (m *TunnelInterfaces_Tunnel) GetLocalCryptoKey() string
- func (m *TunnelInterfaces_Tunnel) GetLocalIntegKey() string
- func (m *TunnelInterfaces_Tunnel) GetLocalIp() string
- func (m *TunnelInterfaces_Tunnel) GetLocalSpi() uint32
- func (m *TunnelInterfaces_Tunnel) GetName() string
- func (m *TunnelInterfaces_Tunnel) GetRemoteCryptoKey() string
- func (m *TunnelInterfaces_Tunnel) GetRemoteIntegKey() string
- func (m *TunnelInterfaces_Tunnel) GetRemoteIp() string
- func (m *TunnelInterfaces_Tunnel) GetRemoteSpi() uint32
- func (m *TunnelInterfaces_Tunnel) GetVrf() uint32
- func (*TunnelInterfaces_Tunnel) ProtoMessage()
- func (m *TunnelInterfaces_Tunnel) Reset()
- func (m *TunnelInterfaces_Tunnel) String() string
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",
}
View Source
var CryptoAlgorithm_value = map[string]int32{
"NONE_CRYPTO": 0,
"AES_CBC_128": 1,
"AES_CBC_192": 2,
"AES_CBC_256": 3,
}
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",
}
View Source
var 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,
}
View Source
var SecurityAssociations_SA_IPSecProtocol_value = map[string]int32{
"AH": 0,
"ESP": 1,
}
Functions ¶
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) EnumDescriptor ¶
func (CryptoAlgorithm) EnumDescriptor() ([]byte, []int)
func (CryptoAlgorithm) String ¶
func (x CryptoAlgorithm) String() string
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) EnumDescriptor ¶
func (IntegAlgorithm) EnumDescriptor() ([]byte, []int)
func (IntegAlgorithm) String ¶
func (x IntegAlgorithm) String() string
type ResyncRequest ¶
type ResyncRequest struct { Tunnels []*TunnelInterfaces_Tunnel `protobuf:"bytes,1,rep,name=tunnels" json:"tunnels,omitempty"` Spds []*SecurityPolicyDatabases_SPD `protobuf:"bytes,2,rep,name=spds" json:"spds,omitempty"` Sas []*SecurityAssociations_SA `protobuf:"bytes,3,rep,name=sas" json:"sas,omitempty"` }
func (*ResyncRequest) Descriptor ¶
func (*ResyncRequest) Descriptor() ([]byte, []int)
func (*ResyncRequest) GetSas ¶
func (m *ResyncRequest) GetSas() []*SecurityAssociations_SA
func (*ResyncRequest) GetSpds ¶
func (m *ResyncRequest) GetSpds() []*SecurityPolicyDatabases_SPD
func (*ResyncRequest) GetTunnels ¶
func (m *ResyncRequest) GetTunnels() []*TunnelInterfaces_Tunnel
func (*ResyncRequest) ProtoMessage ¶
func (*ResyncRequest) ProtoMessage()
func (*ResyncRequest) Reset ¶
func (m *ResyncRequest) Reset()
func (*ResyncRequest) String ¶
func (m *ResyncRequest) String() string
type SecurityAssociations ¶
type SecurityAssociations struct {
Sas []*SecurityAssociations_SA `protobuf:"bytes,1,rep,name=sas" json:"sas,omitempty"`
}
Security Association (SA)
func (*SecurityAssociations) Descriptor ¶
func (*SecurityAssociations) Descriptor() ([]byte, []int)
func (*SecurityAssociations) GetSas ¶
func (m *SecurityAssociations) GetSas() []*SecurityAssociations_SA
func (*SecurityAssociations) ProtoMessage ¶
func (*SecurityAssociations) ProtoMessage()
func (*SecurityAssociations) Reset ¶
func (m *SecurityAssociations) Reset()
func (*SecurityAssociations) String ¶
func (m *SecurityAssociations) String() string
type SecurityAssociations_SA ¶
type SecurityAssociations_SA struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Spi uint32 `protobuf:"varint,2,opt,name=spi,proto3" json:"spi,omitempty"` 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"` UseAntiReplay bool `protobuf:"varint,9,opt,name=use_anti_replay,json=useAntiReplay,proto3" json:"use_anti_replay,omitempty"` 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"` }
func (*SecurityAssociations_SA) Descriptor ¶
func (*SecurityAssociations_SA) Descriptor() ([]byte, []int)
func (*SecurityAssociations_SA) GetCryptoAlg ¶
func (m *SecurityAssociations_SA) GetCryptoAlg() CryptoAlgorithm
func (*SecurityAssociations_SA) GetCryptoKey ¶
func (m *SecurityAssociations_SA) GetCryptoKey() string
func (*SecurityAssociations_SA) GetEnableUdpEncap ¶
func (m *SecurityAssociations_SA) GetEnableUdpEncap() bool
func (*SecurityAssociations_SA) GetIntegAlg ¶
func (m *SecurityAssociations_SA) GetIntegAlg() IntegAlgorithm
func (*SecurityAssociations_SA) GetIntegKey ¶
func (m *SecurityAssociations_SA) GetIntegKey() string
func (*SecurityAssociations_SA) GetName ¶
func (m *SecurityAssociations_SA) GetName() string
func (*SecurityAssociations_SA) GetProtocol ¶
func (m *SecurityAssociations_SA) GetProtocol() SecurityAssociations_SA_IPSecProtocol
func (*SecurityAssociations_SA) GetSpi ¶
func (m *SecurityAssociations_SA) GetSpi() uint32
func (*SecurityAssociations_SA) GetTunnelDstAddr ¶
func (m *SecurityAssociations_SA) GetTunnelDstAddr() string
func (*SecurityAssociations_SA) GetTunnelSrcAddr ¶
func (m *SecurityAssociations_SA) GetTunnelSrcAddr() string
func (*SecurityAssociations_SA) GetUseAntiReplay ¶
func (m *SecurityAssociations_SA) GetUseAntiReplay() bool
func (*SecurityAssociations_SA) GetUseEsn ¶
func (m *SecurityAssociations_SA) GetUseEsn() bool
func (*SecurityAssociations_SA) ProtoMessage ¶
func (*SecurityAssociations_SA) ProtoMessage()
func (*SecurityAssociations_SA) Reset ¶
func (m *SecurityAssociations_SA) Reset()
func (*SecurityAssociations_SA) String ¶
func (m *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) EnumDescriptor ¶
func (SecurityAssociations_SA_IPSecProtocol) EnumDescriptor() ([]byte, []int)
func (SecurityAssociations_SA_IPSecProtocol) String ¶
func (x SecurityAssociations_SA_IPSecProtocol) String() string
type SecurityPolicyDatabases ¶
type SecurityPolicyDatabases struct {
Spds []*SecurityPolicyDatabases_SPD `protobuf:"bytes,1,rep,name=spds" json:"spds,omitempty"`
}
Security Policy Database (SPD)
func (*SecurityPolicyDatabases) Descriptor ¶
func (*SecurityPolicyDatabases) Descriptor() ([]byte, []int)
func (*SecurityPolicyDatabases) GetSpds ¶
func (m *SecurityPolicyDatabases) GetSpds() []*SecurityPolicyDatabases_SPD
func (*SecurityPolicyDatabases) ProtoMessage ¶
func (*SecurityPolicyDatabases) ProtoMessage()
func (*SecurityPolicyDatabases) Reset ¶
func (m *SecurityPolicyDatabases) Reset()
func (*SecurityPolicyDatabases) String ¶
func (m *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" json:"interfaces,omitempty"` PolicyEntries []*SecurityPolicyDatabases_SPD_PolicyEntry `protobuf:"bytes,3,rep,name=policy_entries,json=policyEntries" json:"policy_entries,omitempty"` }
func (*SecurityPolicyDatabases_SPD) Descriptor ¶
func (*SecurityPolicyDatabases_SPD) Descriptor() ([]byte, []int)
func (*SecurityPolicyDatabases_SPD) GetInterfaces ¶
func (m *SecurityPolicyDatabases_SPD) GetInterfaces() []*SecurityPolicyDatabases_SPD_Interface
func (*SecurityPolicyDatabases_SPD) GetName ¶
func (m *SecurityPolicyDatabases_SPD) GetName() string
func (*SecurityPolicyDatabases_SPD) GetPolicyEntries ¶
func (m *SecurityPolicyDatabases_SPD) GetPolicyEntries() []*SecurityPolicyDatabases_SPD_PolicyEntry
func (*SecurityPolicyDatabases_SPD) ProtoMessage ¶
func (*SecurityPolicyDatabases_SPD) ProtoMessage()
func (*SecurityPolicyDatabases_SPD) Reset ¶
func (m *SecurityPolicyDatabases_SPD) Reset()
func (*SecurityPolicyDatabases_SPD) String ¶
func (m *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
func (*SecurityPolicyDatabases_SPD_Interface) Descriptor ¶
func (*SecurityPolicyDatabases_SPD_Interface) Descriptor() ([]byte, []int)
func (*SecurityPolicyDatabases_SPD_Interface) GetName ¶
func (m *SecurityPolicyDatabases_SPD_Interface) GetName() string
func (*SecurityPolicyDatabases_SPD_Interface) ProtoMessage ¶
func (*SecurityPolicyDatabases_SPD_Interface) ProtoMessage()
func (*SecurityPolicyDatabases_SPD_Interface) Reset ¶
func (m *SecurityPolicyDatabases_SPD_Interface) Reset()
func (*SecurityPolicyDatabases_SPD_Interface) String ¶
func (m *SecurityPolicyDatabases_SPD_Interface) String() string
type SecurityPolicyDatabases_SPD_PolicyEntry ¶
type SecurityPolicyDatabases_SPD_PolicyEntry struct { Sa string `protobuf:"bytes,1,opt,name=sa,proto3" json:"sa,omitempty"` 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 Entry
func (*SecurityPolicyDatabases_SPD_PolicyEntry) Descriptor ¶
func (*SecurityPolicyDatabases_SPD_PolicyEntry) Descriptor() ([]byte, []int)
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetAction ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetAction() SecurityPolicyDatabases_SPD_PolicyEntry_Action
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetIsOutbound ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetIsOutbound() bool
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStart ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStart() string
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStop ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalAddrStop() string
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStart ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStart() uint32
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStop ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetLocalPortStop() uint32
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetPriority ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetPriority() int32
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetProtocol ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetProtocol() uint32
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStart ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStart() string
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStop ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemoteAddrStop() string
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStart ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStart() uint32
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStop ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetRemotePortStop() uint32
func (*SecurityPolicyDatabases_SPD_PolicyEntry) GetSa ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) GetSa() string
func (*SecurityPolicyDatabases_SPD_PolicyEntry) ProtoMessage ¶
func (*SecurityPolicyDatabases_SPD_PolicyEntry) ProtoMessage()
func (*SecurityPolicyDatabases_SPD_PolicyEntry) Reset ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) Reset()
func (*SecurityPolicyDatabases_SPD_PolicyEntry) String ¶
func (m *SecurityPolicyDatabases_SPD_PolicyEntry) String() 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) EnumDescriptor ¶
func (SecurityPolicyDatabases_SPD_PolicyEntry_Action) EnumDescriptor() ([]byte, []int)
func (SecurityPolicyDatabases_SPD_PolicyEntry_Action) String ¶
func (x SecurityPolicyDatabases_SPD_PolicyEntry_Action) String() string
type TunnelInterfaces ¶
type TunnelInterfaces struct {
Tunnels []*TunnelInterfaces_Tunnel `protobuf:"bytes,1,rep,name=tunnels" json:"tunnels,omitempty"`
}
Tunnel Interfaces
func (*TunnelInterfaces) Descriptor ¶
func (*TunnelInterfaces) Descriptor() ([]byte, []int)
func (*TunnelInterfaces) GetTunnels ¶
func (m *TunnelInterfaces) GetTunnels() []*TunnelInterfaces_Tunnel
func (*TunnelInterfaces) ProtoMessage ¶
func (*TunnelInterfaces) ProtoMessage()
func (*TunnelInterfaces) Reset ¶
func (m *TunnelInterfaces) Reset()
func (*TunnelInterfaces) String ¶
func (m *TunnelInterfaces) String() string
type TunnelInterfaces_Tunnel ¶
type TunnelInterfaces_Tunnel struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Esn bool `protobuf:"varint,2,opt,name=esn,proto3" json:"esn,omitempty"` AntiReplay bool `protobuf:"varint,3,opt,name=anti_replay,json=antiReplay,proto3" json:"anti_replay,omitempty"` 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" json:"ip_addresses,omitempty"` Vrf uint32 `protobuf:"varint,102,opt,name=vrf,proto3" json:"vrf,omitempty"` }
func (*TunnelInterfaces_Tunnel) Descriptor ¶
func (*TunnelInterfaces_Tunnel) Descriptor() ([]byte, []int)
func (*TunnelInterfaces_Tunnel) GetAntiReplay ¶
func (m *TunnelInterfaces_Tunnel) GetAntiReplay() bool
func (*TunnelInterfaces_Tunnel) GetCryptoAlg ¶
func (m *TunnelInterfaces_Tunnel) GetCryptoAlg() CryptoAlgorithm
func (*TunnelInterfaces_Tunnel) GetEnabled ¶
func (m *TunnelInterfaces_Tunnel) GetEnabled() bool
func (*TunnelInterfaces_Tunnel) GetEsn ¶
func (m *TunnelInterfaces_Tunnel) GetEsn() bool
func (*TunnelInterfaces_Tunnel) GetIntegAlg ¶
func (m *TunnelInterfaces_Tunnel) GetIntegAlg() IntegAlgorithm
func (*TunnelInterfaces_Tunnel) GetIpAddresses ¶
func (m *TunnelInterfaces_Tunnel) GetIpAddresses() []string
func (*TunnelInterfaces_Tunnel) GetLocalCryptoKey ¶
func (m *TunnelInterfaces_Tunnel) GetLocalCryptoKey() string
func (*TunnelInterfaces_Tunnel) GetLocalIntegKey ¶
func (m *TunnelInterfaces_Tunnel) GetLocalIntegKey() string
func (*TunnelInterfaces_Tunnel) GetLocalIp ¶
func (m *TunnelInterfaces_Tunnel) GetLocalIp() string
func (*TunnelInterfaces_Tunnel) GetLocalSpi ¶
func (m *TunnelInterfaces_Tunnel) GetLocalSpi() uint32
func (*TunnelInterfaces_Tunnel) GetName ¶
func (m *TunnelInterfaces_Tunnel) GetName() string
func (*TunnelInterfaces_Tunnel) GetRemoteCryptoKey ¶
func (m *TunnelInterfaces_Tunnel) GetRemoteCryptoKey() string
func (*TunnelInterfaces_Tunnel) GetRemoteIntegKey ¶
func (m *TunnelInterfaces_Tunnel) GetRemoteIntegKey() string
func (*TunnelInterfaces_Tunnel) GetRemoteIp ¶
func (m *TunnelInterfaces_Tunnel) GetRemoteIp() string
func (*TunnelInterfaces_Tunnel) GetRemoteSpi ¶
func (m *TunnelInterfaces_Tunnel) GetRemoteSpi() uint32
func (*TunnelInterfaces_Tunnel) GetVrf ¶
func (m *TunnelInterfaces_Tunnel) GetVrf() uint32
func (*TunnelInterfaces_Tunnel) ProtoMessage ¶
func (*TunnelInterfaces_Tunnel) ProtoMessage()
func (*TunnelInterfaces_Tunnel) Reset ¶
func (m *TunnelInterfaces_Tunnel) Reset()
func (*TunnelInterfaces_Tunnel) String ¶
func (m *TunnelInterfaces_Tunnel) String() string
Click to show internal directories.
Click to hide internal directories.