cfgbgplib

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GOBGP_CONF_PATH     = "/etc/frr/gobgpd.toml"
	GOBGP_WAIT_SEC      = 1 * time.Second
	GOBGP_PROCESS_NAME  = "gobgpd"
	GOBGP_RELOAD_SIGNAL = "-HUP"
)

Variables

This section is empty.

Functions

func BackupGobgpRun

func BackupGobgpRun(path, backup string, client api.RpcApiClient) (*api.ExecuteReply, error)

func CommitGobgpRun

func CommitGobgpRun(backup string, wait time.Duration, client api.RpcApiClient) (*api.ExecuteReply, error)

func DoGobgpRun

func DoGobgpRun(cmd string, path string, args []string, client api.RpcApiClient) (*api.ExecuteReply, error)

func GobgpBackupPath

func GobgpBackupPath(path string) string

func LoadGobgpRun

func LoadGobgpRun(wait time.Duration, client api.RpcApiClient) (*api.ExecuteReply, error)

func RestartGobgpRun

func RestartGobgpRun(client api.RpcApiClient) (*api.ExecuteReply, error)

func RollbackGobgpRun

func RollbackGobgpRun(backup, path string, client api.RpcApiClient) (*api.ExecuteReply, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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