"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "etc/swift.conf-sample" between
swift-2.19.1.tar.gz and swift-2.21.0.tar.gz

About: OpenStack swift is software for creating redundant, scalable object storage using clusters of commodity servers to store terabytes or even petabytes of accessible data (now supporting storage policies).
The "Stein" series (latest release).

swift.conf-sample  (swift-2.19.1):swift.conf-sample  (swift-2.21.0)
skipping to change at line 29 skipping to change at line 29
# will be automatically created for backwards compatibility and given the name # will be automatically created for backwards compatibility and given the name
# Policy-0. A default policy is used when creating new containers when no # Policy-0. A default policy is used when creating new containers when no
# policy is specified in the request. If no other policies are defined the # policy is specified in the request. If no other policies are defined the
# policy with index 0 will be declared the default. If multiple policies are # policy with index 0 will be declared the default. If multiple policies are
# defined you must define a policy with index 0 and you must specify a # defined you must define a policy with index 0 and you must specify a
# default. It is recommended you always define a section for # default. It is recommended you always define a section for
# storage-policy:0. Aliases are not required when defining a storage policy. # storage-policy:0. Aliases are not required when defining a storage policy.
# #
# A 'policy_type' argument is also supported but is not mandatory. Default # A 'policy_type' argument is also supported but is not mandatory. Default
# policy type 'replication' is used when 'policy_type' is unspecified. # policy type 'replication' is used when 'policy_type' is unspecified.
# A 'diskfile_module' optional argument lets you specify an alternate backend
# object storage plug-in architecture. The default is
# "egg:swift#replication.fs", or "egg:swift#erasure_coding.fs", depending on
# the policy type.
[storage-policy:0] [storage-policy:0]
name = Policy-0 name = Policy-0
default = yes default = yes
#policy_type = replication #policy_type = replication
#diskfile_module = egg:swift#replication.fs
aliases = yellow, orange aliases = yellow, orange
# the following section would declare a policy called 'silver', the number of # the following section would declare a policy called 'silver', the number of
# replicas will be determined by how the ring is built. In this example the # replicas will be determined by how the ring is built. In this example the
# 'silver' policy could have a lower or higher # of replicas than the # 'silver' policy could have a lower or higher # of replicas than the
# 'Policy-0' policy above. The ring filename will be 'object-1.ring.gz'. You # 'Policy-0' policy above. The ring filename will be 'object-1.ring.gz'. You
# may only specify one storage policy section as the default. If you changed # may only specify one storage policy section as the default. If you changed
# this section to specify 'silver' as the default, when a client created a new # this section to specify 'silver' as the default, when a client created a new
# container w/o a policy specified, it will get the 'silver' policy because # container w/o a policy specified, it will get the 'silver' policy because
# this config has specified it as the default. However if a legacy container # this config has specified it as the default. However if a legacy container
# (one created with a pre-policy version of swift) is accessed, it is known # (one created with a pre-policy version of swift) is accessed, it is known
# implicitly to be assigned to the policy with index 0 as opposed to the # implicitly to be assigned to the policy with index 0 as opposed to the
# current default. Note that even without specifying any aliases, a policy # current default. Note that even without specifying any aliases, a policy
# always has at least the default name stored in aliases because this field is # always has at least the default name stored in aliases because this field is
# used to contain all human readable names for a storage policy. # used to contain all human readable names for a storage policy.
# #
#[storage-policy:1] #[storage-policy:1]
#name = silver #name = silver
#policy_type = replication #policy_type = replication
#diskfile_module = egg:swift#replication.fs
# The following declares a storage policy of type 'erasure_coding' which uses # The following declares a storage policy of type 'erasure_coding' which uses
# Erasure Coding for data reliability. Please refer to Swift documentation for # Erasure Coding for data reliability. Please refer to Swift documentation for
# details on how the 'erasure_coding' storage policy is implemented. # details on how the 'erasure_coding' storage policy is implemented.
# #
# Swift uses PyECLib, a Python Erasure coding API library, for encode/decode # Swift uses PyECLib, a Python Erasure coding API library, for encode/decode
# operations. Please refer to Swift documentation for details on how to # operations. Please refer to Swift documentation for details on how to
# install PyECLib. # install PyECLib.
# #
# When defining an EC policy, 'policy_type' needs to be 'erasure_coding' and # When defining an EC policy, 'policy_type' needs to be 'erasure_coding' and
skipping to change at line 84 skipping to change at line 90
# The example 'deepfreeze10-4' policy defined below is a _sample_ # The example 'deepfreeze10-4' policy defined below is a _sample_
# configuration with an alias of 'df10-4' as well as 10 'data' and 4 'parity' # configuration with an alias of 'df10-4' as well as 10 'data' and 4 'parity'
# fragments. 'ec_type' defines the Erasure Coding scheme. # fragments. 'ec_type' defines the Erasure Coding scheme.
# 'liberasurecode_rs_vand' (Reed-Solomon Vandermonde) is used as an example # 'liberasurecode_rs_vand' (Reed-Solomon Vandermonde) is used as an example
# below. # below.
# #
#[storage-policy:2] #[storage-policy:2]
#name = deepfreeze10-4 #name = deepfreeze10-4
#aliases = df10-4 #aliases = df10-4
#policy_type = erasure_coding #policy_type = erasure_coding
#diskfile_module = egg:swift#erasure_coding.fs
#ec_type = liberasurecode_rs_vand #ec_type = liberasurecode_rs_vand
#ec_num_data_fragments = 10 #ec_num_data_fragments = 10
#ec_num_parity_fragments = 4 #ec_num_parity_fragments = 4
#ec_object_segment_size = 1048576 #ec_object_segment_size = 1048576
# #
# Duplicated EC fragments is proof-of-concept experimental support to enable # Duplicated EC fragments is proof-of-concept experimental support to enable
# Global Erasure Coding policies with multiple regions acting as independent # Global Erasure Coding policies with multiple regions acting as independent
# failure domains. Do not change the default except in development/testing. # failure domains. Do not change the default except in development/testing.
#ec_duplication_factor = 1 #ec_duplication_factor = 1
 End of changes. 4 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)