203f4f0696
All other API resources (ie. traits, resource_provider_traits and resource_provider_inventories) we need to report on for minimum guaranteed bandwidth have update methods that can be called in one go, either because they have update-or-create or update-overrides-all semantics. Here we add the 'ensure_resource_provider' method so resource providers also have a similarly simple way of being kept in sync. We also add 'update_resource_provider' as a pre-requisite. On the side we also fix a little, silent unit test type error. Change-Id: Ib615ceeb323970d179ffb3dee14e52cb40e73ae7 Partial-Bug: #1578989 See-Also: https://review.openstack.org/502306 (nova spec) See-Also: https://review.openstack.org/508149 (neutron spec) |
||
---|---|---|
.. | ||
__init__.py | ||
address_scope.py | ||
agent.py | ||
allowedaddresspairs.py | ||
availability_zone.py | ||
dhcpagentscheduler.py | ||
dns.py | ||
dvr.py | ||
external_net.py | ||
extraroute.py | ||
firewall_v1.py | ||
firewall_v2.py | ||
flavors.py | ||
l3_ext_ha_mode.py | ||
l3.py | ||
metering.py | ||
multiprovidernet.py | ||
placement.py | ||
port_security.py | ||
qos.py | ||
vlantransparent.py | ||
vpn.py |