openstacksdk/openstack/baremetal
Riccardo Pittau 13c6bc2bd9 Add reset_interfaces argument to patch_node
Ironic uses reset_interfaces option when patching a node to
reset all the hardware interfaces of a node.
This patch adds that argument to the patch_node method in
the baremetal module and introduces a patch method under
the node module to be able to evaluate the reset_interfaces
parameter.
Also, it modifies the _prepare_request method in resource
to accept query parameters in urls and build the request
uri keeping those into account.

Increasing minimum version of mock to 3.0.0 to be able to use
testing features not supported before that version, e.g.
assert_called_once

Change-Id: I8bca403df7d38a7ac1d066c5f1d7e2bff1deb054
2020-01-06 11:21:21 +01:00
..
v1 Add reset_interfaces argument to patch_node 2020-01-06 11:21:21 +01:00
__init__.py Rework config and rest layers 2017-11-15 11:46:50 -06:00
baremetal_service.py Use discovery instead of config to create proxies 2018-10-06 07:44:29 -05:00
configdrive.py Support vendor data in configdrive building 2019-09-30 23:32:12 +00:00
version.py Use discovery instead of config to create proxies 2018-10-06 07:44:29 -05:00