aboutsummaryrefslogtreecommitdiff
path: root/etc/create-route.fln
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-11-19 13:26:52 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2015-11-19 13:30:24 +0200
commit858fef585e97f210378ca40b2287a78ced74c0de (patch)
tree2bd6eec8bf30899fb9b88b01a502a04ce3bee08a /etc/create-route.fln
parenta32c2acdae16394613be0fe01fa5c439a0f247d0 (diff)
downloadeclat-858fef585e97f210378ca40b2287a78ced74c0de.tar.gz
eclat-858fef585e97f210378ca40b2287a78ced74c0de.tar.bz2
New commands: assocrtab, mkrtab, rmrtab, lsrtab, disasrtab, route
These implement the following EC2 actions: AssociateRouteTable, CreateRoute, CreateRouteTable, DeleteRoute, DeleteRouteTable, DescribeRouteTables, DisassociateRouteTable, ReplaceRoute. * TODO: Update. * etc/Makefile.am: Add new formats. * etc/associate-route-table.fln: New file. * etc/create-route-table.fln: New file. * etc/create-route.fln: New file. * etc/delete-route-table.fln: New file. * etc/delete-route.fln: New file. * etc/describe-route-tables.fln: New file. * etc/disassociate-route-table.fln: New file. * etc/replace-route.fln: New file. * etc/route.fln: New file. * src/Makefile.am: Add routetable.c * src/routetable.c: New file. * src/eclat.c (cmdtab): Register new subcommands. * src/eclat.h (ECLAT_DEBCAT_DUMP): New category. Add new protos. * src/io.c (write_callback): Enable XML dump if dump debug category is set.
Diffstat (limited to 'etc/create-route.fln')
-rw-r--r--etc/create-route.fln22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/create-route.fln b/etc/create-route.fln
new file mode 100644
index 0000000..70e8bed
--- /dev/null
+++ b/etc/create-route.fln
@@ -0,0 +1,22 @@
+/* This file is part of Eclat.
+ Copyright (C) 2012-2015 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 (.CreateRouteResponse.return) {
+ if (!.CreateRouteResponse.return[true]) {
+ error("Return: ",.CreateRouteResponse.return,"\n");
+ exit(1);
+ }
+}

Return to:

Send suggestions and report system problems to the System administrator.