diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-11-17 17:54:07 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-11-17 17:59:40 +0200 |
commit | 3e2360d383d8e7503a8afe07291ab8c0b1182a14 (patch) | |
tree | 69725e6a523701dd297a7bc5d228dac43371b32d /doc | |
parent | 966cc92ffcc7e5d070103d33f605bc1691229022 (diff) | |
download | eclat-3e2360d383d8e7503a8afe07291ab8c0b1182a14.tar.gz eclat-3e2360d383d8e7503a8afe07291ab8c0b1182a14.tar.bz2 |
Implement the terminate-instances command
* TODO: Update.
* doc/Makefile.inc: Add new files.
* doc/eclat-mkinst.1: Mention the terminate command.
* doc/eclat-terminate.1: New file.
* etc/Makefile.am: Add new files.
* etc/terminate-instances.fln: New file.
* src/eclat.c (cmdtab): Register new command.
* src/eclat.h (eclat_terminate_instances): New proto.
* src/startstop.c (eclat_terminate_instances): New function.
* tests/Makefile.am: Add new test.
* tests/testsuite.at: Likewise.
* tests/terminate-instances.at: New test.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.inc | 1 | ||||
-rw-r--r-- | doc/eclat-mkinst.1 | 5 | ||||
-rw-r--r-- | doc/eclat-reboot.1 | 4 | ||||
-rw-r--r-- | doc/eclat-terminate.1 | 58 |
4 files changed, 64 insertions, 4 deletions
diff --git a/doc/Makefile.inc b/doc/Makefile.inc index 143f579..43b62b3 100644 --- a/doc/Makefile.inc +++ b/doc/Makefile.inc | |||
@@ -61,6 +61,7 @@ MANPAGES1=\ | |||
61 | eclat-sg.1\ | 61 | eclat-sg.1\ |
62 | eclat-start.1\ | 62 | eclat-start.1\ |
63 | eclat-stop.1\ | 63 | eclat-stop.1\ |
64 | eclat-terminate.1\ | ||
64 | ispeek.1 | 65 | ispeek.1 |
65 | 66 | ||
66 | MANPAGES5=\ | 67 | MANPAGES5=\ |
diff --git a/doc/eclat-mkinst.1 b/doc/eclat-mkinst.1 index f934484..4db3c7e 100644 --- a/doc/eclat-mkinst.1 +++ b/doc/eclat-mkinst.1 | |||
@@ -13,7 +13,7 @@ | |||
13 | .\" | 13 | .\" |
14 | .\" You should have received a copy of the GNU General Public License | 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/>. | 15 | .\" along with Eclat. If not, see <http://www.gnu.org/licenses/>. |
16 | .TH ECLAT-MKINST 1 "January 26, 2015" "ECLAT" "Eclat User Reference" | 16 | .TH ECLAT-MKINST 1 "November 17, 2018" "ECLAT" "Eclat User Reference" |
17 | .SH NAME | 17 | .SH NAME |
18 | eclat-mkinst, eclat-run-instances \- launch new EC2 instances | 18 | eclat-mkinst, eclat-run-instances \- launch new EC2 instances |
19 | .SH SYNOPSIS | 19 | .SH SYNOPSIS |
@@ -166,6 +166,7 @@ instance in the same format as the | |||
166 | command | 166 | command |
167 | .SH "SEE ALSO" | 167 | .SH "SEE ALSO" |
168 | .BR eclat (1), | 168 | .BR eclat (1), |
169 | .BR eclat\-terminate (1), | ||
169 | .BR eclat\-lsiattr (1), | 170 | .BR eclat\-lsiattr (1), |
170 | .BR eclat\-lsinst (1), | 171 | .BR eclat\-lsinst (1), |
171 | .BR eclat\-lsistat (1), | 172 | .BR eclat\-lsistat (1), |
@@ -178,7 +179,7 @@ Sergey Poznyakoff | |||
178 | .SH "BUG REPORTS" | 179 | .SH "BUG REPORTS" |
179 | Report bugs to <bug\-eclat@gnu.org.ua>. | 180 | Report bugs to <bug\-eclat@gnu.org.ua>. |
180 | .SH COPYRIGHT | 181 | .SH COPYRIGHT |
181 | Copyright \(co 2012-2015 Sergey Poznyakoff | 182 | Copyright \(co 2012-2018 Sergey Poznyakoff |
182 | .br | 183 | .br |
183 | .na | 184 | .na |
184 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | 185 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |
diff --git a/doc/eclat-reboot.1 b/doc/eclat-reboot.1 index 1addd87..d234808 100644 --- a/doc/eclat-reboot.1 +++ b/doc/eclat-reboot.1 | |||
@@ -13,7 +13,7 @@ | |||
13 | .\" | 13 | .\" |
14 | .\" You should have received a copy of the GNU General Public License | 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/>. | 15 | .\" along with Eclat. If not, see <http://www.gnu.org/licenses/>. |
16 | .TH ECLAT-REBOOT 1 "January 26, 2015" "ECLAT" "Eclat User Reference" | 16 | .TH ECLAT-REBOOT 1 "November 17, 2018" "ECLAT" "Eclat User Reference" |
17 | .SH NAME | 17 | .SH NAME |
18 | eclat-reboot, eclat-reboot-instances \- reboot EC2 instances | 18 | eclat-reboot, eclat-reboot-instances \- reboot EC2 instances |
19 | .SH SYNOPSIS | 19 | .SH SYNOPSIS |
@@ -29,7 +29,7 @@ The command | |||
29 | .B reboot | 29 | .B reboot |
30 | reboots running Amazon EBS-backed instances. | 30 | reboots running Amazon EBS-backed instances. |
31 | .SH OUTPUT | 31 | .SH OUTPUT |
32 | The default output format lists o each line the instance ID, its | 32 | The default output format lists on each line the instance ID, its |
33 | previous and current states, separated by single horizontal tab | 33 | previous and current states, separated by single horizontal tab |
34 | characters. | 34 | characters. |
35 | .SH "SEE ALSO" | 35 | .SH "SEE ALSO" |
diff --git a/doc/eclat-terminate.1 b/doc/eclat-terminate.1 new file mode 100644 index 0000000..a70a1ee --- /dev/null +++ b/doc/eclat-terminate.1 | |||
@@ -0,0 +1,58 @@ | |||
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-TERMINATE 1 "November 17, 2018" "ECLAT" "Eclat User Reference" | ||
17 | .SH NAME | ||
18 | eclat-terminate, eclat-terminate-instances \- terminate EC2 instances | ||
19 | .SH SYNOPSIS | ||
20 | .nh | ||
21 | .na | ||
22 | \fBeclat terminate\fR \fIID\fR [\fIID\fR...] | ||
23 | .PP | ||
24 | \fBeclat terminate\fR \fB\-\-help\fR | ||
25 | .ad | ||
26 | .hy | ||
27 | .SH DESCRIPTION | ||
28 | Terminates the listed Amazon EBS-backed instances. | ||
29 | .SH OUTPUT | ||
30 | The default output format lists on each line the instance ID, its | ||
31 | previous and current states, separated by single horizontal tab | ||
32 | characters. | ||
33 | .SH "SEE ALSO" | ||
34 | .BR eclat (1), | ||
35 | .BR eclat\-mkinst (1), | ||
36 | .BR eclat\-start (1), | ||
37 | .BR eclat\-stop (1). | ||
38 | .SH AUTHORS | ||
39 | Sergey Poznyakoff | ||
40 | .SH "BUG REPORTS" | ||
41 | Report bugs to <bug\-eclat@gnu.org.ua>. | ||
42 | .SH COPYRIGHT | ||
43 | Copyright \(co 2012-2018 Sergey Poznyakoff | ||
44 | .br | ||
45 | .na | ||
46 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | ||
47 | .br | ||
48 | .ad | ||
49 | This is free software: you are free to change and redistribute it. | ||
50 | There is NO WARRANTY, to the extent permitted by law. | ||
51 | .\" Local variables: | ||
52 | .\" eval: (add-hook 'write-file-hooks 'time-stamp) | ||
53 | .\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.\\-]* [0-9] \"" | ||
54 | .\" time-stamp-format: "%:B %:d, %:y" | ||
55 | .\" time-stamp-end: "\"" | ||
56 | .\" time-stamp-line-limit: 20 | ||
57 | .\" end: | ||
58 | |||