]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
more radosgw_admin -> radosgw-admin
authorSage Weil <sage@newdream.net>
Mon, 3 Oct 2011 18:25:44 +0000 (11:25 -0700)
committerSage Weil <sage@newdream.net>
Mon, 3 Oct 2011 18:25:44 +0000 (11:25 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
ceph.spec.in
debian/radosgw.install
doc/dev/object-store.rst
doc/man/8/radosgw-admin.rst [new file with mode: 0644]
doc/man/8/radosgw_admin.rst [deleted file]
man/radosgw-admin.8 [new file with mode: 0644]
man/radosgw_admin.8 [deleted file]

index 5e629d1bb4f9b5b984825effa2e4f39403c65a08..1a56e3fedf796c0981793f5527e1c5c16cb83f0c 100644 (file)
@@ -190,7 +190,7 @@ fi
 %{_docdir}/ceph/sample.fetch_config
 %{_sysconfdir}/bash_completion.d/ceph
 %{_sysconfdir}/bash_completion.d/rados
-%{_sysconfdir}/bash_completion.d/radosgw_admin
+%{_sysconfdir}/bash_completion.d/radosgw-admin
 %{_sysconfdir}/bash_completion.d/rbd
 %config(noreplace) %{_sysconfdir}/logrotate.d/ceph
 %{_mandir}/man8/ceph-mon.8*
@@ -207,7 +207,7 @@ fi
 %{_mandir}/man8/cephfs.8*
 %{_mandir}/man8/mount.ceph.8*
 %{_mandir}/man8/radosgw.8*
-%{_mandir}/man8/radosgw_admin.8*
+%{_mandir}/man8/radosgw-admin.8*
 %{_mandir}/man8/rados.8*
 %{_mandir}/man8/rbd.8*
 %{_mandir}/man8/ceph-authtool.8*
@@ -259,7 +259,7 @@ fi
 %files radosgw
 %defattr(-,root,root,-)
 %{_bindir}/radosgw
-%{_bindir}/radosgw_admin
+%{_bindir}/radosgw-admin
 %{_initrddir}/radosgw
 %endif
 
index d968eddf02ed56b0e357fdc7384dd2d4ec5092e3..a188a204a20046dc57b5a37a64a26ef2282e00cf 100644 (file)
@@ -1,5 +1,5 @@
 usr/bin/radosgw
-usr/bin/radosgw_admin
+usr/bin/radosgw-admin
 usr/share/man/man8/radosgw.8
-usr/share/man/man8/radosgw_admin.8
-etc/bash_completion.d/radosgw_admin
+usr/share/man/man8/radosgw-admin.8
+etc/bash_completion.d/radosgw-admin
index 31b36d18b79531fcf72b7b9417da3651eda7551b..e3771f9c18ec41db5670dd480b7802fef3ac3dd4 100644 (file)
@@ -19,7 +19,7 @@
 
     "radostool" -> "librados"
 
-    "radosgw_admin" -> "radosgw"
+    "radosgw-admin" -> "radosgw"
 
     "radosgw" -> "librados"
 
diff --git a/doc/man/8/radosgw-admin.rst b/doc/man/8/radosgw-admin.rst
new file mode 100644 (file)
index 0000000..39e96a2
--- /dev/null
@@ -0,0 +1,136 @@
+=================================================================
+ radosgw-admin -- rados REST gateway user administration utility
+=================================================================
+
+.. program:: radosgw-admin
+
+Synopsis
+========
+
+| **radosgw-admin** *command* [ *options* *...* ]
+
+
+Description
+===========
+
+**radosgw-admin** is a RADOS gateway user administration utility. It
+allows creating and modifying users.
+
+
+Commands
+========
+
+*command* can be one of the following options:
+
+:command:`user create`
+  Create a new user
+
+:command:`user modify`
+  Modify a user
+
+:command:`user info`
+  Display information of a user
+
+:command:`user rm`
+  Remove a user
+
+:command:`bucket list`
+  List all buckets
+
+:command:`bucket unlink`
+  Remove a bucket
+
+:command:`policy`
+  Display bucket/object policy
+
+:command:`log show`
+  Show the log of a bucket (with a specified date)
+
+
+Options
+=======
+
+.. option:: -c ceph.conf, --conf=ceph.conf
+
+   Use *ceph.conf* configuration file instead of the default
+   ``/etc/ceph/ceph.conf`` to determine monitor addresses during
+   startup.
+
+.. option:: -m monaddress[:port]
+
+   Connect to specified monitor (instead of looking through ceph.conf).
+
+.. option:: --uid=uid
+
+   The S3 user/access key.
+
+.. option:: --secret=secret
+
+   The S3 secret.
+
+.. option:: --display-name=name
+
+   Configure the display name of the user.
+
+.. option:: --email=email
+
+   The e-mail address of the user
+
+.. option:: --bucket=bucket
+
+   Specify the bucket name.
+
+.. option:: --object=object
+
+   Specify the object name.
+
+.. option:: --date=yyyy-mm-dd
+
+   The date need for some commands
+
+.. option:: --os-user=group:name
+
+   The OpenStack user (only needed for use with OpenStack)
+
+.. option:: --os-secret=key
+
+   The OpenStack key
+
+.. option:: --auth-uid=auid
+
+   The librados auid
+
+
+Examples
+========
+
+Generate a new user::
+
+        $ radosgw-admin user gen --display-name="johnny rotten" --email=johnny@rotten.com
+        User ID: CHBQFRTG26I8DGJDGQLW
+        Secret Key: QR6cI/31N+J0VKVgHSpEGVSfEEsmf6PyXG040KCB
+        Display Name: johnny rotten
+
+Remove a user::
+
+        $ radosgw-admin user rm --uid=CHBQFRTG26I8DGJDGQLW
+
+Remove a bucket::
+
+        $ radosgw-admin bucket unlink --bucket=foo
+
+Show the logs of a bucket from April 1st 2011::
+
+        $ radosgw-admin log show --bucket=foo --date=2011=04-01
+
+Availability
+============
+
+**radosgw-admin** is part of the Ceph distributed file system.  Please
+refer to the Ceph wiki at http://ceph.newdream.net/wiki for more
+information.
+
+See also
+========
+
+:doc:`ceph <ceph>`\(8)
diff --git a/doc/man/8/radosgw_admin.rst b/doc/man/8/radosgw_admin.rst
deleted file mode 100644 (file)
index f3d5748..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-=================================================================
- radosgw_admin -- rados REST gateway user administration utility
-=================================================================
-
-.. program:: radosgw_admin
-
-Synopsis
-========
-
-| **radosgw_admin** *command* [ *options* *...* ]
-
-
-Description
-===========
-
-**radosgw_admin** is a RADOS gateway user administration utility. It
-allows creating and modifying users.
-
-
-Commands
-========
-
-*command* can be one of the following options:
-
-:command:`user create`
-  Create a new user
-
-:command:`user modify`
-  Modify a user
-
-:command:`user info`
-  Display information of a user
-
-:command:`user rm`
-  Remove a user
-
-:command:`bucket list`
-  List all buckets
-
-:command:`bucket unlink`
-  Remove a bucket
-
-:command:`policy`
-  Display bucket/object policy
-
-:command:`log show`
-  Show the log of a bucket (with a specified date)
-
-
-Options
-=======
-
-.. option:: -c ceph.conf, --conf=ceph.conf
-
-   Use *ceph.conf* configuration file instead of the default
-   ``/etc/ceph/ceph.conf`` to determine monitor addresses during
-   startup.
-
-.. option:: -m monaddress[:port]
-
-   Connect to specified monitor (instead of looking through ceph.conf).
-
-.. option:: --uid=uid
-
-   The S3 user/access key.
-
-.. option:: --secret=secret
-
-   The S3 secret.
-
-.. option:: --display-name=name
-
-   Configure the display name of the user.
-
-.. option:: --email=email
-
-   The e-mail address of the user
-
-.. option:: --bucket=bucket
-
-   Specify the bucket name.
-
-.. option:: --object=object
-
-   Specify the object name.
-
-.. option:: --date=yyyy-mm-dd
-
-   The date need for some commands
-
-.. option:: --os-user=group:name
-
-   The OpenStack user (only needed for use with OpenStack)
-
-.. option:: --os-secret=key
-
-   The OpenStack key
-
-.. option:: --auth-uid=auid
-
-   The librados auid
-
-
-Examples
-========
-
-Generate a new user::
-
-        $ radosgw_admin user gen --display-name="johnny rotten" --email=johnny@rotten.com
-        User ID: CHBQFRTG26I8DGJDGQLW
-        Secret Key: QR6cI/31N+J0VKVgHSpEGVSfEEsmf6PyXG040KCB
-        Display Name: johnny rotten
-
-Remove a user::
-
-        $ radosgw_admin user rm --uid=CHBQFRTG26I8DGJDGQLW
-
-Remove a bucket::
-
-        $ radosgw_admin bucket unlink --bucket=foo
-
-Show the logs of a bucket from April 1st 2011::
-
-        $ radosgw_admin log show --bucket=foo --date=2011=04-01
-
-Availability
-============
-
-**radosgw_admin** is part of the Ceph distributed file system.  Please
-refer to the Ceph wiki at http://ceph.newdream.net/wiki for more
-information.
-
-See also
-========
-
-:doc:`ceph <ceph>`\(8)
diff --git a/man/radosgw-admin.8 b/man/radosgw-admin.8
new file mode 100644 (file)
index 0000000..3c2c098
--- /dev/null
@@ -0,0 +1,182 @@
+.TH "RADOSGW-ADMIN" "8" "September 22, 2011" "dev" "Ceph"
+.SH NAME
+radosgw-admin \- rados REST gateway user administration utility
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.\" Man page generated from reStructeredText.
+.
+.SH SYNOPSIS
+.nf
+\fBradosgw-admin\fP \fIcommand\fP [ \fIoptions\fP \fI...\fP ]
+.fi
+.sp
+.SH DESCRIPTION
+.sp
+\fBradosgw-admin\fP is a RADOS gateway user administration utility. It
+allows creating and modifying users.
+.SH COMMANDS
+.sp
+\fIcommand\fP can be one of the following options:
+.INDENT 0.0
+.TP
+.B \fBuser create\fP
+Create a new user
+.TP
+.B \fBuser modify\fP
+Modify a user
+.TP
+.B \fBuser info\fP
+Display information of a user
+.TP
+.B \fBuser rm\fP
+Remove a user
+.TP
+.B \fBbucket list\fP
+List all buckets
+.TP
+.B \fBbucket unlink\fP
+Remove a bucket
+.TP
+.B \fBpolicy\fP
+Display bucket/object policy
+.TP
+.B \fBlog show\fP
+Show the log of a bucket (with a specified date)
+.UNINDENT
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \-c ceph.conf, \-\-conf=ceph.conf
+Use \fIceph.conf\fP configuration file instead of the default
+\fB/etc/ceph/ceph.conf\fP to determine monitor addresses during
+startup.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-m monaddress[:port]
+Connect to specified monitor (instead of looking through ceph.conf).
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-uid=uid
+The S3 user/access key.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-secret=secret
+The S3 secret.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-display\-name=name
+Configure the display name of the user.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-email=email
+The e\-mail address of the user
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-bucket=bucket
+Specify the bucket name.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-object=object
+Specify the object name.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-date=yyyy\-mm\-dd
+The date need for some commands
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-os\-user=group:name
+The OpenStack user (only needed for use with OpenStack)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-os\-secret=key
+The OpenStack key
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-auth\-uid=auid
+The librados auid
+.UNINDENT
+.SH EXAMPLES
+.sp
+Generate a new user:
+.sp
+.nf
+.ft C
+$ radosgw-admin user gen \-\-display\-name="johnny rotten" \-\-email=johnny@rotten.com
+User ID: CHBQFRTG26I8DGJDGQLW
+Secret Key: QR6cI/31N+J0VKVgHSpEGVSfEEsmf6PyXG040KCB
+Display Name: johnny rotten
+.ft P
+.fi
+.sp
+Remove a user:
+.sp
+.nf
+.ft C
+$ radosgw-admin user rm \-\-uid=CHBQFRTG26I8DGJDGQLW
+.ft P
+.fi
+.sp
+Remove a bucket:
+.sp
+.nf
+.ft C
+$ radosgw-admin bucket unlink \-\-bucket=foo
+.ft P
+.fi
+.sp
+Show the logs of a bucket from April 1st 2011:
+.sp
+.nf
+.ft C
+$ radosgw-admin log show \-\-bucket=foo \-\-date=2011=04\-01
+.ft P
+.fi
+.SH AVAILABILITY
+.sp
+\fBradosgw-admin\fP is part of the Ceph distributed file system.  Please
+refer to the Ceph wiki at \fI\%http://ceph.newdream.net/wiki\fP for more
+information.
+.SH SEE ALSO
+.sp
+\fBceph\fP(8)
+.SH COPYRIGHT
+2011, New Dream Network
+.\" Generated by docutils manpage writer.
+.\" 
+.
diff --git a/man/radosgw_admin.8 b/man/radosgw_admin.8
deleted file mode 100644 (file)
index 23d3e45..0000000
+++ /dev/null
@@ -1,182 +0,0 @@
-.TH "RADOSGW_ADMIN" "8" "September 22, 2011" "dev" "Ceph"
-.SH NAME
-radosgw_admin \- rados REST gateway user administration utility
-.
-.nr rst2man-indent-level 0
-.
-.de1 rstReportMargin
-\\$1 \\n[an-margin]
-level \\n[rst2man-indent-level]
-level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
--
-\\n[rst2man-indent0]
-\\n[rst2man-indent1]
-\\n[rst2man-indent2]
-..
-.de1 INDENT
-.\" .rstReportMargin pre:
-. RS \\$1
-. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
-. nr rst2man-indent-level +1
-.\" .rstReportMargin post:
-..
-.de UNINDENT
-. RE
-.\" indent \\n[an-margin]
-.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.nr rst2man-indent-level -1
-.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
-..
-.\" Man page generated from reStructeredText.
-.
-.SH SYNOPSIS
-.nf
-\fBradosgw_admin\fP \fIcommand\fP [ \fIoptions\fP \fI...\fP ]
-.fi
-.sp
-.SH DESCRIPTION
-.sp
-\fBradosgw_admin\fP is a RADOS gateway user administration utility. It
-allows creating and modifying users.
-.SH COMMANDS
-.sp
-\fIcommand\fP can be one of the following options:
-.INDENT 0.0
-.TP
-.B \fBuser create\fP
-Create a new user
-.TP
-.B \fBuser modify\fP
-Modify a user
-.TP
-.B \fBuser info\fP
-Display information of a user
-.TP
-.B \fBuser rm\fP
-Remove a user
-.TP
-.B \fBbucket list\fP
-List all buckets
-.TP
-.B \fBbucket unlink\fP
-Remove a bucket
-.TP
-.B \fBpolicy\fP
-Display bucket/object policy
-.TP
-.B \fBlog show\fP
-Show the log of a bucket (with a specified date)
-.UNINDENT
-.SH OPTIONS
-.INDENT 0.0
-.TP
-.B \-c ceph.conf, \-\-conf=ceph.conf
-Use \fIceph.conf\fP configuration file instead of the default
-\fB/etc/ceph/ceph.conf\fP to determine monitor addresses during
-startup.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-m monaddress[:port]
-Connect to specified monitor (instead of looking through ceph.conf).
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-uid=uid
-The S3 user/access key.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-secret=secret
-The S3 secret.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-display\-name=name
-Configure the display name of the user.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-email=email
-The e\-mail address of the user
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-bucket=bucket
-Specify the bucket name.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-object=object
-Specify the object name.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-date=yyyy\-mm\-dd
-The date need for some commands
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-os\-user=group:name
-The OpenStack user (only needed for use with OpenStack)
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-os\-secret=key
-The OpenStack key
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-auth\-uid=auid
-The librados auid
-.UNINDENT
-.SH EXAMPLES
-.sp
-Generate a new user:
-.sp
-.nf
-.ft C
-$ radosgw_admin user gen \-\-display\-name="johnny rotten" \-\-email=johnny@rotten.com
-User ID: CHBQFRTG26I8DGJDGQLW
-Secret Key: QR6cI/31N+J0VKVgHSpEGVSfEEsmf6PyXG040KCB
-Display Name: johnny rotten
-.ft P
-.fi
-.sp
-Remove a user:
-.sp
-.nf
-.ft C
-$ radosgw_admin user rm \-\-uid=CHBQFRTG26I8DGJDGQLW
-.ft P
-.fi
-.sp
-Remove a bucket:
-.sp
-.nf
-.ft C
-$ radosgw_admin bucket unlink \-\-bucket=foo
-.ft P
-.fi
-.sp
-Show the logs of a bucket from April 1st 2011:
-.sp
-.nf
-.ft C
-$ radosgw_admin log show \-\-bucket=foo \-\-date=2011=04\-01
-.ft P
-.fi
-.SH AVAILABILITY
-.sp
-\fBradosgw_admin\fP is part of the Ceph distributed file system.  Please
-refer to the Ceph wiki at \fI\%http://ceph.newdream.net/wiki\fP for more
-information.
-.SH SEE ALSO
-.sp
-\fBceph\fP(8)
-.SH COPYRIGHT
-2011, New Dream Network
-.\" Generated by docutils manpage writer.
-.\" 
-.