aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-02-02 09:08:28 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-02-02 09:08:28 +0800
commitd33db29d009dd83db21628bb2fa77627f2e16c6d (patch)
tree2f7f32a6a0d8b5481f5bf3a222be31e4dfc192a0
parentf553bf5a9d10e7cefe1f0128adea215b93993cf4 (diff)
Add get vnf resp serializer
Change-Id: Ia2b3c29ba00a527c0fefbf0a8d1cc4a5b77bc0ee Issue-ID: VFC-714 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--lcm/ns/vnfs/serializers.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lcm/ns/vnfs/serializers.py b/lcm/ns/vnfs/serializers.py
index bb2ad03c..b7b3e966 100644
--- a/lcm/ns/vnfs/serializers.py
+++ b/lcm/ns/vnfs/serializers.py
@@ -24,3 +24,9 @@ class InstVnfReqSerializer(serializers.Serializer):
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)
+
+
+class GetVnfRespSerializer(serializers.Serializer):
+ vnfInstId = serializers.CharField(help_text="ID of VNF instance", required=True)
+ vnfName = serializers.CharField(help_text="Name of VNF instance", required=True)
+ vnfStatus = serializers.CharField(help_text="Status of VNF instance", required=True)