summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2013-04-25 15:43:14 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-04-25 15:46:37 (GMT)
commitaf02bbe4ab84ddd6a5ec8da3bab0fa360e8bded2 (patch) (side-by-side diff)
tree6960200d5d16046f82f45117003b50930a08ea7d
parentc00e8ff6d9cef344ce439a2553c5627f519face7 (diff)
downloadeclat-af02bbe4ab84ddd6a5ec8da3bab0fa360e8bded2.tar.gz
eclat-af02bbe4ab84ddd6a5ec8da3bab0fa360e8bded2.tar.bz2
Rename freeaddr to rmaddr
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--TODO2
-rw-r--r--doc/Makefile.inc2
-rw-r--r--doc/eclat-allocaddr.12
-rw-r--r--doc/eclat-assocaddr.12
-rw-r--r--doc/eclat-lsaddr.12
-rw-r--r--doc/eclat-rmaddr.1 (renamed from doc/eclat-freeaddr.1)12
-rw-r--r--src/Makefile.am6
-rw-r--r--src/eclat.c2
-rw-r--r--src/rmaddr-cl.opt (renamed from src/freeaddr-cl.opt)0
-rw-r--r--src/rmaddr.c (renamed from src/freeaddr.c)0
10 files changed, 15 insertions, 15 deletions
diff --git a/TODO b/TODO
index ccf78d5..735c8cc 100644
--- a/TODO
+++ b/TODO
@@ -132,7 +132,7 @@ MonitorInstances - [ ] [ ]
PurchaseReservedInstancesOffering - [ ] [ ]
RebootInstances reboot [X] [X]
RegisterImage - [ ] [ ]
-ReleaseAddress freeaddr [X] [X]
+ReleaseAddress rmaddr [X] [X]
ReplaceNetworkAclAssociation - [ ] [ ]
ReplaceNetworkAclEntry - [ ] [ ]
ReplaceRoute - [ ] [ ]
diff --git a/doc/Makefile.inc b/doc/Makefile.inc
index 72921d3..4e1dafc 100644
--- a/doc/Makefile.inc
+++ b/doc/Makefile.inc
@@ -54,7 +54,7 @@ MANPAGES1=\
eclat-start.1\
eclat-stop.1\
eclat-reboot.1\
- eclat-freeaddr.1
+ eclat-rmaddr.1
MANPAGES5=\
eclat.conf.5
diff --git a/doc/eclat-allocaddr.1 b/doc/eclat-allocaddr.1
index 8c183b1..23abed6 100644
--- a/doc/eclat-allocaddr.1
+++ b/doc/eclat-allocaddr.1
@@ -38,7 +38,7 @@ is returned on error.
.SH "SEE ALSO"
.BR eclat (1),
.BR eclat\-assocaddr (1),
-.BR eclat\-freeaddr (1).
+.BR eclat\-rmaddr (1).
.SH AUTHORS
Sergey Poznyakoff
.SH "BUG REPORTS"
diff --git a/doc/eclat-assocaddr.1 b/doc/eclat-assocaddr.1
index 342d83b..da22421 100644
--- a/doc/eclat-assocaddr.1
+++ b/doc/eclat-assocaddr.1
@@ -73,7 +73,7 @@ Associate an IP address with an instance in the VPC:
.SH "SEE ALSO"
.BR eclat (1),
.BR eclat\-allocaddr (1),
-.BR eclat\-freeaddr (1),
+.BR eclat\-rmaddr (1),
.BR eclat\-disassaddr (1).
.SH AUTHORS
Sergey Poznyakoff
diff --git a/doc/eclat-lsaddr.1 b/doc/eclat-lsaddr.1
index ebaf41d..3efd0d2 100644
--- a/doc/eclat-lsaddr.1
+++ b/doc/eclat-lsaddr.1
@@ -75,7 +75,7 @@ standard 198.51.100.2
.SH "SEE ALSO"
.BR eclat (1),
.BR eclat\-allocaddr (1),
-.BR eclat\-freeaddr (1),
+.BR eclat\-rmaddr (1),
.BR eclat\-assocaddr (1),
.BR eclat\-disassaddr (1).
.SH AUTHORS
diff --git a/doc/eclat-freeaddr.1 b/doc/eclat-rmaddr.1
index 4701ccd..8deb962 100644
--- a/doc/eclat-freeaddr.1
+++ b/doc/eclat-rmaddr.1
@@ -15,11 +15,11 @@
.\" along with Eclat. If not, see <http://www.gnu.org/licenses/>.
.TH DISASSOCADDR 1 "April 20, 2013" "ECLAT" "Eclat User Reference"
.SH NAME
-eclat freeaddr, release\-address \- release Elastic IP address.
+eclat rmaddr, release\-address \- release Elastic IP address.
.SH SYNOPSIS
-\fBeclat freeaddr\fR [\fB\-\-vpc\fR] [\fB\-v\fR] \fIIP\-OR\-ALLOCID\fR
+\fBeclat rmaddr\fR [\fB\-\-vpc\fR] [\fB\-v\fR] \fIIP\-OR\-ALLOCID\fR
-\fBeclat freeaddr\fR \fB\-\-help\fR
+\fBeclat rmaddr\fR \fB\-\-help\fR
.SH DESCRIPTION
This command releases an Elastic IP address. The address must have been
previously allocated using the
@@ -46,20 +46,20 @@ The code 16 is returned if the operation is not confirmed.
Release the Elastic IP:
.P
.nf
-.B $ eclat freeaddr 192.0.2.1
+.B $ eclat rmaddr 192.0.2.1
Really release IP 192.0.2.1 [Y/n] y
.fi
.SS 2.
Same, with confirmation disabled:
.P
.nf
-.B $ eclat -Y freeaddr 192.0.2.1
+.B $ eclat -Y rmaddr 192.0.2.1
.fi
.SS 3.
Release the VPC Elastic IP:
.P
.nf
-.B eclat freeaddr \-\-vpc eipalloc\-5723d13e
+.B eclat rmaddr \-\-vpc eipalloc\-5723d13e
.fi
.SH "SEE ALSO"
.BR eclat (1),
diff --git a/src/Makefile.am b/src/Makefile.am
index d97110a..6b796b1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,7 +30,6 @@ eclat_SOURCES=\
disasaddr.c\
eclat.c\
eclat.h\
- freeaddr.c\
genericcl.c\
getconout.c\
lsaddr.c\
@@ -51,6 +50,7 @@ eclat_SOURCES=\
mksnap.c\
mktags.c\
mkvol.c\
+ rmaddr.c\
rmsnap.c\
rmvol.c\
setiattr.c\
@@ -72,7 +72,6 @@ OPTFILES=\
cpsnap-cl.opt\
devol-cl.opt\
disasaddr-cl.opt\
- freeaddr-cl.opt\
generic-cl.opt\
lsaddr-cl.opt\
lsattr-cl.opt\
@@ -84,7 +83,8 @@ OPTFILES=\
mkimg-cl.opt\
mkinst-cl.opt\
mktags-cl.opt\
- mkvol-cl.opt
+ mkvol-cl.opt\
+ rmaddr-cl.opt
eclat_SOURCES += $(OPTFILES:.opt=.h)
diff --git a/src/eclat.c b/src/eclat.c
index ee44053..b78e079 100644
--- a/src/eclat.c
+++ b/src/eclat.c
@@ -224,7 +224,7 @@ struct eclat_command cmdtab[] = {
eclat_describe_volumes },
{ "allocaddr", "allocate-address", "AllocateAddress",
eclat_allocate_address, CMD_MOD },
- { "freeaddr", "release-address", "ReleaseAddress",
+ { "rmaddr", "release-address", "ReleaseAddress",
eclat_release_address, CMD_MOD|CMD_DESTR },
{ "assocaddr", "associate-address", "AssociateAddress",
eclat_associate_address, CMD_MOD },
diff --git a/src/freeaddr-cl.opt b/src/rmaddr-cl.opt
index be70065..be70065 100644
--- a/src/freeaddr-cl.opt
+++ b/src/rmaddr-cl.opt
diff --git a/src/freeaddr.c b/src/rmaddr.c
index b970248..b970248 100644
--- a/src/freeaddr.c
+++ b/src/rmaddr.c

Return to:

Send suggestions and report system problems to the System administrator.