Add docstring for added/modified options

Add docstring for added/modified options

Change-Id: I5c86217ba801e27c1e9ae1e9a39b74530a0bc0b1
This commit is contained in:
joey5678 2015-01-27 14:50:36 +08:00
parent ff1c3a2971
commit 44c77a238e
1 changed files with 52 additions and 0 deletions

View File

@ -1,7 +1,13 @@
[glance-api] [glance-api]
#Configured to indicate if using the glance sync manager.
sync_enabled=True sync_enabled=True
#The glance sync manager api address(host + port).
sync_server_port=9595 sync_server_port=9595
sync_server_host=127.0.0.1 sync_server_host=127.0.0.1
#This option's value must be True if using glance sync feature,
#for sync using glance's multiple-locations feature.
show_multiple_locations=True show_multiple_locations=True
[glance-api_keystone_authtoken] [glance-api_keystone_authtoken]
@ -13,8 +19,20 @@ admin_user=glance
admin_password=openstack admin_password=openstack
[glance-sync] [glance-sync]
#How to sync the image, the value can be ["None", "ALL", "USER", "nova"]
#When "ALL" chosen, means to sync to all the cascaded glances;
#When "USER" chosen, means according to user's role,
#project, etc (not implemen tation);
#When "nova" chosen, means nova sync the image when first time it
#create a instance.
sync_strategy=All sync_strategy=All
#What the cascading glance api endpoint is, must be same with what is
#in keystone's endpoint list.
cascading_endpoint_url=http://<glance-endpoint-url>/ cascading_endpoint_url=http://<glance-endpoint-url>/
#When create instance's snapshot image, indicate which regions the snapshot
#should to be synced.
snapshot_region_names=<region_names(A, B...) for vm snapshot> snapshot_region_names=<region_names(A, B...) for vm snapshot>
[glance-sync_keystone_authtoken] [glance-sync_keystone_authtoken]
@ -24,21 +42,55 @@ admin_user=glance
admin_password=openstack admin_password=openstack
[nova] [nova]
#Modify to not wait neutron creating the vif.
vif_plugging_timeout=0 vif_plugging_timeout=0
vif_plugging_is_fatal=False vif_plugging_is_fatal=False
#Config the admin user of nova for sync info.
nova_admin_username=admin nova_admin_username=admin
nova_admin_password=openstack nova_admin_password=openstack
nova_admin_tenant_name=admin nova_admin_tenant_name=admin
#The underlying openstack's region name that this proxy service manages.
proxy_region_name=<CascadedRegion> proxy_region_name=<CascadedRegion>
#The cascading nova api address.
cascading_nova_url=http://127.0.0.1:8774/v2 cascading_nova_url=http://127.0.0.1:8774/v2
#The underlying nova restful api address for proxy to call.
cascaded_nova_url=http://127.0.0.1:8774/v2 cascaded_nova_url=http://127.0.0.1:8774/v2
#The underlying neutron restful api address for proxy to call.
cascaded_neutron_url=http://127.0.0.1:9696 cascaded_neutron_url=http://127.0.0.1:9696
#The flag to show whether using glance cascade.
cascaded_glance_flag=True cascaded_glance_flag=True
#If using glance cascade, the underlying glance restful api address
#for proxy to call.
cascaded_glance_url=http://127.0.0.1:9292 cascaded_glance_url=http://127.0.0.1:9292
#The region name this proxy belongs to.
os_region_name=<CascadingRegion> os_region_name=<CascadingRegion>
#The keystone auth url
keystone_auth_url=http://127.0.0.1:5000/v2.0/ keystone_auth_url=http://127.0.0.1:5000/v2.0/
#The Cinder endpoint template.
cinder_endpoint_template=http://127.0.0.1:8776/v2/%(project_id)s cinder_endpoint_template=http://127.0.0.1:8776/v2/%(project_id)s
#The ComputeManger Implementation
compute_manager=nova.compute.manager_proxy.ComputeManager compute_manager=nova.compute.manager_proxy.ComputeManager
#The time interval to sync aggregate info from underlying to cascading.
sync_aggregate_info_interval = 1800
#Whether sync resources from underlying to cascading.
resource_tracker_synced = False
#If using the feature that syncing the image when first time launch instance,
#these options must to configured for how to copy the image data from the
#source to the dest using ssh/scp command.
image_copy_dest_location_url=file:///var/lib/glance/images image_copy_dest_location_url=file:///var/lib/glance/images
image_copy_dest_host=127.0.0.1 image_copy_dest_host=127.0.0.1
image_copy_dest_user=glance image_copy_dest_user=glance