servicers

package
v1.2.0 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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayHealthServicer

type GatewayHealthServicer struct {
	// contains filtered or unexported fields
}

func NewGatewayHealthServicer

func NewGatewayHealthServicer(
	cfg *mconfig.CwfGatewayHealthConfig,
	greProbe gre_probe.GREProbe,
	serviceHealth service_health.ServiceHealth,
	systemHealth system_health.SystemHealth,
) *GatewayHealthServicer

NewGatewayHealthServicer constructs a GatewayHealthServicer.

func (*GatewayHealthServicer) Disable

Disable disables datapath and service functionality. It disables datapath functionality by adding a drop rule for ICMP on eth1 of the gateway to ensure the standby gateway's GRE tunnel is perceived as being down by the AP/WLC. It disables service functionality by stopping to ensure the RADIUS server is perceived as being down.

func (*GatewayHealthServicer) Enable

Enable ensures ICMP is enabled on eth1, then restarts radius and sessiond to trigger initialization of the gateway.

func (*GatewayHealthServicer) GetHealthStatus

func (s *GatewayHealthServicer) GetHealthStatus(ctx context.Context, req *orcprotos.Void) (*protos.HealthStatus, error)

GetHealthStatus retrieves a health status object which contains the current health of the gateway.

Jump to

Keyboard shortcuts

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