Documentation ¶
Overview ¶
Package bfd is a generated protocol buffer package.
Package bfd provides data model to single-hop UDP transport BFD based on RFC 5880 and RFC 5881.
It is generated from these files:
bfd.proto
It has these top-level messages:
SingleHopBFD
Index ¶
- Constants
- Variables
- func AuthKeysKey(bfdKeyIDLabel string) string
- func AuthKeysKeyPrefix() string
- func EchoFunctionKey(bfdEchoIfaceLabel string) string
- func EchoFunctionKeyPrefix() string
- func SessionKey(bfdSessionIfaceLabel string) string
- func SessionKeyPrefix() string
- type SingleHopBFD
- type SingleHopBFD_EchoFunction
- type SingleHopBFD_Key
- type SingleHopBFD_Key_AuthenticationType
- type SingleHopBFD_Session
- type SingleHopBFD_Session_Authentication
Constants ¶
const BfdAuthKeysPrefix = "vpp/config/v1/bfd/auth-key/"
BfdAuthKeysPrefix bfd-key/
const BfdEchoFunctionPrefix = "vpp/config/v1/bfd/echo-function"
BfdEchoFunctionPrefix bfd-echo-function/
const BfdSessionPrefix = "vpp/config/v1/bfd/session/"
BfdSessionPrefix bfd-session/
Variables ¶
var SingleHopBFD_Key_AuthenticationType_name = map[int32]string{
0: "KEYED_SHA1",
1: "METICULOUS_KEYED_SHA1",
}
var SingleHopBFD_Key_AuthenticationType_value = map[string]int32{
"KEYED_SHA1": 0,
"METICULOUS_KEYED_SHA1": 1,
}
Functions ¶
func AuthKeysKey ¶
AuthKeysKey returns the prefix used in ETCD to store vpp bfd config of particular bfd key in selected vpp instance
func AuthKeysKeyPrefix ¶
func AuthKeysKeyPrefix() string
AuthKeysKeyPrefix returns the prefix used in ETCD to store vpp bfd config
func EchoFunctionKey ¶
EchoFunctionKey returns the prefix used in ETCD to store vpp bfd config of particular bfd echo function in selected vpp instance
func EchoFunctionKeyPrefix ¶
func EchoFunctionKeyPrefix() string
EchoFunctionKeyPrefix returns the prefix used in ETCD to store vpp bfd config
func SessionKey ¶
SessionKey returns the prefix used in ETCD to store vpp bfd config of particular bfd session in selected vpp instance
func SessionKeyPrefix ¶
func SessionKeyPrefix() string
SessionKeyPrefix returns the prefix used in ETCD to store vpp bfd config
Types ¶
type SingleHopBFD ¶
type SingleHopBFD struct { Sessions []*SingleHopBFD_Session `protobuf:"bytes,1,rep,name=sessions" json:"sessions,omitempty"` Keys []*SingleHopBFD_Key `protobuf:"bytes,2,rep,name=keys" json:"keys,omitempty"` EchoFunction *SingleHopBFD_EchoFunction `protobuf:"bytes,3,opt,name=echo_function" json:"echo_function,omitempty"` }
func (*SingleHopBFD) GetEchoFunction ¶
func (m *SingleHopBFD) GetEchoFunction() *SingleHopBFD_EchoFunction
func (*SingleHopBFD) GetKeys ¶
func (m *SingleHopBFD) GetKeys() []*SingleHopBFD_Key
func (*SingleHopBFD) GetSessions ¶
func (m *SingleHopBFD) GetSessions() []*SingleHopBFD_Session
func (*SingleHopBFD) ProtoMessage ¶
func (*SingleHopBFD) ProtoMessage()
func (*SingleHopBFD) Reset ¶
func (m *SingleHopBFD) Reset()
func (*SingleHopBFD) String ¶
func (m *SingleHopBFD) String() string
type SingleHopBFD_EchoFunction ¶
type SingleHopBFD_EchoFunction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` EchoSourceInterface string `protobuf:"bytes,2,opt,name=echo_source_interface,proto3" json:"echo_source_interface,omitempty"` }
func (*SingleHopBFD_EchoFunction) ProtoMessage ¶
func (*SingleHopBFD_EchoFunction) ProtoMessage()
func (*SingleHopBFD_EchoFunction) Reset ¶
func (m *SingleHopBFD_EchoFunction) Reset()
func (*SingleHopBFD_EchoFunction) String ¶
func (m *SingleHopBFD_EchoFunction) String() string
type SingleHopBFD_Key ¶
type SingleHopBFD_Key struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` AuthKeyIndex uint32 `protobuf:"varint,2,opt,name=auth_key_index,proto3" json:"auth_key_index,omitempty"` Id uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` AuthenticationType SingleHopBFD_Key_AuthenticationType `` /* 137-byte string literal not displayed */ Secret string `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"` }
func (*SingleHopBFD_Key) ProtoMessage ¶
func (*SingleHopBFD_Key) ProtoMessage()
func (*SingleHopBFD_Key) Reset ¶
func (m *SingleHopBFD_Key) Reset()
func (*SingleHopBFD_Key) String ¶
func (m *SingleHopBFD_Key) String() string
type SingleHopBFD_Key_AuthenticationType ¶
type SingleHopBFD_Key_AuthenticationType int32
const ( SingleHopBFD_Key_KEYED_SHA1 SingleHopBFD_Key_AuthenticationType = 0 SingleHopBFD_Key_METICULOUS_KEYED_SHA1 SingleHopBFD_Key_AuthenticationType = 1 )
func (SingleHopBFD_Key_AuthenticationType) String ¶
func (x SingleHopBFD_Key_AuthenticationType) String() string
type SingleHopBFD_Session ¶
type SingleHopBFD_Session struct { Interface string `protobuf:"bytes,3,opt,name=interface,proto3" json:"interface,omitempty"` DestinationAddress string `protobuf:"bytes,4,opt,name=destination_address,proto3" json:"destination_address,omitempty"` SourceAddress string `protobuf:"bytes,5,opt,name=source_address,proto3" json:"source_address,omitempty"` Enabled bool `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"` DesiredMinTxInterval uint32 `protobuf:"varint,8,opt,name=desired_min_tx_interval,proto3" json:"desired_min_tx_interval,omitempty"` RequiredMinRxInterval uint32 `protobuf:"varint,9,opt,name=required_min_rx_interval,proto3" json:"required_min_rx_interval,omitempty"` DetectMultiplier uint32 `protobuf:"varint,10,opt,name=detect_multiplier,proto3" json:"detect_multiplier,omitempty"` Authentication *SingleHopBFD_Session_Authentication `protobuf:"bytes,11,opt,name=authentication" json:"authentication,omitempty"` }
func (*SingleHopBFD_Session) GetAuthentication ¶
func (m *SingleHopBFD_Session) GetAuthentication() *SingleHopBFD_Session_Authentication
func (*SingleHopBFD_Session) ProtoMessage ¶
func (*SingleHopBFD_Session) ProtoMessage()
func (*SingleHopBFD_Session) Reset ¶
func (m *SingleHopBFD_Session) Reset()
func (*SingleHopBFD_Session) String ¶
func (m *SingleHopBFD_Session) String() string
type SingleHopBFD_Session_Authentication ¶
type SingleHopBFD_Session_Authentication struct { KeyId uint32 `protobuf:"varint,1,opt,name=key_id,proto3" json:"key_id,omitempty"` AdvertisedKeyId uint32 `protobuf:"varint,2,opt,name=advertised_key_id,proto3" json:"advertised_key_id,omitempty"` }
func (*SingleHopBFD_Session_Authentication) ProtoMessage ¶
func (*SingleHopBFD_Session_Authentication) ProtoMessage()
func (*SingleHopBFD_Session_Authentication) Reset ¶
func (m *SingleHopBFD_Session_Authentication) Reset()
func (*SingleHopBFD_Session_Authentication) String ¶
func (m *SingleHopBFD_Session_Authentication) String() string