package ipam

import "github.com/containernetworking/plugins/pkg/ipam"

Index

Constants

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"
)

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

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

func ExecDel

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

func ExecStatus

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

Source Files

ipam.go ipam_linux.go

Version
v1.7.1 (latest)
Published
Apr 25, 2025
Platform
linux/amd64
Imports
12 packages
Last checked
6 days ago

Tools for package owners.