package overlayutils

import "github.com/docker/docker/libnetwork/drivers/overlay/overlayutils"

Package overlayutils provides utility functions for overlay networks

Index

Functions

func AppendVNIList

func AppendVNIList(vnis []uint32, csv string) ([]uint32, error)

AppendVNIList appends the VNI values encoded as a CSV string to slice.

func ConfigVXLANUDPPort

func ConfigVXLANUDPPort(vxlanPort uint32) error

ConfigVXLANUDPPort configures the VXLAN UDP port (data path port) number. If no port is set, the default (4789) is returned. Valid port numbers are between 1024 and 49151.

func VXLANUDPPort

func VXLANUDPPort() uint32

VXLANUDPPort returns Vxlan UDP port number

Source Files

utils.go

Version
v26.1.2+incompatible
Published
May 8, 2024
Platform
linux/amd64
Imports
4 packages
Last checked
1 minute ago

Tools for package owners.