[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:30:52 UTC 2013


The following commit has been merged in the master branch:
commit 72c59d39f92c69697a9b85e48e14e2e7625cfaf8
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Sun Mar 31 17:43:20 2013 -0700

    Fix annoying/missed output

diff --git a/euca2ools/commands/elasticloadbalancing/attachloadbalancertosubnets.py b/euca2ools/commands/elasticloadbalancing/attachloadbalancertosubnets.py
index 0fe710b..c46834c 100644
--- a/euca2ools/commands/elasticloadbalancing/attachloadbalancertosubnets.py
+++ b/euca2ools/commands/elasticloadbalancing/attachloadbalancertosubnets.py
@@ -34,9 +34,14 @@ from requestbuilder import Arg
 
 
 class AttachLoadBalancerToSubnets(ELBRequest):
-    DESCRIPTION = '[VPC only] Add one or more subnets to a load balancer'
+    DESCRIPTION = '[VPC only] Add a load balancer to one or more subnets'
     ARGS = [Arg('LoadBalancerName', metavar='ELB',
                 help='name of the load balancer to modify (required)'),
             Arg('-s', '--subnets', dest='Subnets.member', required=True,
                 metavar='SUBNET1,SUBNET2,...', type=delimited_list(','),
-                help='IDs of the subnets to add')]
+                help='''IDs of the subnets to add the load balancer to
+                (required)''')]
+    LIST_TAGS = ['Subnets']
+
+    def print_result(self, result):
+        print self.tabify(('SUBNETS', ','.join(result.get('Subnets', []))))

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list