From ec24a86f69232c579f86d88fc31f43b2c9eca4ec Mon Sep 17 00:00:00 2001 From: Selivanov Pavel Date: Tue, 22 Sep 2015 16:56:13 +0300 Subject: [PATCH] ec2_group.py: added ICMP rule example --- cloud/amazon/ec2_group.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cloud/amazon/ec2_group.py b/cloud/amazon/ec2_group.py index d2fe04c968d..c79008f53aa 100644 --- a/cloud/amazon/ec2_group.py +++ b/cloud/amazon/ec2_group.py @@ -116,6 +116,10 @@ EXAMPLES = ''' from_port: 10051 to_port: 10051 group_id: sg-12345678 + - proto: icmp + from_port: 8 # icmp type, -1 = any type + to_port: -1 # icmp subtype, -1 = any subtype + cidr_ip: 10.0.0.0/8 - proto: all # the containing group name may be specified here group_name: example