summaryrefslogtreecommitdiffabout
path: root/etc
Side-by-side diff
Diffstat (limited to 'etc') (more/less context) (ignore whitespace changes)
-rw-r--r--etc/Makefile.am2
-rw-r--r--etc/allocate-address.fln2
-rw-r--r--etc/associate-address.fln2
-rw-r--r--etc/attach-volume.fln2
-rw-r--r--etc/compl.sh2
-rw-r--r--etc/copy-image.fln2
-rw-r--r--etc/copy-snapshot.fln2
-rw-r--r--etc/create-image.fln2
-rw-r--r--etc/create-security-group.fln2
-rw-r--r--etc/create-snapshot.fln2
-rw-r--r--etc/create-tags.fln2
-rw-r--r--etc/create-volume.fln2
-rw-r--r--etc/default.fln2
-rw-r--r--etc/delete-security-group.fln2
-rw-r--r--etc/delete-snapshot.fln2
-rw-r--r--etc/delete-tags.fln2
-rw-r--r--etc/delete-volume.fln2
-rw-r--r--etc/deregister-image.fln2
-rw-r--r--etc/describe-addresses.fln2
-rw-r--r--etc/describe-availability-zones.fln2
-rw-r--r--etc/describe-images.fln2
-rw-r--r--etc/describe-instance-attribute.fln2
-rw-r--r--etc/describe-instance-status.fln2
-rw-r--r--etc/describe-instances.fln2
-rw-r--r--etc/describe-regions.fln2
-rw-r--r--etc/describe-security-groups.fln2
-rw-r--r--etc/describe-snapshot-attribute.fln2
-rw-r--r--etc/describe-snapshots.fln2
-rw-r--r--etc/describe-tags.fln2
-rw-r--r--etc/describe-volumes.fln2
-rw-r--r--etc/detach-volume.fln2
-rw-r--r--etc/disassociate-address.fln2
-rw-r--r--etc/flncat.c2
-rw-r--r--etc/get-console-output.fln2
-rw-r--r--etc/lsattr.fln2
-rw-r--r--etc/modify-instance-attribute.fln2
-rw-r--r--etc/modify-snapshot-attribute.fln2
-rw-r--r--etc/reboot-instances.fln2
-rw-r--r--etc/release-address.fln2
-rw-r--r--etc/reset-snapshot-attribute.fln2
-rw-r--r--etc/run-instances.fln2
-rw-r--r--etc/sg.fln2
-rw-r--r--etc/start-instances.fln2
-rw-r--r--etc/stop-instances.fln2
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/describe-instance-status.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 (.DescribeInstanceStatusResponse.instanceStatusSet) {
for (var in .DescribeInstanceStatusResponse.instanceStatusSet.item) {
print(var.instanceId,"\t",
var.availabilityZone,"\t",
var.instanceState.name);
if (var.instanceState.name[running]) {
print("\t",var.systemStatus.status);
for (detail in var.systemStatus.details.item) {
print("\tSys.",detail.name,"=",detail.status);
}
diff --git a/etc/describe-instances.fln b/etc/describe-instances.fln
index ab18bac..b2f3826 100644
--- a/etc/describe-instances.fln
+++ b/etc/describe-instances.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 (.DescribeInstancesResponse.reservationSet) {
for (var in .DescribeInstancesResponse.reservationSet.item) {
print("Reservation ID: ", var.reservationId, "\n");
print("Owner ID: ", var.ownerId, "\n");
if (var.groupSet) {
print("Groups:\n");
for (grp in var.groupSet.item)
print("\t", grp.groupId,"\t", grp.groupName, "\n");
}
if (var.instancesSet) {
diff --git a/etc/describe-regions.fln b/etc/describe-regions.fln
index 596ffa3..aa9d6c2 100644
--- a/etc/describe-regions.fln
+++ b/etc/describe-regions.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 (.DescribeRegionsResponse) {
for (var in .DescribeRegionsResponse.regionInfo.item) {
print(var.regionName,"\t",var.regionEndpoint,"\n");
}
}
diff --git a/etc/describe-security-groups.fln b/etc/describe-security-groups.fln
index e0c70f1..12a1379 100644
--- a/etc/describe-security-groups.fln
+++ b/etc/describe-security-groups.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 (.DescribeSecurityGroupsResponse.securityGroupInfo) {
for (grp in .DescribeSecurityGroupsResponse.securityGroupInfo.item) {
print("Group ", grp.groupId,"\t", grp.groupName, "\t",
grp.groupDescription, "\n");
print("VPC ID: ", grp.vpcId, "\n");
for (var in grp.tagSet.item) {
print("TAG ", var.key, "\t", var.value, "\n");
}
print("Incoming:\n");
for (var in grp.ipPermissions.item) {
diff --git a/etc/describe-snapshot-attribute.fln b/etc/describe-snapshot-attribute.fln
index 0e71d38..6236598 100644
--- a/etc/describe-snapshot-attribute.fln
+++ b/etc/describe-snapshot-attribute.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 (.DescribeSnapshotAttributeResponse) {
print(last.snapshotId);
if (.DescribeSnapshotAttributeResponse.createVolumePermission.item) {
for (var in .DescribeSnapshotAttributeResponse.createVolumePermission.item) {
if (var.userId)
print(" ", var.userId);
else if (var.group)
print(" g=", var.group);
}
}
diff --git a/etc/describe-snapshots.fln b/etc/describe-snapshots.fln
index ed940c7..86dae77 100644
--- a/etc/describe-snapshots.fln
+++ b/etc/describe-snapshots.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 (.DescribeSnapshotsResponse.snapshotSet) {
for (var in last.item) {
print(var.snapshotId,"\t",var.volumeId," ",var.volumeSize,"\t",
var.status,"\t",var.progress,"\t",var.startTime);
if (var.description)
print("\t", var.description);
print("\n");
if (!empty(var.tagSet)) {
for (tag in var.tagSet.item)
print("\t", tag.key,"=",tag.value,"\n");
diff --git a/etc/describe-tags.fln b/etc/describe-tags.fln
index 6cb8353..ff84e79 100644
--- a/etc/describe-tags.fln
+++ b/etc/describe-tags.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 (.DescribeTagsResponse) {
for (var in .DescribeTagsResponse.tagSet.item) {
print(var.resourceId,"\t",
var.resourceType,"\t",
var.key,"\t",
var.value,"\n");
}
}
diff --git a/etc/describe-volumes.fln b/etc/describe-volumes.fln
index 1442913..2541340 100644
--- a/etc/describe-volumes.fln
+++ b/etc/describe-volumes.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 (.DescribeVolumesResponse.volumeSet.item) {
for (var in .DescribeVolumesResponse.volumeSet.item) {
print(var.volumeId,"\t",
var.size,"\t",
var.status);
if (var.attachmentSet) {
for (att in var.attachmentSet.item) {
print("\t", att.volumeId, "\t", att.instanceId, "\t",
att.device, "\t", att.status);
}
diff --git a/etc/detach-volume.fln b/etc/detach-volume.fln
index d90b489..870e85b 100644
--- a/etc/detach-volume.fln
+++ b/etc/detach-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 (.DetachVolumeResponse) {
print(.DetachVolumeResponse.volumeId,"\t",
.DetachVolumeResponse.status,"\t",
.DetachVolumeResponse.instanceId,"\t",
.DetachVolumeResponse.device,"\n");
}
diff --git a/etc/disassociate-address.fln b/etc/disassociate-address.fln
index 0a08d42..7c5ca91 100644
--- a/etc/disassociate-address.fln
+++ b/etc/disassociate-address.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 (.DisassociateAddressResponse.return) {
if (!.DisassociateAddressResponse.return[true])
error("Return: ",.DisassociateAddressResponse.return,"\n");
}
diff --git a/etc/flncat.c b/etc/flncat.c
index 82c4086..5168cd6 100644
--- a/etc/flncat.c
+++ b/etc/flncat.c
@@ -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/>. */
#include <stdio.h>
#include <ctype.h>
#include <assert.h>
int
comment(FILE *fp, int c, int echo)
{
if (c != '/') {
ungetc(c, fp);
return 0;
diff --git a/etc/get-console-output.fln b/etc/get-console-output.fln
index 251f344..c6e2178 100644
--- a/etc/get-console-output.fln
+++ b/etc/get-console-output.fln
@@ -1,18 +1,18 @@
/* 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 (.GetConsoleOutputResponse.output)
print(decode(last), "\n");
diff --git a/etc/lsattr.fln b/etc/lsattr.fln
index c4aab5c..d9bb8e1 100644
--- a/etc/lsattr.fln
+++ b/etc/lsattr.fln
@@ -1,16 +1,16 @@
/* 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/>. */
diff --git a/etc/modify-instance-attribute.fln b/etc/modify-instance-attribute.fln
index 991dd3d..7288fb9 100644
--- a/etc/modify-instance-attribute.fln
+++ b/etc/modify-instance-attribute.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 (.ModifyInstanceAttributeResponse.return) {
if (!.ModifyInstanceAttributeResponse.return[true]) {
error("Return: ",.ModifyInstanceAttributeResponse.return,"\n");
exit(1);
}
}
diff --git a/etc/modify-snapshot-attribute.fln b/etc/modify-snapshot-attribute.fln
index 6d00e7a..e00f81c 100644
--- a/etc/modify-snapshot-attribute.fln
+++ b/etc/modify-snapshot-attribute.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 (.ModifySnapshotAttributeResponse.return) {
if (!.ModifySnapshotAttributeResponse.return[true]) {
error("Return: ",.ModifySnapshotAttributeResponse.return,"\n");
exit(1);
}
}
diff --git a/etc/reboot-instances.fln b/etc/reboot-instances.fln
index be865f3..6cec63c 100644
--- a/etc/reboot-instances.fln
+++ b/etc/reboot-instances.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 (.RebootInstancesResponse.return) {
if (!.RebootInstancesResponse.return[true])
error("Return: ",.RebootInstancesResponse.return,"\n");
}
diff --git a/etc/release-address.fln b/etc/release-address.fln
index f3cd299..acd22e4 100644
--- a/etc/release-address.fln
+++ b/etc/release-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 (.ReleaseAddressResponse.return) {
if (!.ReleaseAddressResponse.return[true]) {
error("Return: ",.ReleaseAddressResponse.return,"\n");
exit(1);
}
}
diff --git a/etc/reset-snapshot-attribute.fln b/etc/reset-snapshot-attribute.fln
index 059ffed..7b747f2 100644
--- a/etc/reset-snapshot-attribute.fln
+++ b/etc/reset-snapshot-attribute.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 (.ResetSnapshotAttributeResponse.return) {
if (!.ResetSnapshotAttributeResponse.return[true]) {
error("Return: ",.ResetSnapshotAttributeResponse.return,"\n");
exit(1);
}
}
diff --git a/etc/run-instances.fln b/etc/run-instances.fln
index 42ffe56..4d205a6 100644
--- a/etc/run-instances.fln
+++ b/etc/run-instances.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 (.RunInstancesResponse) {
let var = .RunInstancesResponse;
print("Reservation ID: ", var.reservationId, "\n");
print("Owner ID: ", var.ownerId, "\n");
if (var.groupSet) {
print("Groups:\n");
for (grp in var.groupSet.item)
print("\t", grp.groupId,"\t", grp.groupName, "\n");
}
if (var.instancesSet) {
diff --git a/etc/sg.fln b/etc/sg.fln
index 82247be..362509e 100644
--- a/etc/sg.fln
+++ b/etc/sg.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 (.AuthorizeSecurityGroupIngressResponse.return) {
if (!.AuthorizeSecurityGroupIngressResponse.return[true]) {
error("Return: ",.AuthorizeSecurityGroupIngressResponse.return,"\n");
exit(1);
}
} else if (.RevokeSecurityGroupIngressResponse.return) {
if (!.RevokeSecurityGroupIngressResponse.return[true]) {
error("Return: ",.RevokeSecurityGroupIngressResponse.return,"\n");
exit(1);
}
diff --git a/etc/start-instances.fln b/etc/start-instances.fln
index 7588b63..b5b8aa0 100644
--- a/etc/start-instances.fln
+++ b/etc/start-instances.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 (.StartInstancesResponse) {
for (var in .StartInstancesResponse.instancesSet.item) {
print(var.instanceId,": ",
var.previousState.name," => ",
var.currentState.name,"\n");
}
}
diff --git a/etc/stop-instances.fln b/etc/stop-instances.fln
index 4cdbfd0..d890e4c 100644
--- a/etc/stop-instances.fln
+++ b/etc/stop-instances.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 (.StopInstancesResponse) {
for (var in .StopInstancesResponse.instancesSet.item) {
print(var.instanceId,": ",
var.previousState.name," => ",
var.currentState.name,"\n");
}
}

Return to:

Send suggestions and report system problems to the System administrator.