Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created March 14, 2017 16:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/6cae683c43816384a3488050e0f99d41 to your computer and use it in GitHub Desktop.
Save notmyname/6cae683c43816384a3488050e0f99d41 to your computer and use it in GitHub Desktop.
no nested DLOs
Last login: Tue Mar 14 09:21:52 on ttys001
john> europa> ~> $> testtoken | pbcopy
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/
HTTP/1.1 204 No Content
Content-Type: text/plain; charset=utf-8
X-Account-Object-Count: 0
X-Timestamp: 1489508533.63459
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
X-Put-Timestamp: 1489508533.63459
Content-Length: 0
X-Trans-Id: tx6cea608af40445fabca4a-0058c818b5saio
X-Openstack-Request-Id: tx6cea608af40445fabca4a-0058c818b5saio
Date: Tue, 14 Mar 2017 16:22:13 GMT
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs -XPUT
HTTP/1.1 201 Created
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txbe1cf3e990b24987a26c6-0058c818c0saio
X-Openstack-Request-Id: txbe1cf3e990b24987a26c6-0058c818c0saio
Date: Tue, 14 Mar 2017 16:22:24 GMT
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs/o1_a --data-binary 1234 -XPUT
HTTP/1.1 201 Created
Last-Modified: Tue, 14 Mar 2017 16:22:37 GMT
Content-Length: 0
Etag: 81dc9bdb52d04dc20036dbd8313ed055
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txa4fa493ecd3145d28b2ae-0058c818ccsaio
X-Openstack-Request-Id: txa4fa493ecd3145d28b2ae-0058c818ccsaio
Date: Tue, 14 Mar 2017 16:22:36 GMT
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs/o1_b --data-binary 4567 -XPUT
HTTP/1.1 201 Created
Last-Modified: Tue, 14 Mar 2017 16:22:47 GMT
Content-Length: 0
Etag: 6562c5c1f33db6e05a082a88cddab5ea
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txd7538f6347f14b74a8d0e-0058c818d6saio
X-Openstack-Request-Id: txd7538f6347f14b74a8d0e-0058c818d6saio
Date: Tue, 14 Mar 2017 16:22:46 GMT
john> europa> ~> $>
john> europa> ~> $>
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs/o1_c --data-binary 8901 -XPUT
HTTP/1.1 201 Created
Last-Modified: Tue, 14 Mar 2017 16:22:58 GMT
Content-Length: 0
Etag: f4d87ed3b0dbf9c79746d00cedbb5e78
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx8ddba4c42870453face3b-0058c818e1saio
X-Openstack-Request-Id: tx8ddba4c42870453face3b-0058c818e1saio
Date: Tue, 14 Mar 2017 16:22:57 GMT
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs/
HTTP/1.1 200 OK
Content-Length: 15
X-Container-Object-Count: 3
Accept-Ranges: bytes
X-Storage-Policy: gold
Last-Modified: Tue, 14 Mar 2017 16:22:25 GMT
X-Container-Bytes-Used: 12
X-Timestamp: 1489508544.25076
Content-Type: text/plain; charset=utf-8
X-Trans-Id: txed2f66cf3f8741be9d867-0058c818e4saio
X-Openstack-Request-Id: txed2f66cf3f8741be9d867-0058c818e4saio
Date: Tue, 14 Mar 2017 16:23:00 GMT
o1_a
o1_b
o1_c
john> europa> ~> $>
john> europa> ~> $>
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c -XPUT
HTTP/1.1 201 Created
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txc67de5cd93dd4af087246-0058c818ecsaio
X-Openstack-Request-Id: txc67de5cd93dd4af087246-0058c818ecsaio
Date: Tue, 14 Mar 2017 16:23:08 GMT
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c/o1 -H "X-object-manifest: c_segs/o1_" -H "content-length: 0" -XPUT
HTTP/1.1 201 Created
Last-Modified: Tue, 14 Mar 2017 16:23:39 GMT
Content-Length: 0
Etag: d41d8cd98f00b204e9800998ecf8427e
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx691570dea019432297342-0058c8190asaio
X-Openstack-Request-Id: tx691570dea019432297342-0058c8190asaio
Date: Tue, 14 Mar 2017 16:23:38 GMT
john> europa> ~> $>
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c
HTTP/1.1 200 OK
Content-Length: 3
X-Container-Object-Count: 1
Accept-Ranges: bytes
X-Storage-Policy: gold
Last-Modified: Tue, 14 Mar 2017 16:23:09 GMT
X-Container-Bytes-Used: 0
X-Timestamp: 1489508588.46252
Content-Type: text/plain; charset=utf-8
X-Trans-Id: txea79f99f37fa4131a26a0-0058c8190esaio
X-Openstack-Request-Id: txea79f99f37fa4131a26a0-0058c8190esaio
Date: Tue, 14 Mar 2017 16:23:42 GMT
o1
john> europa> ~> $>
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c/o1
HTTP/1.1 200 OK
Content-Length: 12
Etag: "4c33a398e23d1704a85f517276bda4b6"
Accept-Ranges: bytes
Last-Modified: Tue, 14 Mar 2017 16:23:39 GMT
X-Object-Manifest: c_segs/o1_
X-Timestamp: 1489508618.25180
Content-Type: application/octet-stream
X-Trans-Id: tx50db0372a6c7488087912-0058c81911saio
X-Openstack-Request-Id: tx50db0372a6c7488087912-0058c81911saio
Date: Tue, 14 Mar 2017 16:23:45 GMT
123445678901 john> europa> ~> $>
john> europa> ~> $>
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs/o1_d -H "x-object-manifest: c_segs2/o1_d_" -H "content-lenght: 0" -XPUT
HTTP/1.1 411 Length Required
Content-Length: 30
Content-Type: text/plain
X-Trans-Id: tx3aa529ab0d844723ba2e9-0058c8195dsaio
X-Openstack-Request-Id: tx3aa529ab0d844723ba2e9-0058c8195dsaio
Date: Tue, 14 Mar 2017 16:25:01 GMT
Missing Content-Length header. john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_tesifest: c_segs2/o1_d_" -H "content-length: 0" -XPUT
HTTP/1.1 201 Created
Last-Modified: Tue, 14 Mar 2017 16:25:07 GMT
Content-Length: 0
Etag: d41d8cd98f00b204e9800998ecf8427e
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txa1936454e6b74486ae165-0058c81962saio
X-Openstack-Request-Id: txa1936454e6b74486ae165-0058c81962saio
Date: Tue, 14 Mar 2017 16:25:06 GMT
john> europa> ~> $>
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs2 -XPUT
HTTP/1.1 201 Created
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx9ec1714099da4fd090a7d-0058c81970saio
X-Openstack-Request-Id: tx9ec1714099da4fd090a7d-0058c81970saio
Date: Tue, 14 Mar 2017 16:25:20 GMT
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs2/o1_d_1 --data-binary abcd -XPUT
HTTP/1.1 201 Created
Last-Modified: Tue, 14 Mar 2017 16:25:39 GMT
Content-Length: 0
Etag: e2fc714c4727ee9395f324cd2e7f331f
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx9955fddaa63b4e3a81df2-0058c81982saio
X-Openstack-Request-Id: tx9955fddaa63b4e3a81df2-0058c81982saio
Date: Tue, 14 Mar 2017 16:25:38 GMT
john> europa> ~> $>
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs
HTTP/1.1 200 OK
Content-Length: 20
X-Container-Object-Count: 4
Accept-Ranges: bytes
X-Storage-Policy: gold
Last-Modified: Tue, 14 Mar 2017 16:22:25 GMT
X-Container-Bytes-Used: 12
X-Timestamp: 1489508544.25076
Content-Type: text/plain; charset=utf-8
X-Trans-Id: tx38414faa8ca54c76a4339-0058c81987saio
X-Openstack-Request-Id: tx38414faa8ca54c76a4339-0058c81987saio
Date: Tue, 14 Mar 2017 16:25:43 GMT
o1_a
o1_b
o1_c
o1_d
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c_segs/o1_d
HTTP/1.1 200 OK
Content-Length: 4
Etag: "1fdda3f0c5555b8b3057369ba3c58215"
Accept-Ranges: bytes
Last-Modified: Tue, 14 Mar 2017 16:25:07 GMT
X-Object-Manifest: c_segs2/o1_d_
X-Timestamp: 1489508706.88048
Content-Type: application/octet-stream
X-Trans-Id: txbb70217bc42a4ac0b333c-0058c8198bsaio
X-Openstack-Request-Id: txbb70217bc42a4ac0b333c-0058c8198bsaio
Date: Tue, 14 Mar 2017 16:25:47 GMT
abcd john> europa> ~> $>
john> europa> ~> $>
john> europa> ~> $> curl -i -H "X-Auth-Token: AUTH_tk5e068b134e6e46cea762d41f0b543f43" http://saio:8080/v1/AUTH_test/c/o1
HTTP/1.1 200 OK
Content-Length: 12
Etag: "8478bae3de47332791640a0a98923eb6"
Accept-Ranges: bytes
Last-Modified: Tue, 14 Mar 2017 16:23:39 GMT
X-Object-Manifest: c_segs/o1_
X-Timestamp: 1489508618.25180
Content-Type: application/octet-stream
X-Trans-Id: txb2c96b41177c49f48e2a3-0058c81993saio
X-Openstack-Request-Id: txb2c96b41177c49f48e2a3-0058c81993saio
Date: Tue, 14 Mar 2017 16:25:55 GMT
123445678901
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment