Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hnsID (0.41 sec)

  1. pkg/proxy/winkernel/hns_test.go

    	endpoint, err := hns.createEndpoint(endpoint, Network.Name)
    	if err != nil {
    		t.Error(err)
    	}
    	Endpoint, err := hcn.GetEndpointByID(endpoint.hnsID)
    	if err != nil {
    		t.Error(err)
    	}
    	if !strings.EqualFold(endpoint.hnsID, Endpoint.Id) {
    		t.Errorf("%v does not match %v", endpoint.hnsID, Endpoint.Id)
    	}
    	if endpoint.ip != Endpoint.IpConfigurations[0].IpAddress {
    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

    		macAddress:      createdEndpoint.MacAddress,
    		hnsID:           createdEndpoint.Id,
    		providerAddress: ep.providerAddress, //TODO get from createdEndpoint
    		hns:             hns,
    	}, nil
    }
    func (hns hns) deleteEndpoint(hnsID string) error {
    	hnsendpoint, err := hns.hcn.GetEndpointByID(hnsID)
    	if err != nil {
    		return err
    	}
    	err = hns.hcn.DeleteEndpoint(hnsendpoint)
    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/proxier.go

    	hns := svcInfo.hns
    	if err := hns.deleteLoadBalancer(svcInfo.hnsID); err != nil {
    		mapStaleLoadbalancer[svcInfo.hnsID] = true
    		klog.V(1).ErrorS(err, "Error deleting Hns loadbalancer policy resource.", "hnsID", svcInfo.hnsID, "ClusterIP", svcInfo.ClusterIP())
    	} else {
    		// On successful delete, remove hnsId
    		svcInfo.hnsID = ""
    	}
    
    	if err := hns.deleteLoadBalancer(svcInfo.nodePorthnsID); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  4. pkg/proxy/winkernel/proxier_test.go

    		for _, externalIP := range svcInfo.externalIPs {
    			if externalIP.hnsID != "" {
    				t.Errorf("ExternalLBID %v is not empty.", externalIP.hnsID)
    			}
    		}
    		// Verifying IngressIP Loadbalancer is not created
    		for _, ingressIP := range svcInfo.loadBalancerIngressIPs {
    			if ingressIP.hnsID != "" {
    				t.Errorf("IngressLBID %v is not empty.", ingressIP.hnsID)
    			}
    		}
    	}
    }
    
    func TestEndpointSlice(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. pkg/proxy/winkernel/testing/hcnutils_mock.go

    			IPv6DualStack: true,
    		},
    		network: hnsNetwork,
    	}
    }
    
    func (hcnObj HcnMock) PopulateQueriedEndpoints(epId, hnsId, ipAddress, mac string, prefixLen uint8) {
    	endpoint := &hcn.HostComputeEndpoint{
    		Id:                 epId,
    		Name:               epId,
    		HostComputeNetwork: hnsId,
    		IpConfigurations: []hcn.IpConfig{
    			{
    				IpAddress:    ipAddress,
    				PrefixLength: prefixLen,
    			},
    		},
    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