from rest_framework import serializers
from opennebula.models import VM
class VMSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = VM
fields = '__all__'
class OpenNebulaVMSerializer(serializers.HyperlinkedModelSerializer):