cnat: add flow hash config to cnat translation 07/39507/13
authorhedi bouattour <hedibouattour2010@gmail.com>
Mon, 11 Sep 2023 14:48:12 +0000 (14:48 +0000)
committerDave Wallace <dwallacelf@gmail.com>
Fri, 6 Oct 2023 18:18:00 +0000 (18:18 +0000)
commit589fe7ca61111d742ed2e6249728eb54423bab16
tree609d6d731b766eee6801b0e85ebf47d00a4bdd05
parentb953532ed498dbd5c297383afda211104c4596e0
cnat: add flow hash config to cnat translation

Type: feature

this patch adds a hash config field to cnat translation
to use it in load balancing instead of always using default one

Change-Id: I5b79642ca8b365b5dcc06664f6c100a9d3830a29
Signed-off-by: hedi bouattour <hedibouattour2010@gmail.com>
src/plugins/cnat/cnat.api
src/plugins/cnat/cnat_api.c
src/plugins/cnat/cnat_translation.c
src/plugins/cnat/cnat_translation.h
test/test_cnat.py