diff options
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, |