From a5462e6623e5ff1e29d5ec39d9d6ac68e88eceae Mon Sep 17 00:00:00 2001 From: Matthias Bastian Date: Fri, 6 Jul 2018 15:55:00 +0200 Subject: [PATCH] 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 --- aodhclient/osc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aodhclient/osc.py b/aodhclient/osc.py index 1e8599f..a1ecfee 100644 --- a/aodhclient/osc.py +++ b/aodhclient/osc.py @@ -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):