
The same work have already been done by Nodes (see 2192f2848e), so right now the dbapi's are inconsistent across different objects. This patch fixes it for Chassis. This patch removes all direct calls to dbapi's get_chassis(). They are replaced either by Chassis.get(), Chassis.get_by_id(), or Chassis.get_by_uuid() calls. Additional detail about the changes: 1) Break DBAPI get_chassis() into get_chassis_by_id() and get_chassis_by_uuid(). Let's be explicit about which type we're passing. This allows Chassis.get_by_uuid() to work exactly how its named. Also, do not return an object from the DB API calls. The Chassis object itself will do the conversion. 2) Adds Chassis.get_by_id() to compliment the current Chassis.get_by_uuid() for places you are querying by the ID. 3) Adds Chassis.get() so that you can still have a single method to use to pass either and ID or a UUID. 4) Make all of the Chassis.get* calls set the 'context' so that you can later just chassis.save() without passing it. Doc strings have been updated to clarify what 'context' is for. Co-Authored-By: Chris Behrens <cbehrens@codestud.com> Related-Bug: #1314732 Change-Id: I5162c2843e15e538c1dc50dd5ac775298f8f0f9d
Ironic
Ironic is an Incubated OpenStack project which aims to provision bare metal machines instead of virtual machines, forked from the Nova Baremetal driver. It is best thought of as a bare metal hypervisor API and a set of plugins which interact with the bare metal hypervisors. By default, it will use PXE and IPMI in concert to provision and turn on/off machines, but Ironic also supports vendor-specific plugins which may implement additional functionality.
Project Resources
Project status, bugs, and blueprints are tracked on Launchpad:
Developer documentation can be found here:
Additional resources are linked from the project wiki page:
Anyone wishing to contribute to an OpenStack project should find plenty of helpful resources here:
All OpenStack projects use Gerrit for code reviews. A good reference for that is here: