Changeset 842 for trunk/Monitoring/Failover/failover
- Timestamp:
- 03/29/13 14:27:09 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Monitoring/Failover/failover
r841 r842 15 15 from smon import dao 16 16 17 CSTE_SIMULATION_STATUS_OK="2.2" 18 17 19 class Failover(): 20 running=true 18 21 19 22 @classmethod 20 23 def controlLoop(cls): 21 simulation=dao.get_simulation()22 24 23 pass 24 25 while cls.running is True: 26 27 simulation=dao.get_simulation() 28 29 if simulation.status 30 31 sleep 20 32 25 33 def main(): 26 34
Note: See TracChangeset
for help on using the changeset viewer.