]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
config_opts: add two ceph-rest-api-only variables for convenience 509/head
authorDan Mick <dan.mick@inktank.com>
Fri, 16 Aug 2013 20:15:34 +0000 (13:15 -0700)
committerDan Mick <dan.mick@inktank.com>
Fri, 16 Aug 2013 23:38:11 +0000 (16:38 -0700)
These aren't used by the C++ code at all, but in order for
rados_conf_get to find them, they need to be listed.  They're
consumed by ceph_rest_api.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
src/common/config_opts.h

index d933250f282bc65f539114dd21caaed1da7cb9aa..143a09be6e5c9cf9cb0c6ab34a858d8f58ab2441 100644 (file)
@@ -30,6 +30,8 @@ OPTION(daemonize, OPT_BOOL, false) // default changed by common_preinit()
 OPTION(pid_file, OPT_STR, "") // default changed by common_preinit()
 OPTION(chdir, OPT_STR, "/")
 OPTION(max_open_files, OPT_LONGLONG, 0)
+OPTION(restapi_log_level, OPT_STR, "")         // default set by Python code
+OPTION(restapi_base_url, OPT_STR, "")  // "
 OPTION(fatal_signal_handlers, OPT_BOOL, true)
 
 OPTION(log_file, OPT_STR, "/var/log/ceph/$cluster-$name.log") // default changed by common_preinit()