vrf

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MaxVRFId = uint32(math.MaxUint32 - 1)
View Source
const MinVRFId = uint32(1)

Variables

This section is empty.

Functions

func Add

func Add(vpc, vpcAttachment string) error

func Delete

func Delete(vpc, vpcAttachment string) error

func FindNextAvailableVRFId

func FindNextAvailableVRFId() (uint32, error)

func GetVRFIdForInterface

func GetVRFIdForInterface(name string) (uint32, error)

func GetVRFIdForVPC

func GetVRFIdForVPC(vpc, vpcAttachment string) (uint32, error)
func ListVRFLinks() ([]*netlink.Vrf, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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