util

package
v0.0.2 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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const InterfaceNameTemplate = "G%09s%03s%s"

Variables

This section is empty.

Functions

func ExtractVPCFromSRv6Endpoint

func ExtractVPCFromSRv6Endpoint(endpoint net.IP) (string, string, error)

func GenerateInterfaceNameGuest

func GenerateInterfaceNameGuest(vpc, vpcAttachment string) string

func GenerateInterfaceNameHost

func GenerateInterfaceNameHost(vpc, vpcAttachment string) string

func GenerateInterfaceNameVRF

func GenerateInterfaceNameVRF(vpc, vpcAttachment string) string

func ParseIP

func ParseIP(ip string) (net.IP, error)

func ParseSegments

func ParseSegments(input string) ([]net.IP, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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