~ajkavanagh/openstack-mojo-specs/remove-cinder-from-vrrp-ha

« back to all changes in this revision

Viewing changes to helper/tests/swift_ring_status.py

  • Committer: Liam Young
  • Date: 2015-02-10 07:40:20 UTC
  • mto: This revision was merged to the branch mainline in revision 205.
  • Revision ID: liam.young@canonical.com-20150210074020-iorzsdum2q817wfy
More detail to readme

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
 
1
#!/usr/bin/python
2
2
import sys
3
3
import utils.mojo_utils as mojo_utils
4
4
import logging
21
21
            return False
22
22
    return True
23
23
 
24
 
 
25
24
juju_status = mojo_utils.get_juju_status(service='swift-proxy')
26
25
sp_units = mojo_utils.get_juju_units(juju_status=juju_status)
27
26
ring_data = {}