~ubuntu-branches/ubuntu/vivid/ironic/vivid-updates

« back to all changes in this revision

Viewing changes to ironic/drivers/modules/fake.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2015-03-30 11:14:57 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20150330111457-kr4ju3guf22m4vbz
Tags: 2015.1~b3-0ubuntu1
* New upstream release.
  + d/control: 
    - Align with upstream dependencies.
    - Add dh-python to build-dependencies.
    - Add psmisc as a dependency. (LP: #1358820)
  + d/p/fix-requirements.patch: Rediffed.
  + d/ironic-conductor.init.in: Fixed typos in LSB headers,
    thanks to JJ Asghar. (LP: #1429962)

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
 
169
169
    def get_sensors_data(self, task):
170
170
        return {}
 
171
 
 
172
 
 
173
class FakeInspect(base.InspectInterface):
 
174
 
 
175
    """Example implementation of a simple inspect interface."""
 
176
 
 
177
    def get_properties(self):
 
178
        return {}
 
179
 
 
180
    def validate(self, task):
 
181
        pass
 
182
 
 
183
    def inspect_hardware(self, task):
 
184
        return states.MANAGEABLE