Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for eth3 (0.6 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/net/interface_test.go

    		errStrFrag string
    	}{
    		{"ipv4", "eth3", familyIPv4, validNetworkInterface{}, netutils.ParseIPSloppy("10.254.71.145"), ""},
    		{"ipv6", "eth3", familyIPv6, ipv6NetworkInterface{}, netutils.ParseIPSloppy("2001::200"), ""},
    		{"no ipv4", "eth3", familyIPv4, ipv6NetworkInterface{}, nil, ""},
    		{"no ipv6", "eth3", familyIPv6, validNetworkInterface{}, nil, ""},
    		{"I/F down", "eth3", familyIPv4, downNetworkInterface{}, nil, ""},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 33.2K bytes
    - Viewed (0)
  2. pkg/proxy/util/nodeport_addresses_test.go

    			itfAddrsPairs: []InterfaceAddrsPair{
    				{
    					itf:   net.Interface{Index: 0, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0},
    					addrs: []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("10.20.30.51"), Mask: net.CIDRMask(24, 32)}},
    				},
    				{
    					itf:   net.Interface{Index: 2, MTU: 0, Name: "eth1", HardwareAddr: nil, Flags: 0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/provider_test.go

    	assert.NotNil(t, stats)
    	assert.EqualValues(t, testTime(timestamp, seed).Unix(), stats.Time.Time.Unix(), label+".Net.Time")
    	assert.EqualValues(t, "eth0", stats.Name, "default interface name is not eth0")
    	assert.EqualValues(t, seed+offsetNetRxBytes, *stats.RxBytes, label+".Net.RxBytes")
    	assert.EqualValues(t, seed+offsetNetRxErrors, *stats.RxErrors, label+".Net.RxErrors")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server_linux_test.go

    				DetectLocal:     proxyconfigapi.DetectLocalConfiguration{BridgeInterface: "eth"},
    			},
    			primaryIPFamily: v1.IPv4Protocol,
    			expected: map[v1.IPFamily]proxyutil.LocalTrafficDetector{
    				v1.IPv4Protocol: proxyutil.NewDetectLocalByBridgeInterface("eth"),
    				v1.IPv6Protocol: proxyutil.NewDetectLocalByBridgeInterface("eth"),
    			},
    		},
    		{
    			name: "LocalModeBridgeInterface, strange bridge name",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/library/ip.go

    // The IP address must be an IPv4 or IPv6 address.
    // IPv4-mapped IPv6 addresses (e.g. ::ffff:1.2.3.4) are not allowed.
    // IP addresses with zones (e.g. fe80::1%eth0) are not allowed.
    // Leading zeros in IPv4 address octets are not allowed.
    //
    //	ip(<string>) <IPAddr>
    //
    // Examples:
    //
    //	ip('127.0.0.1') // returns an IPv4 address
    //	ip('::1') // returns an IPv6 address
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 11:02:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    }`
    
    type mockInterceptRuleMgr struct {
    	lastRedirect []*Redirect
    }
    
    func buildMockConf(ambientEnabled bool, eventURL string) string {
    	return fmt.Sprintf(
    		mockConfTmpl,
    		"1.0.0",
    		"1.0.0",
    		"eth0",
    		testSandboxDirectory,
    		eventURL,
    		ambientEnabled,
    		"mock",
    	)
    }
    
    func buildFakePodAndNSForClient() (*corev1.Pod, *corev1.Namespace) {
    	proxy := corev1.Container{Name: "mockContainer"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. pkg/util/iptables/testing/parse_test.go

    			name: "unrecognized arguments",
    			rule: `-A KUBE-SVC-4SW47YFZTEDKD3PK -m comment --comment ns4/svc4:p80 -i eth0 -j KUBE-SEP-UKSFD7AGPMPPLUHC`,
    			err:  `unrecognized parameter "-i"`,
    		},
    		{
    			name:      "unrecognized arguments with strict=false",
    			rule:      `-A KUBE-SVC-4SW47YFZTEDKD3PK -m comment --comment ns4/svc4:p80 -i eth0 -j KUBE-SEP-UKSFD7AGPMPPLUHC`,
    			nonStrict: true,
    			parsed: &Rule{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 26K bytes
    - Viewed (0)
  8. src/syscall/mkerrors.sh

    		$2 ~ /^(SCM_SRCRT)$/ {next}
    		$2 ~ /^(MAP_FAILED)$/ {next}
    		$2 ~ /^CLONE_[A-Z_]+/ {next} # These are defined in exec_linux.go.
    		$2 ~ /^ELF_.*$/ {next}	# <asm/elf.h> contains ELF_ARCH, etc.
    
    		$2 !~ /^ETH_/ &&
    		$2 !~ /^EPROC_/ &&
    		$2 !~ /^EQUIV_/ &&
    		$2 !~ /^EXPR_/ &&
    		$2 ~ /^E[A-Z0-9_]+$/ ||
    		$2 ~ /^B[0-9_]+$/ ||
    		$2 ~ /^V[A-Z0-9]+$/ ||
    		$2 ~ /^CS[A-Z0-9]/ ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/validation/validation_test.go

    			name: "host:port",
    			in:   "example.com:80",
    			err:  "must be a valid IP address",
    		},
    		{
    			name: "ipv6 with zone",
    			in:   "1234::abcd%eth0",
    			err:  "must be a valid IP address",
    		},
    		{
    			name: "ipv4 with zone",
    			in:   "169.254.0.0%eth0",
    			err:  "must be a valid IP address",
    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    			errs := IsValidIP(field.NewPath(""), tc.in)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 04:51:54 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/helper.go

    )
    
    // defaultNetworkInterfaceName is used for collectng network stats.
    // This logic relies on knowledge of the container runtime implementation and
    // is not reliable.
    const defaultNetworkInterfaceName = "eth0"
    
    func cadvisorInfoToCPUandMemoryStats(info *cadvisorapiv2.ContainerInfo) (*statsapi.CPUStats, *statsapi.MemoryStats) {
    	cstat, found := latestContainerStats(info)
    	if !found {
    		return nil, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
Back to top