Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct { Log logging.Logger VppCache api.VppCache K8sCache api.K8sCache Report api.Report }
Validator is the implementation of the ContivTelemetryProcessor interface.
func (*Validator) Validate ¶
func (v *Validator) Validate()
Validate performes the validation of L2 telemetry data collected from a Contiv cluster.
func (*Validator) ValidateArpTables ¶
func (v *Validator) ValidateArpTables()
ValidateArpTables validates the the entries of node ARP tables to make sure that the number of entries is correct as well as making sure that each entry's ip address and mac address correspond to the correct node in the network.
func (*Validator) ValidateBridgeDomains ¶
func (v *Validator) ValidateBridgeDomains()
ValidateBridgeDomains makes sure that each node in the cache has the right number of vxlan_tunnels for the number of nodes as well as checking that each vxlan_tunnel points to a node that has a corresponding but opposite tunnel itself.
func (*Validator) ValidateK8sNodeInfo ¶
func (v *Validator) ValidateK8sNodeInfo()
ValidateK8sNodeInfo will make sure that K8s's view of nodes in the cluster is consistent with Contiv's view of nodes in the cluster. Each node in K8s database must have a counterpart node in the Contiv database and vice versa.
func (*Validator) ValidateL2FibEntries ¶
func (v *Validator) ValidateL2FibEntries()
ValidateL2FibEntries will validate that each nodes fib entries ip address point to the right loop interface and the mac addresses match
func (*Validator) ValidatePodInfo ¶
func (v *Validator) ValidatePodInfo()
ValidatePodInfo will check that each pod has a valid host ip address node and that the information correctly correlates between the nodes and the pods.