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

« back to all changes in this revision

Viewing changes to helper/setup/add_unit.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
15
15
        service, count = unitreq.split(":")
16
16
        mojo_utils.add_unit(service, unit_num=count)
17
17
 
18
 
 
19
18
if __name__ == "__main__":
20
19
    sys.exit(main(sys.argv))