diff options
Diffstat (limited to 'etc')
44 files changed, 44 insertions, 44 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am index 276c2ba..f6a8186 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -1,26 +1,26 @@ # This file is part of Eclat -# Copyright (C) 2012, 2013 Sergey Poznyakoff +# Copyright (C) 2012-2014 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/>. noinst_PROGRAMS = flncat FLNFILES=\ allocate-address.fln\ attach-volume.fln\ associate-address.fln\ copy-image.fln\ copy-snapshot.fln\ create-image.fln\ create-security-group.fln\ diff --git a/etc/allocate-address.fln b/etc/allocate-address.fln index 4afa5ce..5503cc1 100644 --- a/etc/allocate-address.fln +++ b/etc/allocate-address.fln @@ -1,19 +1,19 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.AllocateAddressResponse.publicIp) { print(last,"\n"); } diff --git a/etc/associate-address.fln b/etc/associate-address.fln index d59330a..41b0d44 100644 --- a/etc/associate-address.fln +++ b/etc/associate-address.fln @@ -1,22 +1,22 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.AssociateAddressResponse.return) { if (!.AssociateAddressResponse.return[true]) { error("Return: ",.AssociateAddressResponse.return,"\n"); exit(1); } } diff --git a/etc/attach-volume.fln b/etc/attach-volume.fln index db353b4..ca81c88 100644 --- a/etc/attach-volume.fln +++ b/etc/attach-volume.fln @@ -1,22 +1,22 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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"); } diff --git a/etc/compl.sh b/etc/compl.sh index 9675c35..b11687b 100644 --- a/etc/compl.sh +++ b/etc/compl.sh @@ -1,27 +1,27 @@ #! /bin/bash # Bash completion setup for Eclat commands. -# Copyright (C) 2012, 2013 Sergey Poznyakoff +# Copyright (C) 2012-2014 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/>. comp_eclat() { # Obtain a list of command line options. Each option occupies # a single line and is followed by an equals sign if it takes # an argument. local optlist=$(eclat --usage|sed '1s/^[^[]*//' | tr -d '\n' | tr -s ' ' | sed 's/\] \[/:/g;' | tr -d '[]' | awk -F: ' diff --git a/etc/copy-image.fln b/etc/copy-image.fln index eb0265e..88baacb 100644 --- a/etc/copy-image.fln +++ b/etc/copy-image.fln @@ -1,19 +1,19 @@ /* This file is part of Eclat. - Copyright (C) 2013 Sergey Poznyakoff. + Copyright (C) 2013-2014 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 (.CopyImageResponse) { print(last.imageId,"\n"); } diff --git a/etc/copy-snapshot.fln b/etc/copy-snapshot.fln index 08e69a1..b641fcc 100644 --- a/etc/copy-snapshot.fln +++ b/etc/copy-snapshot.fln @@ -1,19 +1,19 @@ /* This file is part of Eclat. - Copyright (C) 2013 Sergey Poznyakoff. + Copyright (C) 2013-2014 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 (.CopySnapshotResponse) { print(last.snapshotId,"\n"); } diff --git a/etc/create-image.fln b/etc/create-image.fln index 938926a..8342219 100644 --- a/etc/create-image.fln +++ b/etc/create-image.fln @@ -1,19 +1,19 @@ /* This file is part of Eclat. - Copyright (C) 2013 Sergey Poznyakoff. + Copyright (C) 2013-2014 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 (.CreateImageResponse) { print(.CreateImageResponse.imageId,"\n"); } diff --git a/etc/create-security-group.fln b/etc/create-security-group.fln index 06d021d..f4f7ff3 100644 --- a/etc/create-security-group.fln +++ b/etc/create-security-group.fln @@ -1,23 +1,23 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.CreateSecurityGroupResponse.return) { if (!.CreateSecurityGroupResponse.return[true]) { print("Return: ",.CreateSecurityGroupResponse.return,"\n"); exit(1); } else print(.CreateSecurityGroupResponse.groupId,"\n"); } diff --git a/etc/create-snapshot.fln b/etc/create-snapshot.fln index 7bcce86..693d112 100644 --- a/etc/create-snapshot.fln +++ b/etc/create-snapshot.fln @@ -1,21 +1,21 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.CreateSnapshotResponse) { let resp = .CreateSnapshotResponse; print(resp.snapshotId,"\t",resp.volumeId," ",resp.volumeSize,"\t", resp.status,"\t",resp.progress,"\t",resp.startTime,"\n"); } diff --git a/etc/create-tags.fln b/etc/create-tags.fln index 0996d8d..a534ff0 100644 --- a/etc/create-tags.fln +++ b/etc/create-tags.fln @@ -1,22 +1,22 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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/create-volume.fln b/etc/create-volume.fln index b14548b..5f0c9b4 100644 --- a/etc/create-volume.fln +++ b/etc/create-volume.fln @@ -1,20 +1,20 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.CreateVolumeResponse) { print(.CreateVolumeResponse.volumeId,"\t", .CreateVolumeResponse.status,"\n"); } diff --git a/etc/default.fln b/etc/default.fln index d412adc..fe72329 100644 --- a/etc/default.fln +++ b/etc/default.fln @@ -1,24 +1,24 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.Response.Errors) { error("Error: ",.Response.Errors.Error.Message,"\n"); exit(1); } else { error("Unrecognized response:\n"); dump(.); exit(2); } diff --git a/etc/delete-security-group.fln b/etc/delete-security-group.fln index ca1c611..8ee27fb 100644 --- a/etc/delete-security-group.fln +++ b/etc/delete-security-group.fln @@ -1,22 +1,22 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.DeleteSecurityGroupResponse.return) { if (!.DeleteSecurityGroupResponse.return[true]) { print("Return: ",.DeleteSecurityGroupResponse.return,"\n"); exit(1); } } diff --git a/etc/delete-snapshot.fln b/etc/delete-snapshot.fln index c6c2c74..332867b 100644 --- a/etc/delete-snapshot.fln +++ b/etc/delete-snapshot.fln @@ -1,22 +1,22 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.DeleteSnapshotResponse.return) { if (!.DeleteSnapshotResponse.return[true]) { error("Return: ",.DeleteSnapshotResponse.return,"\n"); exit(1); } } diff --git a/etc/delete-tags.fln b/etc/delete-tags.fln index 02776f2..f0664f6 100644 --- a/etc/delete-tags.fln +++ b/etc/delete-tags.fln @@ -1,22 +1,22 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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); } } diff --git a/etc/delete-volume.fln b/etc/delete-volume.fln index 6772dff..3c2dd45 100644 --- a/etc/delete-volume.fln +++ b/etc/delete-volume.fln @@ -1,22 +1,22 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.DeleteVolumeResponse.return) { if (!.DeleteVolumeResponse.return[true]) { error("Return: ",.DeleteVolumeResponse.return,"\n"); exit(1); } } diff --git a/etc/deregister-image.fln b/etc/deregister-image.fln index 8ada92c..0a85e2b 100644 --- a/etc/deregister-image.fln +++ b/etc/deregister-image.fln @@ -1,20 +1,20 @@ /* This file is part of Eclat. - Copyright (C) 2013 Sergey Poznyakoff. + Copyright (C) 2013-2014 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 (.DeregisterImageResponse.return) { if (!.DeregisterImageResponse.return[true]) error("Return: ",.DeregisterImageResponse.return,"\n"); } diff --git a/etc/describe-addresses.fln b/etc/describe-addresses.fln index 84665e0..c5a8810 100644 --- a/etc/describe-addresses.fln +++ b/etc/describe-addresses.fln @@ -1,26 +1,26 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.DescribeAddressesResponse.addressesSet) { for (var in .DescribeAddressesResponse.addressesSet.item) { print(var.domain,"\t",var.publicIp,"\t",var.instanceId); if (var.domain[vpc]) print("\t",var.networkInterfaceId,"\t", var.networkInterfaceOwnerId,"\t", var.privateIpAddress,"\t", var.allocationId,"\t", var.associationId); print("\n"); diff --git a/etc/describe-availability-zones.fln b/etc/describe-availability-zones.fln index 7fb24f1..9588d74 100644 --- a/etc/describe-availability-zones.fln +++ b/etc/describe-availability-zones.fln @@ -1,25 +1,25 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.DescribeAvailabilityZonesResponse) { for (var in .DescribeAvailabilityZonesResponse.availabilityZoneInfo.item) { print(var.zoneName,"\t",var.zoneState,"\n"); if (!empty(var.messageSet)) for (msg in var.messageSet.item) print("\t", msg.message, "\n"); } } diff --git a/etc/describe-images.fln b/etc/describe-images.fln index 55c7ae1..5e18bcd 100644 --- a/etc/describe-images.fln +++ b/etc/describe-images.fln @@ -1,26 +1,26 @@ /* This file is part of Eclat. - Copyright (C) 2013 Sergey Poznyakoff. + Copyright (C) 2013-2014 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 (.DescribeImagesResponse.imagesSet) { for (var in .DescribeImagesResponse.imagesSet.item) { print("\nImage ID: ", var.imageId, "\n"); print("\tName: ", var.name, "\n"); print("\tDescription: ", var.description, "\n"); print("\tOwner: ", var.imageOwnerId, "\n"); print("\tState: ", var.imageState, "\n"); print("\tPublic: ", var.isPublic, "\n"); print("\tType: ", var.imageType, "\n"); print("\tArchitecture: ", var.architecture, "\n"); diff --git a/etc/describe-instance-attribute.fln b/etc/describe-instance-attribute.fln index c7f78bb..49f6ff7 100644 --- a/etc/describe-instance-attribute.fln +++ b/etc/describe-instance-attribute.fln @@ -1,26 +1,26 @@ /* This file is part of Eclat. - Copyright (C) 2012, 2013 Sergey Poznyakoff. + Copyright (C) 2012-2014 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 (.DescribeInstanceAttributeResponse.instanceType.value || .DescribeInstanceAttributeResponse.kernel.value || .DescribeInstanceAttributeResponse.ramdisk.value || .DescribeInstanceAttributeResponse.userData.value || .DescribeInstanceAttributeResponse.disableApiTermination.value || .DescribeInstanceAttributeResponse.instanceInitiatedShutdownBehavior.value || .DescribeInstanceAttributeResponse.rootDeviceName.value || .DescribeInstanceAttributeResponse.ebsOptimized.value) print(last,"\n"); else if (.DescribeInstanceAttributeResponse.blockDeviceMapping) diff --git a/etc/describe-instance-status.fln b/etc/describe-instance-status.fln index a3c27f4..a81b479 100644 --- a/etc/describe-instance-status.fln +++ b/etc/de |