Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEbTableRulesInMap ¶
GetEbTableRulesInMap gathers prerouting and postrouting rules into a map.
Types ¶
type NetworkMonitor ¶
type NetworkMonitor struct { AddRulesToBeValidated map[string]int DeleteRulesToBeValidated map[string]int CNIReport *telemetry.CNIReport }
func (*NetworkMonitor) CreateRequiredL2Rules ¶
func (networkMonitor *NetworkMonitor) CreateRequiredL2Rules( currentEbtableRulesMap map[string]string, currentStateRulesMap map[string]string) error
CreateRequiredL2Rules finds the rules that should be in nat ebtable based on state.
func (*NetworkMonitor) RemoveInvalidL2Rules ¶
func (networkMonitor *NetworkMonitor) RemoveInvalidL2Rules( currentEbtableRulesMap map[string]string, currentStateRulesMap map[string]string) error
RemoveInvalidL2Rules removes rules that should not be in nat ebtable based on state.
Click to show internal directories.
Click to hide internal directories.