Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vom: Add support for redirect contracts in gbp
[vpp.git]
/
extras
/
vom
/
vom
/
gbp_subnet_cmds.hpp
diff --git
a/extras/vom/vom/gbp_subnet_cmds.hpp
b/extras/vom/vom/gbp_subnet_cmds.hpp
index
3dbc8db
..
da2a4c5
100644
(file)
--- a/
extras/vom/vom/gbp_subnet_cmds.hpp
+++ b/
extras/vom/vom/gbp_subnet_cmds.hpp
@@
-27,8
+27,7
@@
namespace gbp_subnet_cmds {
/**
* A command class that creates or updates the GBP subnet
*/
/**
* A command class that creates or updates the GBP subnet
*/
-class create_cmd
- : public rpc_cmd<HW::item<bool>, rc_t, vapi::Gbp_subnet_add_del>
+class create_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_subnet_add_del>
{
public:
/**
{
public:
/**
@@
-37,7
+36,7
@@
public:
create_cmd(HW::item<bool>& item,
route::table_id_t rd,
const route::prefix_t& prefix,
create_cmd(HW::item<bool>& item,
route::table_id_t rd,
const route::prefix_t& prefix,
-
bool internal
,
+
const gbp_subnet::type_t& type
,
const handle_t& itf,
epg_id_t epg_id);
const handle_t& itf,
epg_id_t epg_id);
@@
-59,7
+58,7
@@
public:
private:
const route::table_id_t m_rd;
const route::prefix_t m_prefix;
private:
const route::table_id_t m_rd;
const route::prefix_t m_prefix;
- const
bool m_internal
;
+ const
gbp_subnet::type_t& m_type
;
const handle_t m_itf;
const epg_id_t m_epg_id;
};
const handle_t m_itf;
const epg_id_t m_epg_id;
};
@@
-67,8
+66,7
@@
private:
/**
* A cmd class that deletes a GBP subnet
*/
/**
* A cmd class that deletes a GBP subnet
*/
-class delete_cmd
- : public rpc_cmd<HW::item<bool>, rc_t, vapi::Gbp_subnet_add_del>
+class delete_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_subnet_add_del>
{
public:
/**
{
public:
/**