21 from keystoneclient.auth.identity import base
27 def get_options():
28 return base.get_options() + [ <== 3. call get_option from base, which is *not* necessary. This resulted in duplicate --os-auth-url, which is a conflict.
29 cfg.StrOpt('domain-id', help='Domain ID to scope to'),
30 cfg.StrOpt('domain-name', help='Domain name to scope to'),
31 cfg.StrOpt('tenant-id', help='Tenant ID to scope to'),
32 cfg.StrOpt('tenant-name', help='Tenant name to scope to'),
176 @classmethod
177 def get_options(cls):
178 options = super(BaseGenericPlugin, cls).get_options() <== 1. Get the options from super, which calls base.get_options()
179 options.extend(get_options()) <== 2. Call get_options() at line 27.
180 return options
keystoneclient/ auth/identity/ generic/ base.py