Fix member_of doc in RequestGroup.dict_from_request

It was noticed in a previous patch [1] that the example in the
RequestGroup.dict_from_request docstring had an incorrect member_of
translation between the querystring and the result object. This was
probably missed while [2] and [3] were in flight at the same time.

[1] https://review.openstack.org/#/c/602495/3/placement/lib.py@126
[2] https://review.openstack.org/#/c/517757/
[3] https://review.openstack.org/#/c/547990/

Change-Id: I6cc311a8d7a3fefe259631916c32ff7f9a41974c
This commit is contained in:
Eric Fried 2018-09-26 08:49:01 -05:00
parent 878268b229
commit da49cde1bd
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ class RequestGroup(object):
?resources=VCPU:2,MEMORY_MB:1024,DISK_GB=50
&required=HW_CPU_X86_VMX,CUSTOM_STORAGE_RAID
&member_of=in:9323b2b1-82c9-4e91-bdff-e95e808ef954,8592a199-7d73-4465-8df6-ab00a6243c82 # noqa
&member_of=9323b2b1-82c9-4e91-bdff-e95e808ef954
&member_of=in:8592a199-7d73-4465-8df6-ab00a6243c82,ddbd9226-d6a6-475e-a85f-0609914dd058 # noqa
&resources1=SRIOV_NET_VF:2
&required1=CUSTOM_PHYSNET_PUBLIC,CUSTOM_SWITCH_A
&resources2=SRIOV_NET_VF:1