engines/http: Add support for Swift storage backend
[fio.git] / examples / http-swift.fio
1 [global]
2 ioengine=http
3 rw=randwrite
4 name=test
5 direct=1
6 http_verbose=0
7 http_mode=swift
8 https=on
9 # This is the hostname and port portion of the public access link for
10 # the container:
11 http_host=swift.srv.openstack.local:8081
12 filename_format=/swift/v1/fio-test/bucket.$jobnum
13 group_reporting
14 bs=64k
15 size=1M
16 # Currently, fio cannot yet generate the Swift Auth-Token itself.
17 # You need to set this prior to running fio via
18 # eval $(openstack token issue -f shell --prefix SWIFT_) ; export SWIFT_id
19 http_swift_auth_token=${SWIFT_id}
20
21 [create]
22 numjobs=1
23 rw=randwrite
24 io_size=256k
25 verify=sha256
26
27 # This will delete all created objects again
28 [trim]
29 stonewall
30 numjobs=1
31 rw=trim
32 io_size=64k