diff options
author | Matus Fabian <matfabia@cisco.com> | 2018-01-11 04:09:17 -0800 |
---|---|---|
committer | Matus Fabian <matfabia@cisco.com> | 2018-01-11 04:10:26 -0800 |
commit | 240b5ef57cc79cf32934ba8f218de29b6685406b (patch) | |
tree | f7fb27adbc53bfa26b6fef986f11976e3345debb /test/vpp_papi_provider.py | |
parent | 0ae15ed43aaa600a75ca4c154bc62478820c00b4 (diff) |
NAT44: asymmetrical load balancing static mapping rule (VPP-1132)
Add option to NAT44 load balancing static mapping API/CLI to make rule asymmetrical (rule match only in out2in direction).
Change-Id: I325ecef5591e4bf44ce4469a24d44fe56c3bb2e9
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 7a6d11f75ae..6e6f7caf287 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -1420,6 +1420,7 @@ class VppPapiProvider(object): protocol, vrf_id=0, twice_nat=0, + out2in_only=0, local_num=0, locals=[], is_add=1): @@ -1436,6 +1437,7 @@ class VppPapiProvider(object): 'protocol': protocol, 'vrf_id': vrf_id, 'twice_nat': twice_nat, + 'out2in_only': out2in_only, 'local_num': local_num, 'locals': locals}) |