summaryrefslogtreecommitdiffstats
path: root/zte
diff options
context:
space:
mode:
Diffstat (limited to 'zte')
-rw-r--r--zte/vmanager/driver/interfaces/serializers.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/zte/vmanager/driver/interfaces/serializers.py b/zte/vmanager/driver/interfaces/serializers.py
index 9a961ead..bb6a9141 100644
--- a/zte/vmanager/driver/interfaces/serializers.py
+++ b/zte/vmanager/driver/interfaces/serializers.py
@@ -15,6 +15,18 @@
from rest_framework import serializers
+class TerminateVnfRequestSerializer(serializers.Serializer):
+ terminationType = serializers.CharField(
+ help_text="terminationType",
+ required=True,
+ max_length=255,
+ allow_null=True)
+ gracefulTerminationTimeout = serializers.IntegerField(
+ help_text="gracefulTerminationTimeout",
+ default=120,
+ required=False)
+
+
class JobHistorySerializer(serializers.Serializer):
status = serializers.CharField(
help_text="Status of job",