diff options
author | HediBouattour <hedibouattour2010@gmail.com> | 2023-08-16 13:26:22 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-08-18 02:42:33 +0000 |
commit | f6beee077ef3e79a32043dd4685e87d7a6d16a5b (patch) | |
tree | 5946ee7fe74a0b51e405e23e35ae47f87024dda2 /src/plugins/cnat/cnat.api | |
parent | c5fa5391ed04ec1d18129792dc38524f81a7b6e1 (diff) |
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>
Diffstat (limited to 'src/plugins/cnat/cnat.api')
-rw-r--r-- | src/plugins/cnat/cnat.api | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cnat/cnat.api b/src/plugins/cnat/cnat.api index 846917eb2e7..6026432507f 100644 --- a/src/plugins/cnat/cnat.api +++ b/src/plugins/cnat/cnat.api @@ -173,6 +173,7 @@ enum cnat_snat_policy_table:u8 CNAT_POLICY_INCLUDE_V4 = 0, CNAT_POLICY_INCLUDE_V6 = 1, CNAT_POLICY_POD = 2, + CNAT_POLICY_HOST = 3, }; autoreply define cnat_snat_policy_add_del_if |