Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for NET (0.12 sec)

  1. cni/pkg/nodeagent/testdata/cgroupns/1/ns/net

    Ben Leggett <******@****.***> 1706301268 -0500
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - Viewed (0)
  2. cni/pkg/pluginlistener/listener_test.go

    	var opts []grpc.DialOption
    
    	opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
    		var d net.Dialer
    		return d.DialContext(ctx, "unix", socket)
    	}))
    
    	conn, err := grpc.Dial(socket, opts...)
    	if err != nil {
    		return nil, err
    	}
    
    	return conn, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 21:58:32 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver_test.go

    	// now as a client connect confirm we and get snapshot
    	resolvedAddr, err := net.ResolveUnixAddr("unixpacket", addr)
    	if err != nil {
    		panic(err)
    	}
    	ztunClient, err := net.DialUnix("unixpacket", nil, resolvedAddr)
    	if err != nil {
    		panic(err)
    	}
    
    	// send hello
    	sendHello(ztunClient)
    
    	return struct {
    		ztunClient *net.UnixConn
    		ztunServer *ztunnelServer
    	}{ztunClient: ztunClient, ztunServer: ztun}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package iptables
    
    import (
    	"errors"
    	"fmt"
    	"net"
    
    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    )
    
    func AddInpodMarkIPRule(cfg *Config) error {
    	err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd)
    	if errors.Is(err, unix.EEXIST) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. cni/pkg/ipset/nldeps_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ipset
    
    import (
    	"errors"
    	"fmt"
    	"net"
    	"net/netip"
    
    	"github.com/vishvananda/netlink"
    	"github.com/vishvananda/netlink/nl"
    	"golang.org/x/sys/unix"
    )
    
    func RealNlDeps() NetlinkIpsetDeps {
    	return &realDeps{}
    }
    
    type realDeps struct{}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. cni/pkg/install/testdata/list-no-istio.conflist

            ]
          },
          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "type": "bridge"
        },
        {
          "sysctl": {
            "net.core.somaxconn": "500"
          },
          "type": "tuning"
        }
      ]
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 01 20:47:54 GMT 2021
    - 508 bytes
    - Viewed (0)
  7. cni/pkg/repair/netns.go

    	}
    	return link.Attrs().NetNsID, nil
    }
    
    func getLinkWithDestinationOf(ip string) (netlink.Link, error) {
    	routes, err := netlink.RouteListFiltered(
    		netlink.FAMILY_V4,
    		&netlink.Route{Dst: &net.IPNet{IP: net.ParseIP(ip), Mask: net.CIDRMask(32, 32)}},
    		netlink.RT_FILTER_DST)
    	if err != nil {
    		return nil, err
    	}
    
    	if len(routes) == 0 {
    		return nil, fmt.Errorf("no routes found for %s", ip)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. cni/test/testdata/pre/nover_calico.conflist

          "log_level": "info",
          "mtu": 1500,
          "ipam": {
            "type": "calico-ipam"
          },
          "policy": {
            "type": "k8s"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          }
        },
        {
          "type": "portmap",
          "snat": true,
          "capabilities": {
            "portMappings": true
          }
        }
      ]
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 496 bytes
    - Viewed (0)
  9. cni/test/testdata/pre/noplugins_calico.conflist

          "log_level": "info",
          "mtu": 1500,
          "ipam": {
            "type": "calico-ipam"
          },
          "policy": {
            "type": "k8s"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          }
        },
        {
          "type": "portmap",
          "snat": true,
          "capabilities": {
            "portMappings": true
          }
        }
      ]
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 520 bytes
    - Viewed (0)
  10. manifests/charts/gateways/istio-ingress/files/profile-openshift.yaml

    # The OpenShift profile provides a basic set of settings to run Istio on OpenShift
    # CNI must be installed.
    cni:
      cniBinDir: /var/lib/cni/bin
      cniConfDir: /etc/cni/multus/net.d
      chained: false
      cniConfFileName: "istio-cni.conf"
      logLevel: info
      provider: "multus"
    global:
      platform: openshift
    pilot:
      cni:
        enabled: true
        provider: "multus"
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 12:37:25 GMT 2024
    - 594 bytes
    - Viewed (0)
Back to top