Register keystone opts for placement sample config
This adds the keystone options that you would need into the sample config generation for the placement section. It also cleans up neutron config reference to be more like the ironic, which is a ton easier to understand. Change-Id: Id31b47b4fe20cd10bef20f1efe30b04d744a0f99
This commit is contained in:
parent
4334f1f8a2
commit
ec8b386ac5
@ -34,11 +34,17 @@ Possible values:
|
||||
def register_opts(conf):
|
||||
conf.register_group(placement_group)
|
||||
conf.register_opts(placement_opts, group=placement_group)
|
||||
ks_loading.register_auth_conf_options(conf,
|
||||
placement_group.name)
|
||||
ks_loading.register_session_conf_options(conf, placement_group.name)
|
||||
ks_loading.register_auth_conf_options(conf, placement_group.name)
|
||||
|
||||
|
||||
def list_opts():
|
||||
return {
|
||||
placement_group.name: placement_opts
|
||||
placement_group.name: (
|
||||
placement_opts +
|
||||
ks_loading.get_session_conf_options() +
|
||||
ks_loading.get_auth_common_conf_options() +
|
||||
ks_loading.get_auth_plugin_conf_options('password') +
|
||||
ks_loading.get_auth_plugin_conf_options('v2password') +
|
||||
ks_loading.get_auth_plugin_conf_options('v3password'))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user