diff options
Diffstat (limited to 'gvnfmadapter/driver/interfaces/serializers/heal_request.py')
-rw-r--r-- | gvnfmadapter/driver/interfaces/serializers/heal_request.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gvnfmadapter/driver/interfaces/serializers/heal_request.py b/gvnfmadapter/driver/interfaces/serializers/heal_request.py index c212769..9a3a240 100644 --- a/gvnfmadapter/driver/interfaces/serializers/heal_request.py +++ b/gvnfmadapter/driver/interfaces/serializers/heal_request.py @@ -20,10 +20,12 @@ class AffectedVm(serializers.Serializer): vduid = serializers.CharField(help_text="Vdu id", required=True) vmname = serializers.CharField(help_text="Vm name", required=True) + class VnfHealRequestSerializer(serializers.Serializer): action = serializers.CharField(help_text="Action for NS heal", required=True, allow_null=True) affectedvm = AffectedVm(help_text="Get the vm information to be healed", required=True) + class HealVnfRequestSerializerToVnfm(serializers.Serializer): cause = serializers.CharField(help_text="Cause of NS heal", required=False, allow_null=True) additionalParams = serializers.DictField( |