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


The following commit has been merged in the master branch:
commit 3319d1c240b7342b528b73332703f93aae064fc7
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Wed Mar 20 18:02:13 2013 -0700

    Implement EnableAlarmActions
    
    Fixes TOOLS-262

diff --git a/bin/euwatch-enable-alarm-actions b/bin/euwatch-enable-alarm-actions
new file mode 100755
index 0000000..46c1f5b
--- /dev/null
+++ b/bin/euwatch-enable-alarm-actions
@@ -0,0 +1,6 @@
+#!/usr/bin/python -tt
+
+import euca2ools.commands.monitoring.enablealarmactions
+
+if __name__ == '__main__':
+    euca2ools.commands.monitoring.enablealarmactions.EnableAlarmActions.run()
diff --git a/euca2ools/commands/monitoring/disablealarmactions.py b/euca2ools/commands/monitoring/enablealarmactions.py
similarity index 89%
copy from euca2ools/commands/monitoring/disablealarmactions.py
copy to euca2ools/commands/monitoring/enablealarmactions.py
index 1e96c05..244f661 100644
--- a/euca2ools/commands/monitoring/disablealarmactions.py
+++ b/euca2ools/commands/monitoring/enablealarmactions.py
@@ -32,7 +32,7 @@ from euca2ools.commands.monitoring import CloudWatchRequest
 from requestbuilder import Arg
 
 
-class DisableAlarmActions(CloudWatchRequest):
-    DESCRIPTION = 'Disable all actions for one or more alarms'
+class EnableAlarmActions(CloudWatchRequest):
+    DESCRIPTION = 'Enable all actions for one or more alarms'
     ARGS = [Arg('AlarmNames.member', metavar='ALARM', nargs='+',
-                help='names of the alarms to disable actions for')]
+                help='names of the alarms to enable actions for')]

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list