~charm-helpers/charm-helpers/devel

Viewing all changes in revision 531.

  • Committer: Liam Young
  • Date: 2016-02-17 16:29:13 UTC
  • mfrom: (515.2.3 charm-helpers)
  • Revision ID: liam.young@canonical.com-20160217162913-ah3pavqnkwl7ig75
[ajkavanagh, r=thedac,gnuoy]  Add service running and ports open checks to set_os_workload_status()
  This adds optional checks to the set_os_workload_status(...) function to
  make sure that the services that the charm says should be running are
  actually running (according to service_running()) and also, optionally,
  that the ports that are supposed to be open are open (on 0.0.0.0) and
  have something listening to them.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: