quagga

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

README

quaggad

quaggad is openconfigd configuration gateway to quagga.

$ go get github.com/coreswitch/zebra/rib/ribd
$ go get github.com/coreswitch/openconfigd/openconfigd
$ go get github.com/coreswitch/openconfigd/quagga/quaggad
$ sudo ${GOPATH}/bin/openconfigd -y ${GOPATH}/src/github.com/coreswitch/openconfigd/yang &
$ sudo ${GOPATH}/bin/ribd &
$ sudo /usr/lib/quagga/bgpd --config_file /dev/null --pid_file /tmp/bgpd.pid --socket /var/run/zserv.api &
$ sudo ${GOPATH}/bin/quaggad &

Documentation

Index

Constants

View Source
const (
	QUAGGAD_MODULE = "quaggad"
	QUAGGAD_PORT   = 2699
)

Variables

This section is empty.

Functions

func Crypt added in v0.8.1

func Crypt(passwd string) string

func GeneratePasswd added in v0.8.1

func GeneratePasswd() string

func GetHash added in v0.8.1

func GetHash() string

func GetPasswd added in v0.8.1

func GetPasswd() string

func Main

func Main()

func Verify added in v0.8.1

func Verify(passwd, hash string) bool

Types

type RuleSlice

type RuleSlice []string

func (RuleSlice) Len

func (rules RuleSlice) Len() int

func (RuleSlice) Less

func (rules RuleSlice) Less(i, j int) bool

func (RuleSlice) Swap

func (rules RuleSlice) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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