Documentation ¶
Index ¶
- func CheckIfContainerNetworkLink(linkName string) bool
- func ConfigureContainerNic(containerNicName, hostNicName, nodeIfName string, ...) error
- func ConfigureHostNic(nicName string, allocatedIPs map[networkingv1.IPVersion]*daemonutils.IPInfo, ...) error
- func EnsureRpFilterConfigs(containerHostIf string) error
- func GenerateContainerVethPair(podNamespace, podName string) (string, string)
- func ListLocalAddressExceptLink(exceptLinkName string) ([]netlink.Addr, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureContainerNic ¶
func ConfigureContainerNic(containerNicName, hostNicName, nodeIfName string, allocatedIPs map[networkingv1.IPVersion]*daemonutils.IPInfo, macAddr net.HardwareAddr, netID *int32, netns ns.NetNS, mtu int, vlanCheckTimeout time.Duration, networkMode networkingv1.NetworkMode, neighGCThresh1, neighGCThresh2, neighGCThresh3 int, bgpManager *bgp.Manager) error
func ConfigureHostNic ¶
func ConfigureHostNic(nicName string, allocatedIPs map[networkingv1.IPVersion]*daemonutils.IPInfo, localDirectTableNum int) error
func EnsureRpFilterConfigs ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.