Documentation ¶
Overview ¶
Package ipaddress provides networkservice chain elements that support setting ip addresses on kernel interfaces
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient() networkservice.NetworkServiceClient
NewClient provides a NetworkServiceClient that sets the IP on a kernel interface It sets the IP Address 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 +---------------------------+ | | | | | | | | | | | | | | | +-------------------+ | | ipaddress.NewClient() | | | | | | | | | | | | +---------------------------+
func NewServer ¶
func NewServer() networkservice.NetworkServiceServer
NewServer provides a NetworkServiceServer that sets the IP on a kernel interface It sets the IP Address 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 +---------------------------+ | | | | | | | | | | | | | | +-------------------+ | ipaddress.NewServer() | | | | | | | | | | | | | | +---------------------------+
Types ¶
This section is empty.