mconfig

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mconfigs_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CwfGatewayHealthConfig

type CwfGatewayHealthConfig struct {

	// cpu utilization threshold
	CpuUtilThresholdPct float32 `protobuf:"fixed32,1,opt,name=cpu_util_threshold_pct,json=cpuUtilThresholdPct,proto3" json:"cpu_util_threshold_pct,omitempty"`
	// mem utilization threshold
	MemUtilThresholdPct float32 `protobuf:"fixed32,2,opt,name=mem_util_threshold_pct,json=memUtilThresholdPct,proto3" json:"mem_util_threshold_pct,omitempty"`
	// interval between probes
	GreProbeInterval uint32 `protobuf:"varint,3,opt,name=gre_probe_interval,json=greProbeInterval,proto3" json:"gre_probe_interval,omitempty"`
	// packets sent for each icmp probe
	IcmpProbePktCount uint32 `protobuf:"varint,4,opt,name=icmp_probe_pkt_count,json=icmpProbePktCount,proto3" json:"icmp_probe_pkt_count,omitempty"`
	// gre peers to probe
	GrePeers []*CwfGatewayHealthConfigGrePeer `protobuf:"bytes,5,rep,name=gre_peers,json=grePeers,proto3" json:"gre_peers,omitempty"`
	// contains filtered or unexported fields
}

----------------------------------------------------------------------------- Health configs -----------------------------------------------------------------------------

func (*CwfGatewayHealthConfig) Descriptor deprecated

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

Deprecated: Use CwfGatewayHealthConfig.ProtoReflect.Descriptor instead.

func (*CwfGatewayHealthConfig) GetCpuUtilThresholdPct

func (x *CwfGatewayHealthConfig) GetCpuUtilThresholdPct() float32

func (*CwfGatewayHealthConfig) GetGrePeers

func (*CwfGatewayHealthConfig) GetGreProbeInterval

func (x *CwfGatewayHealthConfig) GetGreProbeInterval() uint32

func (*CwfGatewayHealthConfig) GetIcmpProbePktCount

func (x *CwfGatewayHealthConfig) GetIcmpProbePktCount() uint32

func (*CwfGatewayHealthConfig) GetMemUtilThresholdPct

func (x *CwfGatewayHealthConfig) GetMemUtilThresholdPct() float32

func (*CwfGatewayHealthConfig) ProtoMessage

func (*CwfGatewayHealthConfig) ProtoMessage()

func (*CwfGatewayHealthConfig) ProtoReflect

func (x *CwfGatewayHealthConfig) ProtoReflect() protoreflect.Message

func (*CwfGatewayHealthConfig) Reset

func (x *CwfGatewayHealthConfig) Reset()

func (*CwfGatewayHealthConfig) String

func (x *CwfGatewayHealthConfig) String() string

type CwfGatewayHealthConfigGrePeer

type CwfGatewayHealthConfigGrePeer struct {
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*CwfGatewayHealthConfigGrePeer) Descriptor deprecated

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

Deprecated: Use CwfGatewayHealthConfigGrePeer.ProtoReflect.Descriptor instead.

func (*CwfGatewayHealthConfigGrePeer) GetIp

func (*CwfGatewayHealthConfigGrePeer) ProtoMessage

func (*CwfGatewayHealthConfigGrePeer) ProtoMessage()

func (*CwfGatewayHealthConfigGrePeer) ProtoReflect

func (*CwfGatewayHealthConfigGrePeer) Reset

func (x *CwfGatewayHealthConfigGrePeer) Reset()

func (*CwfGatewayHealthConfigGrePeer) String

Jump to

Keyboard shortcuts

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