From 796c84b25130c99cfd92cc9281416d377d41d2a3 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 28 Mar 2019 07:56:23 -0700 Subject: GBP: drop and contract counters Change-Id: Ib436512a26e53f70f7b5e47bf34224ab73e5244e Signed-off-by: Neale Ranns --- extras/vom/vom/gbp_contract.hpp | 2 +- extras/vom/vom/gbp_contract_cmds.cpp | 6 ++++-- extras/vom/vom/gbp_contract_cmds.hpp | 10 ++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) (limited to 'extras') 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 m_hw; + HW::item 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& item, +create_cmd::create_cmd(HW::item& 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& item, sclass_t sclass, sclass_t dclass) +delete_cmd::delete_cmd(HW::item& 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, vapi::Gbp_contract_add_del> +class create_cmd + : public rpc_cmd, vapi::Gbp_contract_add_del> { public: /** * Constructor */ - create_cmd(HW::item& item, + create_cmd(HW::item& 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, vapi::Gbp_contract_add_del> +class delete_cmd + : public rpc_cmd, vapi::Gbp_contract_add_del> { public: /** * Constructor */ - delete_cmd(HW::item& item, sclass_t sclass, sclass_t dclass); + delete_cmd(HW::item& item, sclass_t sclass, sclass_t dclass); /** * Issue the command to VPP/HW -- cgit 1.2.3-korg