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


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

    Implement SetLoadBalancerPoliciesForBackendServer
    
    Fixes TOOLS-244

diff --git a/bin/euelb-set-lb-policies-of-listener b/bin/euelb-set-lb-policies-for-backend-server
similarity index 66%
copy from bin/euelb-set-lb-policies-of-listener
copy to bin/euelb-set-lb-policies-for-backend-server
index 83b6d3f..8a2d3ba 100755
--- a/bin/euelb-set-lb-policies-of-listener
+++ b/bin/euelb-set-lb-policies-for-backend-server
@@ -1,6 +1,6 @@
 #!/usr/bin/python -tt
 
-import euca2ools.commands.elasticloadbalancing.setloadbalancerpoliciesoflistener
+import euca2ools.commands.elasticloadbalancing.setloadbalancerpoliciesforbackendserver
 
 if __name__ == '__main__':
-    euca2ools.commands.elasticloadbalancing.setloadbalancerpoliciesoflistener.SetLoadBalancerPoliciesOfListener.run()
+    euca2ools.commands.elasticloadbalancing.setloadbalancerpoliciesforbackendserver.SetLoadBalancerPoliciesForBackendServer.run()
diff --git a/euca2ools/commands/elasticloadbalancing/setloadbalancerpoliciesoflistener.py b/euca2ools/commands/elasticloadbalancing/setloadbalancerpoliciesforbackendserver.py
similarity index 83%
copy from euca2ools/commands/elasticloadbalancing/setloadbalancerpoliciesoflistener.py
copy to euca2ools/commands/elasticloadbalancing/setloadbalancerpoliciesforbackendserver.py
index 530ad63..e3e73dd 100644
--- a/euca2ools/commands/elasticloadbalancing/setloadbalancerpoliciesoflistener.py
+++ b/euca2ools/commands/elasticloadbalancing/setloadbalancerpoliciesforbackendserver.py
@@ -33,14 +33,15 @@ from euca2ools.commands.elasticloadbalancing import ELBRequest
 from requestbuilder import Arg
 
 
-class SetLoadBalancerPoliciesOfListener(ELBRequest):
-    DESCRIPTION = 'Change the policy associated with a load balancer listener'
+class SetLoadBalancerPoliciesForBackendServer(ELBRequest):
+    DESCRIPTION = ('Change the policies associated with a port on which load-'
+                   'balanced back end servers listen.')
     ARGS = [Arg('LoadBalancerName', metavar='ELB',
                 help='name of the load balancer to modify (required)'),
-            Arg('-l', '--lb-port', dest='LoadBalancerPort', metavar='PORT',
+            Arg('-i', '--instance-port', dest='InstancePort', metavar='PORT',
                 type=int, required=True,
-                help='port of the listener to modify (required)'),
+                help='port number of the back end server (required)'),
             Arg('-p', '--policy-names', dest='PolicyNames.member',
                 metavar='POLICY1,POLICY2,...', type=delimited_list(','),
                 required=True, help='''list of policies to associate with the
-                listener (required)''')]
+                back end server (required)''')]

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list