diff options
author | Neale Ranns <nranns@cisco.com> | 2019-06-28 08:38:33 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-07-01 05:26:46 -0700 |
commit | 641faf52e04ab3193dd0638aa5c8855550dfb38c (patch) | |
tree | e8cbbec93515dca87211d937f5e246840a1b3703 /src/include/VppContractManager.hpp | |
parent | cfe7e09fa2fb7348afd188f103c14920ce2e73c6 (diff) |
VRF scoped contracts
Change-Id: I99fcb9d4425de9b6dbc4987b14162afcae60ac6d
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/include/VppContractManager.hpp')
-rw-r--r-- | src/include/VppContractManager.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/include/VppContractManager.hpp b/src/include/VppContractManager.hpp index 9b9d002..2b76a4f 100644 --- a/src/include/VppContractManager.hpp +++ b/src/include/VppContractManager.hpp @@ -12,7 +12,7 @@ #include <opflexagent/Agent.h> -#include "VppIdGen.hpp" +#include "VppRuntime.hpp" #include <vom/acl_l3_rule.hpp> @@ -21,16 +21,15 @@ namespace VPP class ContractManager { public: - ContractManager(opflexagent::Agent &agent, IdGen &id_gen); + ContractManager(Runtime &r); void handle_update(const opflex::modb::URI &uri); private: /** - * Referene to the uber-agent + * Referene to runtime data. */ - opflexagent::Agent &m_agent; - IdGen &m_id_gen; + Runtime &m_runtime; }; extern void setParamUpdate(modelgbp::gbpe::L24Classifier &cls, |