network

package
v2.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetalNetworkerConfig = "/etc/metal/install.yaml"
)

Variables

This section is empty.

Functions

func GetLogger

func GetLogger() *slog.Logger

func GetNewNetworks

func GetNewNetworks(f *firewallv2.Firewall, oldNetworks []*models.V1MachineNetwork) []*models.V1MachineNetwork

GetNewNetworks returns updated network models

func ReconcileNetwork

func ReconcileNetwork(f *firewallv2.Firewall) (changed bool, err error)

ReconcileNetwork reconciles the network settings for a firewall Changes both the FRR-Configuration and Nftable rules when network prefixes or FRR template changes

Types

This section is empty.

Jump to

Keyboard shortcuts

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