2 from rest_framework import serializers
4 from cp_protocol_info import CpProtocolInfoSerializer
7 class VnfcCpInfoSerializer(serializers.Serializer):
8 id = serializers.CharField(
9 help_text="Identifier of the external CP instance and the related information instance.",
14 cpdId = serializers.CharField(
15 help_text="Identifier of the external CPD, VnfExtCpd, in the VNFD.",
20 vnfExtCpId = serializers.CharField(
21 help_text="When the VNFC CP is exposed as external CP of the VNF, the identifier of this external VNF CP.",
26 cpProtocolInfo = CpProtocolInfoSerializer(
27 help_text="Network protocol information for this CP.",
31 vnfLinkPortId = serializers.CharField(
32 help_text="Identifier of the vnfLinkPorts structure in the vnfVirtualLinkResourceInfo structure.",