diff options
author | Neale Ranns <nranns@cisco.com> | 2019-07-02 16:07:53 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-07-02 16:07:53 +0000 |
commit | 89152472b9c28406329d01bbb4b05181303ee2de (patch) | |
tree | fd975fb543d7098efdfd529a1e00281195670c59 /src/include/VppContractManager.hpp | |
parent | df5ac064f5230273d318ba4a4582441b4bc0976d (diff) | |
parent | 641faf52e04ab3193dd0638aa5c8855550dfb38c (diff) |
Merge "VRF scoped contracts"
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, |