Do not print snmpd password in logs

The snmpd password is sensitive information, so we'd better not
print it.

Change-Id: I4ab11c468ae7e13214303c755e60717bd407cbe8
Closes-Bug: #1398670
This commit is contained in:
zjingbj 2014-12-03 12:42:39 +08:00
parent 4ec5d4dd9d
commit 11a64b2142

View File

@ -31,7 +31,8 @@ OPTS = [
help='SNMPd user name of all nodes running in the cloud.'),
cfg.StrOpt('readonly_user_password',
default='password',
help='SNMPd password of all the nodes running in the cloud.'),
help='SNMPd password of all the nodes running in the cloud.',
secret=True),
]
cfg.CONF.register_opts(OPTS, group='hardware')