bfd80a5d39
Currently, the RPCAPI update_port method is mocked, and its return value set in the unit tests to the expected value - the modified port. This isn't really exercising all of the port update API handler, which should be modifying the port object appropriately and passing it to the RPCAPI update_port method. This change adds a side effect to the RPCAPI update_port mock which saves the Port object that it is passed to the DB. This allows us to avoid fudging the answer and test the code more thoroughly. The TestPost test case already does this for port creation. Change-Id: I77860b2a24da659418f93c380db67ff4726257ff Related-Bug: #1666009 |
||
---|---|---|
api-ref | ||
devstack | ||
doc/source | ||
etc | ||
ironic | ||
ironic_tempest_plugin | ||
releasenotes | ||
tools | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
driver-requirements.txt | ||
LICENSE | ||
README.rst | ||
RELEASE-NOTES | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini | ||
vagrant.yaml | ||
Vagrantfile |
Team and repository tags
Ironic
Ironic consists of an API and plug-ins for managing and provisioning physical machines in a security-aware and fault-tolerant manner. It can be used with nova as a hypervisor driver, or standalone service using bifrost. By default, it will use PXE and IPMI to interact with bare metal machines. Ironic also supports vendor-specific plug-ins which may implement additional functionality.
Ironic is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.
Project resources
- Documentation: https://docs.openstack.org/ironic/latest
- Source: https://git.openstack.org/cgit/openstack/ironic
- Bugs: https://bugs.launchpad.net/ironic
- Wiki: https://wiki.openstack.org/wiki/Ironic
- APIs: https://developer.openstack.org/api-ref/baremetal/index.html
Project status, bugs, and requests for feature enhancements (RFEs) are tracked on Launchpad: https://launchpad.net/ironic
For information on how to contribute to ironic, see https://docs.openstack.org/ironic/latest/contributor