please add a 'region_name' configuration in kuryr/lib/config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In kuryr/kuryr/
def get_neutron_
conf_group = kuryr_config.
auth_plugin = get_auth_
session = get_keystone_
return client.
However, in multi-region scenario (For example, Tricircle scenario), some users need to specify which region's neutronclient api to call, so that they can implement their own neutron network function.
So, I think you can add 'region_name' configuration in neutronclient function. Maybe like this:
def get_neutron_
conf_group = kuryr_config.
auth_plugin = get_auth_
session = get_keystone_
#++# region_name = getattr(
#**# return client.
Meanwhile, register 'region_name' option in kuryr conf.
Changed in kuryr: | |
status: | New → Confirmed |
Some users need to specify 'region_name' or 'endpoint' option rather than by default.