diff --git a/script/tricircle.cfg b/script/tricircle.cfg index d38d99e4..3fbcc95c 100755 --- a/script/tricircle.cfg +++ b/script/tricircle.cfg @@ -1,7 +1,13 @@ [glance-api] +#Configured to indicate if using the glance sync manager. sync_enabled=True + +#The glance sync manager api address(host + port). sync_server_port=9595 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 [glance-api_keystone_authtoken] @@ -13,8 +19,20 @@ admin_user=glance admin_password=openstack [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 + +#What the cascading glance api endpoint is, must be same with what is +#in keystone's endpoint list. cascading_endpoint_url=http:/// + +#When create instance's snapshot image, indicate which regions the snapshot +#should to be synced. snapshot_region_names= [glance-sync_keystone_authtoken] @@ -24,21 +42,55 @@ admin_user=glance admin_password=openstack [nova] +#Modify to not wait neutron creating the vif. vif_plugging_timeout=0 vif_plugging_is_fatal=False + +#Config the admin user of nova for sync info. nova_admin_username=admin nova_admin_password=openstack nova_admin_tenant_name=admin + +#The underlying openstack's region name that this proxy service manages. proxy_region_name= + +#The cascading nova api address. 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 + +#The underlying neutron restful api address for proxy to call. cascaded_neutron_url=http://127.0.0.1:9696 + +#The flag to show whether using glance cascade. 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 + +#The region name this proxy belongs to. os_region_name= + +#The keystone auth url 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 + +#The ComputeManger Implementation 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_host=127.0.0.1 image_copy_dest_user=glance