connectioncontextkernel

package
v0.0.0-...-19bc7fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package connectioncontextkernel provides networkservice chain elements for applying connection context to the kernel interface side of vWires being plugged into the vpp

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

NewClient provides a NetworkServiceClient that applies the connectioncontext to a kernel interface It applies the connectioncontext on the *kernel* side of an interface leaving the Client. Generally only used by privileged Clients like those implementing the Cross Connect Network Service for K8s (formerly known as NSM Forwarder).

           Client
+---------------------------+
|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
|                           +-------------------+
|                           |          connectioncontextkernel.NewClient()
|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
+---------------------------+

func NewServer

NewServer provides a NetworkServiceServer that applies the connection context to a kernel interface It applies the connection context on the *kernel* side of an interface plugged into the Endpoint. Generally only used by privileged Endpoints like those implementing the Cross Connect Network Service for K8s (formerly known as NSM Forwarder).

                                                    Endpoint
                                          +---------------------------+
                                          |                           |
                                          |                           |
                                          |                           |
                                          |                           |
                                          |                           |
                                          |                           |
                                          |                           |
                      +-------------------+                           |
connectioncontextkernel.NewServer()       |                           |
                                          |                           |
                                          |                           |
                                          |                           |
                                          |                           |
                                          |                           |
                                          |                           |
                                          +---------------------------+

Types

This section is empty.

Directories

Path Synopsis
ipcontext
ipaddress
Package ipaddress provides networkservice chain elements that support setting ip addresses on kernel interfaces
Package ipaddress provides networkservice chain elements that support setting ip addresses on kernel interfaces
ipneighbors
Package ipneighbors provides networkservice chain elements that support setting ip neighbors on kernel interfaces
Package ipneighbors provides networkservice chain elements that support setting ip neighbors on kernel interfaces
iprule
Package iprule provides networkservice chain elements that support setting ip rules
Package iprule provides networkservice chain elements that support setting ip rules
routes
Package routes provides a networkservice chain elements that sets the routes in the kernel interfaces from the connection context
Package routes provides a networkservice chain elements that sets the routes in the kernel interfaces from the connection context
Package iptables4nattemplate provides chain element for setup iptables nat rules
Package iptables4nattemplate provides chain element for setup iptables nat rules
Package mtu provides networkservice chain elements that support setting MTU on kernel interfaces
Package mtu provides networkservice chain elements that support setting MTU on kernel interfaces
Package routelocalnet provides chain element that enables route_localnet flat for connection network interface
Package routelocalnet provides chain element that enables route_localnet flat for connection network interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL