diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-01-19 17:37:58 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-01-19 17:37:58 +0200 |
commit | 32255759a59fac277526a597ac8a3a2da5416d7a (patch) | |
tree | c1255ef2e6697da7a80ae23e4b3ecfec872a5a03 /etc | |
parent | 42015f0462e8f1b2292a48455ce740a627c14025 (diff) | |
download | eclat-32255759a59fac277526a597ac8a3a2da5416d7a.tar.gz eclat-32255759a59fac277526a597ac8a3a2da5416d7a.tar.bz2 |
Implement modify-instance-attribute
* src/modinstattr.c: New file.
* src/Makefile.am (eclat_SOURCES): add modinstattr.c
* src/eclat.c (cmdtab): Add "modify-instance-attribute"
* src/eclat.h (eclat_modify_instance_attribute): New proto.
* TODO: Update.
* doc/eclat-modify-instance-attribute.1: New file.
* doc/eclat-describe-instance-attribute.1: Update.
* doc/Makefile.am: Add new file.
* etc/modify-instance-attribute.fln: New file.
* etc/Makefile.am: Add new file.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile.am | 3 | ||||
-rw-r--r-- | etc/modify-instance-attribute.fln | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am index 577441b..6da6510 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -1,5 +1,5 @@ # This file is part of Eclat -# Copyright (C) 2012 Sergey Poznyakoff +# Copyright (C) 2012, 2013 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 @@ -39,6 +39,7 @@ FLNFILES=\ detach-volume.fln\ disassociate-address.fln\ get-console-output.fln\ + modify-instance-attribute.fln\ reboot-instances.fln\ release-address.fln\ start-instances.fln\ diff --git a/etc/modify-instance-attribute.fln b/etc/modify-instance-attribute.fln new file mode 100644 index 0000000..991dd3d --- /dev/null +++ b/etc/modify-instance-attribute.fln @@ -0,0 +1,22 @@ +/* This file is part of Eclat. + Copyright (C) 2012, 2013 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 (.ModifyInstanceAttributeResponse.return) { + if (!.ModifyInstanceAttributeResponse.return[true]) { + error("Return: ",.ModifyInstanceAttributeResponse.return,"\n"); + exit(1); + } +} |