Skip to content

Commit

Permalink
analytics: user defined counter fab support
Browse files Browse the repository at this point in the history
-KEYSTONE.auth_url need to be added in the option
Partial-Bug: 1601925

Change-Id: Ifac73d60a864c0b719e4941fece4afadd2fb1cba
  • Loading branch information
tedghose committed Jul 12, 2016
1 parent 4334365 commit 26b88d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/analytics/options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ void Options::Initialize(EventManager &evm,
"tenant"), "Keystone tenant")
("KEYSTONE.insecure", opt::bool_switch(&ks_insecure_),
"keystone using tls")
("KEYSTONE.auth_url", opt::value<string>()->default_value("a.com"),
"keystone auth url")
("KEYSTONE.memcache_servers", opt::value<string>()->default_value(
"127.0.0.1:11211"), "memcache servers")
("KEYSTONE.certfile", opt::value<string>()->default_value(
Expand Down Expand Up @@ -381,6 +383,7 @@ void Options::Process(int argc, char *argv[],
GetOptValue<string>(var_map, ks_user_, "KEYSTONE.admin_user");
GetOptValue<string>(var_map, ks_password_, "KEYSTONE.admin_password");
GetOptValue<string>(var_map, ks_tenant_, "KEYSTONE.admin_tenant_name");
GetOptValue<string>(var_map, ks_authurl_, "KEYSTONE.auth_url");
GetOptValue<string>(var_map, memcache_servers_, "KEYSTONE.memcache_servers");
GetOptValue<string>(var_map, ks_cert_, "KEYSTONE.certfile");
GetOptValue<string>(var_map, ks_key_, "KEYSTONE.keyfile");
Expand Down
1 change: 1 addition & 0 deletions src/analytics/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class Options {
std::string ks_user_;
std::string ks_password_;
std::string ks_tenant_;
std::string ks_authurl_;
bool ks_insecure_;
std::string memcache_servers_;
std::string ks_cert_;
Expand Down

0 comments on commit 26b88d1

Please sign in to comment.