Consider interface and region options with OSC
The --os-interface/OS_INTERFACE and --os-region-name/OS_REGION_NAME options were considered by aodh CLI but ignored when using the OSC integration. Change-Id: Iad6f28d942626aa4117020d0d15df1c084a58560
This commit is contained in:
parent
a06c7bbb5a
commit
a5462e6623
@ -39,7 +39,9 @@ def make_client(instance):
|
||||
API_VERSIONS)
|
||||
# NOTE(sileht): ensure setup of the session is done
|
||||
instance.setup_auth()
|
||||
return aodh_client(session=instance.session)
|
||||
return aodh_client(session=instance.session,
|
||||
interface=instance.interface,
|
||||
region_name=instance.region_name)
|
||||
|
||||
|
||||
def build_option_parser(parser):
|
||||
|
Loading…
x
Reference in New Issue
Block a user