ipam

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 12 Imported by: 227

Documentation

Index

Constants

View Source
const (
	// Note: use slash as separator so we can have dots in interface name (VLANs)
	DisableIPv6SysctlTemplate    = "net/ipv6/conf/%s/disable_ipv6"
	KeepAddrOnDownSysctlTemplate = "net/ipv6/conf/%s/keep_addr_on_down"
)

Variables

This section is empty.

Functions

func ConfigureIface

func ConfigureIface(ifName string, res *current.Result) error

ConfigureIface takes the result of IPAM plugin and applies to the ifName interface

func ExecAdd

func ExecAdd(plugin string, netconf []byte) (types.Result, error)

func ExecCheck added in v0.8.0

func ExecCheck(plugin string, netconf []byte) error

func ExecDel

func ExecDel(plugin string, netconf []byte) error

func ExecStatus added in v1.6.0

func ExecStatus(plugin string, netconf []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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