aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-12-15 11:57:44 +0200
committerSergey Poznyakoff <gray@gnu.org>2018-12-15 11:57:44 +0200
commita2c6cdd2c14c3c1d54436b2329b1c11c759eed31 (patch)
treef05fdd70a388805964369c5faf604c1078318059
parent2116e1ef1cd5597e23f785e84d67d8fea5537475 (diff)
downloadeclat-a2c6cdd2c14c3c1d54436b2329b1c11c759eed31.tar.gz
eclat-a2c6cdd2c14c3c1d54436b2329b1c11c759eed31.tar.bz2
Document chvol and lschvol commands.
-rw-r--r--TODO4
-rw-r--r--doc/Makefile.inc2
-rw-r--r--doc/eclat-chvol.193
-rw-r--r--doc/eclat-lschvol.1108
4 files changed, 205 insertions, 2 deletions
diff --git a/TODO b/TODO
index f0b5579..65034a0 100644
--- a/TODO
+++ b/TODO
@@ -104,7 +104,7 @@ DescribeSpotPriceHistory - [ ] [ ]
104DescribeSubnets lssubnet [X] [ ] 104DescribeSubnets lssubnet [X] [ ]
105DescribeTags lstag [X] [X] 105DescribeTags lstag [X] [X]
106DescribeVolumes lsvol [X] [X] 106DescribeVolumes lsvol [X] [X]
107DescribeVolumesModifications lschvol [X] [ ] 107DescribeVolumesModifications lschvol [X] [X]
108DescribeVolumeAttribute - [ ] [ ] 108DescribeVolumeAttribute - [ ] [ ]
109DescribeVolumeStatus - [ ] [ ] 109DescribeVolumeStatus - [ ] [ ]
110DescribeVpcAttribute lsvpcattr [X] [ ] 110DescribeVpcAttribute lsvpcattr [X] [ ]
@@ -130,7 +130,7 @@ ModifyInstanceAttribute setiattr [X] [X]
130ModifyNetworkInterfaceAttribute - [ ] [ ] 130ModifyNetworkInterfaceAttribute - [ ] [ ]
131ModifySnapshotAttribute setsattr [X] [X] 131ModifySnapshotAttribute setsattr [X] [X]
132ModifySubnetAttribute setsubnetattr [X] [ ] 132ModifySubnetAttribute setsubnetattr [X] [ ]
133ModifyVolume chvol [X] [ ] 133ModifyVolume chvol [X] [X]
134ModifyVolumeAttribute - [ ] [ ] 134ModifyVolumeAttribute - [ ] [ ]
135ModifyVpcAttribute setvpcattr [X] [ ] 135ModifyVpcAttribute setvpcattr [X] [ ]
136MonitorInstances - [ ] [ ] 136MonitorInstances - [ ] [ ]
diff --git a/doc/Makefile.inc b/doc/Makefile.inc
index 43b62b3..e55c607 100644
--- a/doc/Makefile.inc
+++ b/doc/Makefile.inc
@@ -22,6 +22,7 @@ MANPAGES1=\
22 eclat.1\ 22 eclat.1\
23 eclat-assocaddr.1\ 23 eclat-assocaddr.1\
24 eclat-atvol.1\ 24 eclat-atvol.1\
25 eclat-chvol.1\
25 eclat-clrsattr.1\ 26 eclat-clrsattr.1\
26 eclat-dmesg.1\ 27 eclat-dmesg.1\
27 eclat-cpimg.1\ 28 eclat-cpimg.1\
@@ -31,6 +32,7 @@ MANPAGES1=\
31 eclat-disasaddr.1\ 32 eclat-disasaddr.1\
32 eclat-lsaddr.1\ 33 eclat-lsaddr.1\
33 eclat-lsaattr.1\ 34 eclat-lsaattr.1\
35 eclat-lschvol.1\
34 eclat-lsiattr.1\ 36 eclat-lsiattr.1\
35 eclat-lsimg.1\ 37 eclat-lsimg.1\
36 eclat-lsinst.1\ 38 eclat-lsinst.1\
diff --git a/doc/eclat-chvol.1 b/doc/eclat-chvol.1
new file mode 100644
index 0000000..7093b8b
--- /dev/null
+++ b/doc/eclat-chvol.1
@@ -0,0 +1,93 @@
1.\" This file is part of Eclat -*- nroff -*-
2.\" Copyright (C) 2018 Sergey Poznyakoff
3.\"
4.\" Eclat is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by
6.\" the Free Software Foundation; either version 3, or (at your option)
7.\" any later version.
8.\"
9.\" Eclat is distributed in the hope that it will be useful,
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details.
13.\"
14.\" You should have received a copy of the GNU General Public License
15.\" along with Eclat. If not, see <http://www.gnu.org/licenses/>.
16.TH ECLAT-CHVOL 1 "December 15, 2018" "ECLAT" "Eclat User Reference"
17.SH NAME
18eclat-chvol \- modify size, type and iops of a volume
19.SH SYNOPSIS
20.nh
21.na
22\fBeclat chvol\fR\
23 [\fBiops=\fIRATE\fR]\
24 [\fBsize=\fINUM\fR]\
25 [\fBtype=\fISTRING\fR]
26.PP
27\fBeclat chvol\fR \fB\-\-help\fR
28.ad
29.hy
30.SH DESCRIPTION
31Modifies parameters of an existing EBS volume.
32.TP
33\fBiops=\fIRATE\fR
34The IOPS rate of the volume. This is only valid for Provisioned IOPS
35SSD (io1) volumes.
36.TP
37\fBsize=\fINUM\fR]
38Size of the volume in gigabytes.
39.TP
40\fBtype=\fISTRING\fR
41Type of the volume. Valid values for \fISTRING\fR are:
42.BR standard ,
43.BR io1 ,
44.BR gp2 ,
45.BR sc1 ,
46.BR st1 .
47.PP
48Use \fBeclat lschvol\fR to check the modification status.
49.SH OUTPUT
50The default output format lists the volume ID, modification status
51(one of:
52.BR modifying ,
53.BR optimizing ,
54.BR completed ,
55or
56.BR failed ),
57and the completion percentage. This line is followed by at most three
58indented lines, each listing a parameter name, its original and
59modified value. E.g.:
60.sp
61.EX
62vol-deadbeef optimizing 80%
63 size: 16 => 32
64 type: standard => standard
65.EE
66.SH EXAMPLE
67.EX
68eclat chvol vol-deadbeef size=32
69.EE
70.SH "SEE ALSO"
71.BR eclat (1),
72.BR eclat-lschvol (1).
73.SH AUTHORS
74Sergey Poznyakoff
75.SH "BUG REPORTS"
76Report bugs to <bug\-eclat@gnu.org.ua>.
77.SH COPYRIGHT
78Copyright \(co 2012-2018 Sergey Poznyakoff
79.br
80.na
81License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
82.br
83.ad
84This is free software: you are free to change and redistribute it.
85There is NO WARRANTY, to the extent permitted by law.
86.\" Local variables:
87.\" eval: (add-hook 'write-file-hooks 'time-stamp)
88.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.\\-]* [0-9] \""
89.\" time-stamp-format: "%:B %:d, %:y"
90.\" time-stamp-end: "\""
91.\" time-stamp-line-limit: 20
92.\" end:
93
diff --git a/doc/eclat-lschvol.1 b/doc/eclat-lschvol.1
new file mode 100644
index 0000000..4bccc25
--- /dev/null
+++ b/doc/eclat-lschvol.1
@@ -0,0 +1,108 @@
1.\" This file is part of Eclat -*- nroff -*-
2.\" Copyright (C) 2012-2018 Sergey Poznyakoff
3.\"
4.\" Eclat is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by
6.\" the Free Software Foundation; either version 3, or (at your option)
7.\" any later version.
8.\"
9.\" Eclat is distributed in the hope that it will be useful,
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details.
13.\"
14.\" You should have received a copy of the GNU General Public License
15.\" along with Eclat. If not, see <http://www.gnu.org/licenses/>.
16.TH ECLAT-LSCHVOL 1 "December 15, 2018" "ECLAT" "Eclat User Reference"
17.SH NAME
18eclat-lschvol \- reports the current modification status of EBS volumes
19.SH SYNOPSIS
20.nh
21.na
22\fBeclat lschvol\fR [\fIFILTER\fR...] [\fIVOL-ID\fR...]
23.PP
24\fBeclat lschvol\fR \fB\-\-help\fR
25.ad
26.hy
27.SH DESCRIPTION
28Reports the current modification status of EBS volumes. Volumes can be
29specified either by their volume IDs or by filters. In the latter
30case, all volumes matching filters will be reported.
31.SH FILTERS
32.TP
33\fBvolume\-id\fR=\fIID\fR
34The volume ID. This filter has the same effect as specifying \fIID\fR
35as the command line argument.
36.TP
37\fBmodification\-state=\fISTATE\fR
38Modules with this modification state. \fISTATE\fR is one of
39.BR modifying ,
40.BR optimizing ,
41.BR completed ,
42or
43.B failed .
44.TP
45\fBtarget\-size=\fISIZE\fR
46Target size of the volume.
47.TP
48\fBtarget\-iops=\fINUM\fR
49Target IOPS of the volume.
50.TP
51\fBtarget\-volume\-type=\fITYPE\fR
52Target volume type (one of:
53.BR standard ,
54.BR io1 ,
55.BR gp2 ,
56.BR sc1 ,
57.BR st1 ).
58.TP
59\fBoriginal\-size=\fISIZE\fR
60Original size of the volume.
61.TP
62\fBoriginal\-iops=\fINUM\fR
63Original IOPS of the volume.
64.TP
65\fBoriginal\-volume\-type=\fITYPE\fR
66Original type of the volume.
67.TP
68\fBstart\-time=\fITIME\fR
69Time when the recent \fBModifyVolume\fR operation (see
70.BR eclat\-chvol (1))
71was initialized.
72.SH OUTPUT
73Default output format is similar to that of \fBeclat chvol\fR
74subcommand: report for each volume begins in the column 0 with
75the volume ID, followed by the modification status and progress
76percentage. Lines that follow are indented by one tab stop. Each
77line lists a parameter name, its original and target value. For
78example:
79.sp
80.EX
81vol-deadbeef optimizing 80%
82 size: 16 => 32
83 type: standard => standard
84.EE
85.SH "SEE ALSO"
86.BR eclat (1),
87.BR eclat-chvol (1).
88.SH AUTHORS
89Sergey Poznyakoff
90.SH "BUG REPORTS"
91Report bugs to <bug\-eclat@gnu.org.ua>.
92.SH COPYRIGHT
93Copyright \(co 2012-2018 Sergey Poznyakoff
94.br