bfd

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2017 License: Apache-2.0 Imports: 1 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 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 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 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

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 (*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 (*SingleHopBFD_Session_Authentication) String

Jump to

Keyboard shortcuts

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