Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for IPv6Protocol (0.28 sec)

  1. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    	}
    	return serviceCIDR
    }
    
    func makeIPAddress(name string) *networkingapiv1alpha1.IPAddress {
    	family := string(v1.IPv4Protocol)
    	if netutils.IsIPv6String(name) {
    		family = string(v1.IPv6Protocol)
    	}
    	return &networkingapiv1alpha1.IPAddress{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    			Labels: map[string]string{
    				networkingapiv1alpha1.LabelIPAddressFamily: family,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. pkg/apis/core/fuzzer/fuzzer.go

    			*p = types[c.Rand.Intn(len(types))]
    		},
    		func(p *core.IPFamily, c fuzz.Continue) {
    			types := []core.IPFamily{core.IPv4Protocol, core.IPv6Protocol}
    			selected := types[c.Rand.Intn(len(types))]
    			*p = selected
    		},
    		func(p *core.ServiceExternalTrafficPolicy, c fuzz.Continue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. pkg/controller/servicecidrs/servicecidrs_controller.go

    // copied from pkg/proxy/util/utils.go
    func convertToV1IPFamily(ipFamily netutils.IPFamily) v1.IPFamily {
    	switch ipFamily {
    	case netutils.IPv4:
    		return v1.IPv4Protocol
    	case netutils.IPv6:
    		return v1.IPv6Protocol
    	}
    
    	return v1.IPFamilyUnknown
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. pkg/proxy/iptables/proxier.go

    	if err != nil {
    		return nil, fmt.Errorf("unable to create ipv4 proxier: %v", err)
    	}
    
    	ipv6Proxier, err := NewProxier(ctx, v1.IPv6Protocol, ipt[1], sysctl,
    		exec, syncPeriod, minSyncPeriod, masqueradeAll, false, masqueradeBit,
    		localDetectors[v1.IPv6Protocol], hostname, nodeIPs[v1.IPv6Protocol],
    		recorder, healthzServer, nodePortAddresses, initOnly)
    	if err != nil {
    		return nil, fmt.Errorf("unable to create ipv6 proxier: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  5. pkg/registry/core/service/ipallocator/ipallocator.go

    	}
    
    	// TODO: use the utils/net function once is available
    	size := hostsPerNetwork(cidr)
    	var family api.IPFamily
    	if netutils.IsIPv6CIDR(cidr) {
    		family = api.IPv6Protocol
    	} else {
    		family = api.IPv4Protocol
    	}
    	// Caching the first, offset and last addresses allows to optimize
    	// the search loops by using the netip.Addr iterator instead
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier_test.go

    			ipt := iptablestest.NewFake()
    			ipvs := ipvstest.NewFake()
    			ipset := ipsettest.NewFake(testIPSetVersion)
    			fp := NewFakeProxier(ctx, ipt, ipvs, ipset, test.nodeIPs, nil, v1.IPv6Protocol)
    			fp.nodePortAddresses = proxyutil.NewNodePortAddresses(v1.IPv6Protocol, test.nodePortAddresses)
    
    			makeServiceMap(fp, test.services...)
    			populateEndpointSlices(fp, test.endpoints...)
    
    			fp.syncProxyRules()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier_test.go

    			allowAltNodeIP: true,
    		},
    		{
    			name: "ipv6",
    
    			family:            v1.IPv6Protocol,
    			nodePortAddresses: nil,
    
    			allowAltNodeIP: false,
    		},
    		{
    			name: "ipv6, multiple nodeport-addresses",
    
    			family:            v1.IPv6Protocol,
    			nodePortAddresses: []string{"192.168.0.0/24", "192.168.1.0/24", "2001:db8::/64", "2001:db8:1::2/128"},
    
    			allowAltNodeIP: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  8. pkg/proxy/iptables/proxier_test.go

    		},
    		{
    			name: "ipv6, localhost-nodeports enabled",
    
    			family:             v1.IPv6Protocol,
    			localhostNodePorts: true,
    			nodePortAddresses:  nil,
    
    			allowAltNodeIP: true,
    			expectFirewall: false,
    		},
    		{
    			name: "ipv6, localhost-nodeports disabled",
    
    			family:             v1.IPv6Protocol,
    			localhostNodePorts: false,
    			nodePortAddresses:  nil,
    
    			allowAltNodeIP: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  9. pkg/controller/endpointslice/endpointslice_controller_test.go

    						{Name: "sctp-example", TargetPort: intstr.FromInt32(3456), Protocol: v1.ProtocolSCTP},
    					},
    					Selector:   map[string]string{"foo": "bar"},
    					IPFamilies: []v1.IPFamily{v1.IPv6Protocol},
    				},
    			},
    			pods: []*v1.Pod{
    				{
    					ObjectMeta: metav1.ObjectMeta{
    						Namespace:         "default",
    						Name:              "pod0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  10. pkg/apis/core/types.go

    type IPFamily string
    
    const (
    	// IPv4Protocol indicates that this IP is IPv4 protocol
    	IPv4Protocol IPFamily = "IPv4"
    	// IPv6Protocol indicates that this IP is IPv6 protocol
    	IPv6Protocol IPFamily = "IPv6"
    )
    
    // IPFamilyPolicy represents the dual-stack-ness requested or required by a Service
    type IPFamilyPolicy string
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
Back to top