~mthaddon/juju-deployer/pre-release-force

« back to all changes in this revision

Viewing changes to deployer/service.py

  • Committer: Tim Van Steenburgh
  • Date: 2016-12-24 14:25:49 UTC
  • mfrom: (206.1.5 juju-deployer)
  • Revision ID: tvansteenburgh@gmail.com-20161224142549-ieneftwad0s15pga
[timkuhlman] Add storage support

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        return int(self.svc_data.get('num_units', 1))
56
56
 
57
57
    @property
 
58
    def storage(self):
 
59
        return self.svc_data.get('storage', None)
 
60
 
 
61
    @property
58
62
    def unit_placement(self):
59
63
        # Separate checks to support machine 0 placement.
60
64
        value = self.svc_data.get('to')