summaryrefslogtreecommitdiffstats
path: root/zte
diff options
context:
space:
mode:
Diffstat (limited to 'zte')
-rw-r--r--zte/vmanager/driver/interfaces/serializers.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/zte/vmanager/driver/interfaces/serializers.py b/zte/vmanager/driver/interfaces/serializers.py
index a19613ca..c9206579 100644
--- a/zte/vmanager/driver/interfaces/serializers.py
+++ b/zte/vmanager/driver/interfaces/serializers.py
@@ -97,6 +97,20 @@ class TerminateVnfRequestSerializer(serializers.Serializer):
required=False)
+class VnfInfoSerializer(serializers.Serializer):
+ vnfStatus = serializers.CharField(
+ help_text="vnfStatus",
+ required=True,
+ max_length=255,
+ allow_null=True)
+
+
+class QueryVnfResponseSerializer(serializers.Serializer):
+ vnfInfo = VnfInfoSerializer(
+ help_text="vnfInfo",
+ required=True)
+
+
class JobHistorySerializer(serializers.Serializer):
status = serializers.CharField(
help_text="Status of job",