vlan

package
v1.14.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package vlan provides chain elements for implementing the vlan mechanism

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete added in v1.7.0

func Delete(ctx context.Context, isClient bool)

Delete deletes the vlan ID stored in per Connection.Id metadata

func Load added in v1.7.0

func Load(ctx context.Context, isClient bool) (value uint32, ok bool)

Load returns the vlan ID stored in per Connection.Id metadata, or nil if no value is present. The ok result indicates whether value was found in the per Connection.Id metadata.

func NewClient

func NewClient(vppConn api.Connection, domain2Device map[string]string) networkservice.NetworkServiceClient

NewClient returns a VLAN client chain element

func Store added in v1.7.0

func Store(ctx context.Context, isClient bool, bdID uint32)

Store sets the vlan ID stored in per Connection.Id metadata.

Types

This section is empty.

Directories

Path Synopsis
Package l2vtr provides chain elements for setting Vlan Tag Rewrite on subinterfaces
Package l2vtr provides chain elements for setting Vlan Tag Rewrite on subinterfaces
Package mtu computes the mtu for the vlan interface and adds it to context
Package mtu computes the mtu for the vlan interface and adds it to context

Jump to

Keyboard shortcuts

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