diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-01-09 18:25:41 -0500 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-01-09 18:25:41 -0500 |
| commit | c8c5d3b06e241ca0817eeddb7b484bdc5927f828 (patch) | |
| tree | 998516b4f680ee18ddf89fcfb220b123c284ef07 /node/NetworkConfigMaster.hpp | |
| parent | 0b84c10ccc8db26151b25f38869bb462656495d2 (diff) | |
| download | infinitytier-c8c5d3b06e241ca0817eeddb7b484bdc5927f828.tar.gz infinitytier-c8c5d3b06e241ca0817eeddb7b484bdc5927f828.zip | |
Create netconf master if redis options are in local.conf.
Diffstat (limited to 'node/NetworkConfigMaster.hpp')
| -rw-r--r-- | node/NetworkConfigMaster.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/node/NetworkConfigMaster.hpp b/node/NetworkConfigMaster.hpp index 25d5bb1c..c6993c56 100644 --- a/node/NetworkConfigMaster.hpp +++ b/node/NetworkConfigMaster.hpp @@ -30,6 +30,13 @@ #include "Constants.hpp" +#define ZT_LOCAL_CONFIG_NETCONF_REDIS_HOST "netconf.redisHost" +#define ZT_LOCAL_CONFIG_NETCONF_REDIS_PORT "netconf.redisPort" +#define ZT_LOCAL_CONFIG_NETCONF_REDIS_PORT_DEFAULT 6379 +#define ZT_LOCAL_CONFIG_NETCONF_REDIS_AUTH "netconf.redisAuth" +#define ZT_LOCAL_CONFIG_NETCONF_REDIS_DBNUM "netconf.redisDatabaseNumber" +#define ZT_LOCAL_CONFIG_NETCONF_REDIS_DBNUM_DEFAULT 0 + #ifdef ZT_ENABLE_NETCONF_MASTER #include <stdint.h> |
