Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CIDR (0.08 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    	}
    	return nil
    }
    
    func validateCIDRList(cidrs string) error {
    	if len(cidrs) > 0 {
    		for _, cidr := range strings.Split(cidrs, ",") {
    			if _, err := netip.ParsePrefix(cidr); err != nil {
    				return fmt.Errorf("failed parsing cidr '%s': %v", cidr, err)
    			}
    		}
    	}
    	return nil
    }
    
    func splitPorts(portsString string) []string {
    	return strings.Split(portsString, ",")
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/listener.go

    			m = map[string]*matcher.Matcher_OnMatch{}
    			for _, rm := range ip.GetRangeMatchers() {
    				for _, r := range rm.Ranges {
    					cidr := r.AddressPrefix
    					pl := r.PrefixLen.GetValue()
    					if pl != 32 && pl != 128 {
    						cidr += fmt.Sprintf("/%d", pl)
    					}
    					m[cidr] = rm.OnMatch
    				}
    			}
    		default:
    			panic("unhandled")
    		}
    	}
    	outputs := []string{}
    	for k, v := range m {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  3. common/scripts/kind_provisioner.sh

    }
    
    function cidr_to_ips() {
        CIDR="$1"
        # cidr_to_ips returns a list of single IPs from a CIDR. We skip 1000 (since they are likely to be allocated
        # already to other services), then pick the next 100.
        python3 - <<EOF
    from ipaddress import ip_network, IPv6Network;
    from itertools import islice;
    
    net = ip_network('$CIDR')
    net_bits = 128 if type(net) == IPv6Network else 32;
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 21 04:47:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/networking/v1/generated.proto

    }
    
    // IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed
    // to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs
    // that should not be included within this rule.
    message IPBlock {
      // cidr is a string representing the IPBlock
      // Valid examples are "192.168.1.0/24" or "2001:db8::/64"
      optional string cidr = 1;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

    // IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed
    // to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs
    // that should not be included within this rule.
    message IPBlock {
      // CIDR is a string representing the IP Block
      // Valid examples are "192.168.1.0/24" or "2001:db8::/64"
      optional string cidr = 1;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    			excludePorts += fmt.Sprintf(",%d", config.StatusPort)
    		} else {
    			// use default status port
    			excludePorts += ",15020"
    		}
    	}
    	// default attributes and service name, namespace, ports, service account, service CIDR
    	overrides := map[string]string{
    		"ISTIO_INBOUND_PORTS":       portBehavior,
    		"ISTIO_NAMESPACE":           wg.Namespace,
    		"ISTIO_SERVICE":             fmt.Sprintf("%s.%s", wg.Name, wg.Namespace),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top