Sample configuration file for networking

This commit creates a sample configuration file for networking. This will also
enable the configuration of a .opencafe/config/networking directory for the
user when cloudcafe is installed

Change-Id: Ic419045ef7b492ff3093e791b4896fc6fd0cdc06
This commit is contained in:
Miguel Lavalle 2014-09-20 19:11:09 -05:00
parent 5e1a70b4b6
commit 75c3367a9a

View File

@ -0,0 +1,154 @@
# ======================================================
# reference.json.config
# ------------------------------------------------------
# This configuration is specifically a reference
# implementation for a configuration file.
# You must create a proper configuration file and supply
# the correct values for your Environment(s)
# ======================================================
[marshalling]
serialize_format=json
deserialize_format=json
[user_auth_config]
endpoint=<auth_endpoint>
strategy=<keystone/rax_auth>
[compute]
hypervisor=<kvm/qemu/xen_server/bare_metal/lxc>
[compute_admin_auth_config]
endpoint=<auth_endpoint>
strategy=<keystone/rax_auth>
[compute_endpoint]
region=<region>
compute_endpoint_name=<compute_name>
[compute_admin_endpoint]
region=<region>
compute_endpoint_name=<compute_name>
[user]
# This should not be an admin user
username=<username>
password=<password>
tenant_id=<tenant_id>
user_id=<user_id>
project_id=<project_id>
[compute_admin_user]
username=<username>
password=<password>
tenant_name=<tenant_name>
[compute_secondary_user]
# This should not be an admin user
username=<username>
password=<password>
tenant_name=<tenant_name>
[flavors]
primary_flavor=<flavor_id>
secondary_flavor=<different_flavor_id>
resize_enabled=<True/False>
[images]
primary_image=<image_id>
secondary_image=<different_image_id>
image_status_interval=15
snapshot_timeout=900
can_get_deleted_image=<True/False>
primary_image_has_protected_properties=<True/False>
primary_image_default_user=<user>
non_inherited_metadata_filepath=<file_path>
[servers]
instance_auth_strategy=<password/key>
server_status_interval=15
server_build_timeout=600
server_resize_timeout=1800
network_for_ssh=<public/private>
ip_address_version_for_ssh=<4/6>
instance_disk_path=<path_of_instance_primary_disk>
connection_retry_interval=15
connection_timeout=600
split_ephemeral_disk_enabled=<True/False>
ephemeral_disk_max_size=<max_ephemeral_size>
resource_build_attempts=<num_of_retries>
disk_format_type=<desired_format_type>
personality_file_injection_enabled=<True/False>
default_file_path=<remote_path>
[config_drive]
openstack_meta_path=<path_to_openstack/latest/meta_data.json>
ec_meta_path=<path_to_ec2/latest/meta-data.json>
base_path_to_mount=<config_drive_path>
mount_source_path=<mount_source_path>
min_size=<min_size>
max_size=<max_size>
[networking_endpoint]
region=<region>
networking_endpoint_name=<networking_service_name>
networking_endpoint_url=<override_of_networking_url>
header_tenant_id=<optional tenant id to set in request headers>
[networking_admin_endpoint]
region=<region>
networking_endpoint_name=<networking_service_name>
networking_endpoint_url=<override_of_networking_url>
header_tenant_id=<optional tenant id to set in request headers>
[networking_admin_auth_config]
endpoint=<auth_endpoint>
strategy=<keystone/rax_auth>
[networking_admin_user]
username=<username>
password=<password>
tenant_id=<tenant_id>
user_id=<user_id>
project_id=<project_id>
[networking_secondary_user]
username=<username>
password=<password>
tenant_id=<tenant_id>
user_id=<user_id>
project_id=<project_id>
[networks]
public_network_id=<The uuid of the public network>
service_network_id=<The uuid of the service/private network>
resource_build_attempts=<Number of times to try to create a resource>
keep_resources=<Flag for not deleting resources on tearDown>
keep_resources_on_failure=<Flag for not deleting resources w failures on tearDown>
resource_create_timeout=<Seconds to wait for creating a resource>
resource_delete_timeout=<Seconds to wait for deleting a resource>
starts_with_name=<Network start name label for test runs>
[subnets]
resource_build_attempts=<Number of times to try to create a resource>
keep_resources=<Flag for not deleting resources on tearDown>
keep_resources_on_failure=<Flag for not deleting resources w failures on tearDown>
resource_create_timeout=<Seconds to wait for creating a resource>
resource_delete_timeout=<Seconds to wait for deleting a resource>
starts_with_name=<Subnet start name label for test runs>
ipv4_suffix=<Subnet create default IPv4 suffix>
ipv4_suffix_max=<Subnet max suffix default value>
ipv4_prefix=<Subnet create default IPv4 prefix>
private_ipv4_range=<Expected IPv4 private cidr range when creating subnets>
ipv6_suffix=<Subnet create default IPv6 suffix>
ipv6_suffix_max=<Subnet max suffix default value>
ipv6_prefix=<Subnet create default IPv6 prefix>
private_ipv6_range=<Expected IPv6 private cidr range when creating subnets>
[ports]
resource_build_attempts=<Number of times to try to create a resource>
keep_resources=<Flag for not deleting resources on tearDown>
keep_resources_on_failure=<Flag for not deleting resources w failures on tearDown>
resource_create_timeout=<Seconds to wait for creating a resource>
resource_delete_timeout=<Seconds to wait for deleting a resource>
starts_with_name=<Port start name label for test runs>