Skip to content

Commit

Permalink
updated bfd defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
henderiw committed Jun 10, 2024
1 parent 66a5141 commit fcf7f76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions apis/backend/infra/v1alpha1/bfd_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,20 @@ type BFDLinkParameters struct {
// +optional
Enabled *bool `json:"enabled,omitempty" yaml:"enabled,,omitempty" protobuf:"bytes,1,opt,name=enabled"`
// MinTx defines the desired minimal interval for sending BFD packets, in msec.
// +kubebuilder:default=1000
// +optional
MinTx *uint32 `json:"minTx,omitempty" yaml:"minTx,,omitempty" protobuf:"bytes,2,opt,name=minTx"`
// MinTx defines the required minimal interval for receiving BFD packets, in msec.
// +kubebuilder:default:=1000
// +optional
MinRx *uint32 `json:"minRx,omitempty" yaml:"minRx,,omitempty" protobuf:"bytes,3,opt,name=minRx"`
// MinEchoRx defines the echo function timer, in msec.
// +kubebuilder:default:=0
// +optional
MinEchoRx *uint32 `json:"minEchoRx,omitempty" yaml:"minEchoRx,,omitempty" protobuf:"bytes,4,opt,name=minEchoRx"`
// Multiplier defines the number of missed packets before the session is considered down
// +kubebuilder:default:=5
// +optional
Multiplier *uint32 `json:"multiplier,omitempty" yaml:"multiplier,,omitempty" protobuf:"bytes,5,opt,name=multiplier"`
// TTL defines the time to live on the outgoing BFD packet
// +kubebuilder:validation:Maximum:=255
// +kubebuilder:validation:Minimum:=1
// +kubebuilder:default:=1
// +kubebuilder:validation:Minimum:=2
// +optional
TTL *uint32 `json:"ttl,omitempty" yaml:"ttl,,omitempty" protobuf:"bytes,6,opt,name=ttl"`
}
7 changes: 1 addition & 6 deletions apis/backend/infra/v1alpha1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fcf7f76

Please sign in to comment.