Commit 60f06a35 authored by Yuya Kuno's avatar Yuya Kuno
Browse files

Replace etsi_nfv_sol001_nsd_types.yaml

parent c5a29591
Loading
Loading
Loading
Loading
Loading
+1065 −1014
Original line number Diff line number Diff line
tosca_definitions_version: tosca_simple_yaml_1_3
description: ETSI NFV SOL 001 nsd types definitions version 5.2.1
description: ETSI NFV SOL 001 nsd types definitions version 5.3.2
metadata:
  template_name: etsi_nfv_sol001_nsd_types
  template_author: ETSI_NFV
  template_version: 5.2.1
  template_version: 5.3.2

imports:
     - etsi_nfv_sol001_common_types.yaml
@@ -706,6 +706,15 @@ group_types:
        required: true
    members: [ tosca.nodes.nfv.NFP, tosca.nodes.nfv.VNF, tosca.nodes.nfv.PNF, tosca.nodes.nfv.NS, tosca.nodes.nfv.NsVirtualLink, tosca.nodes.nfv.NfpPositionElement ]

  tosca.groups.nfv.NsEnergyAwareStateGroup:
    derived_from: tosca.groups.Root
    description: The NsEnergyAwareStateGroup group type is used for describing a group between VNF instances created using different VNFDs that target the dependency of the power state of the NS, as described in ETSI GS NFV-IFA 014.
    properties:
      description:
        type: string
        description: Human readable description of the group
        required: true
    members: [tosca.nodes.nfv.VNF, tosca.nodes.nfv.NS ]

policy_types:
  tosca.policies.nfv.NsAffinityRule:
@@ -1012,3 +1021,45 @@ policy_types:
          constraints:
            - min_length: 1
    targets: [ tosca.nodes.nfv.NS, tosca.nodes.nfv.VNF ]

  tosca.policies.nfv. NsEnergyAwareStateWeight:
    derived_from: tosca.policies.Root
    description: The NsEnergyAwareStateWeight type is a policy type representing all the NS virtual energy-aware state weight within a deployment flavour as defined in ETSI GS NFV-IFA 014.
    properties:
      weight:
        type: integer
        description: Specifies dependency of the power state of the NS in relation to the target component’s energy aware state. 0 is lowest dependency (i.e., no dependency).
        required: true
    targets: [ tosca.groups.nfv.NsEnergyAwareStateGroup ]

  tosca.policies.nfv.VnfSecurityGroupOverridingRule:
    derived_from: tosca.policies.Root
    description: The VnfSecurityGroupOverridingRule policy type when used in an NSD specifies the parameters for modifying and overriding security groups information bound to the VNF external CPs.
    properties:
      applicable_policy:
        type: string
        description: Name or identifier of the applicable tosca.nodes.nfv.SecurityGroupRule policy that is overridden.
        required: true      activated:
        type: Boolean
        description: Indicates whether the security group rule is to be activated or deactivated. If true, the security group rule is activated. If a value is provided at design-time, this value may be overridden at run-time based on other deployment requirements or constraints.
        required: true
        default: true
      port_range_min:
        type: integer
        description: Overrides the maximum port number in the range that is matched by the security group rule. If a value is provided at design-time, this value may be overridden at run-time based on other deployment requirements or constraints.
        required: false
        constraints:
          - greater_or_equal: 0
          - less_or_equal: 65535
        default: 0
      port_range_max:
        type: integer
        description: Overrides the minimum port number in the range that is matched by the security group rule. If a value is provided at design-time, this value may be overridden at run-time based on other deployment requirements or constraints.
        required: false
        constraints:
          - greater_or_equal: 0
          - less_or_equal: 65535
        default: 65535
    targets: [ tosca.nodes.nfv.VnfExtCp ]