aboutsummaryrefslogtreecommitdiff
path: root/etc/attach-volume.fln
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-12-10 17:40:21 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-12-10 17:40:21 +0200
commit980d465d9ea87e2123bd9a3045de5c0a45e84cd7 (patch)
treeb7de616658bd27bfed159bcb82a43d71721df6da /etc/attach-volume.fln
parent5a7b73860974384d8e00065105435403b0842ab0 (diff)
downloadeclat-980d465d9ea87e2123bd9a3045de5c0a45e84cd7.tar.gz
eclat-980d465d9ea87e2123bd9a3045de5c0a45e84cd7.tar.bz2
Implement attach-volume and detach-volume
* TODO: Update * etc/attach-volume.fln: New file. * etc/detach-volume.fln: New file. * etc/Makefile.am: Add new files. * src/attvol.c: New file. * src/detvol-cl.opt: New file. * src/detvol.c: New file. * src/Makefile.am: Add new files. * src/eclat.c: Add new commands. * src/eclat.h: Add new protos. * src/util.c (translate_ids) (translate_resource_ids): Do nothing id argc is 0.
Diffstat (limited to 'etc/attach-volume.fln')
-rw-r--r--etc/attach-volume.fln22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/attach-volume.fln b/etc/attach-volume.fln
new file mode 100644
index 0000000..21905c6
--- /dev/null
+++ b/etc/attach-volume.fln
@@ -0,0 +1,22 @@
+/* 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 (.AttachVolumeResponse) {
+ print(.AttachVolumeResponse.volumeId,"\t",
+ .AttachVolumeResponse.status,"\t",
+ .AttachVolumeResponse.instanceId,"\t",
+ .AttachVolumeResponse.device,"\n");
+}

Return to:

Send suggestions and report system problems to the System administrator.