Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PrefixRanges (0.14 sec)

  1. istioctl/pkg/writer/envoy/configdump/listener.go

    		}
    	}
    
    	port := ""
    	if match.DestinationPort != nil {
    		port = fmt.Sprintf(":%d", match.DestinationPort.GetValue())
    	}
    	if len(match.PrefixRanges) > 0 {
    		pf := []string{}
    		for _, p := range match.PrefixRanges {
    			pf = append(pf, fmt.Sprintf("%s/%d", p.AddressPrefix, p.GetPrefixLen().GetValue()))
    		}
    		descrs = append(descrs, fmt.Sprintf("Addr: %s%s", strings.Join(pf, ","), port))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  2. pilot/pkg/simulation/traffic.go

    		return fc.GetDestinationPort() == nil
    	}, func(fc *listener.FilterChainMatch) bool {
    		return int(fc.GetDestinationPort().GetValue()) == input.Port
    	})
    	chains = filter("PrefixRanges", chains, func(fc *listener.FilterChainMatch) bool {
    		return fc.GetPrefixRanges() == nil
    	}, func(fc *listener.FilterChainMatch) bool {
    		ranger := cidranger.NewPCTrieRanger()
    		for _, a := range fc.GetPrefixRanges() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener.go

    		for _, d := range chain.destinationCIDRs {
    			cidr := util.ConvertAddressToCidr(d)
    			if cidr != nil && cidr.AddressPrefix != constants.UnspecifiedIP {
    				match.PrefixRanges = append(match.PrefixRanges, cidr)
    			}
    		}
    	}
    
    	return match
    }
    
    func mergeTCPFilterChains(current *outboundListenerEntry, incoming []*filterChainOpts, opts outboundListenerOpts) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_test.go

    					t.Fatalf("expected %d listeners, found %d", 1, len(listeners))
    				}
    				var chains []string
    				for _, fc := range listeners[0].FilterChains {
    					for _, cidr := range fc.FilterChainMatch.PrefixRanges {
    						chains = append(chains, cidr.AddressPrefix)
    					}
    				}
    				// There should not be multiple filter chains with same CIDR match
    				if !reflect.DeepEqual(chains, tt.expectedChains) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top