diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-12-10 17:40:21 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-12-10 17:40:21 +0200 |
commit | 980d465d9ea87e2123bd9a3045de5c0a45e84cd7 (patch) | |
tree | b7de616658bd27bfed159bcb82a43d71721df6da /etc/attach-volume.fln | |
parent | 5a7b73860974384d8e00065105435403b0842ab0 (diff) | |
download | eclat-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.fln | 22 |
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"); +} |