Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addIP (0.03 sec)

  1. cni/pkg/nodeagent/server_test.go

    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("3.3.3.3"),
    		ipProto,
    		pod1UID,
    		false,
    	).Return(errors.New("CANNOT ADD"))
    
    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("2.2.2.2"),
    		ipProto,
    		pod1UID,
    		false,
    	).Return(nil)
    
    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("3.3.3.3"),
    		ipProto,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server.go

    		// we _shouldn't_ get any overwrite/overlap, unless something is wrong and we are asked to add
    		// a pod by an IP we already have in the set (which will give an error, which we want).
    		if err := s.hostsideProbeIPSet.AddIP(pip, ipProto, podUID, false); err != nil {
    			ipsetAddrErrs = append(ipsetAddrErrs, err)
    			log.Errorf("failed adding pod %s to ipset %s with ip %s, error was %s",
    				pod.Name, &s.hostsideProbeIPSet.Prefix, pip, err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top