summaryrefslogtreecommitdiffstats
path: root/src/plugins/snat/snat.api
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2017-02-14 23:33:43 -0800
committerOle Trøan <otroan@employees.org>2017-02-15 13:24:37 +0000
commite22e546f6c907e8e86d2c4cb82200ed627c7c4e5 (patch)
tree489a80241cc2828a17188fb366588c6c0e3e5a35 /src/plugins/snat/snat.api
parentaeeac3bf4429235c952ce54abad7d3729be6a2f5 (diff)
SNAT: add static mappings with unresolved external interface address to snat_static_mapping_dump
Change-Id: Ib560b397700fe058ad1e2970989d98e3debf54aa Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/snat/snat.api')
-rw-r--r--src/plugins/snat/snat.api2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/snat/snat.api b/src/plugins/snat/snat.api
index decbacf5c2f..c429f05f14b 100644
--- a/src/plugins/snat/snat.api
+++ b/src/plugins/snat/snat.api
@@ -167,6 +167,7 @@ define snat_static_mapping_dump {
@param protocol - IP protocol
@param local_port - local port number
@param external_port - external port number
+ @param external_sw_if_index - external interface
@param vfr_id - VRF ID
*/
define snat_static_mapping_details {
@@ -178,6 +179,7 @@ define snat_static_mapping_details {
u8 protocol;
u16 local_port;
u16 external_port;
+ u32 external_sw_if_index;
u32 vrf_id;
};