ovsinit

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package ovsinit provides functions to start ovs and check if ovs-vswitchd is running

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsOvsRunning

func IsOvsRunning() bool

IsOvsRunning check the /proc for running ovs daemon

func StartSupervisord

func StartSupervisord(ctx context.Context) (errCh <-chan error)

StartSupervisord which run and supervise the ovs locally

func WaitForOvs added in v1.5.0

func WaitForOvs(ctx context.Context, timeout time.Duration) error

WaitForOvs wait for ovs pid file in default directory and check if binary is running

Types

This section is empty.

Jump to

Keyboard shortcuts

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