utils

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package utils provides helper methods related to ovs and ip parsing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureOvS

func ConfigureOvS(ctx context.Context, bridgeName string)

ConfigureOvS creates ovs bridge and make it as an integration bridge

func GetInterfaceOfPort

func GetInterfaceOfPort(logger log.Logger, interfaceName string) (int, error)

GetInterfaceOfPort get Port number from Interface name in OVS

func ParseTunnelIP

func ParseTunnelIP(srcIP net.IP) (net.IP, error)

ParseTunnelIP parses and maps the given ip cidr with available network interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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