diff options
author | 2018-03-05 16:38:08 +0800 | |
---|---|---|
committer | 2018-03-05 16:38:08 +0800 | |
commit | f59a671e96a7e756fac39ee166ff3ce9ccdd887b (patch) | |
tree | 4a5b2b5cbdd434f91e0b6e6c9758269792276e6a | |
parent | 333c8930b780cfb8984c9bde2d4d3fc93bad77e0 (diff) |
Add Resources defination of Grant Req
Change-Id: I4ed216134f539c0efb35b668f990c861647201d7
Issue-ID: VFC-779
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | lcm/v2/serializers.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lcm/v2/serializers.py b/lcm/v2/serializers.py index 417282ee..a2eae1b7 100644 --- a/lcm/v2/serializers.py +++ b/lcm/v2/serializers.py @@ -107,6 +107,22 @@ class GrantRequestSerializer(serializers.Serializer): allow_null=True, allow_blank=True ) + addResources = ResourceDefinitionSerializer( + help_text="List of resource definitions in the VNFD for resources to be added by the LCM operation.", + many=True + ) + tempResources = ResourceDefinitionSerializer( + help_text="List of resource definitions in the VNFD for resources to be temporarily instantiated during the runtime of the LCM operation.", + many=True + ) + removeResources = ResourceDefinitionSerializer( + help_text="Provides the definitions of resources to be removed by the LCM operation.", + many=True + ) + updateResources = ResourceDefinitionSerializer( + help_text="Provides the definitions of resources to be modified by the LCM operation.", + many=True + ) class VimConnectionInfoSerializer(serializers.Serializer): |