aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2018-03-05 08:44:53 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-05 08:44:53 +0000
commit41ddfc48b5d9162e987596badc0f9ef7961f2a6f (patch)
tree13533659fec8b905df5bcc000f6a21ec0b8c1b8d
parent34d85acc5f265c8d16c4ec211d44f2b9797cb98e (diff)
parentf59a671e96a7e756fac39ee166ff3ce9ccdd887b (diff)
Merge "Add Resources defination of Grant Req"
-rw-r--r--lcm/v2/serializers.py16
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):