aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--doc/Makefile.inc1
-rw-r--r--doc/eclat-mkinst.15
-rw-r--r--doc/eclat-reboot.14
-rw-r--r--doc/eclat-terminate.158
-rw-r--r--etc/Makefile.am3
-rw-r--r--etc/terminate-instances.fln23
-rw-r--r--src/eclat.c4
-rw-r--r--src/eclat.h1
-rw-r--r--src/startstop.c14
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/terminate-instances.at39
-rw-r--r--tests/testsuite.at1
13 files changed, 149 insertions, 7 deletions
diff --git a/TODO b/TODO
index 4fa62d9..3e45bda 100644
--- a/TODO
+++ b/TODO
@@ -148,10 +148,10 @@ ResetNetworkInterfaceAttribute - [ ] [ ]
148ResetSnapshotAttribute clrsattr [X] [X] 148ResetSnapshotAttribute clrsattr [X] [X]
149RevokeSecurityGroupEgress sg [X] [X] 149RevokeSecurityGroupEgress sg [X] [X]
150RevokeSecurityGroupIngress sg [X] [X] 150RevokeSecurityGroupIngress sg [X] [X]
151RunInstances mkinst [X] [X] 151RunInstances mkinst [X] [X]
152StartInstances start [X] [X] 152StartInstances start [X] [X]
153StopInstances stop [X] [X] 153StopInstances stop [X] [X]
154TerminateInstances killinst [ ] [ ] 154TerminateInstances terminate [X] [X]
155UnassignPrivateIpAddresses - [ ] [ ] 155UnassignPrivateIpAddresses - [ ] [ ]
156UnmonitorInstances - [ ] [ ] 156UnmonitorInstances - [ ] [ ]
157 157
diff --git a/doc/Makefile.inc b/doc/Makefile.inc
index 143f579..43b62b3 100644
--- a/doc/Makefile.inc
+++ b/doc/Makefile.inc
@@ -58,10 +58,11 @@ MANPAGES1=\
58 eclat-setaattr.1\ 58 eclat-setaattr.1\
59 eclat-setiattr.1\ 59 eclat-setiattr.1\
60 eclat-setsattr.1\ 60 eclat-setsattr.1\
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
66MANPAGES5=\ 67MANPAGES5=\
67 eclat.conf.5 68 eclat.conf.5
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
@@ -10,13 +10,13 @@
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of 10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details. 12.\" GNU General Public License for more details.
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
18eclat-mkinst, eclat-run-instances \- launch new EC2 instances 18eclat-mkinst, eclat-run-instances \- launch new EC2 instances
19.SH SYNOPSIS 19.SH SYNOPSIS
20.nh 20.nh
21.na 21.na
22\fBeclat mkinst\fR [\fB\-a\fR \fIIFACE\fR] [\fB\-d\fR \fISTRING\fR]\ 22\fBeclat mkinst\fR [\fB\-a\fR \fIIFACE\fR] [\fB\-d\fR \fISTRING\fR]\
@@ -163,25 +163,26 @@ Set availablility zone.
163On success, the command outputs detailed description of each created 163On success, the command outputs detailed description of each created
164instance in the same format as the 164instance in the same format as the
165.BR eclat-lsinst (1) 165.BR eclat-lsinst (1)
166command 166command
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),
172.BR eclat\-reboot (1), 173.BR eclat\-reboot (1),
173.BR eclat\-setiattr (1), 174.BR eclat\-setiattr (1),
174.BR eclat\-start (1), 175.BR eclat\-start (1),
175.BR eclat\-stop (1). 176.BR eclat\-stop (1).
176.SH AUTHORS 177.SH AUTHORS
177Sergey Poznyakoff 178Sergey Poznyakoff
178.SH "BUG REPORTS" 179.SH "BUG REPORTS"
179Report bugs to <bug\-eclat@gnu.org.ua>. 180Report bugs to <bug\-eclat@gnu.org.ua>.
180.SH COPYRIGHT 181.SH COPYRIGHT
181Copyright \(co 2012-2015 Sergey Poznyakoff 182Copyright \(co 2012-2018 Sergey Poznyakoff
182.br 183.br
183.na 184.na
184License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 185License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
185.br 186.br
186.ad 187.ad
187This is free software: you are free to change and redistribute it. 188This is free software: you are free to change and redistribute it.
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
@@ -10,13 +10,13 @@
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of 10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details. 12.\" GNU General Public License for more details.
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
18eclat-reboot, eclat-reboot-instances \- reboot EC2 instances 18eclat-reboot, eclat-reboot-instances \- reboot EC2 instances
19.SH SYNOPSIS 19.SH SYNOPSIS
20.nh 20.nh
21.na 21.na
22\fBeclat reboot\fR \fIID\fR [\fIID\fR...] 22\fBeclat reboot\fR \fIID\fR [\fIID\fR...]
@@ -26,13 +26,13 @@ eclat-reboot, eclat-reboot-instances \- reboot EC2 instances
26.hy 26.hy
27.SH DESCRIPTION 27.SH DESCRIPTION
28The command 28The command
29.B reboot 29.B reboot
30reboots running Amazon EBS-backed instances. 30reboots running Amazon EBS-backed instances.
31.SH OUTPUT 31.SH OUTPUT
32The default output format lists o each line the instance ID, its 32The default output format lists on each line the instance ID, its
33previous and current states, separated by single horizontal tab 33previous and current states, separated by single horizontal tab
34characters. 34characters.
35.SH "SEE ALSO" 35.SH "SEE ALSO"
36.BR eclat (1), 36.BR eclat (1),
37.BR eclat\-start (1), 37.BR eclat\-start (1),
38.BR eclat\-stop (1). 38.BR eclat\-stop (1).
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
18eclat-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
28Terminates the listed Amazon EBS-backed instances.
29.SH OUTPUT
30The default output format lists on each line the instance ID, its
31previous and current states, separated by single horizontal tab
32characters.
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
39Sergey Poznyakoff
40.SH "BUG REPORTS"
41Report bugs to <bug\-eclat@gnu.org.ua>.
42.SH COPYRIGHT
43Copyright \(co 2012-2018 Sergey Poznyakoff
44.br
45.na
46License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
47.br
48.ad
49This is free software: you are free to change and redistribute it.
50There 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
diff --git a/etc/Makefile.am b/etc/Makefile.am
index 21b958b..2376583 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -78,13 +78,14 @@ FLNFILES=\
78 replace-route.fln\ 78 replace-route.fln\
79 route.fln\ 79 route.fln\
80 reset-snapshot-attribute.fln\ 80 reset-snapshot-attribute.fln\
81 run-instances.fln\ 81 run-instances.fln\
82 sg.fln\ 82 sg.fln\
83 start-instances.fln\ 83 start-instances.fln\
84 stop-instances.fln 84 stop-instances.fln\
85 terminate-instances.fln
85 86
86EXTRA_DIST=$(FLNFILES) default.fln eclat.cfin 87EXTRA_DIST=$(FLNFILES) default.fln eclat.cfin
87 88
88SUFFIXES=.cfin .conf 89SUFFIXES=.cfin .conf
89 90
90if SPLIT_FORMATS 91if SPLIT_FORMATS