Revision 9b72a5cf9c68e7b99230a45843583901812d2a08 authored by Daniel Borkmann on 03 May 2024, 13:39:42 UTC, committed by Daniel Borkmann on 03 May 2024, 13:56:45 UTC
Turn it off until we have a new v1.15 stable release with #32337 included. Without the PR the IPSec downgrade test on v1.15 reported small blips of connectivity interruption. We can revert this commit once v1.15.5 is out. Reported-by: Julian Wiedmann <jwi@isovalent.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1 parent 8552def
noop_allocator.go
// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Cilium
package ipam
import (
"errors"
"net"
)
var errNotSupported = errors.New("Operation not supported")
// noOpAllocator implements ipam.Allocator with no-op behavior.
// It is used for IPAMDelegatedPlugin, where the CNI binary is responsible for assigning IPs
// without relying on the cilium daemon or operator.
type noOpAllocator struct{}
func (n *noOpAllocator) Allocate(ip net.IP, owner string, pool Pool) (*AllocationResult, error) {
return nil, errNotSupported
}
func (n *noOpAllocator) AllocateWithoutSyncUpstream(ip net.IP, owner string, pool Pool) (*AllocationResult, error) {
return nil, errNotSupported
}
func (n *noOpAllocator) Release(ip net.IP, pool Pool) error {
return errNotSupported
}
func (n *noOpAllocator) AllocateNext(owner string, pool Pool) (*AllocationResult, error) {
return nil, errNotSupported
}
func (n *noOpAllocator) AllocateNextWithoutSyncUpstream(owner string, pool Pool) (*AllocationResult, error) {
return nil, errNotSupported
}
func (n *noOpAllocator) Dump() (map[Pool]map[string]string, string) {
return nil, "delegated to plugin"
}
func (n *noOpAllocator) Capacity() uint64 {
return uint64(0)
}
func (n *noOpAllocator) RestoreFinished() {
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...