Adds flags for href prefixes

bug #924090

Change-Id: I66358b3f526a5d356e11281ee32ce80e7b74d474
This commit is contained in:
Philip Knouff
2012-02-02 16:22:16 -05:00
parent c36bcc8f6d
commit fa21a6f8d4

View File

@@ -338,6 +338,14 @@ global_opts = [
cfg.StrOpt('osapi_path',
default='/v1.1/',
help='suffix for openstack'),
cfg.StrOpt('osapi_compute_link_prefix',
default=None,
help='Base URL that will be presented to users in links '
'to the Openstack Compute API'),
cfg.StrOpt('osapi_glance_link_prefix',
default=None,
help='Base URL that will be presented to users in links '
'to glance resources'),
cfg.IntOpt('osapi_max_limit',
default=1000,
help='max number of items returned in a collection response'),