tacker/tacker/tests/etc/samples/etsi/nfv/functional7
Yi Feng 15358675ed Refactor Fake Grant for Simulate NFVO
Currently, the fake_grant.py file used to simulate Response
for GrantRequest cannot return the correct zone-related content
according to the Request and cannot exist as a simulated NFVO
during manual testing.

This refactoring mainly makes the following changes to fake_grant.py.
    1. Append the handling of the contents of the zone so that the
    code can return the corresponding zone result based on the
    placementConstraints in RequestBody.
    2. Modify the original default data of image and flavor, but get
    the result defined in VNFD as the return value.
    3. Add the fake_grant_server.py file, which can be started
    during manual testing and return the Response of GrantRequest
    as simulated NFVO.

Change-Id: I322bbeee81db5db199fb23c7e9115925fd04d344
2022-03-08 12:32:08 +00:00
..
BaseHOT/simple Modify processing of _heal_grant and _scale_grant 2021-09-16 04:57:47 +00:00
Definitions Refactor Fake Grant for Simulate NFVO 2022-03-08 12:32:08 +00:00
TOSCA-Metadata Modify processing of _heal_grant and _scale_grant 2021-09-16 04:57:47 +00:00
UserData Modify processing of _heal_grant and _scale_grant 2021-09-16 04:57:47 +00:00