In the first case we only request resources provided by SS1 and SS2
but not CN1. In the second case we also request resources from CN1
besides requesting resources from SS1 and SS2.
The first case had been broken before nested providers are supported.
But this is fixed now thanks to the following commit, which enables
getting nested providers as well as sharing providers.
patch: https://review.openstack.org/#/c/567508/
commit: 068c56f55dffb60e7dd15b35001c280660c79229
Reviewed: https:/ /review. openstack. org/519601 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=042bc07fd87 f3649929ab00429 ba369f5378f07e
Committed: https:/
Submitter: Zuul
Branch: master
commit 042bc07fd87f364 9929ab00429ba36 9f5378f07e
Author: Balazs Gibizer <email address hidden>
Date: Fri Dec 15 11:09:18 2017 +0100
Test alloc_cands with indirectly sharing RPs
There are two new test cases proposed in this patch about shared RPs.
The generic setup in both cases are the following:
CN1 (VCPU, MEMORY_MB)
SRIOV_ NET_VF)
/ \
/agg1 \agg2
/ \
SS1 ( SS2 (
DISK_GB) IPV4_ADDRESS
In the first case we only request resources provided by SS1 and SS2
but not CN1. In the second case we also request resources from CN1
besides requesting resources from SS1 and SS2.
The first case had been broken before nested providers are supported. /review. openstack. org/#/c/ 567508/ e7dd15b35001c28 0660c79229
But this is fixed now thanks to the following commit, which enables
getting nested providers as well as sharing providers.
patch: https:/
commit: 068c56f55dffb60
Closes-Bug: #1732731 5cf3cb83c161b4c 88d9368297b
Change-Id: Iaf7993773b8f1f
Co-Authored-By: Tetsuro Nakamura <email address hidden>