OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
instance_manager_adapter.h
Go to the documentation of this file.
1 #ifndef __AGENT_OPER_INSTANCE_MANAGER_ADAPTER_H__
2 #define __AGENT_OPER_INSTANCE_MANAGER_ADAPTER_H__
3 
4 #include <string>
5 #include <boost/uuid/uuid.hpp>
7 #include "oper/instance_task.h"
8 
10  public:
11  enum CmdType {
12  START = 1,
14  };
15 
17 
19  const ServiceInstance::Properties &props, bool update) = 0;
21  const ServiceInstance::Properties &props) = 0;
22  virtual bool isApplicable(const ServiceInstance::Properties &props) = 0;
23 };
24 
25 #endif
virtual InstanceTask * CreateStartTask(const ServiceInstance::Properties &props, bool update)=0
virtual bool isApplicable(const ServiceInstance::Properties &props)=0
virtual InstanceTask * CreateStopTask(const ServiceInstance::Properties &props)=0