]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Add password secret to brocade plugin
authorGary Kotton <gkotton@redhat.com>
Mon, 25 Feb 2013 16:19:56 +0000 (16:19 +0000)
committerGary Kotton <gkotton@redhat.com>
Mon, 25 Feb 2013 16:19:56 +0000 (16:19 +0000)
Fixes bug 1123368

All other password's are marked as secret.

Change-Id: I2451b1040bffa524602690a7686d9718f60ccfe7

quantum/plugins/brocade/QuantumPlugin.py

index 9bd879cbe959621d59830acb5bc7320b6ed43039..2c24ca323aacd52499f846c62f5be2dc08a9ae87 100644 (file)
@@ -58,7 +58,7 @@ NOS_DRIVER = 'quantum.plugins.brocade.nos.nosdriver.NOSdriver'
 
 SWITCH_OPTS = [cfg.StrOpt('address', default=''),
                cfg.StrOpt('username', default=''),
-               cfg.StrOpt('password', default=''),
+               cfg.StrOpt('password', default='', secret=True),
                cfg.StrOpt('ostype', default='NOS')
                ]