summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/os_credentials.py
diff options
context:
space:
mode:
Diffstat (limited to 'snaps/openstack/os_credentials.py')
-rw-r--r--snaps/openstack/os_credentials.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/snaps/openstack/os_credentials.py b/snaps/openstack/os_credentials.py
index 4c681ac..3054478 100644
--- a/snaps/openstack/os_credentials.py
+++ b/snaps/openstack/os_credentials.py
@@ -51,6 +51,7 @@ class OSCreds:
is specified for https verification, or set to be False
to disable server certificate verification without cert
file
+ :param region_name: the region (optional default = None)
"""
self.username = kwargs.get('username')
self.password = kwargs.get('password')
@@ -97,6 +98,8 @@ class OSCreds:
else:
self.interface = kwargs['interface']
+ self.region_name = kwargs.get('region_name', None)
+
self.cacert = False
if kwargs.get('cacert') is not None:
if isinstance(kwargs.get('cacert'), str):