- updateType = serializers.ChoiceField(help_text="The type of update.",
- choices=["ADD_VNF", "REMOVE_VNF", "INSTANTIATE_VNF", "CHANGE_VNF_DF",
- "OPERATE_VNF", "MODIFY_VNF_INFORMATION",
- "CHANGE_EXTERNAL_VNF_CONNECTIVITY", "REMOVE_SAP", "ADD_NESTED_NS",
- "REMOVE_NESTED_NS", "ASSOC_NEW_NSD_VERSION", "MOVE_VNF", "ADD_VNFFG",
- "REMOVE_VNFFG", "UPDATE_VNFFG", "CHANGE_NS_DF", "ADD_PNF",
- "MODIFY_PNF", "REMOVE_PNF"], required=True)
- addVnfInstance = serializers.ListField(help_text="Identifies an existing VNF instance to be added to the NS "
- "instance.",
- child=(VnfInstanceDataSerializer(help_text="Data of vnf instance",
- required=True)),
- required=False, allow_null=True)
- removeVnfInstanceId = serializers.ListField(help_text="Identifies an existing VNF instance to be removed from "
- "the NS instance.", required=False, allow_null=True)
- instantiateVnfData = serializers.ListField(help_text="Identifies the new VNF to be instantiated.",
- child=(InstantiateVnfDataSerializer(help_text="Data of vnf instance",
- required=True)),
- required=False, allow_null=True)
- changeVnfFlavourData = serializers.ListField(help_text="Identifies the new DF of the VNF instance to be "
- "changed to.",
- child=(ChangeVnfFlavourDataSerizlizer(
- help_text="The type represents the information that is requested "
- "to be changed deployment flavour for an existing "
- "VNF instance.", required=True)),
- required=False, allow_null=True)
- operateVnfData = serializers.ListField(help_text="This type represents a VNF instance for which the operational "
- "state needs to be changed and the requested new state.",
- child=(OperateVnfDataSerializer(
- help_text="This type represents a VNF instance for which the operational"
- " state needs to be changed and the requested new state",
- required=True)), required=False, allow_null=True)
- modifyVnfInfoData = serializers.ListField(help_text="This type represents the information that is requested to be"
- " modified for a VNF instance. ",
- child=(ModifyVnfInfoDataSerializer(
- help_text="This type represents the information that is requested to "
- "be modified for a VNF instance. ", required=True)),
- required=False, allow_null=True)
- changeExtVnfConnectivityData = serializers.ListField(help_text="Specifies the new external connectivity data of the"
- "VNF instance to be changed",
- child=(ChangeExtVnfConnectivityDataSerializer(
- help_text="This type describes the information invoked by"
- "the NFVO to change the external VNF "
- "connectivity information maintained by"
- " the VNFM.", required=True)),
- required=False, allow_null=True)
- addSap = serializers.ListField(help_text="Identifies a new SAP to be added to the NS instance.",
- child=(SapDataSerializer(help_text="This type represents the information related to "
- "a SAP of a NS", required=True)),
- required=False, allow_null=True)
- removeSapId = serializers.ListField(help_text="The identifier an existing SAP to be removed from the "
- "NS instance", required=False, allow_null=True)
- addNestedNsId = serializers.ListField(help_text="The identifier of an existing nested NS instance to be added to "
- "the NS instance", required=False, allow_null=True)
- removeNestedNsId = serializers.ListField(help_text="The identifier of an existing nested NS instance to be "
- "removed from the NS instance.",
- required=False, allow_null=True)
- assocNewNsdVersionData = AssocNewNsdVersionDataSerializer(help_text="Specify the new NSD to be used for the NS "
- "instance.", required=False, allow_null=True)
- moveVnfInstanceData = serializers.ListField(help_text="Specify existing VNF instance to be moved from one NS "
- "instance to another NS instance",
- child=(MoveVnfInstanceDataSerializer()),
- required=False, allow_null=True)
- addVnffg = serializers.ListField(help_text="The identifier of an existing nested NS instance to be added to the"
- " NS instance.", required=False, allow_null=True)
- removeVnffgId = serializers.ListField(help_text="The identifier of an existing nested NS instance to be removed "
- "from the NS instance", required=False, allow_null=True)
- updateVnffg = serializers.ListField(help_text="Specify the new VNFFG Information data to be updated for a VNFFG"
- " of the NS Instance",
- child=(UpdateVnffgDataSerializer(help_text="This type specifies the parameters "
- "used for the update of an existing "
- "VNFFG instance.", required=True)),
- required=False, allow_null=True)
+ updateType = serializers.ChoiceField(
+ help_text="The type of update.",
+ choices=["ADD_VNF", "REMOVE_VNF", "INSTANTIATE_VNF", "CHANGE_VNF_DF",
+ "OPERATE_VNF", "MODIFY_VNF_INFORMATION",
+ "CHANGE_EXTERNAL_VNF_CONNECTIVITY", "REMOVE_SAP", "ADD_NESTED_NS",
+ "REMOVE_NESTED_NS", "ASSOC_NEW_NSD_VERSION", "MOVE_VNF", "ADD_VNFFG",
+ "REMOVE_VNFFG", "UPDATE_VNFFG", "CHANGE_NS_DF", "ADD_PNF",
+ "MODIFY_PNF", "REMOVE_PNF"],
+ required=True)
+ addVnfInstance = serializers.ListField(
+ help_text="Identifies an existing VNF instance to be added to the NS instance.",
+ child=VnfInstanceDataSerializer(
+ help_text="Data of vnf instance",
+ required=True),
+ required=False,
+ allow_null=True)
+ removeVnfInstanceId = serializers.ListField(
+ help_text="Identifies an existing VNF instance to be removed from the NS instance.",
+ child=serializers.CharField(),
+ required=False,
+ allow_null=True)
+ instantiateVnfData = serializers.ListField(
+ help_text="Identifies the new VNF to be instantiated.",
+ child=(InstantiateVnfDataSerializer(
+ help_text="Data of vnf instance.",
+ required=True)),
+ required=False,
+ allow_null=True)
+ changeVnfFlavourData = serializers.ListField(
+ help_text="Identifies the new DF of the VNF instance to be changed to.",
+ child=(ChangeVnfFlavourDataSerizlizer(
+ help_text="The type represents the information that is requested to be changed deployment flavour for an existing VNF instance.",
+ required=True)),
+ required=False,
+ allow_null=True)
+ operateVnfData = serializers.ListField(
+ help_text="This type represents a VNF instance for which the operational state needs to be changed and the requested new state.",
+ child=(OperateVnfDataSerializer(
+ help_text="This type represents a VNF instance for which the operational state needs to be changed and the requested new state",
+ required=True)),
+ required=False,
+ allow_null=True)
+ modifyVnfInfoData = serializers.ListField(
+ help_text="This type represents the information that is requested to be modified for a VNF instance. ",
+ child=(ModifyVnfInfoDataSerializer(
+ help_text="This type represents the information that is requested to be modified for a VNF instance. ",
+ required=True)),
+ required=False,
+ allow_null=True)
+ changeExtVnfConnectivityData = serializers.ListField(
+ help_text="Specifies the new external connectivity datas of the VNF instance to be changed.",
+ child=ChangeExtVnfConnectivityDataSerializer(
+ help_text="This type describes the information invoked by the NFVO to change the external VNF connectivity information maintained by the VNFM.",
+ required=True),
+ required=False,
+ allow_null=True)
+ addSap = serializers.ListField(
+ help_text="Identifies a new SAP to be added to the NS instance.",
+ child=SapDataSerializer(help_text="This type represents the information related to a SAP of a NS",
+ required=True),
+ required=False,
+ allow_null=True)
+ removeSapId = serializers.ListField(
+ help_text="The identifier an existing SAP to be removed from the NS instance",
+ required=False,
+ allow_null=True)
+ addNestedNsId = serializers.ListField(
+ help_text="The identifier of an existing nested NS instance to be added to the NS instance.",
+ required=False,
+ allow_null=True)
+ removeNestedNsId = serializers.ListField(
+ help_text="The identifier of an existing nested NS instance to be removed from the NS instance.",
+ required=False,
+ allow_null=True)
+ assocNewNsdVersionData = AssocNewNsdVersionDataSerializer(
+ help_text="Specify the new NSD to be used for the NS instance.",
+ required=False,
+ allow_null=True)
+ moveVnfInstanceData = serializers.ListField(
+ help_text="Specify existing VNF instance to be moved from one NS instance to another NS instance",
+ child=MoveVnfInstanceDataSerializer(),
+ required=False,
+ allow_null=True)
+ addVnffg = serializers.ListField(
+ help_text="The identifier of an existing nested NS instance to be added to the NS instance.",
+ required=False,
+ allow_null=True)
+ removeVnffgId = serializers.ListField(
+ help_text="The identifier of an existing nested NS instance to be removed from the NS instance",
+ child=serializers.CharField(),
+ required=False,
+ allow_null=True)
+ updateVnffg = serializers.ListField(
+ help_text="Specify the new VNFFG Information data to be updated for a VNFFG of the NS Instance.",
+ child=UpdateVnffgDataSerializer(
+ help_text="This type specifies the parameters used for the update of an existing VNFFG instance.",
+ required=True),
+ required=False,
+ allow_null=True)