admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%
+# Network service endpoint type to pull from the keystone catalog
+# endpoint_type = adminURL
+
# IP address used by Nova metadata server
# nova_metadata_ip = 127.0.0.1
help=_("The type of authentication to use")),
cfg.StrOpt('auth_region',
help=_("Authentication region")),
+ cfg.StrOpt('endpoint_type',
+ default='adminURL',
+ help=_("Network service endpoint type to pull from "
+ "the keystone catalog")),
cfg.StrOpt('nova_metadata_ip', default='127.0.0.1',
help=_("IP address used by Nova metadata server.")),
cfg.IntOpt('nova_metadata_port',
region_name=self.conf.auth_region,
auth_token=self.auth_info.get('auth_token'),
endpoint_url=self.auth_info.get('endpoint_url'),
+ endpoint_type=self.conf.endpoint_type
)
return qclient
auth_url = 'http://127.0.0.1'
auth_strategy = 'keystone'
auth_region = 'region'
+ endpoint_type = 'adminURL'
nova_metadata_ip = '9.9.9.9'
nova_metadata_port = 8775
metadata_proxy_shared_secret = 'secret'
password=FakeConf.admin_password,
auth_strategy=FakeConf.auth_strategy,
auth_token=None,
- endpoint_url=None)
+ endpoint_url=None,
+ endpoint_type=FakeConf.endpoint_type)
]
if router_id: