analysis

package
v0.0.0-...-9c779f9 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcHist

func CalcHist[K int | int32 | int64 | uint64](arr []K, bins int) uniplot.Histogram

func GenNBStats

func GenNBStats(db *dbtypes.OVNNorthbound, outDir string, filename string) error

func GenSBStats

func GenSBStats(db *dbtypes.OVNSouthbound, outDir string, filename string) error

func GetCookieCounts

func GetCookieCounts[K comparable](hl *dstructs.HashList[K, types.RuleNode]) map[uint64]int

func GetTables

func GetTables[K comparable](hl *dstructs.HashList[K, types.RuleNode]) []uint32

func PrintHist

func PrintHist(hist uniplot.Histogram)

Types

type NBStats

type NBStats struct {
	NumVMPorts        int
	NumRouterPorts    int
	NumLocalPorts     int
	NumLocalNetPorts  int
	NumL2GatewayPorts int
	NumVTEPPorts      int
	NumExternalPorts  int
	NumVirtualPorts   int
	NumRemotePorts    int
	NAT               map[string]int
}

Jump to

Keyboard shortcuts

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