Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
GBP: per-group EP retention policy
[vpp.git]
/
extras
/
vom
/
vom
/
gbp_endpoint_group_cmds.hpp
diff --git
a/extras/vom/vom/gbp_endpoint_group_cmds.hpp
b/extras/vom/vom/gbp_endpoint_group_cmds.hpp
index
4cf88cf
..
b735b5c
100644
(file)
--- a/
extras/vom/vom/gbp_endpoint_group_cmds.hpp
+++ b/
extras/vom/vom/gbp_endpoint_group_cmds.hpp
@@
-27,8
+27,7
@@
namespace gbp_endpoint_group_cmds {
/**
* A command class that creates or updates the GBP endpoint_group
*/
/**
* A command class that creates or updates the GBP endpoint_group
*/
-class create_cmd
- : public rpc_cmd<HW::item<bool>, vapi::Gbp_endpoint_group_add_del>
+class create_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_endpoint_group_add>
{
public:
/**
{
public:
/**
@@
-36,8
+35,10
@@
public:
*/
create_cmd(HW::item<bool>& item,
epg_id_t epg_id,
*/
create_cmd(HW::item<bool>& item,
epg_id_t epg_id,
+ uint16_t sclass,
uint32_t bd_id,
route::table_id_t rd_id,
uint32_t bd_id,
route::table_id_t rd_id,
+ const gbp_endpoint_group::retention_t& retention,
const handle_t& itf);
/**
const handle_t& itf);
/**
@@
-57,16
+58,17
@@
public:
private:
const epg_id_t m_epg_id;
private:
const epg_id_t m_epg_id;
+ const uint16_t m_sclass;
const uint32_t m_bd_id;
const route::table_id_t m_rd_id;
const handle_t m_itf;
const uint32_t m_bd_id;
const route::table_id_t m_rd_id;
const handle_t m_itf;
+ const gbp_endpoint_group::retention_t m_retention;
};
/**
* A cmd class that deletes a GBP endpoint_group
*/
};
/**
* A cmd class that deletes a GBP endpoint_group
*/
-class delete_cmd
- : public rpc_cmd<HW::item<bool>, vapi::Gbp_endpoint_group_add_del>
+class delete_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_endpoint_group_del>
{
public:
/**
{
public:
/**