[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 4d3236711d5d96c04417fdc729332a2538a503b6
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Sun Mar 31 17:52:03 2013 -0700

    Implement DetachLoadBalancerFromSubnets
    
    Fixes TOOLS-246

diff --git a/bin/euelb-detach-lb-from-subnets b/bin/euelb-detach-lb-from-subnets
new file mode 100755
index 0000000..b410d60
--- /dev/null
+++ b/bin/euelb-detach-lb-from-subnets
@@ -0,0 +1,6 @@
+#!/usr/bin/python -tt
+
+import euca2ools.commands.elasticloadbalancing.detachloadbalancerfromsubnets
+
+if __name__ == '__main__':
+    euca2ools.commands.elasticloadbalancing.detachloadbalancerfromsubnets.DetachLoadBalancerFromSubnets.run()
diff --git a/euca2ools/commands/elasticloadbalancing/attachloadbalancertosubnets.py b/euca2ools/commands/elasticloadbalancing/detachloadbalancerfromsubnets.py
similarity index 90%
copy from euca2ools/commands/elasticloadbalancing/attachloadbalancertosubnets.py
copy to euca2ools/commands/elasticloadbalancing/detachloadbalancerfromsubnets.py
index c46834c..abeead8 100644
--- a/euca2ools/commands/elasticloadbalancing/attachloadbalancertosubnets.py
+++ b/euca2ools/commands/elasticloadbalancing/detachloadbalancerfromsubnets.py
@@ -33,13 +33,13 @@ from euca2ools.commands.elasticloadbalancing import ELBRequest
 from requestbuilder import Arg
 
 
-class AttachLoadBalancerToSubnets(ELBRequest):
-    DESCRIPTION = '[VPC only] Add a load balancer to one or more subnets'
+class DetachLoadBalancerFromSubnets(ELBRequest):
+    DESCRIPTION = '[VPC only] Remove a load balancer from 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 the load balancer to
+                help='''IDs of the subnets to remove the load balancer from
                 (required)''')]
     LIST_TAGS = ['Subnets']
 

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list