Prep in controller code to run tests.
This commit is contained in:
parent
3593fb3462
commit
7394ec6f6a
3 changed files with 19 additions and 6 deletions
|
@ -45,10 +45,12 @@
|
|||
|
||||
namespace ZeroTier {
|
||||
|
||||
class Node;
|
||||
|
||||
class SqliteNetworkController : public NetworkController
|
||||
{
|
||||
public:
|
||||
SqliteNetworkController(const char *dbPath);
|
||||
SqliteNetworkController(Node *node,const char *dbPath,const char *circuitTestPath);
|
||||
virtual ~SqliteNetworkController();
|
||||
|
||||
virtual NetworkController::ResultCode doNetworkConfigRequest(
|
||||
|
@ -104,7 +106,9 @@ private:
|
|||
const Dictionary &metaData,
|
||||
Dictionary &netconf);
|
||||
|
||||
Node *_node;
|
||||
std::string _dbPath;
|
||||
std::string _circuitTestPath;
|
||||
std::string _instanceId;
|
||||
|
||||
// A circular buffer last log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue