Consider interface and region options with OSC
The --os-interface/OS_INTERFACE and --os-region-name/OS_REGION_NAME options were considered by cloudkitty CLI but ignored when using the OSC integration. Change-Id: I36dc3616fba59c9b2e77da75abe0f76db7ddb7e4
This commit is contained in:
parent
214083c695
commit
81cdcba4f3
|
@ -30,7 +30,12 @@ def make_client(instance):
|
|||
version,
|
||||
API_VERSIONS)
|
||||
instance.setup_auth()
|
||||
return ck_client(session=instance.session)
|
||||
adapter_options = dict(
|
||||
interface=instance.interface,
|
||||
region_name=instance.region_name,
|
||||
)
|
||||
return ck_client(session=instance.session,
|
||||
adapter_options=adapter_options)
|
||||
|
||||
|
||||
def build_option_parser(parser):
|
||||
|
|
Loading…
Reference in New Issue