diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-10-02 22:41:18 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-10-02 22:42:55 +0300 |
commit | 288f5042062637a38710142594bdbe3b8d68fb27 (patch) | |
tree | 2e94c150240eb4aed3d9ebf3f9e8a22b5c0b3c46 /etc | |
parent | 29c6d23356f9134d19b849be55e0a81c5a14fe35 (diff) | |
download | eclat-288f5042062637a38710142594bdbe3b8d68fb27.tar.gz eclat-288f5042062637a38710142594bdbe3b8d68fb27.tar.bz2 |
Implement delete-tags and create-tags.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile.am | 4 | ||||
-rw-r--r-- | etc/create-tags.fln | 22 | ||||
-rw-r--r-- | etc/delete-tags.fln | 22 |
3 files changed, 47 insertions, 1 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am index 8c4ff75..514993c 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -18,13 +18,15 @@ noinst_PROGRAMS = flncat FLNFILES=\ associate-address.fln\ - disassociate-address.fln\ + create-tags.fln\ + delete-tags.fln\ describe-addresses.fln\ describe-instance-attribute.fln\ describe-instance-status.fln\ describe-instances.fln\ describe-tags.fln\ describe-volumes.fln\ + disassociate-address.fln\ get-console-output.fln\ reboot-instances.fln\ start-instances.fln\ diff --git a/etc/create-tags.fln b/etc/create-tags.fln new file mode 100644 index 0000000..5605daf --- /dev/null +++ b/etc/create-tags.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 (.CreateTagsResponse.return) { + if (!.CreateTagsResponse.return[true]) { + error("Return: ",.CreateTagsResponse.return,"\n"); + exit(1); + } +} diff --git a/etc/delete-tags.fln b/etc/delete-tags.fln new file mode 100644 index 0000000..7a2c757 --- /dev/null +++ b/etc/delete-tags.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 (.DeleteTagsResponse.return) { + if (!.DeleteTagsResponse.return[true]) { + error("Return: ",.DeleteTagsResponse.return,"\n"); + exit(1); + } +} |