from lcm.ns.serializers.pub_serializers import IpAddressSerialzier
from lcm.ns.serializers.pub_serializers import CpProtocolDataSerializer
+from lcm.ns.serializers.create_ns_serializers import ResourceHandleSerializer
class VnfInstanceDataSerializer(serializers.Serializer):
required=False, allow_null=True)
-class ResourceHandleSerializer(serializers.Serializer):
- vimId = serializers.CharField(help_text="Identifier of the VIM under whose control this resource is placed.",
- required=False, allow_null=True)
- resourceProviderId = serializers.CharField(help_text="Identifier of the entity responsible for the management of "
- "the resource.", required=False, allow_null=True)
- resourceId = serializers.CharField(help_text="Identifier of the resource in the scope of the VIM or the "
- "resource provider.", required=True)
- vimLevelResourceType = serializers.CharField(help_text="Type of the resource in the scope of the VIM or the "
- "resource provider.", required=False, allow_null=True)
+# class ResourceHandleSerializer(serializers.Serializer):
+# vimId = serializers.CharField(help_text="Identifier of the VIM under whose control this resource is placed.",
+# required=False, allow_null=True)
+# resourceProviderId = serializers.CharField(help_text="Identifier of the entity responsible for the management of "
+# "the resource.", required=False, allow_null=True)
+# resourceId = serializers.CharField(help_text="Identifier of the resource in the scope of the VIM or the "
+# "resource provider.", required=True)
+# vimLevelResourceType = serializers.CharField(help_text="Type of the resource in the scope of the VIM or the "
+# "resource provider.", required=False, allow_null=True)
class ExtLinkPortDataSerializer(serializers.Serializer):