From bedc4dc0057f4d713a4186e79d812f5e9552cfc2 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 19 Nov 2015 13:38:46 +0200 Subject: Minor fix * etc/describe-internet-gateway.fln: Rename to * etc/describe-internet-gateways.fln: this * etc/Makefile.am: Likewise. --- etc/Makefile.am | 2 +- etc/describe-internet-gateway.fln | 29 ----------------------------- etc/describe-internet-gateways.fln | 29 +++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 etc/describe-internet-gateway.fln create mode 100644 etc/describe-internet-gateways.fln (limited to 'etc') diff --git a/etc/Makefile.am b/etc/Makefile.am index 07e1d5b..e48c179 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -46,7 +46,7 @@ FLNFILES=\ deregister-image.fln\ describe-addresses.fln\ describe-availability-zones.fln\ - describe-internet-gateway.fln\ + describe-internet-gateways.fln\ describe-image-attribute.fln\ describe-images.fln\ describe-instance-attribute.fln\ diff --git a/etc/describe-internet-gateway.fln b/etc/describe-internet-gateway.fln deleted file mode 100644 index 17b4e34..0000000 --- a/etc/describe-internet-gateway.fln +++ /dev/null @@ -1,29 +0,0 @@ -/* 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 . */ - -if (.DescribeInternetGatewaysResponse.internetGatewaySet) { - for (var in last.item) { - print(var.internetGatewayId); - if (!empty(var.attachmentSet)) - print("\t", var.attachmentSet.item.vpcId, "\t", - var.attachmentSet.item.state); - print("\n"); - if (!empty(var.tagSet)) { - for (tag in var.tagSet.item) - print("\t", tag.key,"=",tag.value,"\n"); - } - } -} diff --git a/etc/describe-internet-gateways.fln b/etc/describe-internet-gateways.fln new file mode 100644 index 0000000..17b4e34 --- /dev/null +++ b/etc/describe-internet-gateways.fln @@ -0,0 +1,29 @@ +/* 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 . */ + +if (.DescribeInternetGatewaysResponse.internetGatewaySet) { + for (var in last.item) { + print(var.internetGatewayId); + if (!empty(var.attachmentSet)) + print("\t", var.attachmentSet.item.vpcId, "\t", + var.attachmentSet.item.state); + print("\n"); + if (!empty(var.tagSet)) { + for (tag in var.tagSet.item) + print("\t", tag.key,"=",tag.value,"\n"); + } + } +} -- cgit v1.2.1