ceph/teuthology/locker/locker.py
2011-07-07 12:32:51 -07:00

16 lines
221 B
Python
Executable File

#!/usr/bin/env python
import web
from api import Lock, MachineLock
urls = (
'/lock', 'Lock',
'/lock/(.*)', 'MachineLock',
)
app = web.application(urls, globals())
if __name__ == "__main__":
app.run()