[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 0c312207b6a9eedcaa6cd55d6b3fc2e34188780f
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Thu Mar 7 15:35:34 2013 -0800
Implement DescribeNotificationTypes
Fixes TOOLS-231
diff --git a/bin/kilo-describe-auto-scaling-notification-types b/bin/kilo-describe-auto-scaling-notification-types
new file mode 100755
index 0000000..6b546ec
--- /dev/null
+++ b/bin/kilo-describe-auto-scaling-notification-types
@@ -0,0 +1,6 @@
+#!/usr/bin/python -tt
+
+import euca2ools.commands.autoscaling.describeautoscalingnotificationtypes
+
+if __name__ == '__main__':
+ euca2ools.commands.autoscaling.describeautoscalingnotificationtypes.DescribeAutoScalingNotificationTypes.run()
diff --git a/euca2ools/commands/autoscaling/describeterminationpolicytypes.py b/euca2ools/commands/autoscaling/describeautoscalingnotificationtypes.py
similarity index 80%
copy from euca2ools/commands/autoscaling/describeterminationpolicytypes.py
copy to euca2ools/commands/autoscaling/describeautoscalingnotificationtypes.py
index da19795..f3480bc 100644
--- a/euca2ools/commands/autoscaling/describeterminationpolicytypes.py
+++ b/euca2ools/commands/autoscaling/describeautoscalingnotificationtypes.py
@@ -31,10 +31,11 @@
from euca2ools.commands.autoscaling import AutoScalingRequest
from requestbuilder.mixins import TabifyingCommand
-class DescribeTerminationPolicyTypes(AutoScalingRequest, TabifyingCommand):
- DESCRIPTION = 'List all termination policies supported by the service'
- LIST_MARKERS = ['TerminationPolicyTypes']
+class DescribeAutoScalingNotificationTypes(AutoScalingRequest,
+ TabifyingCommand):
+ DESCRIPTION = 'List all notification types supported by the service'
+ LIST_MARKERS = ['AutoScalingNotificationTypes']
def print_result(self, result):
- for tp_type in result.get('TerminationPolicyTypes', []):
- print self.tabify(('TERMINATION-POLICY-TYPE', tp_type))
+ for notif_type in result.get('AutoScalingNotificationTypes', []):
+ print self.tabify(('NOTIFICATION-TYPE', notif_type))
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list