switcher

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NOS added in v0.8.3

type NOS interface {
	SanitizeConfig(cfg *types.Conf)
	Apply(cfg *types.Conf) error
	IsInitialized() (initialized bool, err error)
	GetNics(log *slog.Logger, blacklist []string) ([]*models.V1SwitchNic, error)
	GetSwitchPorts() ([]*net.Interface, error)
	GetOS() (*models.V1SwitchOS, error)
	GetManagement() (ip, user string, err error)
}

func NewNOS added in v0.8.3

func NewNOS(log *slog.Logger, frrTplFile, interfacesTplFile string) (NOS, error)

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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