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


The following commit has been merged in the master branch:
commit b3ef4232a9e5db576e358bc3aaa66016ca64833c
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Wed Mar 6 16:23:18 2013 -0800

    Implement DeleteScheduledAction
    
    Fixes TOOLS-223

diff --git a/bin/kilo-delete-scheduled-action b/bin/kilo-delete-scheduled-action
new file mode 100755
index 0000000..357e513
--- /dev/null
+++ b/bin/kilo-delete-scheduled-action
@@ -0,0 +1,6 @@
+#!/usr/bin/python -tt
+
+import euca2ools.commands.autoscaling.deletescheduledaction
+
+if __name__ == '__main__':
+    euca2ools.commands.autoscaling.deletescheduledaction.DeleteScheduledAction.run()
diff --git a/euca2ools/commands/autoscaling/deletepolicy.py b/euca2ools/commands/autoscaling/deletescheduledaction.py
similarity index 81%
copy from euca2ools/commands/autoscaling/deletepolicy.py
copy to euca2ools/commands/autoscaling/deletescheduledaction.py
index e0d13ad..93a7127 100644
--- a/euca2ools/commands/autoscaling/deletepolicy.py
+++ b/euca2ools/commands/autoscaling/deletescheduledaction.py
@@ -33,12 +33,13 @@ from euca2ools.commands.autoscaling import AutoScalingRequest
 from requestbuilder import Arg
 
 
-class DeletePolicy(AutoScalingRequest):
-    DESCRIPTION = 'Delete a scaling policy'
-    ARGS = [Arg('PolicyName', metavar='POLICY',
-                help='name of the policy to delete (required)'),
+class DeleteScheduledAction(AutoScalingRequest):
+    DESCRIPTION = 'Delete a scheduled action'
+    ARGS = [Arg('ScheduledActionName', metavar='ACTION',
+                help='name of the scheduled action to delete (required)'),
             Arg('-g', '--auto-scaling-group', dest='AutoScalingGroupName',
-                metavar='ASGROUP', required=True, help='''name of the
-                auto-scaling group the policy is associated with (required)'''),
+                metavar='ASGROUP', required=True,
+                help='''name of the auto-scaling group the scheduled action is
+                associated with (required)'''),
             Arg('-f', '--force', route_to=None, action='store_true',
                 help=argparse.SUPPRESS)]  # for compatibility

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list