network

package
v0.0.0-...-4287dc4 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Config    *infra2v1alpha1.NetworkConfig
	Apply     bool
	Resources resources.Resources
	Endpoints *endpoints.Endpoints
	Nodes     *nodes.Nodes
	Ipam      ipam.IPAM
	Vlan      vlan.VLAN
}

type Network

type Network interface {
	Run(ctx context.Context, cr *infrav1alpha1.Network) error
	GetResources() resources.Resources
	GetDevices() map[string]*ygotsrl.Device
}

func New

func New(cfg *Config) Network

type Tracker

type Tracker interface {
	IsAlreadyDone(nodeName string, selectorName string) bool
}

func NewTracker

func NewTracker() Tracker

Jump to

Keyboard shortcuts

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