diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-11-19 15:03:47 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-11-19 15:06:33 +0200 |
commit | 0a3f8aae4a41c4aa8435214e235af509cd5f4435 (patch) | |
tree | 6b5e73c8ab74121123584dd2c62b80931d23a636 /etc/sg.fln | |
parent | bedc4dc0057f4d713a4186e79d812f5e9552cfc2 (diff) | |
download | eclat-0a3f8aae4a41c4aa8435214e235af509cd5f4435.tar.gz eclat-0a3f8aae4a41c4aa8435214e235af509cd5f4435.tar.bz2 |
Add operations on egress rules for VPC security groups.
* src/sg-cl.opt: New options: --input (--ingress, -I), and
--output (--egress, -O).
* src/sg.c (command): const.
* doc/eclat-sg.1: Document --input/--output modifiers.
* TODO: Likewise.
* etc/sg.fln: Add support for egress responses.
Diffstat (limited to 'etc/sg.fln')
-rw-r--r-- | etc/sg.fln | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -24,5 +24,15 @@ if (.AuthorizeSecurityGroupIngressResponse.return) { error("Return: ",.RevokeSecurityGroupIngressResponse.return,"\n"); exit(1); } +} else if (.AuthorizeSecurityGroupEgressResponse.return) { + if (!.AuthorizeSecurityGroupEgressResponse.return[true]) { + error("Return: ",.AuthorizeSecurityGroupEressResponse.return,"\n"); + exit(1); + } +} else if (.RevokeSecurityGroupEgressResponse.return) { + if (!.RevokeSecurityGroupEgressResponse.return[true]) { + error("Return: ",.RevokeSecurityGroupEgressResponse.return,"\n"); + exit(1); + } } |