aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--doc/Makefile.inc4
-rw-r--r--doc/eclat-addr2ec2.166
-rw-r--r--doc/eclat-addr2vpc.159
-rw-r--r--etc/Makefile.am2
-rw-r--r--etc/describe-images.fln1
-rw-r--r--etc/move-address-to-vpc.fln23
-rw-r--r--etc/restore-address-to-classic.fln22
-rw-r--r--src/Makefile.am1
-rw-r--r--src/eclat.c6
-rw-r--r--src/eclat.h1
-rw-r--r--src/mvaddr.c39
12 files changed, 224 insertions, 2 deletions
diff --git a/TODO b/TODO
index 65034a0..03960c4 100644
--- a/TODO
+++ b/TODO
@@ -131,12 +131,13 @@ ModifyNetworkInterfaceAttribute - [ ] [ ]
131ModifySnapshotAttribute setsattr [X] [X] 131ModifySnapshotAttribute setsattr [X] [X]
132ModifySubnetAttribute setsubnetattr [X] [ ] 132ModifySubnetAttribute setsubnetattr [X] [ ]
133ModifyVolume chvol [X] [X] 133ModifyVolume chvol [X] [X]
134ModifyVolumeAttribute - [ ] [ ] 134ModifyVolumeAttribute - [ ] [ ]
135ModifyVpcAttribute setvpcattr [X] [ ] 135ModifyVpcAttribute setvpcattr [X] [ ]
136MonitorInstances - [ ] [ ] 136MonitorInstances - [ ] [ ]
137MoveAddressToVpc addr2vpc [X] [X]
137PurchaseReservedInstancesOffering - [ ] [ ] 138PurchaseReservedInstancesOffering - [ ] [ ]
138RebootInstances reboot [X] [X] 139RebootInstances reboot [X] [X]
139RegisterImage - [ ] [ ] 140RegisterImage - [ ] [ ]
140ReleaseAddress rmaddr [X] [X] 141ReleaseAddress rmaddr [X] [X]
141ReplaceNetworkAclAssociation - [ ] [ ] 142ReplaceNetworkAclAssociation - [ ] [ ]
142ReplaceNetworkAclEntry - [ ] [ ] 143ReplaceNetworkAclEntry - [ ] [ ]
@@ -145,12 +146,13 @@ ReplaceRouteTableAssociation - [ ] [ ]
145ReportInstanceStatus - [ ] [ ] 146ReportInstanceStatus - [ ] [ ]
146RequestSpotInstances - [ ] [ ] 147RequestSpotInstances - [ ] [ ]
147ResetImageAttribute - [ ] [ ] 148ResetImageAttribute - [ ] [ ]
148ResetInstanceAttribute - [ ] [ ] 149ResetInstanceAttribute - [ ] [ ]
149ResetNetworkInterfaceAttribute - [ ] [ ] 150ResetNetworkInterfaceAttribute - [ ] [ ]
150ResetSnapshotAttribute clrsattr [X] [X] 151ResetSnapshotAttribute clrsattr [X] [X]
152RestoreAddressToClassic addr2ec2 [X] [X]
151RevokeSecurityGroupEgress sg [X] [X] 153RevokeSecurityGroupEgress sg [X] [X]
152RevokeSecurityGroupIngress sg [X] [X] 154RevokeSecurityGroupIngress sg [X] [X]
153RunInstances mkinst [X] [X] 155RunInstances mkinst [X] [X]
154StartInstances start [X] [X] 156StartInstances start [X] [X]
155StopInstances stop [X] [X] 157StopInstances stop [X] [X]
156TerminateInstances terminate [X] [X] 158TerminateInstances terminate [X] [X]
diff --git a/doc/Makefile.inc b/doc/Makefile.inc
index e55c607..ab6c2a7 100644
--- a/doc/Makefile.inc
+++ b/doc/Makefile.inc
@@ -1,8 +1,8 @@
1# This file is part of Eclat -*- Makefile -*- 1# This file is part of Eclat -*- Makefile -*-
2# Copyright (C) 2012-2018 Sergey Poznyakoff 2# Copyright (C) 2012-2019 Sergey Poznyakoff
3# 3#
4# Eclat is free software; you can redistribute it and/or modify 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 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) 6# the Free Software Foundation; either version 3, or (at your option)
7# any later version. 7# any later version.
8# 8#
@@ -17,12 +17,14 @@
17# This file contains the lists of manual pages to be installed. They 17# This file contains the lists of manual pages to be installed. They
18# are kept separately so they may be included from another makefiles. 18# are kept separately so they may be included from another makefiles.
19# Currently they are used in the Makefile.am and in the webdoc Makefile. 19# Currently they are used in the Makefile.am and in the webdoc Makefile.
20 20
21MANPAGES1=\ 21MANPAGES1=\
22 eclat.1\ 22 eclat.1\
23 eclat-addr2ec2.1\
24 eclat-addr2vpc.1\
23 eclat-assocaddr.1\ 25 eclat-assocaddr.1\
24 eclat-atvol.1\ 26 eclat-atvol.1\
25 eclat-chvol.1\ 27 eclat-chvol.1\
26 eclat-clrsattr.1\ 28 eclat-clrsattr.1\
27 eclat-dmesg.1\ 29 eclat-dmesg.1\
28 eclat-cpimg.1\ 30 eclat-cpimg.1\
diff --git a/doc/eclat-addr2ec2.1 b/doc/eclat-addr2ec2.1
new file mode 100644
index 0000000..983fc8f
--- /dev/null
+++ b/doc/eclat-addr2ec2.1
@@ -0,0 +1,66 @@
1.\" This file is part of Eclat -*- nroff -*-
2.\" Copyright (C) 2012-2019 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-ADDR2EC2 1 "November 26, 2019" "ECLAT" "Eclat User Reference"
17.SH NAME
18eclat-addr2ec2 \- Move VPC IP address back to EC2 Classic
19.SH SYNOPSIS
20.nh
21.na
22\fBeclat addr2ec2\fR \fIIP\fR
23.PP
24\fBeclat restore-address-to-classic\fR \fIIP\fR
25.PP
26\fBeclat addr2ec2\fR \fB\-\-help\fR
27.ad
28.hy
29.SH DESCRIPTION
30Restores an Elastic IP address that was previously moved to the
31EC2-VPC platform back to the EC2-Classic platform (addresses are
32moved to EC2-VPC using the
33.BR eclat\-addr2vpc (1)
34command).
35You cannot move an
36Elastic IP address that was originally allocated for use in
37EC2-VPC. The Elastic IP address must not be associated with an
38instance or network interface.
39.PP
40.PP
41To move the address back to EC2 classic, use
42.BR "eclat addr2ec2".
43.SH "SEE ALSO"
44.BR eclat (1),
45.BR eclat\-addr2vpc (1).
46.SH AUTHORS
47Sergey Poznyakoff
48.SH "BUG REPORTS"
49Report bugs to <bug\-eclat@gnu.org.ua>.
50.SH COPYRIGHT
51Copyright \(co 2012-2019 Sergey Poznyakoff
52.br
53.na
54License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
55.br
56.ad
57This is free software: you are free to change and redistribute it.
58There is NO WARRANTY, to the extent permitted by law.
59.\" Local variables:
60.\" eval: (add-hook 'write-file-hooks 'time-stamp)
61.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.\\-]* [0-9] \""
62.\" time-stamp-format: "%:B %:d, %:y"
63.\" time-stamp-end: "\""
64.\" time-stamp-line-limit: 20
65.\" end:
66
diff --git a/doc/eclat-addr2vpc.1 b/doc/eclat-addr2vpc.1
new file mode 100644
index 0000000..dec6bda
--- /dev/null
+++ b/doc/eclat-addr2vpc.1
@@ -0,0 +1,59 @@
1.\" This file is part of Eclat -*- nroff -*-
2.\" Copyright (C) 2012-2019 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-ADDR2VPC 1 "November 26, 2019" "ECLAT" "Eclat User Reference"
17.SH NAME
18eclat-addr2vpc \- Move IP address from EC2 to EC2-VPC
19.SH SYNOPSIS
20.nh
21.na
22\fBeclat addr2vpc\fR \fIIP\fR
23.PP
24\fBeclat move-address-to-vpc\fR \fIIP\fR
25.PP
26\fBeclat addr2vpc\fR \fB\-\-help\fR
27.ad
28.hy
29.SH DESCRIPTION
30Moves the Elastic IP address \fIIP\fR from the EC2-Classic platform to
31the EC2-VPC platform. \fIIP\fR must be allocated to your account for
32more than 24 hours, and it must not be associated with an instance.
33.PP
34To move the address back to EC2 classic, use
35.BR "eclat addr2ec2".
36.SH "SEE ALSO"
37.BR eclat (1),
38.BR eclat\-addr2ec2 (1).
39.SH AUTHORS
40Sergey Poznyakoff
41.SH "BUG REPORTS"
42Report bugs to <bug\-eclat@gnu.org.ua>.
43.SH COPYRIGHT
44Copyright \(co 2012-2019 Sergey Poznyakoff
45.br
46.na
47License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
48.br
49.ad
50This is free software: you are free to change and redistribute it.
51There is NO WARRANTY, to the extent permitted by law.
52.\" Local variables:
53.\" eval: (add-hook 'write-file-hooks 'time-stamp)
54.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.\\-]* [0-9] \""
55.\" time-stamp-format: "%:B %:d, %:y"
56.\" time-stamp-end: "\""
57.\" time-stamp-line-limit: 20
58.\" end:
59
diff --git a/etc/Makefile.am b/etc/Makefile.am
index 7d0b355..d508fbf 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -72,15 +72,17 @@ FLNFILES=\
72 modify-image-attribute.fln\ 72 modify-image-attribute.fln\
73 modify-instance-attribute.fln\ 73 modify-instance-attribute.fln\
74 modify-snapshot-attribute.fln\ 74 modify-snapshot-attribute.fln\
75 modify-subnet-attribute.fln\ 75 modify-subnet-attribute.fln\
76 modify-volume.fln\ 76 modify-volume.fln\
77 modify-vpc-attribute.fln\ 77 modify-vpc-attribute.fln\
78 move-address-to-vpc.fln\
78 reboot-instances.fln\ 79 reboot-instances.fln\
79 release-address.fln\ 80 release-address.fln\
80 replace-route.fln\