Commit 36cba100 authored by Yuya Kuno's avatar Yuya Kuno
Browse files

Replace etsi_nfv_sol001_vnfd_types.yaml

parent 4cedc221
Loading
Loading
Loading
Loading
Loading
+3005 −2799
Original line number Diff line number Diff line
tosca_definitions_version: tosca_simple_yaml_1_3
description: ETSI NFV SOL 001 vnfd types definitions version 5.2.1
description: ETSI NFV SOL 001 vnfd types definitions version 5.3.2
metadata:
  template_name: etsi_nfv_sol001_vnfd_types
  template_author: ETSI_NFV
  template_version: 5.2.1
  template_version: 5.3.2

imports:
   - etsi_nfv_sol001_common_types.yaml
@@ -130,6 +130,10 @@ data_types:
       type: tosca.datatypes.nfv.VirtualCpuPinning
       description: The virtual CPU pinning configuration for the virtualised compute resource.
       required: false
     virtual_cpu_power_state_requirements:
       type: tosca.datatypes.nfv.CpuPowerState
       description: Requirements for virtual CPU power state configuration for the virtualised compute resource.
       required: false

  tosca.datatypes.nfv.VirtualCpuPinning:
   derived_from: tosca.datatypes.Root
@@ -235,6 +239,12 @@ data_types:
        type: tosca.datatypes.nfv.L3ProtocolData
        description: Specifies the L3 protocol data for this virtual link.  Shall be present when the associatedLayerProtocol attribute indicates a L3 protocol and shall be absent otherwise.
        required: false
     time_sync_requirements:
        type: list
        description: Specifies the time synchronization requirements for this virtual link.
        required: false
        entry_schema:
          type: tosca.datatypes.nfv.TimeSyncRequirements

  tosca.datatypes.nfv.L2ProtocolData:
   derived_from: tosca.datatypes.Root
@@ -1310,6 +1320,132 @@ data_types:
    entry_schema:
      type: integer
 
   tosca.datatypes.nfv.CpuPowerState:
    derived_from: tosca.datatypes.Root
    description: Supports the specification of requirements related to the CPU power state configuration of a virtual compute resource or OS container.
    properties:
      cpu_power_state_management_policy:
        type: string 
        description: Indicates the policy for CPU power state management. The policy can take values of "static" or "dynamic". In case of "static", the virtual CPU cores are requested to be allocated to logical CPU cores according to the cpu_operational_power_state property. In case of "dynamic" the CPU power states of virtual CPU cores can be allocated to logical CPU cores whose power states can be adjusted dynamically depending on core utilization. 
        required: true
        constraints:
          - valid_values: [ static, dynamic ]
      cpu_operational_power_state:
        type: list
        description: Provides the list of operational power states (i.e., P and C states) defined for the virtual CPU. 
        required: true
        entry_schema:
          type: string

  tosca.datatypes.nfv.PowerProfile:
    derived_from: tosca.datatypes.Root
    description: Describessupports the specification of requirements related to the additional information about power profiles supported by the VNF in a specific VNF deployment flavour.
    properties:
      name:
        type: string 
        description: Name of the power profile. 
        required: true
      associated_instantiation_levelvdu_resourceComposition:
        type: list
        description: Reference to the instantiation level in the deployment flavour which is associated with the power profileList of VDUs (in VNFD) and their resource composition associated with this power profile. 
        required: false
        entry_schema:
          type: string
      associated_scale_level:
        type: map
        description: Provides information about an arbitrary scale level independent of a specific instantiation level, which is associated with this power profile. All scaling aspects needed for this scale level shall be included in this attribute. This attribute shall be present if the VNF supports scaling. 
        required: false
        entry_schema:
          type: tosca.datatypes.nfv.ScaleInfo
      power_Cconsumption_Iinfo:
        type: tosca.datatypes.nfv.PowerConsumptionInfostring 
        description: Estimated power consumption information of the resources associated with this power profile.. 
        required: false

  tosca.datatypes.nfv.PowerConsumptionInfo:
    derived_from: tosca.datatypes.Root
    description: describes power consumption specific deployment flavour.
    properties:
      min_consumption:
        type: integer
        description: Minimum power consumption of this power profile. Unit is KW.
        required: true
      max_consumption:
        type: integer
        description: Maximum power consumption of this power profile. Unit is KW.
        required: true
      average_consumption:
        type: integer
        description: Average power consumption of this power profile. Unit is KW.
        required: true
 
  tosca.datatypes.nfv.TimeSyncRequirements:
    derived_from: tosca.datatypes.Root
    description: 
    properties:
      supported_protocol:
         type: string
         description: Identifies the time sync protocol supported by this virtual link
         required: true
         constraints:
           - valid_values: [ ptp, 802.1as, ntp ]
      time_sync_protocol_config:
         type: tosca.datatypes.nfv.TimeSyncProtocolConfig
         description: Specifies time synchronization protocol configuration for this virtual link.
         required: false

  tosca.datatypes.nfv.TimeSyncProtocolConfig
    derived_from: tosca.datatypes.Root
    description: 
    properties:
      time_sync_enabled:
         type: boolean
         description: Indicates whether time synchronization is enabled on this virtual link
         required: true
      ptp_config:
         type: tosca.datatypes.nfv.VlPtpConfig
         description: Specifies PTP specific configuration for this virtual link.
         required: false
      ntp_config:
         type: tosca.datatypes.nfv.VlNtpConfig
         description: Specifies NTP specific configuration for this virtual link.
         required: false

  tosca.datatypes.nfv.VlPtpConfig
    derived_from: tosca.datatypes.Root
    description: PTP-specific configuration for a given virtual link
    properties:
      ptp_profile:
         type: string
         description: PTP profile (e.g. g2875.1, 802.1as)
         required: true
      ptp_transport:
         type: string
         description: Transport mechanism for PTP messages (e.g. ethernet, upd)
      tsn_time_domain:
         type: integer
         description: Time domain number for the 802.1as ptp profile.
         required: false

  tosca.datatypes.nfv.VlNtpConfig
    derived_from: tosca.datatypes.Root
    description: NTP-specific configuration for a given virtual link
    properties:
      ntp_operation_mode:
         type: string
         description: NTP operation mode (e.g. server, peer) to be used on this virtual link.
         required: true
      ntp_servers:
         type: list
         description: List of NTP server addresses to be used.
         required: false
         entry_schema:
          type: string
      ntp_stratum:
         type: integer
         description: NTP stratum level.
         required: false
		 
artifact_types:  
  tosca.artifacts.nfv.SwImage:
    derived_from: tosca.artifacts.Deployment.Image
@@ -1394,6 +1530,25 @@ artifact_types:
    derived_from: tosca.artifacts.File
    description: contains a file with rules used by the HelmParamMappingScript artifact defined in the same node template as this artifact.
 
  tosca.artifacts.nfv.VRDFile:
    derived_from: tosca.artifacts.File
    description: describes virtualised resource descriptor specified in ETSI GS-NFV SOL014[x].
    file_ext: [ yaml, json]
 
  tosca.artifacts.nfv.LcmOpParameterMappingScript:
    derived_from: tosca.artifacts.Root
    description: describe an executable script to run in the VNFM execution environment prior to invoking a command towards the CISM, for a specific MCIOP, or towards the VIM, for a specific set of virtualised resource descriptors representing aggregated virtualised resources, triggered by a VNF LCM operation.
    properties:
      script_dsl:
        type: string
        description: Defines the domain specific language (type) in which the script is written.
        constraints:
          - valid_values: [bash, python]
 
  tosca.artifacts.nfv.VRDParameterMappingRule:
    derived_from: tosca.artifacts.File
    description: contains a file with rules used by the LcmOpParameterMappingScript artifact defined in the same node template as this artifact.
 
capability_types:
  
  tosca.capabilities.nfv.VirtualBindable:
@@ -1451,7 +1606,7 @@ capability_types:

  tosca.capabilities.nfv.AssociableVdu:
    derived_from: tosca.capabilities.Node
    description: Indicates that the node that includes it can be pointed by a tosca.relationships.nfv.MciopAssociates relationship type which is used to model the associatedVdu property of the MciopProfile information element defined in ETSI GS NFV-IFA 011 [1].
    description: Indicates that the node that includes it can be pointed by a tosca.relationships.nfv.MciopAssociates and tosca.relationships.nfv.VRDescriptorAssociates relationship type which is used to model the associatedVdu property of the MciopProfile information element and VirtualisedResourceDescriptorProfile information element defined in ETSI GS NFV-IFA 011 [1].

  tosca.capabilities.nfv.DeployableModuleMember:
    derived_from: tosca.capabilities.Node
@@ -1506,6 +1661,11 @@ relationship_types:
    description: Represents an association relationship between Vdu.Compute or Vdu.OsContainerDeployableUnit and Certificate.
    valid_target_types: [ tosca.capabilities.nfv.InstallableCertificate ]

  tosca.relationships.nfv.VRDescriptorAssociates:
    derived_from: tosca.relationships.DependsOn
    description: Represents an association relationship between VirtualisedResourceDescriptor and Vdu.Compute node types 
    valid_target_types: [ tosca.capabilities.nfv.AssociableVdu ]
	
interface_types:
  tosca.interfaces.nfv.Vnflcm:
    derived_from: tosca.interfaces.Root
@@ -1638,14 +1798,18 @@ interface_types:
     # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters
          instantiation_level:
            type: string
            description: Identifier of the target instantiation level of the current deployment flavour to which the VNF is requested to be scaled. Either instantiation_level or scale_info shall be provided.
            description: Identifier of the target instantiation level of the current deployment flavour to which the VNF is requested to be scaled. Either instantiation_level or scale_info or power_profile shall be provided, but not multiple of them.
            required: false
          scale_info:
            type: map # key: aspectId
            description: For each scaling aspect of the current deployment flavour, indicates the target scale level to which the VNF is to be scaled. Either instantiation_level or scale_info shall be provided.
            description: For each scaling aspect of the current deployment flavour, indicates the target scale level to which the VNF is to be scaled. Either instantiation_level or scale_info or power_profile shall be provided, but not multiple of them.
            required: false
            entry_schema:
              type: tosca.datatypes.nfv.ScaleInfo
          power_profile:
            type: string
            description: Identifier of the target power profile in the current deployment flavour, as defined in the VNFD, from which the target power state can be selected and be switched to. Either instantiation_level or scale_info or power_profile shall be provided, but not multiple of them.
            required: false
      scale_to_level_start:
        description: Invoked before scale_to_level
      scale_to_level_end:
@@ -1686,6 +1850,18 @@ interface_types:
        description: Invoked by tosca.policies.nfv.VnfPackageChange 
      change_current_package_end:
        description: Invoked by tosca.policies.nfv.VnfPackageChange
      select_depl_mods:
        description: Invoked upon receipt of a Select VNF deployable modules request
        inputs:
          additional_parameters:
            type: tosca.datatypes.nfv.VnfOperationAdditionalParameters
            required: false
          # derived types are expected to introduce additional_parameters with its
          # type derived from tosca.datatypes.nfv.VnfOperationAdditionalParameters
      select_depl_mods_start:
        description: Invoked before select_depl_mods
      select_depl_mods_end:
        description: Invoked after select_depl_mods
    notifications:
      change_current_package_notification:
        description: Invoked upon receipt of a ChangeCurrentVnfPackage request
@@ -1906,6 +2082,9 @@ node_types:
      deployable_module_member:
        type: tosca.capabilities.nfv.DeployableModuleMember
        occurrences: [ 1, UNBOUNDED ]  
      associable:
        type: tosca.capabilities.nfv.AssociableVdu
        occurrences: [ 1, 1 ]			
    requirements:
      - virtual_storage:
          capability: tosca.capabilities.nfv.VirtualStorage
@@ -2214,6 +2393,10 @@ node_types:
        type: tosca.datatypes.nfv.VirtualCpuPinning
        description: Requirements for CPU pinning configuration.
        required: false
      cpu_power_state_requirements:
        type: tosca.datatypes.nfv.CpuPowerState
        description: Requirements for CPU power state configuration for the OS container.
        required: false
    capabilities:
      container_deployable:
        type: tosca.capabilities.nfv.ContainerDeployable
@@ -2477,6 +2660,17 @@ node_types:
        type: tosca.capabilities.nfv.InstallableCertificate
        occurrences: [ 1, UNBOUNDED ]
 
  tosca.nodes.nfv. VirtualisedResourceDescriptorProfile:
    derived_from: tosca.nodes.Root
    description: describes a hierarchical aggregate of information objects for virtualised resource management and orchestration.
    properties:
    requirements:
      - associatedVdu:
          capability: tosca.capabilities.nfv.AssociableVdu
          relationship: tosca.relationships.nfv.VRDescriptorAssociates
          node: tosca.nodes.nfv.Vdu.Compute
          occurrences: [1, UNBOUNDED]
 
group_types:
  tosca.groups.nfv.PlacementGroup:
    derived_from: tosca.groups.Root
@@ -2797,3 +2991,15 @@ policy_types:
        constraints:
          - min_length: 1
    targets: [ tosca.nodes.nfv.VipCp ]

  tosca.policies.nfv.PowerProfiles:
    derived_from: tosca.policies.Root
    description: The PowerProfiles type is a policy type representing all the VNF power profiles within a deployment flavour as defined in ETSI GS NFV-IFA 011.
    properties:
      profiles:
        type: map # key: powerProfileId
        description: Specifies VNF power profiles for this deployment flavour.
        required: true
        entry_schema:
          type: tosca.datatypes.nfv.PowerProfile
    targets: [ tosca.nodes.nfv.VNF ]
 No newline at end of file