Skip to content

Commit

Permalink
Add all mongod options to restart command
Browse files Browse the repository at this point in the history
  • Loading branch information
abdul committed Jan 7, 2015
1 parent cbb5579 commit 5ca3ad2
Show file tree
Hide file tree
Showing 2 changed files with 561 additions and 604 deletions.
70 changes: 3 additions & 67 deletions mongoctl/commands/server/start.py
Expand Up @@ -35,6 +35,8 @@
from mongoctl.objects.mongod import MongodServer
from mongoctl.objects.mongos import MongosServer

import mongoctl.mongoctl_command_config

###############################################################################
# CONSTS
###############################################################################
Expand Down Expand Up @@ -654,73 +656,7 @@ def exit_mongoctl():
signal.signal(signal.SIGINT, mongoctl_signal_handler)

###############################################################################
SUPPORTED_MONGOD_OPTIONS = [
"verbose",
"quiet",
"port",
"bind_ip",
"maxConns",
"objcheck",
"logpath",
"logappend",
"pidfilepath",
"keyFile",
"nounixsocket",
"unixSocketPrefix",
"auth",
"cpu",
"dbpath",
"diaglog",
"directoryperdb",
"journal",
"journalOptions",
"journalCommitInterval",
"ipv6",
"jsonp",
"noauth",
"nohttpinterface",
"nojournal",
"noprealloc",
"notablescan",
"nssize",
"profile",
"quota",
"quotaFiles",
"rest",
"repair",
"repairpath",
"slowms",
"smallfiles",
"syncdelay",
"sysinfo",
"upgrade",
"fastsync",
"oplogSize",
"master",
"slave",
"source",
"only",
"slavedelay",
"autoresync",
"replSet",
"configsvr",
"shardsvr",
"noMoveParanoia",
"setParameter",

# SSL OPTIONS
"sslOnNormalPorts",
"sslMode",
"sslPEMKeyFile",
"sslPEMKeyPassword",
"sslClusterFile",
"sslClusterPassword",
"sslCAFile",
"sslCRLFile",
"sslWeakCertificateValidation",
"sslAllowInvalidCertificates",
"sslFIPSMode"
]
SUPPORTED_MONGOD_OPTIONS = mongoctl.mongoctl_command_config.MONGOD_OPTION_NAMES


###############################################################################
Expand Down

0 comments on commit 5ca3ad2

Please sign in to comment.