aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-12-05 15:55:31 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-12-05 16:15:40 +0200
commit07705542e1514006eb772901844b1575c20b72bd (patch)
tree0303f5ffabaaf287517ad85c4e6124eebe830e82 /etc
parent17a2f30ccefc973421f18649de1e14cf56456e95 (diff)
downloadeclat-07705542e1514006eb772901844b1575c20b72bd.tar.gz
eclat-07705542e1514006eb772901844b1575c20b72bd.tar.bz2
Implement allocate-address command.
* etc/Makefile.am: Add new files. * etc/allocate-address.fln: new file. * src/Makefile.am: Add new files. * src/allocaddr-cl.opt: New file. * src/allocaddr.c: New file. * src/eclat.c (): Add allocate-address. * src/eclat.h (eclat_allocate_address): New command. * tests/Makefile.am: Add new files. * tests/allocate-address.at: New file. * tests/testsuite.at: Include allocate-address.at * TODO: Update. * doc/eclat-create-tags.1: New file. * doc/eclat.1: Update. * doc/eclat-create-tags.1: Minor fix.
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile.am1
-rw-r--r--etc/allocate-address.fln19
2 files changed, 20 insertions, 0 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am
index bf58e88..aa88a74 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -17,6 +17,7 @@
noinst_PROGRAMS = flncat
FLNFILES=\
+ allocate-address.fln\
associate-address.fln\
create-snapshot.fln\
create-tags.fln\
diff --git a/etc/allocate-address.fln b/etc/allocate-address.fln
new file mode 100644
index 0000000..c6fd25d
--- /dev/null
+++ b/etc/allocate-address.fln
@@ -0,0 +1,19 @@
+/* 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/>. */
+
+if (.AllocateAddressResponse.publicIp) {
+ print(last,"\n");
+}

Return to:

Send suggestions and report system problems to the System administrator.