diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2018-02-01 15:31:51 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2018-02-01 15:31:51 +0800 |
commit | 0db3078062b75ee7ea3866079925889b7b7e73fb (patch) | |
tree | 3fa60a5bd309bb11dbcfa8d9fd58557aee7cf1f3 | |
parent | 4ed01d6a8f8f46f6b419e737364deb2b28aea4f9 (diff) |
Add inst vnf resp serializer
Change-Id: Ia1982ef149cb536e217cc0e2fc9225f274b8ab04
Issue-ID: VFC-714
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | lcm/ns/vnfs/serializers.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lcm/ns/vnfs/serializers.py b/lcm/ns/vnfs/serializers.py index fb64f4e5..bb2ad03c 100644 --- a/lcm/ns/vnfs/serializers.py +++ b/lcm/ns/vnfs/serializers.py @@ -19,3 +19,8 @@ class InstVnfReqSerializer(serializers.Serializer): vnfIndex = serializers.CharField(help_text="Index of VNF", required=True) nsInstanceId = serializers.CharField(help_text="ID of NS instance", required=True) additionalParamForVnf = serializers.CharField(help_text="Additional param for VNF", required=False, allow_null=True) + + +class InstVnfRespSerializer(serializers.Serializer): + vnfInstId = serializers.CharField(help_text="ID of VNF instance", required=True) + jobId = serializers.CharField(help_text="ID of Job", required=True) |