Documentation ¶
Overview ¶
Package ipaddress provides networkservice chain elements to set the ip address on vpp interfaces
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(vppConn api.Connection, opts ...Option) networkservice.NetworkServiceClient
NewClient creates a NetworkServiceClient chain element to set the ip address on a vpp interface It sets the IP Address on the *vpp* side of an interface leaving the Endpoint.
Endpoint +---------------------------+ | | | | | | | | | | | | | | | ipaddress.NewClient()+-------------------+ | | | | | | | | | | | | | | +---------------------------+
func NewServer ¶
func NewServer(vppConn api.Connection, opts ...Option) networkservice.NetworkServiceServer
NewServer creates a NetworkServiceServer chain element to set the ip address on a vpp interface It sets the IP Address on the *vpp* side of an interface plugged into the Endpoint.
Endpoint +---------------------------+ | | | | | | | | | | | | | | +-------------------+ ipaddress.NewServer() | | | | | | | | | | | | | | | +---------------------------+
Types ¶
type Option ¶ added in v1.1.0
type Option func(o *options)
Option is an option pattern for ipaddressClient/Server
func WithLoadSwIfIndex ¶ added in v1.1.0
func WithLoadSwIfIndex(f ifIndexFunc) Option
WithLoadSwIfIndex - sets function to load the interface index
Click to show internal directories.
Click to hide internal directories.