Diffstat (limited to 'doc/eclat-associate-address.1')
1 files changed, 95 insertions, 0 deletions
diff --git a/doc/eclat-associate-address.1 b/doc/eclat-associate-address.1
new file mode 100644
@@ -0,0 +1,95 @@
+.\" This file is part of Eclat
+.\" Copyright (C) 2012 Sergey Poznyakoff
+.\" Eclat is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 3, or (at your option)
+.\" any later version.
+.\" Eclat is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\" You should have received a copy of the GNU General Public License
+.\" along with Eclat. If not, see <http://www.gnu.org/licenses/>.
+.TH ECLAT 1 "October 1, 2012" "ECLAT" "Eclat User Reference"
+eclat associate-address \- associate an IP address with an instance
+eclat associate-address [\fIOPTIONS\fR] \fIINSTANCE\fR \fIIP\fR
+eclat associate-address [\fIOPTIONS\fR] \fIINSTANCE\fR \fIALLOC-ID\fR
+eclat associate-address \-\-help
+command associates an Elastic IP address with an non-VPC instance or
+associates a VPC Elastic IP address with an instance in your VPC.
+The first argument is always the ID of the instance to operate upon.
+The meaning of the second argument depends on the \fB\-\-vpc\fR command
+line option. If that option is given, the second argument supplies the
+allocation ID that AWS returned when you allocated the Elastic IP
+address for use with Amazon VPC. Otherwise, it is the Elastic IP to
+assign to the non-VPC instance.
+Allows an already associated address to be re-associated with the
+specified instance (VPC only).
+A network interface ID to associate with the instance (vpc only).
+Private IP address to associate with the Elastic IP address (vpc
+Assign VPC addresses.
+.SH "OUTPUT AND RETURN VALUE"
+The default output format does not display anything if the operation
+succeeds. Otherwise it prints on the standard error the diagnostic
+message returned by the Amazon, and returns code 1 to the shell.
+The code 2 is returned if
+is unable to recognize the response.
+Assign an Elastic IP to the instance:
+.B eclat associate-address i-2ea64347 192.0.2.1
+Associate an IP address with an instance in the VPC:
+.B eclat associate-address --vpc i-4fd2431a eipalloc-5723d13e
+.SH "SEE ALSO"
+.BR eclat (1).
+.SH "BUG REPORTS"
+Report bugs to <email@example.com>.
+Copyright \(co 2012 Sergey Poznyakoff
+License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.
+.\" Local variables:
+.\" eval: (add-hook 'write-file-hooks 'time-stamp)
+.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_]* [0-9] \""
+.\" time-stamp-format: "%:B %:d, %:y"
+.\" time-stamp-end: "\""
+.\" time-stamp-line-limit: 20