Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for cidr2 (0.02 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    		return fmt.Errorf("interceptionMode invalid: %v", mode)
    	}
    	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 {
    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. cni/pkg/iptables/iptables_linux.go

    	// Set up netlink routes for localhost
    	cidrs := []string{"0.0.0.0/0"}
    	if cfg.EnableIPv6 {
    		// IPv6 may be enabled, but only partially
    		v, err := ReadSysctl(ipv6DisabledLo)
    		if v != "1" {
    			// If we got an error, we will proceed. Maybe it will work anyways
    			if err != nil {
    				log.Warnf("attempted to read %q got error: %v; attemping to continue", ipv6DisabledLo, err)
    			}
    			cidrs = append(cidrs, "0::0/0")
    		} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

    // allocations when the MultiCIDRRangeAllocator is enabled (see the config for
    // kube-controller-manager).  A cluster may have any number of ClusterCIDR
    // resources, all of which will be considered when allocating a CIDR for a
    // Node.  A ClusterCIDR is eligible to be used for a given Node when the node
    // selector matches the node in question and has free CIDRs to allocate.  In
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6K 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/apimachinery/pkg/apis/meta/v1/generated.proto

      // a map of client CIDR to server address that is serving this group.
      // This is to help clients reach servers in the most network-efficient way possible.
      // Clients can use the appropriate server address as per the CIDR that they match.
      // In case of multiple matches, clients should use the longest matching CIDR.
      // The server returns only those CIDRs that it thinks that the client can match.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/net.go

    	for _, addr := range addrs {
    		ipList.Add(addr)
    	}
    
    	return ipList, err
    }
    
    // sortIPs - sort ips based on higher octets.
    // The logic to sort by last octet is implemented to
    // prefer CIDRs with higher octets, this in-turn skips the
    // localhost/loopback address to be not preferred as the
    // first ip on the list. Subsequently this list helps us print
    // a user friendly message with appropriate values.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.32.md

    ### Documentation
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
Back to top