// We need to specify some default values that may be overridden by the
// user, that are specific to the monitor. The options we are overriding
// are also used on the OSD (or in any other component that uses leveldb),
- // so changing them directly in common/config_opts.h is not an option.
+ // so changing the global defaults is not an option.
// This is not the prettiest way of doing this, especially since it has us
- // having a different place than common/config_opts.h defining default
- // values, but it's not horribly wrong enough to prevent us from doing it :)
+ // having a different place defining default values, but it's not horribly
+ // wrong enough to prevent us from doing it :)
//
// NOTE: user-defined options will take precedence over ours.
//
#define SAFE_OPTION(name, type, def_val)
#define SUBSYS(name, log, gather)
#define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
#undef OPTION
#undef OPTION_VALIDATOR
#undef SAFE_OPTION
#define SAFE_OPTION(name, type, def_val) OPTION(name, type, def_val)
#define SUBSYS(name, log, gather)
#define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
#undef OPTION_OPT_INT
#undef OPTION_OPT_LONGLONG
#undef OPTION_OPT_STR
#define SAFE_OPTION(name, type, def_val) OPTION4(name, type, def_val, true)
#define SUBSYS(name, log, gather)
#define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
#undef OPTION4
#undef OPTION
#undef OPTION_VALIDATOR
#define OPTION(a, b, c)
#define OPTION_VALIDATOR(a)
#define SAFE_OPTION(a, b, c)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
#undef OPTION
#undef OPTION_VALIDATOR
#undef SAFE_OPTION
struct option_##name##_t;
#define SUBSYS(name, log, gather)
#define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
#undef OPTION_OPT_INT
#undef OPTION_OPT_LONGLONG
#undef OPTION_OPT_STR
#define SUBSYS(name, log, gather) \
ceph_subsys_##name,
#define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
#undef SUBSYS
#undef OPTION
#undef OPTION_VALIDATOR
int main(int argc, char **argv)
{
- #include "common/config_opts.h"
+ #include "common/legacy_config_opts.h"
}
* - log_file, log_to_stderr, err_to_stderr, and log_to_syslog
* - debug_rados, debug_objecter, debug_monc, debug_auth, or debug_ms
*
- * All possible options can be found in src/common/config_opts.h in ceph.git
+ * See docs.ceph.com for information about available configuration options`
*
* @{
*/
DESTINATION ${PYTHON_INSTDIR})
if(WITH_MGR)
- # Needs to match src/common/config_opts.h, which has:
+ # Location needs to match default setting for mgr_module_path, currently:
# OPTION(mgr_module_path, OPT_STR, CEPH_PKGLIBDIR "/mgr")
install(DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}/mgr