config

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package config contains the configuration tree

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSwitchConfig

func NewSwitchConfig(ports map[simapi.PortID]*simapi.Port) *configtree.Node

NewSwitchConfig creates a new switch skeleton configuration and returns its root node

func SimulateTrafficCounters added in v0.1.3

func SimulateTrafficCounters(ctx context.Context, delay time.Duration, node *configtree.Node)

SimulateTrafficCounters simulates a select set of traffic-related counters for all ports under the given root configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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