From: fujinhua Date: Mon, 5 Mar 2018 08:38:08 +0000 (+0800) Subject: Add Resources defination of Grant Req X-Git-Tag: v1.1.0~95^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F34005%2F1;p=vfc%2Fnfvo%2Flcm.git Add Resources defination of Grant Req Change-Id: I4ed216134f539c0efb35b668f990c861647201d7 Issue-ID: VFC-779 Signed-off-by: fujinhua --- 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):