macaddress

package
v0.0.0-...-83e77c6 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package macaddress provides networkservice chain elements for setting the mac address on kernel interfaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

NewClient provides a NetworkServiceClient that sets the mac address on a kernel interface It sets the Mac 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
+---------------------------+
|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
|                           +-------------------+
|                           |          macaddress.NewClient()
|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
+---------------------------+

func NewServer

NewServer creates a NetworkServiceServer chain element to set the mac address on a kernel interface It sets the Mac 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
                    +---------------------------+
                    |                           |
                    |                           |
                    |                           |
                    |                           |
                    |                           |
                    |                           |
                    |                           |
+-------------------+                           |

macaddress.NewServer() | |

|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
+---------------------------+

Types

This section is empty.

Jump to

Keyboard shortcuts

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