couple of imports missing...
[nodemanager.git] / sliver_lxc.py
1 #
2
3 """LXC slivers"""
4
5 import accounts
6
7 class Sliver_LXC(accounts.Account):
8     """This class wraps LXC commands"""
9
10     SHELL = '/bin/bash'
11     TYPE = 'sliver.LXC'
12
13     def __init__(self):
14         pass
15     
16     @staticmethod
17     def create(name, rec = None):
18         print "TODO create"
19         
20     @staticmethod
21     def destroy(name):
22         print "TODO destroy"
23
24     def start(self, delay=0):
25         print "TODO start"
26     
27     def stop(self):
28         print "TODO stop"
29     
30     def is_running(self):
31         print "TODO is_running"
32
33