Add missing user-id option to generic.Password
The user_id field is available when constructing the plugin from python however the option is not listed in the get_options list. Change-Id: I036c4a49f58e4412c6cfb477b56b31b7b965c2fb
This commit is contained in:
@@ -25,6 +25,7 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
def get_options():
|
||||
return [
|
||||
cfg.StrOpt('user-id', help='User id'),
|
||||
cfg.StrOpt('user-name', dest='username', help='Username',
|
||||
deprecated_name='username'),
|
||||
cfg.StrOpt('user-domain-id', help="User's domain id"),
|
||||
|
@@ -45,6 +45,7 @@ class PasswordTests(utils.GenericPluginTestCase):
|
||||
allowed_opts = ['user-name',
|
||||
'user-domain-id',
|
||||
'user-domain-name',
|
||||
'user-id',
|
||||
'password',
|
||||
|
||||
'domain-id',
|
||||
|
Reference in New Issue
Block a user