Dataplane reconcile fixes; LB counters cleanup; SPA scope cookie
Checker / reload:
- Reload's update-in-place branch now mirrors b.Address onto the
runtime health.Backend. Without this, GetBackend kept returning
the pre-reload address indefinitely after a config edit that
touched addresses but not healthcheck settings — the VPP sync
path reads cfg.Backends directly so the dataplane moved on
while the gRPC and SPA view stayed wedged on the old IPv4/IPv6.
Sync (internal/vpp/lbsync.go):
- reconcileVIP now detects encap mismatch in addition to
src-ip-sticky mismatch and takes the full tear-down / re-add
path via a new shared recreateVIP helper. Triggered when every
backend flips address family (gre4 <-> gre6) and the existing
VIP can no longer accept new ASes — previously the sync wedged
with 'Invalid address family' until a full maglevd restart.
- setASWeight is issued whenever the state machine requests
flush (a.Flush=true), not only on the weight-value transition
edge. Fixes the case where a backend reached StateDisabled
after its effective weight had already been drained to 0 by
pool failover — the sticky-cache entries pointing at it were
previously never cleared.
maglev-frontend:
- signal.Ignore(SIGHUP) so a controlling-terminal disconnect
doesn't kill the daemon.
- debian/vpp-maglev.service grants CAP_SYS_ADMIN in addition to
CAP_NET_RAW so setns(CLONE_NEWNET) can join the healthcheck
netns. Comment documents the 'operation not permitted' symptom
and notes the knob can be dropped if the deployment doesn't use
the 'netns:' healthcheck option.
LB plugin counters (internal/vpp/lbstats.go + friends):
- Fix the VIP counter regex: the LB plugin registers
vlib_simple_counter_main_t names without a leading '/'
(vlib_validate_simple_counter in counter.c:50 uses cm->name
verbatim; only entries that set cm->stat_segment_name get a
slash). first/next/untracked/no-server now read through as
live values instead of zero.
- Drop the per-backend FIB counter block end-to-end (proto,
grpcapi, metrics, vpp.Client, lbstats, maglevc). Traced from
lb/node.c:558 into ip{4,6}_forward.h:141 — the LB plugin
forwards by writing adj_index[VLIB_TX] directly and bypassing
ip{4,6}_lookup_inline, which is the only path that increments
lbm_to_counters. The backend's FIB load_balance stats_index
literally never ticks for LB-forwarded traffic, so the column
was always zero and misleading. docs/implementation/TODO
records the full investigation and the recommended upstream
path (new lb_as_stats_dump API message) for when we're ready
to carry that VPP patch.
- maglevc show vpp lb counters: plain-text tabular headers.
label() wraps strings in ANSI escapes (~11 bytes of overhead),
but tabwriter counts bytes, not rendered width — so a header
row with label()'d cells and data rows with plain cells drifts
column alignment on every row. color.go comment now spells
out the constraint: label() only works when column N is
wrapped identically in every row (key-value layouts are fine,
multi-column tables with header-only labelling are not).
SPA:
- stores/scope.ts is cookie-backed (maglev_scope, 1 year,
SameSite=Lax). App.tsx hydrates from the cookie then validates
against the fetched snapshots: a cookie referencing a maglevd
that no longer exists falls through to snaps[0] instead of
leaving the user on a ghost selection.
- components/Flash.tsx wraps props.value in createMemo. Solid's
on() fires its callback on every dep notification, not on
value change — source is right in solid-js/dist/solid.js:460,
no equality check. Without the memo, flipping scope between
two 'connected' maglevds (or any other cross-store reactive
re-eval that doesn't actually change the concrete string)
replays the animation every time. createMemo's default ===
dedupe fixes it in one place for every Flash consumer,
superseding the local createMemo workaround we'd added in
BackendRow earlier.
This commit is contained in:
@@ -1191,87 +1191,22 @@ func (x *VPPLBVIPCounters) GetBytes() uint64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// VPPLBBackendCounters is the FIB combined counter for a single backend's
|
||||
// host prefix, summed across worker threads.
|
||||
type VPPLBBackendCounters struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Backend string `protobuf:"bytes,1,opt,name=backend,proto3" json:"backend,omitempty"` // backend name from config
|
||||
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // backend IP address
|
||||
Packets uint64 `protobuf:"varint,3,opt,name=packets,proto3" json:"packets,omitempty"`
|
||||
Bytes uint64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VPPLBBackendCounters) Reset() {
|
||||
*x = VPPLBBackendCounters{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[22]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VPPLBBackendCounters) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VPPLBBackendCounters) ProtoMessage() {}
|
||||
|
||||
func (x *VPPLBBackendCounters) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[22]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use VPPLBBackendCounters.ProtoReflect.Descriptor instead.
|
||||
func (*VPPLBBackendCounters) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{22}
|
||||
}
|
||||
|
||||
func (x *VPPLBBackendCounters) GetBackend() string {
|
||||
if x != nil {
|
||||
return x.Backend
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VPPLBBackendCounters) GetAddress() string {
|
||||
if x != nil {
|
||||
return x.Address
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VPPLBBackendCounters) GetPackets() uint64 {
|
||||
if x != nil {
|
||||
return x.Packets
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *VPPLBBackendCounters) GetBytes() uint64 {
|
||||
if x != nil {
|
||||
return x.Bytes
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// VPPLBCounters wraps the per-VIP counter list returned by
|
||||
// GetVPPLBCounters. There is no per-backend counter block: VPP's LB
|
||||
// plugin forwarding node bypasses ip{4,6}_lookup_inline and writes
|
||||
// adj_index[VLIB_TX] directly, so /net/route/to at a backend's FIB
|
||||
// entry never ticks for LB-forwarded traffic — the four per-VIP
|
||||
// counters are the only per-VIP-and-coarser signal VPP exposes today.
|
||||
type VPPLBCounters struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Vips []*VPPLBVIPCounters `protobuf:"bytes,1,rep,name=vips,proto3" json:"vips,omitempty"`
|
||||
Backends []*VPPLBBackendCounters `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"`
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Vips []*VPPLBVIPCounters `protobuf:"bytes,1,rep,name=vips,proto3" json:"vips,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VPPLBCounters) Reset() {
|
||||
*x = VPPLBCounters{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[23]
|
||||
mi := &file_proto_maglev_proto_msgTypes[22]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1283,7 +1218,7 @@ func (x *VPPLBCounters) String() string {
|
||||
func (*VPPLBCounters) ProtoMessage() {}
|
||||
|
||||
func (x *VPPLBCounters) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[23]
|
||||
mi := &file_proto_maglev_proto_msgTypes[22]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1296,7 +1231,7 @@ func (x *VPPLBCounters) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use VPPLBCounters.ProtoReflect.Descriptor instead.
|
||||
func (*VPPLBCounters) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{23}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{22}
|
||||
}
|
||||
|
||||
func (x *VPPLBCounters) GetVips() []*VPPLBVIPCounters {
|
||||
@@ -1306,13 +1241,6 @@ func (x *VPPLBCounters) GetVips() []*VPPLBVIPCounters {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VPPLBCounters) GetBackends() []*VPPLBBackendCounters {
|
||||
if x != nil {
|
||||
return x.Backends
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SetWeightRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Frontend string `protobuf:"bytes,1,opt,name=frontend,proto3" json:"frontend,omitempty"`
|
||||
@@ -1330,7 +1258,7 @@ type SetWeightRequest struct {
|
||||
|
||||
func (x *SetWeightRequest) Reset() {
|
||||
*x = SetWeightRequest{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[24]
|
||||
mi := &file_proto_maglev_proto_msgTypes[23]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1342,7 +1270,7 @@ func (x *SetWeightRequest) String() string {
|
||||
func (*SetWeightRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SetWeightRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[24]
|
||||
mi := &file_proto_maglev_proto_msgTypes[23]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1355,7 +1283,7 @@ func (x *SetWeightRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SetWeightRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SetWeightRequest) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{24}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{23}
|
||||
}
|
||||
|
||||
func (x *SetWeightRequest) GetFrontend() string {
|
||||
@@ -1407,7 +1335,7 @@ type WatchRequest struct {
|
||||
|
||||
func (x *WatchRequest) Reset() {
|
||||
*x = WatchRequest{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[25]
|
||||
mi := &file_proto_maglev_proto_msgTypes[24]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1419,7 +1347,7 @@ func (x *WatchRequest) String() string {
|
||||
func (*WatchRequest) ProtoMessage() {}
|
||||
|
||||
func (x *WatchRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[25]
|
||||
mi := &file_proto_maglev_proto_msgTypes[24]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1432,7 +1360,7 @@ func (x *WatchRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.
|
||||
func (*WatchRequest) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{25}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{24}
|
||||
}
|
||||
|
||||
func (x *WatchRequest) GetLog() bool {
|
||||
@@ -1472,7 +1400,7 @@ type ListFrontendsResponse struct {
|
||||
|
||||
func (x *ListFrontendsResponse) Reset() {
|
||||
*x = ListFrontendsResponse{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[26]
|
||||
mi := &file_proto_maglev_proto_msgTypes[25]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1484,7 +1412,7 @@ func (x *ListFrontendsResponse) String() string {
|
||||
func (*ListFrontendsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListFrontendsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[26]
|
||||
mi := &file_proto_maglev_proto_msgTypes[25]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1497,7 +1425,7 @@ func (x *ListFrontendsResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListFrontendsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListFrontendsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{26}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{25}
|
||||
}
|
||||
|
||||
func (x *ListFrontendsResponse) GetFrontendNames() []string {
|
||||
@@ -1518,7 +1446,7 @@ type PoolBackendInfo struct {
|
||||
|
||||
func (x *PoolBackendInfo) Reset() {
|
||||
*x = PoolBackendInfo{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[27]
|
||||
mi := &file_proto_maglev_proto_msgTypes[26]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1530,7 +1458,7 @@ func (x *PoolBackendInfo) String() string {
|
||||
func (*PoolBackendInfo) ProtoMessage() {}
|
||||
|
||||
func (x *PoolBackendInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[27]
|
||||
mi := &file_proto_maglev_proto_msgTypes[26]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1543,7 +1471,7 @@ func (x *PoolBackendInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PoolBackendInfo.ProtoReflect.Descriptor instead.
|
||||
func (*PoolBackendInfo) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{27}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{26}
|
||||
}
|
||||
|
||||
func (x *PoolBackendInfo) GetName() string {
|
||||
@@ -1577,7 +1505,7 @@ type PoolInfo struct {
|
||||
|
||||
func (x *PoolInfo) Reset() {
|
||||
*x = PoolInfo{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[28]
|
||||
mi := &file_proto_maglev_proto_msgTypes[27]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1589,7 +1517,7 @@ func (x *PoolInfo) String() string {
|
||||
func (*PoolInfo) ProtoMessage() {}
|
||||
|
||||
func (x *PoolInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[28]
|
||||
mi := &file_proto_maglev_proto_msgTypes[27]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1602,7 +1530,7 @@ func (x *PoolInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PoolInfo.ProtoReflect.Descriptor instead.
|
||||
func (*PoolInfo) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{28}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{27}
|
||||
}
|
||||
|
||||
func (x *PoolInfo) GetName() string {
|
||||
@@ -1634,7 +1562,7 @@ type FrontendInfo struct {
|
||||
|
||||
func (x *FrontendInfo) Reset() {
|
||||
*x = FrontendInfo{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[29]
|
||||
mi := &file_proto_maglev_proto_msgTypes[28]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1646,7 +1574,7 @@ func (x *FrontendInfo) String() string {
|
||||
func (*FrontendInfo) ProtoMessage() {}
|
||||
|
||||
func (x *FrontendInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[29]
|
||||
mi := &file_proto_maglev_proto_msgTypes[28]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1659,7 +1587,7 @@ func (x *FrontendInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FrontendInfo.ProtoReflect.Descriptor instead.
|
||||
func (*FrontendInfo) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{29}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{28}
|
||||
}
|
||||
|
||||
func (x *FrontendInfo) GetName() string {
|
||||
@@ -1720,7 +1648,7 @@ type ListBackendsResponse struct {
|
||||
|
||||
func (x *ListBackendsResponse) Reset() {
|
||||
*x = ListBackendsResponse{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[30]
|
||||
mi := &file_proto_maglev_proto_msgTypes[29]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1732,7 +1660,7 @@ func (x *ListBackendsResponse) String() string {
|
||||
func (*ListBackendsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListBackendsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[30]
|
||||
mi := &file_proto_maglev_proto_msgTypes[29]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1745,7 +1673,7 @@ func (x *ListBackendsResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListBackendsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListBackendsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{30}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{29}
|
||||
}
|
||||
|
||||
func (x *ListBackendsResponse) GetBackendNames() []string {
|
||||
@@ -1764,7 +1692,7 @@ type ListHealthChecksResponse struct {
|
||||
|
||||
func (x *ListHealthChecksResponse) Reset() {
|
||||
*x = ListHealthChecksResponse{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[31]
|
||||
mi := &file_proto_maglev_proto_msgTypes[30]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1776,7 +1704,7 @@ func (x *ListHealthChecksResponse) String() string {
|
||||
func (*ListHealthChecksResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListHealthChecksResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[31]
|
||||
mi := &file_proto_maglev_proto_msgTypes[30]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1789,7 +1717,7 @@ func (x *ListHealthChecksResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListHealthChecksResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListHealthChecksResponse) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{31}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{30}
|
||||
}
|
||||
|
||||
func (x *ListHealthChecksResponse) GetNames() []string {
|
||||
@@ -1814,7 +1742,7 @@ type HTTPCheckParams struct {
|
||||
|
||||
func (x *HTTPCheckParams) Reset() {
|
||||
*x = HTTPCheckParams{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[32]
|
||||
mi := &file_proto_maglev_proto_msgTypes[31]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1826,7 +1754,7 @@ func (x *HTTPCheckParams) String() string {
|
||||
func (*HTTPCheckParams) ProtoMessage() {}
|
||||
|
||||
func (x *HTTPCheckParams) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[32]
|
||||
mi := &file_proto_maglev_proto_msgTypes[31]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1839,7 +1767,7 @@ func (x *HTTPCheckParams) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use HTTPCheckParams.ProtoReflect.Descriptor instead.
|
||||
func (*HTTPCheckParams) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{32}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{31}
|
||||
}
|
||||
|
||||
func (x *HTTPCheckParams) GetPath() string {
|
||||
@@ -1902,7 +1830,7 @@ type TCPCheckParams struct {
|
||||
|
||||
func (x *TCPCheckParams) Reset() {
|
||||
*x = TCPCheckParams{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[33]
|
||||
mi := &file_proto_maglev_proto_msgTypes[32]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1914,7 +1842,7 @@ func (x *TCPCheckParams) String() string {
|
||||
func (*TCPCheckParams) ProtoMessage() {}
|
||||
|
||||
func (x *TCPCheckParams) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[33]
|
||||
mi := &file_proto_maglev_proto_msgTypes[32]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1927,7 +1855,7 @@ func (x *TCPCheckParams) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use TCPCheckParams.ProtoReflect.Descriptor instead.
|
||||
func (*TCPCheckParams) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{33}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{32}
|
||||
}
|
||||
|
||||
func (x *TCPCheckParams) GetSsl() bool {
|
||||
@@ -1972,7 +1900,7 @@ type HealthCheckInfo struct {
|
||||
|
||||
func (x *HealthCheckInfo) Reset() {
|
||||
*x = HealthCheckInfo{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[34]
|
||||
mi := &file_proto_maglev_proto_msgTypes[33]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1984,7 +1912,7 @@ func (x *HealthCheckInfo) String() string {
|
||||
func (*HealthCheckInfo) ProtoMessage() {}
|
||||
|
||||
func (x *HealthCheckInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[34]
|
||||
mi := &file_proto_maglev_proto_msgTypes[33]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1997,7 +1925,7 @@ func (x *HealthCheckInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use HealthCheckInfo.ProtoReflect.Descriptor instead.
|
||||
func (*HealthCheckInfo) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{34}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{33}
|
||||
}
|
||||
|
||||
func (x *HealthCheckInfo) GetName() string {
|
||||
@@ -2105,7 +2033,7 @@ type BackendInfo struct {
|
||||
|
||||
func (x *BackendInfo) Reset() {
|
||||
*x = BackendInfo{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[35]
|
||||
mi := &file_proto_maglev_proto_msgTypes[34]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2117,7 +2045,7 @@ func (x *BackendInfo) String() string {
|
||||
func (*BackendInfo) ProtoMessage() {}
|
||||
|
||||
func (x *BackendInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[35]
|
||||
mi := &file_proto_maglev_proto_msgTypes[34]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2130,7 +2058,7 @@ func (x *BackendInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use BackendInfo.ProtoReflect.Descriptor instead.
|
||||
func (*BackendInfo) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{35}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{34}
|
||||
}
|
||||
|
||||
func (x *BackendInfo) GetName() string {
|
||||
@@ -2186,7 +2114,7 @@ type TransitionRecord struct {
|
||||
|
||||
func (x *TransitionRecord) Reset() {
|
||||
*x = TransitionRecord{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[36]
|
||||
mi := &file_proto_maglev_proto_msgTypes[35]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2198,7 +2126,7 @@ func (x *TransitionRecord) String() string {
|
||||
func (*TransitionRecord) ProtoMessage() {}
|
||||
|
||||
func (x *TransitionRecord) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[36]
|
||||
mi := &file_proto_maglev_proto_msgTypes[35]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2211,7 +2139,7 @@ func (x *TransitionRecord) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use TransitionRecord.ProtoReflect.Descriptor instead.
|
||||
func (*TransitionRecord) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{36}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{35}
|
||||
}
|
||||
|
||||
func (x *TransitionRecord) GetFrom() string {
|
||||
@@ -2246,7 +2174,7 @@ type LogAttr struct {
|
||||
|
||||
func (x *LogAttr) Reset() {
|
||||
*x = LogAttr{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[37]
|
||||
mi := &file_proto_maglev_proto_msgTypes[36]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2258,7 +2186,7 @@ func (x *LogAttr) String() string {
|
||||
func (*LogAttr) ProtoMessage() {}
|
||||
|
||||
func (x *LogAttr) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[37]
|
||||
mi := &file_proto_maglev_proto_msgTypes[36]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2271,7 +2199,7 @@ func (x *LogAttr) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LogAttr.ProtoReflect.Descriptor instead.
|
||||
func (*LogAttr) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{37}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{36}
|
||||
}
|
||||
|
||||
func (x *LogAttr) GetKey() string {
|
||||
@@ -2301,7 +2229,7 @@ type LogEvent struct {
|
||||
|
||||
func (x *LogEvent) Reset() {
|
||||
*x = LogEvent{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[38]
|
||||
mi := &file_proto_maglev_proto_msgTypes[37]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2313,7 +2241,7 @@ func (x *LogEvent) String() string {
|
||||
func (*LogEvent) ProtoMessage() {}
|
||||
|
||||
func (x *LogEvent) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[38]
|
||||
mi := &file_proto_maglev_proto_msgTypes[37]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2326,7 +2254,7 @@ func (x *LogEvent) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LogEvent.ProtoReflect.Descriptor instead.
|
||||
func (*LogEvent) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{38}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{37}
|
||||
}
|
||||
|
||||
func (x *LogEvent) GetAtUnixNs() int64 {
|
||||
@@ -2368,7 +2296,7 @@ type BackendEvent struct {
|
||||
|
||||
func (x *BackendEvent) Reset() {
|
||||
*x = BackendEvent{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[39]
|
||||
mi := &file_proto_maglev_proto_msgTypes[38]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2380,7 +2308,7 @@ func (x *BackendEvent) String() string {
|
||||
func (*BackendEvent) ProtoMessage() {}
|
||||
|
||||
func (x *BackendEvent) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[39]
|
||||
mi := &file_proto_maglev_proto_msgTypes[38]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2393,7 +2321,7 @@ func (x *BackendEvent) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use BackendEvent.ProtoReflect.Descriptor instead.
|
||||
func (*BackendEvent) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{39}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{38}
|
||||
}
|
||||
|
||||
func (x *BackendEvent) GetBackendName() string {
|
||||
@@ -2422,7 +2350,7 @@ type FrontendEvent struct {
|
||||
|
||||
func (x *FrontendEvent) Reset() {
|
||||
*x = FrontendEvent{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[40]
|
||||
mi := &file_proto_maglev_proto_msgTypes[39]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2434,7 +2362,7 @@ func (x *FrontendEvent) String() string {
|
||||
func (*FrontendEvent) ProtoMessage() {}
|
||||
|
||||
func (x *FrontendEvent) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[40]
|
||||
mi := &file_proto_maglev_proto_msgTypes[39]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2447,7 +2375,7 @@ func (x *FrontendEvent) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FrontendEvent.ProtoReflect.Descriptor instead.
|
||||
func (*FrontendEvent) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{40}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{39}
|
||||
}
|
||||
|
||||
func (x *FrontendEvent) GetFrontendName() string {
|
||||
@@ -2479,7 +2407,7 @@ type Event struct {
|
||||
|
||||
func (x *Event) Reset() {
|
||||
*x = Event{}
|
||||
mi := &file_proto_maglev_proto_msgTypes[41]
|
||||
mi := &file_proto_maglev_proto_msgTypes[40]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2491,7 +2419,7 @@ func (x *Event) String() string {
|
||||
func (*Event) ProtoMessage() {}
|
||||
|
||||
func (x *Event) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_proto_maglev_proto_msgTypes[41]
|
||||
mi := &file_proto_maglev_proto_msgTypes[40]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2504,7 +2432,7 @@ func (x *Event) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Event.ProtoReflect.Descriptor instead.
|
||||
func (*Event) Descriptor() ([]byte, []int) {
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{41}
|
||||
return file_proto_maglev_proto_rawDescGZIP(), []int{40}
|
||||
}
|
||||
|
||||
func (x *Event) GetEvent() isEvent_Event {
|
||||
@@ -2642,15 +2570,9 @@ const file_proto_maglev_proto_rawDesc = "" +
|
||||
"\x10untracked_packet\x18\x06 \x01(\x04R\x0funtrackedPacket\x12\x1b\n" +
|
||||
"\tno_server\x18\a \x01(\x04R\bnoServer\x12\x18\n" +
|
||||
"\apackets\x18\b \x01(\x04R\apackets\x12\x14\n" +
|
||||
"\x05bytes\x18\t \x01(\x04R\x05bytes\"z\n" +
|
||||
"\x14VPPLBBackendCounters\x12\x18\n" +
|
||||
"\abackend\x18\x01 \x01(\tR\abackend\x12\x18\n" +
|
||||
"\aaddress\x18\x02 \x01(\tR\aaddress\x12\x18\n" +
|
||||
"\apackets\x18\x03 \x01(\x04R\apackets\x12\x14\n" +
|
||||
"\x05bytes\x18\x04 \x01(\x04R\x05bytes\"w\n" +
|
||||
"\x05bytes\x18\t \x01(\x04R\x05bytes\"C\n" +
|
||||
"\rVPPLBCounters\x12,\n" +
|
||||
"\x04vips\x18\x01 \x03(\v2\x18.maglev.VPPLBVIPCountersR\x04vips\x128\n" +
|
||||
"\bbackends\x18\x02 \x03(\v2\x1c.maglev.VPPLBBackendCountersR\bbackends\"\x8a\x01\n" +
|
||||
"\x04vips\x18\x01 \x03(\v2\x18.maglev.VPPLBVIPCountersR\x04vipsJ\x04\b\x02\x10\x03\"\x8a\x01\n" +
|
||||
"\x10SetWeightRequest\x12\x1a\n" +
|
||||
"\bfrontend\x18\x01 \x01(\tR\bfrontend\x12\x12\n" +
|
||||
"\x04pool\x18\x02 \x01(\tR\x04pool\x12\x18\n" +
|
||||
@@ -2788,7 +2710,7 @@ func file_proto_maglev_proto_rawDescGZIP() []byte {
|
||||
return file_proto_maglev_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_proto_maglev_proto_msgTypes = make([]protoimpl.MessageInfo, 42)
|
||||
var file_proto_maglev_proto_msgTypes = make([]protoimpl.MessageInfo, 41)
|
||||
var file_proto_maglev_proto_goTypes = []any{
|
||||
(*ListFrontendsRequest)(nil), // 0: maglev.ListFrontendsRequest
|
||||
(*GetFrontendRequest)(nil), // 1: maglev.GetFrontendRequest
|
||||
@@ -2812,85 +2734,83 @@ var file_proto_maglev_proto_goTypes = []any{
|
||||
(*SyncVPPLBStateResponse)(nil), // 19: maglev.SyncVPPLBStateResponse
|
||||
(*GetVPPLBCountersRequest)(nil), // 20: maglev.GetVPPLBCountersRequest
|
||||
(*VPPLBVIPCounters)(nil), // 21: maglev.VPPLBVIPCounters
|
||||
(*VPPLBBackendCounters)(nil), // 22: maglev.VPPLBBackendCounters
|
||||
(*VPPLBCounters)(nil), // 23: maglev.VPPLBCounters
|
||||
(*SetWeightRequest)(nil), // 24: maglev.SetWeightRequest
|
||||
(*WatchRequest)(nil), // 25: maglev.WatchRequest
|
||||
(*ListFrontendsResponse)(nil), // 26: maglev.ListFrontendsResponse
|
||||
(*PoolBackendInfo)(nil), // 27: maglev.PoolBackendInfo
|
||||
(*PoolInfo)(nil), // 28: maglev.PoolInfo
|
||||
(*FrontendInfo)(nil), // 29: maglev.FrontendInfo
|
||||
(*ListBackendsResponse)(nil), // 30: maglev.ListBackendsResponse
|
||||
(*ListHealthChecksResponse)(nil), // 31: maglev.ListHealthChecksResponse
|
||||
(*HTTPCheckParams)(nil), // 32: maglev.HTTPCheckParams
|
||||
(*TCPCheckParams)(nil), // 33: maglev.TCPCheckParams
|
||||
(*HealthCheckInfo)(nil), // 34: maglev.HealthCheckInfo
|
||||
(*BackendInfo)(nil), // 35: maglev.BackendInfo
|
||||
(*TransitionRecord)(nil), // 36: maglev.TransitionRecord
|
||||
(*LogAttr)(nil), // 37: maglev.LogAttr
|
||||
(*LogEvent)(nil), // 38: maglev.LogEvent
|
||||
(*BackendEvent)(nil), // 39: maglev.BackendEvent
|
||||
(*FrontendEvent)(nil), // 40: maglev.FrontendEvent
|
||||
(*Event)(nil), // 41: maglev.Event
|
||||
(*VPPLBCounters)(nil), // 22: maglev.VPPLBCounters
|
||||
(*SetWeightRequest)(nil), // 23: maglev.SetWeightRequest
|
||||
(*WatchRequest)(nil), // 24: maglev.WatchRequest
|
||||
(*ListFrontendsResponse)(nil), // 25: maglev.ListFrontendsResponse
|
||||
(*PoolBackendInfo)(nil), // 26: maglev.PoolBackendInfo
|
||||
(*PoolInfo)(nil), // 27: maglev.PoolInfo
|
||||
(*FrontendInfo)(nil), // 28: maglev.FrontendInfo
|
||||
(*ListBackendsResponse)(nil), // 29: maglev.ListBackendsResponse
|
||||
(*ListHealthChecksResponse)(nil), // 30: maglev.ListHealthChecksResponse
|
||||
(*HTTPCheckParams)(nil), // 31: maglev.HTTPCheckParams
|
||||
(*TCPCheckParams)(nil), // 32: maglev.TCPCheckParams
|
||||
(*HealthCheckInfo)(nil), // 33: maglev.HealthCheckInfo
|
||||
(*BackendInfo)(nil), // 34: maglev.BackendInfo
|
||||
(*TransitionRecord)(nil), // 35: maglev.TransitionRecord
|
||||
(*LogAttr)(nil), // 36: maglev.LogAttr
|
||||
(*LogEvent)(nil), // 37: maglev.LogEvent
|
||||
(*BackendEvent)(nil), // 38: maglev.BackendEvent
|
||||
(*FrontendEvent)(nil), // 39: maglev.FrontendEvent
|
||||
(*Event)(nil), // 40: maglev.Event
|
||||
}
|
||||
var file_proto_maglev_proto_depIdxs = []int32{
|
||||
15, // 0: maglev.VPPLBVIP.application_servers:type_name -> maglev.VPPLBAS
|
||||
14, // 1: maglev.VPPLBState.conf:type_name -> maglev.VPPLBConf
|
||||
16, // 2: maglev.VPPLBState.vips:type_name -> maglev.VPPLBVIP
|
||||
21, // 3: maglev.VPPLBCounters.vips:type_name -> maglev.VPPLBVIPCounters
|
||||
22, // 4: maglev.VPPLBCounters.backends:type_name -> maglev.VPPLBBackendCounters
|
||||
27, // 5: maglev.PoolInfo.backends:type_name -> maglev.PoolBackendInfo
|
||||
28, // 6: maglev.FrontendInfo.pools:type_name -> maglev.PoolInfo
|
||||
32, // 7: maglev.HealthCheckInfo.http:type_name -> maglev.HTTPCheckParams
|
||||
33, // 8: maglev.HealthCheckInfo.tcp:type_name -> maglev.TCPCheckParams
|
||||
36, // 9: maglev.BackendInfo.transitions:type_name -> maglev.TransitionRecord
|
||||
37, // 10: maglev.LogEvent.attrs:type_name -> maglev.LogAttr
|
||||
36, // 11: maglev.BackendEvent.transition:type_name -> maglev.TransitionRecord
|
||||
36, // 12: maglev.FrontendEvent.transition:type_name -> maglev.TransitionRecord
|
||||
38, // 13: maglev.Event.log:type_name -> maglev.LogEvent
|
||||
39, // 14: maglev.Event.backend:type_name -> maglev.BackendEvent
|
||||
40, // 15: maglev.Event.frontend:type_name -> maglev.FrontendEvent
|
||||
0, // 16: maglev.Maglev.ListFrontends:input_type -> maglev.ListFrontendsRequest
|
||||
1, // 17: maglev.Maglev.GetFrontend:input_type -> maglev.GetFrontendRequest
|
||||
2, // 18: maglev.Maglev.ListBackends:input_type -> maglev.ListBackendsRequest
|
||||
3, // 19: maglev.Maglev.GetBackend:input_type -> maglev.GetBackendRequest
|
||||
4, // 20: maglev.Maglev.PauseBackend:input_type -> maglev.BackendRequest
|
||||
4, // 21: maglev.Maglev.ResumeBackend:input_type -> maglev.BackendRequest
|
||||
4, // 22: maglev.Maglev.EnableBackend:input_type -> maglev.BackendRequest
|
||||
4, // 23: maglev.Maglev.DisableBackend:input_type -> maglev.BackendRequest
|
||||
5, // 24: maglev.Maglev.ListHealthChecks:input_type -> maglev.ListHealthChecksRequest
|
||||
6, // 25: maglev.Maglev.GetHealthCheck:input_type -> maglev.GetHealthCheckRequest
|
||||
24, // 26: maglev.Maglev.SetFrontendPoolBackendWeight:input_type -> maglev.SetWeightRequest
|
||||
25, // 27: maglev.Maglev.WatchEvents:input_type -> maglev.WatchRequest
|
||||
7, // 28: maglev.Maglev.CheckConfig:input_type -> maglev.CheckConfigRequest
|
||||
9, // 29: maglev.Maglev.ReloadConfig:input_type -> maglev.ReloadConfigRequest
|
||||
11, // 30: maglev.Maglev.GetVPPInfo:input_type -> maglev.GetVPPInfoRequest
|
||||
13, // 31: maglev.Maglev.GetVPPLBState:input_type -> maglev.GetVPPLBStateRequest
|
||||
18, // 32: maglev.Maglev.SyncVPPLBState:input_type -> maglev.SyncVPPLBStateRequest
|
||||
20, // 33: maglev.Maglev.GetVPPLBCounters:input_type -> maglev.GetVPPLBCountersRequest
|
||||
26, // 34: maglev.Maglev.ListFrontends:output_type -> maglev.ListFrontendsResponse
|
||||
29, // 35: maglev.Maglev.GetFrontend:output_type -> maglev.FrontendInfo
|
||||
30, // 36: maglev.Maglev.ListBackends:output_type -> maglev.ListBackendsResponse
|
||||
35, // 37: maglev.Maglev.GetBackend:output_type -> maglev.BackendInfo
|
||||
35, // 38: maglev.Maglev.PauseBackend:output_type -> maglev.BackendInfo
|
||||
35, // 39: maglev.Maglev.ResumeBackend:output_type -> maglev.BackendInfo
|
||||
35, // 40: maglev.Maglev.EnableBackend:output_type -> maglev.BackendInfo
|
||||
35, // 41: maglev.Maglev.DisableBackend:output_type -> maglev.BackendInfo
|
||||
31, // 42: maglev.Maglev.ListHealthChecks:output_type -> maglev.ListHealthChecksResponse
|
||||
34, // 43: maglev.Maglev.GetHealthCheck:output_type -> maglev.HealthCheckInfo
|
||||
29, // 44: maglev.Maglev.SetFrontendPoolBackendWeight:output_type -> maglev.FrontendInfo
|
||||
41, // 45: maglev.Maglev.WatchEvents:output_type -> maglev.Event
|
||||
8, // 46: maglev.Maglev.CheckConfig:output_type -> maglev.CheckConfigResponse
|
||||
10, // 47: maglev.Maglev.ReloadConfig:output_type -> maglev.ReloadConfigResponse
|
||||
12, // 48: maglev.Maglev.GetVPPInfo:output_type -> maglev.VPPInfo
|
||||
17, // 49: maglev.Maglev.GetVPPLBState:output_type -> maglev.VPPLBState
|
||||
19, // 50: maglev.Maglev.SyncVPPLBState:output_type -> maglev.SyncVPPLBStateResponse
|
||||
23, // 51: maglev.Maglev.GetVPPLBCounters:output_type -> maglev.VPPLBCounters
|
||||
34, // [34:52] is the sub-list for method output_type
|
||||
16, // [16:34] is the sub-list for method input_type
|
||||
16, // [16:16] is the sub-list for extension type_name
|
||||
16, // [16:16] is the sub-list for extension extendee
|
||||
0, // [0:16] is the sub-list for field type_name
|
||||
26, // 4: maglev.PoolInfo.backends:type_name -> maglev.PoolBackendInfo
|
||||
27, // 5: maglev.FrontendInfo.pools:type_name -> maglev.PoolInfo
|
||||
31, // 6: maglev.HealthCheckInfo.http:type_name -> maglev.HTTPCheckParams
|
||||
32, // 7: maglev.HealthCheckInfo.tcp:type_name -> maglev.TCPCheckParams
|
||||
35, // 8: maglev.BackendInfo.transitions:type_name -> maglev.TransitionRecord
|
||||
36, // 9: maglev.LogEvent.attrs:type_name -> maglev.LogAttr
|
||||
35, // 10: maglev.BackendEvent.transition:type_name -> maglev.TransitionRecord
|
||||
35, // 11: maglev.FrontendEvent.transition:type_name -> maglev.TransitionRecord
|
||||
37, // 12: maglev.Event.log:type_name -> maglev.LogEvent
|
||||
38, // 13: maglev.Event.backend:type_name -> maglev.BackendEvent
|
||||
39, // 14: maglev.Event.frontend:type_name -> maglev.FrontendEvent
|
||||
0, // 15: maglev.Maglev.ListFrontends:input_type -> maglev.ListFrontendsRequest
|
||||
1, // 16: maglev.Maglev.GetFrontend:input_type -> maglev.GetFrontendRequest
|
||||
2, // 17: maglev.Maglev.ListBackends:input_type -> maglev.ListBackendsRequest
|
||||
3, // 18: maglev.Maglev.GetBackend:input_type -> maglev.GetBackendRequest
|
||||
4, // 19: maglev.Maglev.PauseBackend:input_type -> maglev.BackendRequest
|
||||
4, // 20: maglev.Maglev.ResumeBackend:input_type -> maglev.BackendRequest
|
||||
4, // 21: maglev.Maglev.EnableBackend:input_type -> maglev.BackendRequest
|
||||
4, // 22: maglev.Maglev.DisableBackend:input_type -> maglev.BackendRequest
|
||||
5, // 23: maglev.Maglev.ListHealthChecks:input_type -> maglev.ListHealthChecksRequest
|
||||
6, // 24: maglev.Maglev.GetHealthCheck:input_type -> maglev.GetHealthCheckRequest
|
||||
23, // 25: maglev.Maglev.SetFrontendPoolBackendWeight:input_type -> maglev.SetWeightRequest
|
||||
24, // 26: maglev.Maglev.WatchEvents:input_type -> maglev.WatchRequest
|
||||
7, // 27: maglev.Maglev.CheckConfig:input_type -> maglev.CheckConfigRequest
|
||||
9, // 28: maglev.Maglev.ReloadConfig:input_type -> maglev.ReloadConfigRequest
|
||||
11, // 29: maglev.Maglev.GetVPPInfo:input_type -> maglev.GetVPPInfoRequest
|
||||
13, // 30: maglev.Maglev.GetVPPLBState:input_type -> maglev.GetVPPLBStateRequest
|
||||
18, // 31: maglev.Maglev.SyncVPPLBState:input_type -> maglev.SyncVPPLBStateRequest
|
||||
20, // 32: maglev.Maglev.GetVPPLBCounters:input_type -> maglev.GetVPPLBCountersRequest
|
||||
25, // 33: maglev.Maglev.ListFrontends:output_type -> maglev.ListFrontendsResponse
|
||||
28, // 34: maglev.Maglev.GetFrontend:output_type -> maglev.FrontendInfo
|
||||
29, // 35: maglev.Maglev.ListBackends:output_type -> maglev.ListBackendsResponse
|
||||
34, // 36: maglev.Maglev.GetBackend:output_type -> maglev.BackendInfo
|
||||
34, // 37: maglev.Maglev.PauseBackend:output_type -> maglev.BackendInfo
|
||||
34, // 38: maglev.Maglev.ResumeBackend:output_type -> maglev.BackendInfo
|
||||
34, // 39: maglev.Maglev.EnableBackend:output_type -> maglev.BackendInfo
|
||||
34, // 40: maglev.Maglev.DisableBackend:output_type -> maglev.BackendInfo
|
||||
30, // 41: maglev.Maglev.ListHealthChecks:output_type -> maglev.ListHealthChecksResponse
|
||||
33, // 42: maglev.Maglev.GetHealthCheck:output_type -> maglev.HealthCheckInfo
|
||||
28, // 43: maglev.Maglev.SetFrontendPoolBackendWeight:output_type -> maglev.FrontendInfo
|
||||
40, // 44: maglev.Maglev.WatchEvents:output_type -> maglev.Event
|
||||
8, // 45: maglev.Maglev.CheckConfig:output_type -> maglev.CheckConfigResponse
|
||||
10, // 46: maglev.Maglev.ReloadConfig:output_type -> maglev.ReloadConfigResponse
|
||||
12, // 47: maglev.Maglev.GetVPPInfo:output_type -> maglev.VPPInfo
|
||||
17, // 48: maglev.Maglev.GetVPPLBState:output_type -> maglev.VPPLBState
|
||||
19, // 49: maglev.Maglev.SyncVPPLBState:output_type -> maglev.SyncVPPLBStateResponse
|
||||
22, // 50: maglev.Maglev.GetVPPLBCounters:output_type -> maglev.VPPLBCounters
|
||||
33, // [33:51] is the sub-list for method output_type
|
||||
15, // [15:33] is the sub-list for method input_type
|
||||
15, // [15:15] is the sub-list for extension type_name
|
||||
15, // [15:15] is the sub-list for extension extendee
|
||||
0, // [0:15] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_proto_maglev_proto_init() }
|
||||
@@ -2899,8 +2819,8 @@ func file_proto_maglev_proto_init() {
|
||||
return
|
||||
}
|
||||
file_proto_maglev_proto_msgTypes[18].OneofWrappers = []any{}
|
||||
file_proto_maglev_proto_msgTypes[25].OneofWrappers = []any{}
|
||||
file_proto_maglev_proto_msgTypes[41].OneofWrappers = []any{
|
||||
file_proto_maglev_proto_msgTypes[24].OneofWrappers = []any{}
|
||||
file_proto_maglev_proto_msgTypes[40].OneofWrappers = []any{
|
||||
(*Event_Log)(nil),
|
||||
(*Event_Backend)(nil),
|
||||
(*Event_Frontend)(nil),
|
||||
@@ -2911,7 +2831,7 @@ func file_proto_maglev_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_maglev_proto_rawDesc), len(file_proto_maglev_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 42,
|
||||
NumMessages: 41,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user