<commit_before><section xml:id="swift-backup-driver"
        xmlns="http://docbook.org/ns/docbook"
        xmlns:xi="http://www.w3.org/2001/XInclude"
        xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
        <title>Swift backup driver</title>
        <para>The backup driver for Swift back-end performs a volume
                backup to a Swift object storage system.</para>
        <para>To enable the Swift backup driver, include the following
                option in the <filename>cinder.conf</filename>
                file:</para>
        <programlisting>backup_driver = cinder.backup.drivers.swift</programlisting>
        <para>The following configuration options are available for
                the Swift back-end backup driver.</para>
        <xi:include
                href="../../../common/tables/cinder-backups_swift.xml"/>
        <para>This example shows the default options for the Swift
                back-end backup driver.</para>
        <programlisting>backup_swift_url = http://localhost:8080/v1/AUTH_
backup_swift_auth = per_user
backup_swift_user = &lt;None&gt;
backup_swift_key = &lt;None&gt;
backup_swift_container = volumebackups
backup_swift_object_size = 52428800
backup_swift_retry_attempts = 3
backup_swift_retry_backoff = 2
backup_compression_algorithm = zlib</programlisting>
</section><commit_msg>Enables Swift backup driver for auth 2.0<commit_after><section xml:id="swift-backup-driver"
        xmlns="http://docbook.org/ns/docbook"
        xmlns:xi="http://www.w3.org/2001/XInclude"
        xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
        <title>Swift backup driver</title>
        <para>The backup driver for Swift back end performs a volume
                backup to a Swift object storage system.</para>
        <para>To enable the Swift backup driver, include the following
                option in the <filename>cinder.conf</filename>
                file:</para>
        <programlisting>backup_driver = cinder.backup.drivers.swift</programlisting>
        <para>The following configuration options are available for
                the Swift back-end backup driver.</para>
        <xi:include
                href="../../../common/tables/cinder-backups_swift.xml"/>

        <para>To enable Swift backup driver for 1.0 or 2.0 authentication version,
 specify <literal>1</literal> or <literal>2</literal> correspondingly. For example:</para>
        <programlisting>backup_swift_auth_version = 2</programlisting>
        <para>In addition, the 2.0 authentication system requires
 <parameter>backup_swift_tenant</parameter> setting:</para>
        <programlisting>backup_swift_tenant = &lt;None&gt;</programlisting>

        <para>This example shows the default options for the Swift
                back-end backup driver.</para>
        <programlisting>backup_swift_url = http://localhost:8080/v1/AUTH_
backup_swift_auth = per_user
backup_swift_auth_version = 1
backup_swift_user = &lt;None&gt;
backup_swift_key = &lt;None&gt;
backup_swift_container = volumebackups
backup_swift_object_size = 52428800
backup_swift_retry_attempts = 3
backup_swift_retry_backoff = 2
backup_compression_algorithm = zlib</programlisting>
</section>
{'fraction_non_alphanumeric': 0.10585305105853052, 'fraction_numerical': 0.02054794520547945, 'mean_word_length': 3.2110091743119265, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5011972', 'n_tokens_mistral': 1008, 'n_tokens_neox': 896, 'n_words': 211}