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

# Functions

NewACLConfig is a constructor for ACLConfig.
NewMockACLEngine is a constructor for MockACLEngine.

# Constants

ACLActionDeny is returned by evalACL when the packet is blocked by ACL.
ACLActionFailure is returned by evalACL when it fails.
ACLActionPermit is returned by evalACL when the packet is allowed by ACL.
ACLActionReflect is returned by evalACL when the packet is allowed+reflected by ACL.
ConnActionAllow is returned by the mock ACL engine when the connection is allowed.
ConnActionDenySyn is returned by the mock ACL engine when the SYN packet is blocked.
ConnActionDenySynAck is returned by the mock ACL engine when the SYN-ACK packet is blocked.
ConnActionFailure is returned by the mock ACL engine when connection simulation fails.

# Structs

ACLConfig stores currently installed ACLs.
InterfaceACLs stores ACLs assigned to interface.
MockACLEngine simulates ACL evaluation engine from the VPP/ACL plugin.
PodConfig encapsulates pod configuration.

# Interfaces

ContivConfAPI interface lists methods from ContivConf plugin which are needed by MockACLEngine.

# Type aliases

ACLAction is one of DENY, PERMIT, REFLECT, FAILURE.
ConnectionAction is one of DENY-SYN, DENY-SYN-ACK, ALLOW, FAILURE.