~lutostag/ubuntu/utopic/maas/1.5.2

« back to all changes in this revision

Viewing changes to src/provisioningserver/enum.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez, Dustin Kirkland, Andres Rodriguez
  • Date: 2014-01-31 09:38:51 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20140131093851-0jd8i9q57uxqxk3i
Tags: 1.5+bzr1909-0ubuntu1
* New upstream release.

[ Dustin Kirkland ]
* debian/maas-region-controller-min.postinst: Fix typo in sed. Remove
  double quotes. (LP: #1274448)

[ Andres Rodriguez ]
* debian/control: Add depends on python-crochet.
* Get rid of dfsg on the versioning as we no longer strip any code from
  the orig tarball.
  - debian/rules: Do not strip any files out of the tarball.
* debian/patches/*: Refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
    'IPMI_DRIVER_CHOICES',
19
19
    'POWER_TYPE',
20
20
    'POWER_TYPE_CHOICES',
 
21
    'UNKNOWN_POWER_TYPE',
21
22
    'get_power_types',
22
23
    ]
23
24
 
24
25
 
 
26
# We specifically declare this here so that a node not knowing its own
 
27
# powertype won't fail to enlist. However, we don't want it in the list
 
28
# of power types since setting a node's power type to "I don't know"
 
29
# from another type doens't make any sense.
 
30
UNKNOWN_POWER_TYPE = ''
 
31
 
 
32
 
25
33
def get_power_types():
26
34
    """Return the choice of mechanism to control a node's power.
27
35