diff options
author | Matus Fabian <matfabia@cisco.com> | 2018-01-31 01:13:23 -0800 |
---|---|---|
committer | Matus Fabian <matfabia@cisco.com> | 2018-01-31 01:13:23 -0800 |
commit | 9dba7816f6c3b5e4c879f839bb4bc61dcdbde757 (patch) | |
tree | 681ae6bedfbebdb5fcafcd8389866452cfb98dd8 /src/plugins/nat/nat.api | |
parent | 8ad6a2dfed0a7248be9d005dd04c76da142f2238 (diff) |
NAT44: nat44_static_mapping_details protocol=0 if addr_only=0 (VPP-1158)
Change-Id: I1e3cfc751e7657464fc850dc56ddf763df45f62e
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat.api')
-rw-r--r-- | src/plugins/nat/nat.api | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/nat/nat.api b/src/plugins/nat/nat.api index 6bb08018966..ce565f6b9b5 100644 --- a/src/plugins/nat/nat.api +++ b/src/plugins/nat/nat.api @@ -13,7 +13,7 @@ * limitations under the License. */ -option version = "2.4.0"; +option version = "2.4.1"; /** * @file nat.api @@ -343,9 +343,9 @@ define nat44_interface_output_feature_details { @param addr_only - 1 if address only mapping @param local_ip_address - local IPv4 address @param external_ip_address - external IPv4 address - @param protocol - IP protocol - @param local_port - local port number - @param external_port - external port number + @param protocol - IP protocol, used only if addr_only=0 + @param local_port - local port number, used only if addr_only=0 + @param external_port - external port number, used only if addr_only=0 @param external_sw_if_index - external interface (if set external_ip_address is ignored, ~0 means not used) @@ -386,9 +386,9 @@ define nat44_static_mapping_dump { @param addr_only - 1 if address only mapping @param local_ip_address - local IPv4 address @param external_ip_address - external IPv4 address - @param protocol - IP protocol - @param local_port - local port number - @param external_port - external port number + @param protocol - IP protocol, valid only if addr_only=0 + @param local_port - local port number, valid only if addr_only=0 + @param external_port - external port number, valid only if addr_only=0 @param external_sw_if_index - external interface @param vfr_id - VRF ID @param twice_nat - if 1 translate external host address and port |