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_contract_cmds.hpp
diff --git
a/extras/vom/vom/gbp_contract_cmds.hpp
b/extras/vom/vom/gbp_contract_cmds.hpp
index
7e44476
..
4f921f6
100644
(file)
--- a/
extras/vom/vom/gbp_contract_cmds.hpp
+++ b/
extras/vom/vom/gbp_contract_cmds.hpp
@@
-25,8
+25,8
@@
namespace VOM {
namespace gbp_contract_cmds {
/**
namespace gbp_contract_cmds {
/**
-* A command class that creates or updates the GBP contract
-*/
+
* A command class that creates or updates the GBP contract
+
*/
class create_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_contract_add_del>
{
public:
class create_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_contract_add_del>
{
public:
@@
-36,7
+36,8
@@
public:
create_cmd(HW::item<bool>& item,
epg_id_t src_epg_id,
epg_id_t dst_epg_id,
create_cmd(HW::item<bool>& item,
epg_id_t src_epg_id,
epg_id_t dst_epg_id,
- const handle_t& acl);
+ const handle_t& acl,
+ const gbp_contract::gbp_rules_t& gbp_rules);
/**
* Issue the command to VPP/HW
/**
* Issue the command to VPP/HW
@@
-57,6
+58,7
@@
private:
const epg_id_t m_src_epg_id;
const epg_id_t m_dst_epg_id;
const handle_t m_acl;
const epg_id_t m_src_epg_id;
const epg_id_t m_dst_epg_id;
const handle_t m_acl;
+ const gbp_contract::gbp_rules_t& m_gbp_rules;
};
/**
};
/**