6450691a3a37af3d7a4b9d100aed5438fd449f18
2 def add_storage(self
, name
, constraints
=None):
3 """Add unit storage dynamically.
5 :param str name: Storage name, as specified by the charm
6 :param str constraints: Comma-separated list of constraints in the
12 def collect_metrics(self
):
13 """Collect metrics on this unit.
25 def get_resources(self
, details
=False):
26 """Return resources for this unit.
28 :param bool details: Include detailed info about resources used by each
35 """Run command on this unit.
41 """Run action on this unit.
47 """Transfer files to this unit.
52 def set_meter_status(self
):
53 """Set the meter status on this unit.
59 """Execute a command over SSH on this unit.
64 def status_history(self
):
65 """Get status history for this unit.