aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/vom/vom/gbp_contract.hpp2
-rw-r--r--extras/vom/vom/gbp_contract_cmds.cpp6
-rw-r--r--extras/vom/vom/gbp_contract_cmds.hpp10
3 files changed, 11 insertions, 7 deletions
diff --git a/extras/vom/vom/gbp_contract.hpp b/extras/vom/vom/gbp_contract.hpp
index a8e15fb7976..2e8f9d0bc26 100644
--- a/extras/vom/vom/gbp_contract.hpp
+++ b/extras/vom/vom/gbp_contract.hpp
@@ -164,7 +164,7 @@ private:
/**
* HW configuration for the result of creating the endpoint
*/
- HW::item<bool> m_hw;
+ HW::item<uint32_t> m_hw;
/**
* The source EPG ID
diff --git a/extras/vom/vom/gbp_contract_cmds.cpp b/extras/vom/vom/gbp_contract_cmds.cpp
index b5705347791..6aed9998e1e 100644
--- a/extras/vom/vom/gbp_contract_cmds.cpp
+++ b/extras/vom/vom/gbp_contract_cmds.cpp
@@ -19,7 +19,7 @@
namespace VOM {
namespace gbp_contract_cmds {
-create_cmd::create_cmd(HW::item<bool>& item,
+create_cmd::create_cmd(HW::item<uint32_t>& item,
sclass_t sclass,
sclass_t dclass,
const handle_t& acl,
@@ -116,7 +116,9 @@ create_cmd::to_string() const
return (s.str());
}
-delete_cmd::delete_cmd(HW::item<bool>& item, sclass_t sclass, sclass_t dclass)
+delete_cmd::delete_cmd(HW::item<uint32_t>& item,
+ sclass_t sclass,
+ sclass_t dclass)
: rpc_cmd(item)
, m_sclass(sclass)
, m_dclass(dclass)
diff --git a/extras/vom/vom/gbp_contract_cmds.hpp b/extras/vom/vom/gbp_contract_cmds.hpp
index 7108c53f77b..3b3fab97a70 100644
--- a/extras/vom/vom/gbp_contract_cmds.hpp
+++ b/extras/vom/vom/gbp_contract_cmds.hpp
@@ -27,13 +27,14 @@ namespace gbp_contract_cmds {
/**
* A command class that creates or updates the GBP contract
*/
-class create_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_contract_add_del>
+class create_cmd
+ : public rpc_cmd<HW::item<uint32_t>, vapi::Gbp_contract_add_del>
{
public:
/**
* Constructor
*/
- create_cmd(HW::item<bool>& item,
+ create_cmd(HW::item<uint32_t>& item,
sclass_t sclass,
sclass_t dclass,
const handle_t& acl,
@@ -66,13 +67,14 @@ private:
/**
* A cmd class that deletes a GBP contract
*/
-class delete_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_contract_add_del>
+class delete_cmd
+ : public rpc_cmd<HW::item<uint32_t>, vapi::Gbp_contract_add_del>
{
public:
/**
* Constructor
*/
- delete_cmd(HW::item<bool>& item, sclass_t sclass, sclass_t dclass);
+ delete_cmd(HW::item<uint32_t>& item, sclass_t sclass, sclass_t dclass);
/**
* Issue the command to VPP/HW