Documentation ¶
Overview ¶
Package vl3 provides chain elements that manage ipcontext of request for vL3 networks. Depends on `begin`, `metadata` chain elements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(chainContext context.Context, pool *IPAM) networkservice.NetworkServiceClient
NewClient - returns a new vL3 client instance that manages connection.context.ipcontext for vL3 scenario.
Produces refresh on prefix update. Requires begin and metadata chain elements.
func NewServer ¶
func NewServer(ctx context.Context, pool *IPAM) networkservice.NetworkServiceServer
NewServer - returns a new vL3 server instance that manages connection.context.ipcontext for vL3 scenario.
Produces refresh on prefix update. Requires begin and metdata chain elements.
Types ¶
type IPAM ¶ added in v1.13.0
IPAM manages vl3 prefixes
func NewIPAM ¶ added in v1.13.0
NewIPAM creates a new vl3 ipam with specified prefix and excluded prefixes
func (*IPAM) ContainsNetString ¶ added in v1.13.0
ContainsNetString checks if ippool contains net
func (*IPAM) Subscribe ¶ added in v1.13.0
func (p *IPAM) Subscribe(action func()) context.CancelFunc
Subscribe creates a subscription for receiving events about changed prefixes
Click to show internal directories.
Click to hide internal directories.