github.com/rohankumardubey/proxyfs@v0.0.0-20210108201508-653efa9ab00e/saio/container/etc/swift/test.conf (about)

     1  [func_test]
     2  # Sample config for Swift with tempauth
     3  auth_host = 127.0.0.1
     4  auth_port = 8080
     5  auth_ssl = no
     6  auth_prefix = /auth/
     7  # Sample config for Swift with Keystone v2 API.
     8  # For keystone v2 change auth_version to 2 and auth_prefix to /v2.0/.
     9  # And "allow_account_management" should not be set "true".
    10  #auth_version = 3
    11  #auth_host = localhost
    12  #auth_port = 5000
    13  #auth_ssl = no
    14  #auth_prefix = /v3/
    15  
    16  # Primary functional test account (needs admin access to the account)
    17  account = test
    18  username = tester
    19  password = testing
    20  
    21  # User on a second account (needs admin access to the account)
    22  account2 = test2
    23  username2 = tester2
    24  password2 = testing2
    25  
    26  # User on same account as first, but without admin access
    27  username3 = tester3
    28  password3 = testing3
    29  
    30  # Fourth user is required for keystone v3 specific tests.
    31  # Account must be in a non-default domain.
    32  #account4 = test4
    33  #username4 = tester4
    34  #password4 = testing4
    35  #domain4 = test-domain
    36  
    37  # Fifth user is required for service token-specific tests.
    38  # The account must be different from the primary test account.
    39  # The user must not have a group (tempauth) or role (keystoneauth) on
    40  # the primary test account. The user must have a group/role that is unique
    41  # and not given to the primary tester and is specified in the options
    42  # <prefix>_require_group (tempauth) or <prefix>_service_roles (keystoneauth).
    43  #account5 = test5
    44  #username5 = tester5
    45  #password5 = testing5
    46  
    47  # The service_prefix option is used for service token-specific tests.
    48  # If service_prefix or username5 above is not supplied, the tests are skipped.
    49  # To set the value and enable the service token tests, look at the
    50  # reseller_prefix option in /etc/swift/proxy-server.conf. There must be at
    51  # least two prefixes. If not, add a prefix as follows (where we add SERVICE):
    52  #     reseller_prefix = AUTH, SERVICE
    53  # The service_prefix must match the <prefix> used in <prefix>_require_group
    54  # (tempauth) or <prefix>_service_roles (keystoneauth); for example:
    55  #    SERVICE_require_group = service
    56  #    SERVICE_service_roles = service
    57  # Note: Do not enable service token tests if the first prefix in
    58  # reseller_prefix is the empty prefix AND the primary functional test
    59  # account contains an underscore.
    60  #service_prefix = SERVICE
    61  
    62  # Sixth user is required for access control tests.
    63  # Account must have a role for reseller_admin_role(keystoneauth).
    64  #account6 = test
    65  #username6 = tester6
    66  #password6 = testing6
    67  
    68  collate = C
    69  
    70  # Only necessary if a pre-existing server uses self-signed certificate
    71  insecure = no
    72  
    73  [unit_test]
    74  fake_syslog = False
    75  
    76  [probe_test]
    77  # check_server_timeout = 30
    78  # validate_rsync = false
    79  
    80  [swift-constraints]
    81  # The functional test runner will try to use the constraint values provided in
    82  # the swift-constraints section of test.conf.
    83  #
    84  # If a constraint value does not exist in that section, or because the
    85  # swift-constraints section does not exist, the constraints values found in
    86  # the /info API call (if successful) will be used.
    87  #
    88  # If a constraint value cannot be found in the /info results, either because
    89  # the /info API call failed, or a value is not present, the constraint value
    90  # used will fall back to those loaded by the constraints module at time of
    91  # import (which will attempt to load /etc/swift/swift.conf, see the
    92  # swift.common.constraints module for more information).
    93  #
    94  # Note that the cluster must have "sane" values for the test suite to pass
    95  # (for some definition of sane).
    96  #
    97  #max_file_size = 5368709122
    98  #max_meta_name_length = 128
    99  #max_meta_value_length = 256
   100  #max_meta_count = 90
   101  #max_meta_overall_size = 4096
   102  #max_header_size = 8192
   103  #extra_header_count = 0
   104  #max_object_name_length = 1024
   105  #container_listing_limit = 10000
   106  #account_listing_limit = 10000
   107  #max_account_name_length = 256
   108  #max_container_name_length = 256
   109  
   110  # Newer swift versions default to strict cors mode, but older ones were the
   111  # opposite.
   112  #strict_cors_mode = true