package
2.1.4+incompatible
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev

# Functions

ExportSessionRules converts Contiv rules into the corresponding set of session rules.
ImportSessionRules imports a list of session rules into a newly created list of ContivRule tables, suitable for Resync with the cache.

# Constants

ActionAllow is a constant used to set ALLOW action for a session rule.
ActionDeny is a constant used to set DENY action for a session rule.
ActionDoNothing is a constant used to set DO-NOTHING action for a session rule.
AnyProtocolSessionRuleTag is used to mark rules used to implement filtering for ANY protocol.
ProtoTCP is a constant used to set TCP protocol for a session rule.
ProtoUDP is a constant used to set UDP protocol for a session rule.
ScopeBoth is a constant used to set both the local and the global scope for a session rule.
ScopeGlobal is a constant used to set the global scope for a session rule.
ScopeLocal is a constant used to set the local scope for a session rule.
SessionRuleTagPrefix is used to tag session rules created for the implementation of K8s policies.
SplitSessionRuleTag is used to mark deny-all rules split into two (two halves of the IP address space) in order to avoid collision with the VPP proxy rules.

# Structs

SessionRule defines and groups the fields of a VPP session rule.

# Interfaces

IPv4Net interface lists methods (formerly) provided by IPv4Net plugin, which are needed by VPPTCP Renderer.