~ubuntu-branches/ubuntu/vivid/ironic/vivid-proposed

« back to all changes in this revision

Viewing changes to ironic/db/api.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Corey Bryant
  • Date: 2015-02-13 11:35:18 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20150213113518-nlxa7f01fd1auln9
Tags: 2015.1~b2-0ubuntu1
[ Corey Bryant ]
* New upstream release.
  - d/control: Align with upstream dependencies.
  - d/p/fix-requirements.patch: Added to drop websockify.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
import abc
21
21
 
22
 
from oslo.config import cfg
23
 
from oslo.db import api as db_api
 
22
from oslo_config import cfg
 
23
from oslo_db import api as db_api
24
24
import six
25
25
 
26
26
 
135
135
                        {
136
136
                         'uuid': utils.generate_uuid(),
137
137
                         'instance_uuid': None,
138
 
                         'power_state': states.NOSTATE,
139
 
                         'provision_state': states.NOSTATE,
 
138
                         'power_state': states.POWER_OFF,
 
139
                         'provision_state': states.AVAILABLE,
140
140
                         'driver': 'pxe_ipmitool',
141
141
                         'driver_info': { ... },
142
142
                         'properties': { ... },