cumulus

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFrrApplier

func NewFrrApplier(tplPath string) *templates.Applier

func NewInterfacesApplier

func NewInterfacesApplier(tplPath string) *templates.Applier

Types

type Cumulus

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

func New

func New(log *zap.SugaredLogger, frrTplFile, interfacesTplFile string) *Cumulus

func (*Cumulus) Apply

func (c *Cumulus) Apply(cfg *types.Conf) error

func (*Cumulus) GetManagement

func (c *Cumulus) GetManagement() (ip, user string, err error)

func (*Cumulus) GetOS

func (c *Cumulus) GetOS() (*models.V1SwitchOS, error)

func (*Cumulus) GetSwitchPorts

func (c *Cumulus) GetSwitchPorts() ([]*net.Interface, error)

Jump to

Keyboard shortcuts

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