bfd

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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

View Source
const BfdAuthKeysPrefix = "vpp/config/v1/bfd/auth-key/"

BfdAuthKeysPrefix bfd-key/

View Source
const BfdEchoFunctionPrefix = "vpp/config/v1/bfd/echo-function"

BfdEchoFunctionPrefix bfd-echo-function/

View Source
const BfdSessionPrefix = "vpp/config/v1/bfd/session/"

BfdSessionPrefix bfd-session/

Variables

View Source
var SingleHopBFD_Key_AuthenticationType_name = map[int32]string{
	0: "KEYED_SHA1",
	1: "METICULOUS_KEYED_SHA1",
}
View Source
var SingleHopBFD_Key_AuthenticationType_value = map[string]int32{
	"KEYED_SHA1":            0,
	"METICULOUS_KEYED_SHA1": 1,
}

Functions

func AuthKeysKey

func AuthKeysKey(bfdKeyIDLabel string) string

AuthKeysKey returns the prefix used in ETCD to store vpp bfd config of a 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

func EchoFunctionKey(bfdEchoIfaceLabel string) string

EchoFunctionKey returns the prefix used in ETCD to store vpp bfd config of a 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

func SessionKey(bfdSessionIfaceLabel string) string

SessionKey returns the prefix used in ETCD to store vpp bfd config of a 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=echoFunction" json:"echo_function,omitempty"`
}

func (*SingleHopBFD) Descriptor

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

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,json=echoSourceInterface,proto3" json:"echo_source_interface,omitempty"`
}

func (*SingleHopBFD_EchoFunction) Descriptor

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

func (*SingleHopBFD_EchoFunction) GetEchoSourceInterface

func (m *SingleHopBFD_EchoFunction) GetEchoSourceInterface() string

func (*SingleHopBFD_EchoFunction) GetName

func (m *SingleHopBFD_EchoFunction) GetName() string

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,json=authKeyIndex,proto3" json:"auth_key_index,omitempty"`
	Id                 uint32                              `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	AuthenticationType SingleHopBFD_Key_AuthenticationType `` /* 161-byte string literal not displayed */
	Secret             string                              `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"`
}

func (*SingleHopBFD_Key) Descriptor

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

func (*SingleHopBFD_Key) GetAuthKeyIndex

func (m *SingleHopBFD_Key) GetAuthKeyIndex() uint32

func (*SingleHopBFD_Key) GetAuthenticationType

func (m *SingleHopBFD_Key) GetAuthenticationType() SingleHopBFD_Key_AuthenticationType

func (*SingleHopBFD_Key) GetId

func (m *SingleHopBFD_Key) GetId() uint32

func (*SingleHopBFD_Key) GetName

func (m *SingleHopBFD_Key) GetName() string

func (*SingleHopBFD_Key) GetSecret

func (m *SingleHopBFD_Key) GetSecret() string

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) EnumDescriptor

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

func (SingleHopBFD_Key_AuthenticationType) 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,json=destinationAddress,proto3" json:"destination_address,omitempty"`
	SourceAddress         string                               `protobuf:"bytes,5,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	Enabled               bool                                 `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	DesiredMinTxInterval  uint32                               `` /* 126-byte string literal not displayed */
	RequiredMinRxInterval uint32                               `` /* 129-byte string literal not displayed */
	DetectMultiplier      uint32                               `protobuf:"varint,10,opt,name=detect_multiplier,json=detectMultiplier,proto3" json:"detect_multiplier,omitempty"`
	Authentication        *SingleHopBFD_Session_Authentication `protobuf:"bytes,11,opt,name=authentication" json:"authentication,omitempty"`
}

func (*SingleHopBFD_Session) Descriptor

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

func (*SingleHopBFD_Session) GetAuthentication

func (*SingleHopBFD_Session) GetDesiredMinTxInterval

func (m *SingleHopBFD_Session) GetDesiredMinTxInterval() uint32

func (*SingleHopBFD_Session) GetDestinationAddress

func (m *SingleHopBFD_Session) GetDestinationAddress() string

func (*SingleHopBFD_Session) GetDetectMultiplier

func (m *SingleHopBFD_Session) GetDetectMultiplier() uint32

func (*SingleHopBFD_Session) GetEnabled

func (m *SingleHopBFD_Session) GetEnabled() bool

func (*SingleHopBFD_Session) GetInterface

func (m *SingleHopBFD_Session) GetInterface() string

func (*SingleHopBFD_Session) GetRequiredMinRxInterval

func (m *SingleHopBFD_Session) GetRequiredMinRxInterval() uint32

func (*SingleHopBFD_Session) GetSourceAddress

func (m *SingleHopBFD_Session) GetSourceAddress() string

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,json=keyId,proto3" json:"key_id,omitempty"`
	AdvertisedKeyId uint32 `protobuf:"varint,2,opt,name=advertised_key_id,json=advertisedKeyId,proto3" json:"advertised_key_id,omitempty"`
}

func (*SingleHopBFD_Session_Authentication) Descriptor

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

func (*SingleHopBFD_Session_Authentication) GetAdvertisedKeyId

func (m *SingleHopBFD_Session_Authentication) GetAdvertisedKeyId() uint32

func (*SingleHopBFD_Session_Authentication) GetKeyId

func (*SingleHopBFD_Session_Authentication) ProtoMessage

func (*SingleHopBFD_Session_Authentication) ProtoMessage()

func (*SingleHopBFD_Session_Authentication) Reset

func (*SingleHopBFD_Session_Authentication) String

Jump to

Keyboard shortcuts

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