[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:49 UTC 2013
The following commit has been merged in the master branch:
commit c005f6667fbdcae848ef25bed565ff25e864e421
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Sun Mar 31 12:12:32 2013 -0700
Implement SetLoadBalancerListenerSSLCertificate
Fixes TOOLS-238
diff --git a/bin/euelb-set-lb-listener-ssl-cert b/bin/euelb-set-lb-listener-ssl-cert
new file mode 100755
index 0000000..8d64ad8
--- /dev/null
+++ b/bin/euelb-set-lb-listener-ssl-cert
@@ -0,0 +1,6 @@
+#!/usr/bin/python -tt
+
+import euca2ools.commands.elasticloadbalancing.setloadbalancerlistenersslcertificate
+
+if __name__ == '__main__':
+ euca2ools.commands.elasticloadbalancing.setloadbalancerlistenersslcertificate.SetLoadBalancerListenerSSLCertificate.run()
diff --git a/euca2ools/commands/elasticloadbalancing/deleteloadbalancer.py b/euca2ools/commands/elasticloadbalancing/setloadbalancerlistenersslcertificate.py
similarity index 71%
copy from euca2ools/commands/elasticloadbalancing/deleteloadbalancer.py
copy to euca2ools/commands/elasticloadbalancing/setloadbalancerlistenersslcertificate.py
index 8fe3592..a2a3705 100644
--- a/euca2ools/commands/elasticloadbalancing/deleteloadbalancer.py
+++ b/euca2ools/commands/elasticloadbalancing/setloadbalancerlistenersslcertificate.py
@@ -32,8 +32,14 @@ from euca2ools.commands.elasticloadbalancing import ELBRequest
from requestbuilder import Arg
-class DeleteLoadBalancer(ELBRequest):
- DESCRIPTION = ('Delete a load balancer\n\nIf the load balancer does not '
- 'exist, this command still succeeds.')
+class SetLoadBalancerListenerSSLCertificate(ELBRequest):
+ DESCRIPTION = ("Change the certificate that terminates a load balancer's"
+ "listener's SSL connections")
ARGS = [Arg('LoadBalancerName', metavar='ELB',
- help='name of the load balancer to delete (required)')]
+ help='name of the load balancer to modify (required)'),
+ Arg('-l', '--lb-port', dest='LoadBalancerPort', metavar='PORT',
+ type=int, required=True,
+ help='port that should use the certificate (required)'),
+ Arg('-c', '--cert-id', dest='SSLCertificateId', metavar='ARN',
+ required=True,
+ help='ARN for the server certificate to use (required)')]
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list