Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IpConfigurations (0.12 sec)

  1. pkg/proxy/winkernel/hns_test.go

    	}
    	Endpoint := &hcn.HostComputeEndpoint{
    		IpConfigurations: []hcn.IpConfig{*ipConfig},
    		MacAddress:       epMacAddress,
    		SchemaVersion: hcn.SchemaVersion{
    			Major: 2,
    			Minor: 0,
    		},
    	}
    	Endpoint, err := Network.CreateEndpoint(Endpoint)
    	if err != nil {
    		t.Error(err)
    	}
    
    	endpoint, err := hns.getEndpointByIpAddress(Endpoint.IpConfigurations[0].IpAddress, Network.Name)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/hns.go

    	}
    	for _, endpoint := range endpoints {
    		equal := false
    		if endpoint.IpConfigurations != nil && len(endpoint.IpConfigurations) > 0 {
    			equal = endpoint.IpConfigurations[0].IpAddress == ip
    
    			if !equal && len(endpoint.IpConfigurations) > 1 {
    				equal = endpoint.IpConfigurations[1].IpAddress == ip
    			}
    		}
    		if equal && strings.EqualFold(endpoint.HostComputeNetwork, hnsnetwork.Id) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 21:21:12 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. pkg/proxy/winkernel/testing/hcnutils_mock.go

    	endpoint := &hcn.HostComputeEndpoint{
    		Id:                 epId,
    		Name:               epId,
    		HostComputeNetwork: hnsId,
    		IpConfigurations: []hcn.IpConfig{
    			{
    				IpAddress:    ipAddress,
    				PrefixLength: prefixLen,
    			},
    		},
    		MacAddress: mac,
    	}
    
    	endpointMap[endpoint.Id] = endpoint
    	endpointMap[endpoint.Name] = endpoint
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 06:29:01 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top