magmad

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: 8 Imported by: 0

Documentation

Overview

Package magmad provides functions for taking actions at connected gateways.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatewayGenericCommand

func GatewayGenericCommand(networkId string, gatewayId string, params *protos.GenericCommandParams) (*protos.GenericCommandResponse, error)

GatewayGenericCommand runs a generic command at a gateway. If gateway not registered, returns ErrNotFound from "github.com/go-magma/magma/lib/go/errors.

func GatewayPing

func GatewayPing(networkId string, gatewayId string, packets int32, hosts []string) (*protos.NetworkTestResponse, error)

GatewayPing sends pings from a gateway to a set of hosts. If gateway not registered, returns ErrNotFound from "github.com/go-magma/magma/lib/go/errors.

func GatewayReboot

func GatewayReboot(networkId string, gatewayId string) error

GatewayReboot reboots a gateway. If gateway not registered, returns ErrNotFound from "github.com/go-magma/magma/lib/go/errors.

func GatewayRestartServices

func GatewayRestartServices(networkId string, gatewayId string, services []string) error

GatewayRestartServices restarts services at a gateway. If gateway not registered, returns ErrNotFound from "github.com/go-magma/magma/lib/go/errors.

func TailGatewayLogs

func TailGatewayLogs(networkId string, gatewayId string, service string) (protos.Magmad_TailLogsClient, error)

TailGatewayLogs If gateway not registered, returns ErrNotFound from "github.com/go-magma/magma/lib/go/errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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