[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:38 UTC 2013
The following commit has been merged in the master branch:
commit 5067c258b593de2586831f1b06cf59556bc24c19
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Thu Mar 7 14:48:34 2013 -0800
Implement DeleteNotificationConfiguration
Fixes TOOLS-230
diff --git a/bin/kilo-delete-notification-configuration b/bin/kilo-delete-notification-configuration
new file mode 100755
index 0000000..ca4b49d
--- /dev/null
+++ b/bin/kilo-delete-notification-configuration
@@ -0,0 +1,6 @@
+#!/usr/bin/python -tt
+
+import euca2ools.commands.autoscaling.deletenotificationconfiguration
+
+if __name__ == '__main__':
+ euca2ools.commands.autoscaling.deletenotificationconfiguration.DeleteNotificationConfiguration.run()
diff --git a/euca2ools/commands/autoscaling/deletepolicy.py b/euca2ools/commands/autoscaling/deletenotificationconfiguration.py
similarity index 78%
copy from euca2ools/commands/autoscaling/deletepolicy.py
copy to euca2ools/commands/autoscaling/deletenotificationconfiguration.py
index e0d13ad..9aa2e61 100644
--- a/euca2ools/commands/autoscaling/deletepolicy.py
+++ b/euca2ools/commands/autoscaling/deletenotificationconfiguration.py
@@ -33,12 +33,12 @@ 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)'),
- Arg('-g', '--auto-scaling-group', dest='AutoScalingGroupName',
- metavar='ASGROUP', required=True, help='''name of the
- auto-scaling group the policy is associated with (required)'''),
+class DeleteNotificationConfiguration(AutoScalingRequest):
+ DESCRIPTION = "Delete an auto-scaling group's notification configuration"
+ ARGS = [Arg('AutoScalingGroupName', metavar='ASGROUP',
+ help='name of the auto-scaling group to update (required)'),
+ Arg('-t', '--topic-arn', dest='TopicARN', metavar='TOPIC',
+ required=True, help='''ARN of the SNS topic associated with the
+ configuration to delete'''),
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