From be81fbaa8729a820b06a709a83a3c234c4928b39 Mon Sep 17 00:00:00 2001
From: Boris Pavlovic <boris@pavlovic.me>
Date: Wed, 14 Aug 2013 14:01:38 +0400
Subject: [PATCH] Add rally.sample.conf to project

To use ./tools/config/generate_sample.sh I have to add 3 more requirements:
Babel, netaddr, iso8601

Adding new directory etc to store all configurations.

And as a first configuration added etc/rally/rally.sample.conf

Fix small bug rally is package => must have __init__.py file
---
 etc/rally/rally.conf.sample | 83 +++++++++++++++++++++++++++++++++++++
 rally/__init__.py           |  0
 requirements.txt            |  3 ++
 3 files changed, 86 insertions(+)
 create mode 100644 etc/rally/rally.conf.sample
 create mode 100644 rally/__init__.py

diff --git a/etc/rally/rally.conf.sample b/etc/rally/rally.conf.sample
new file mode 100644
index 00000000..eae96211
--- /dev/null
+++ b/etc/rally/rally.conf.sample
@@ -0,0 +1,83 @@
+[DEFAULT]
+
+#
+# Options defined in rally.openstack.common.log
+#
+
+# Print debugging output (set logging level to DEBUG instead
+# of default WARNING level). (boolean value)
+#debug=false
+
+# Print more verbose output (set logging level to INFO instead
+# of default WARNING level). (boolean value)
+#verbose=false
+
+# Log output to standard error (boolean value)
+#use_stderr=true
+
+# format string to use for log messages with context (string
+# value)
+#logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s
+
+# format string to use for log messages without context
+# (string value)
+#logging_default_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
+
+# data to append to log format when level is DEBUG (string
+# value)
+#logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d
+
+# prefix each line of exception output with this format
+# (string value)
+#logging_exception_prefix=%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s
+
+# list of logger=LEVEL pairs (list value)
+#default_log_levels=amqplib=WARN,sqlalchemy=WARN,boto=WARN,suds=INFO,keystone=INFO,eventlet.wsgi.server=WARN
+
+# publish error events (boolean value)
+#publish_errors=false
+
+# make deprecations fatal (boolean value)
+#fatal_deprecations=false
+
+# If an instance is passed with the log message, format it
+# like this (string value)
+#instance_format="[instance: %(uuid)s] "
+
+# If an instance UUID is passed with the log message, format
+# it like this (string value)
+#instance_uuid_format="[instance: %(uuid)s] "
+
+# If this option is specified, the logging configuration file
+# specified is used and overrides any other logging options
+# specified. Please see the Python logging module
+# documentation for details on logging configuration files.
+# (string value)
+#log_config=<None>
+
+# DEPRECATED. A logging.Formatter log message format string
+# which may use any of the available logging.LogRecord
+# attributes. This option is deprecated.  Please use
+# logging_context_format_string and
+# logging_default_format_string instead. (string value)
+#log_format=<None>
+
+# Format string for %%(asctime)s in log records. Default:
+# %(default)s (string value)
+#log_date_format=%Y-%m-%d %H:%M:%S
+
+# (Optional) Name of log file to output to. If no default is
+# set, logging will go to stdout. (string value)
+#log_file=<None>
+
+# (Optional) The base directory used for relative --log-file
+# paths (string value)
+#log_dir=<None>
+
+# Use syslog for logging. (boolean value)
+#use_syslog=false
+
+# syslog facility to receive log lines (string value)
+#syslog_log_facility=LOG_USER
+
+
diff --git a/rally/__init__.py b/rally/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/requirements.txt b/requirements.txt
index 27e447e9..e942e851 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,6 @@
+Babel>=0.9.6
+netaddr>=0.7.6
+iso8601>=0.1.4
 oslo.config
 paramiko>=1.8.0
 pbr>=0.5.21,<1.0