]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
IBM: set secret=True on passwd config field
authorAaron Rosen <aaronorosen@gmail.com>
Thu, 24 Apr 2014 01:34:14 +0000 (18:34 -0700)
committerThomas Goirand <thomas@goirand.fr>
Mon, 9 Jun 2014 15:06:54 +0000 (23:06 +0800)
This should carry secret=True to avoid being logged as clear text.

Change-Id: I7d15b9648b3a037589405b9ca9d26aae4a834f15
Closes-bug: 1311943
(cherry picked from commit 4c82fc82238c56400998e3e25b3039e817015bac)

neutron/plugins/ibm/common/config.py

index b32c7b630d3c77e785c7a6bb435e6e7255b50ee0..d3eb72558ddf6b5fca4fc6e397fcd32b007a768b 100644 (file)
@@ -38,7 +38,7 @@ sdnve_opts = [
                help=_("SDN-VE request/response format")),
     cfg.StrOpt('userid', default='admin',
                help=_("SDN-VE administrator user id")),
-    cfg.StrOpt('password', default='admin',
+    cfg.StrOpt('password', default='admin', secret=True,
                help=_("SDN-VE administrator password")),
     cfg.StrOpt('integration_bridge', default=None,
                help=_("Integration bridge to use")),