summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp.api
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-05 04:22:08 -0800
committerNeale Ranns <nranns@cisco.com>2019-03-05 13:51:32 +0000
commit32f6d8e0ca39483f706dc3a1c28223e9fe028f06 (patch)
tree4d36a736e12268ca5f4cb937260b3ac037e743c2 /src/plugins/gbp/gbp.api
parent0fce11f23d64eae2f374435b31a77b872d552298 (diff)
GBP: per-group EP retention policy
Change-Id: I3ed4e2e92f74f15b07fcd3e7fbc3fa8718d5249d Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/gbp/gbp.api')
-rw-r--r--src/plugins/gbp/gbp.api18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/plugins/gbp/gbp.api b/src/plugins/gbp/gbp.api
index a7a9a7e8dc8..347855197d7 100644
--- a/src/plugins/gbp/gbp.api
+++ b/src/plugins/gbp/gbp.api
@@ -157,6 +157,11 @@ define gbp_endpoint_details
vl_api_gbp_endpoint_t endpoint;
};
+typedef gbp_endpoint_retention
+{
+ u32 remote_ep_timeout;
+};
+
typeonly define gbp_endpoint_group
{
u16 epg_id;
@@ -164,6 +169,7 @@ typeonly define gbp_endpoint_group
u32 bd_id;
u32 rd_id;
u32 uplink_sw_if_index;
+ vl_api_gbp_endpoint_retention_t retention;
};
autoreply define gbp_endpoint_group_add
@@ -322,18 +328,6 @@ define gbp_contract_details
};
/**
- * @brief Set the time throeshold after which an endpoint is
- considered inative and is aged/reaped by the scanner
- * @param threshold In seconds
- */
-autoreply define gbp_endpoint_learn_set_inactive_threshold
-{
- u32 client_index;
- u32 context;
- u32 threshold;
-};
-
-/**
* @brief Configure a 'base' tunnel from which learned tunnels
* are permitted to derive
* A base tunnel consists only of the VNI, any src,dst IP