v1

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_CONFIG_FILE = "/etc/lpm/lpm-config.json"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricConfiguration

type MetricConfiguration struct {
	Name       string `json:"name"`
	IP         string `json:"ip"`
	RTT        int    `json:"rttInterval,omitempty"`
	Jitter     int    `json:"jitterInterval,omitempty"`
	Throughput int    `json:"throughputInterval,omitempty"`
	OTD        int    `json:"otdInterval,omitempty"`
}

func (*MetricConfiguration) UnmarshalJSON

func (conf *MetricConfiguration) UnmarshalJSON(data []byte) error

type NodeConfig

type NodeConfig struct {
	NodeName              string                `json:"Nodename"`
	SpreadFactor          float64               `json:"spreadFactor,omitempty"`
	ProbeInterface        string                `json:"probeInterface"`
	IpAddress             string                `json:"ipAddress,omitempty"`
	MetricsNeighbourNodes []MetricConfiguration `json:"MetricsNeighbourNodes"`
}

Jump to

Keyboard shortcuts

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