5. 생성한 파일을 컨테이너에 올립니다. openstack object create 명령어와 함께 컨테이너 이름, 파일 이름을 입력하면 파일을 올릴 수 있습니다.
root@controller:~# openstack object create demo_container testfile
+———-+—————-+———————————-+
| object | container | etag |
+———-+—————-+———————————-+
| testfile | demo_container | d1074d45498b025d34ee5c959563d8e5|
+———-+—————-+———————————-+
6. 올린 파일의 상세 정보를 확인해 보겠습니다. openstack object show 명령어를 이용해 확인하려는 컨테이너 이름과 파일 이름을 입력하면 파일의 상세 정보를 확인할 수 있습니다.
root@controller:~# openstack object show demo_container testfile
+—————-+—————————————+
| Field | Value |
+—————-+—————————————+
| account | AUTH_f23c0ab37da742c4a047a64226681a93 |
| container | demo_container |
| content-length | 25 |
| content-type | application/octet-stream |
| etag | d1074d45498b025d34ee5c959563d8e5 |
| last-modified | Wed, 13 Jul 2016 08:45:39 GMT |
| object | testfile |
+—————-+—————————————+