Square one.
[osm/N2VC.git] / juju / unit.py
1 class Unit(object):
2 def add_storage(self):
3 """Add unit storage dynamically.
4
5 """
6 pass
7
8 def collect_metrics(self):
9 """Collect metrics on this unit.
10
11 """
12 pass
13
14 def destroy(self):
15 """Destroy this unit.
16
17 """
18 pass
19 remove = destroy
20
21 def get_resources(self):
22 """Return resources for this unit.
23
24 """
25 pass
26
27 def run(self):
28 """Run command on this unit.
29
30 """
31 pass
32
33 def run_action(self):
34 """Run action on this unit.
35
36 """
37 pass
38
39 def scp(self):
40 """Transfer files to this unit.
41
42 """
43 pass
44
45 def set_meter_status(self):
46 """Set the meter status on this unit.
47
48 """
49 pass
50
51 def ssh(self):
52 """Execute a command over SSH on this unit.
53
54 """
55 pass
56
57 def status_history(self):
58 """Get status history for this unit.
59
60 """
61 pass