summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat_ha.h
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2020-11-19 10:58:42 +0100
committerOle Tr�an <otroan@employees.org>2020-11-26 19:27:02 +0000
commit6bf3dfd2cab5fc907c4698a35801e027eb01ab17 (patch)
tree76dc25da67240832af38b1d202da87f23fa6965f /src/plugins/nat/nat_ha.h
parent54fe32cdff3cf12d0321eceecaf3776b9ce6504d (diff)
nat: fix tests
Fixed nat_ha and ipfix tests. Removed obsolete tests and moved extended tests to standard tests. Type: fix Change-Id: I2d7f4c4fa4c52a4aa10d70c956e085a0fe00b911 Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat_ha.h')
-rw-r--r--src/plugins/nat/nat_ha.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/nat/nat_ha.h b/src/plugins/nat/nat_ha.h
index 92fc3373673..6bc5be23a0a 100644
--- a/src/plugins/nat/nat_ha.h
+++ b/src/plugins/nat/nat_ha.h
@@ -45,6 +45,11 @@ void nat_ha_enable (nat_ha_sadd_cb_t sadd_cb, nat_ha_sdel_cb_t sdel_cb,
nat_ha_sref_cb_t sref_cb);
/**
+ * @brief Disable NAT HA
+ */
+void nat_ha_disable ();
+
+/**
* @brief Initialize NAT HA
*/
void nat_ha_init (vlib_main_t * vm, u32 num_workers, u32 num_threads);