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"`
}
Click to show internal directories.
Click to hide internal directories.