Documentation ¶
Index ¶
- type Deps
- type Validator
- func (v *Validator) Validate()
- func (v *Validator) ValidateArpTables()
- func (v *Validator) ValidateK8sNodeInfo()
- func (v *Validator) ValidateL2Connectivity()
- func (v *Validator) ValidateL2FibEntries()
- func (v *Validator) ValidatePodInfo()
- func (v *Validator) ValidateStaticRoutes()
- func (v *Validator) ValidateTapToPod()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
Validator is the implementation of the ContivTelemetryProcessor interface.
func (*Validator) Validate ¶
func (v *Validator) Validate()
Validate performes the validation of 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) ValidateK8sNodeInfo ¶
func (v *Validator) ValidateK8sNodeInfo()
ValidateK8sNodeInfo will make sure that the cache has the same amount of k8s and etcd nodes and that each node has an equal opposite node.
func (*Validator) ValidateL2Connectivity ¶
func (v *Validator) ValidateL2Connectivity()
ValidateL2Connectivity 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) 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 to see that each pod has a valid host ip address node and that the information correctly correlates between the nodes and the pods.
func (*Validator) ValidateStaticRoutes ¶
func (v *Validator) ValidateStaticRoutes()
ValidateStaticRoutes validates that static routes were successfully gathered for each node.
func (*Validator) ValidateTapToPod ¶
func (v *Validator) ValidateTapToPod()
ValidateTapToPod will find the appropriate tap interface for each pod and cache that information in the pod.