cnat: add host tag to bitmap in cnat snat 87/39387/6
authorHediBouattour <hedibouattour2010@gmail.com>
Wed, 16 Aug 2023 11:26:22 +0000 (13:26 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Fri, 18 Aug 2023 02:42:33 +0000 (02:42 +0000)
commitf6beee077ef3e79a32043dd4685e87d7a6d16a5b
tree5946ee7fe74a0b51e405e23e35ae47f87024dda2
parentc5fa5391ed04ec1d18129792dc38524f81a7b6e1
cnat: add host tag to bitmap in cnat snat

Type: feature

this patch adds a new tag "host" to interfaces for cnat-snat
if an interface is tagged pod and host we do not snat traffic outgoing through it

Change-Id: I71f5bfcb85581bb8508ba547374f0603f1079ac6
Signed-off-by: hedi bouattour <hedibouattour2010@gmail.com>
src/plugins/cnat/cnat.api
src/plugins/cnat/cnat_snat_policy.c
src/plugins/cnat/cnat_snat_policy.h