[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, master, updated. 3.0.0-alpha3-257-g1da8e3a

Garrett Holmstrom gholms at fedoraproject.org
Sun Jun 16 02:31:31 UTC 2013


The following commit has been merged in the master branch:
commit 0e5d8fabb7bc89cc02a65a5c9be979a0fc8f9be0
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Thu May 30 17:23:03 2013 -0700

    Make --icmp-type-code default to "-1:-1"
    
    Fixes TOOLS-342

diff --git a/euca2ools/commands/euca/modgroup.py b/euca2ools/commands/euca/modgroup.py
index b00c6dc..d4e2651 100644
--- a/euca2ools/commands/euca/modgroup.py
+++ b/euca2ools/commands/euca/modgroup.py
@@ -97,8 +97,7 @@ class ModifySecurityGroupRequest(EucalyptusRequest):
                 raise ArgumentError('argument -p/--port-range: not compatible '
                                     'with protocol ' + protocol)
             if not self.args.get('icmp_type_code'):
-                raise ArgumentError('argument -t/--icmp-type-code is required '
-                                    'for protocol ' + protocol)
+                self.args['icmp_type_code'] = '-1:-1'
             types = self.args['icmp_type_code'].split(':')
             if len(types) == 2:
                 try:

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list